Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

dt-bindings: property-units: Sanitize unit naming

Make the naming of units consistent with common practices:
- Do not capitalize the first character of units ("Celsius" is
special, as it is not the unit name, but a reference to its
proposer),
- Do not use plural for units,
- Do not abbreviate "ampere",
- Concatenate prefixes and units (no spaces or hyphens),
- Separate units by spaces not hyphens,
- "milli" applies to "degree", not to "Celsius".

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Rob Herring <robh@kernel.org>

authored by

Geert Uytterhoeven and committed by
Rob Herring
57374808 630eccfd

+17 -17
+17 -17
Documentation/devicetree/bindings/property-units.txt
··· 12 12 Time/Frequency 13 13 ---------------------------------------- 14 14 -mhz : megahertz 15 - -hz : Hertz (preferred) 16 - -sec : seconds 17 - -ms : milliseconds 18 - -us : microseconds 19 - -ns : nanoseconds 15 + -hz : hertz (preferred) 16 + -sec : second 17 + -ms : millisecond 18 + -us : microsecond 19 + -ns : nanosecond 20 20 21 21 Distance 22 22 ---------------------------------------- 23 - -mm : millimeters 23 + -mm : millimeter 24 24 25 25 Electricity 26 26 ---------------------------------------- 27 - -microamp : micro amps 28 - -microamp-hours : micro amp-hours 29 - -ohms : Ohms 30 - -micro-ohms : micro Ohms 31 - -microwatt-hours: micro Watt-hours 32 - -microvolt : micro volts 33 - -picofarads : picofarads 34 - -femtofarads : femtofarads 27 + -microamp : microampere 28 + -microamp-hours : microampere hour 29 + -ohms : ohm 30 + -micro-ohms : microohm 31 + -microwatt-hours: microwatt hour 32 + -microvolt : microvolt 33 + -picofarads : picofarad 34 + -femtofarads : femtofarad 35 35 36 36 Temperature 37 37 ---------------------------------------- 38 - -celsius : Degrees Celsius 39 - -millicelsius : Degreee milli-Celsius 38 + -celsius : degree Celsius 39 + -millicelsius : millidegree Celsius 40 40 41 41 Pressure 42 42 ---------------------------------------- 43 - -kpascal : kiloPascal 43 + -kpascal : kilopascal