Commit 57374808 authored by Geert Uytterhoeven's avatar Geert Uytterhoeven Committed by Rob Herring

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: default avatarGeert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: default avatarRob Herring <robh@kernel.org>
parent 630eccfd
...@@ -12,32 +12,32 @@ unit prefixes. ...@@ -12,32 +12,32 @@ unit prefixes.
Time/Frequency Time/Frequency
---------------------------------------- ----------------------------------------
-mhz : megahertz -mhz : megahertz
-hz : Hertz (preferred) -hz : hertz (preferred)
-sec : seconds -sec : second
-ms : milliseconds -ms : millisecond
-us : microseconds -us : microsecond
-ns : nanoseconds -ns : nanosecond
Distance Distance
---------------------------------------- ----------------------------------------
-mm : millimeters -mm : millimeter
Electricity Electricity
---------------------------------------- ----------------------------------------
-microamp : micro amps -microamp : microampere
-microamp-hours : micro amp-hours -microamp-hours : microampere hour
-ohms : Ohms -ohms : ohm
-micro-ohms : micro Ohms -micro-ohms : microohm
-microwatt-hours: micro Watt-hours -microwatt-hours: microwatt hour
-microvolt : micro volts -microvolt : microvolt
-picofarads : picofarads -picofarads : picofarad
-femtofarads : femtofarads -femtofarads : femtofarad
Temperature Temperature
---------------------------------------- ----------------------------------------
-celsius : Degrees Celsius -celsius : degree Celsius
-millicelsius : Degreee milli-Celsius -millicelsius : millidegree Celsius
Pressure Pressure
---------------------------------------- ----------------------------------------
-kpascal : kiloPascal -kpascal : kilopascal
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment