mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-15 06:55:13 +08:00
573748081a
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>
44 lines
1.1 KiB
Plaintext
44 lines
1.1 KiB
Plaintext
Standard Unit Suffixes for Property names
|
|
|
|
Properties which have a unit of measure are recommended to have a unit
|
|
suffix appended to the property name. The list below contains the
|
|
recommended suffixes. Other variations exist in bindings, but should not
|
|
be used in new bindings or added here. The inconsistency in the unit
|
|
prefixes is due to selecting the most commonly used variants.
|
|
|
|
It is also recommended to use the units listed here and not add additional
|
|
unit prefixes.
|
|
|
|
Time/Frequency
|
|
----------------------------------------
|
|
-mhz : megahertz
|
|
-hz : hertz (preferred)
|
|
-sec : second
|
|
-ms : millisecond
|
|
-us : microsecond
|
|
-ns : nanosecond
|
|
|
|
Distance
|
|
----------------------------------------
|
|
-mm : millimeter
|
|
|
|
Electricity
|
|
----------------------------------------
|
|
-microamp : microampere
|
|
-microamp-hours : microampere hour
|
|
-ohms : ohm
|
|
-micro-ohms : microohm
|
|
-microwatt-hours: microwatt hour
|
|
-microvolt : microvolt
|
|
-picofarads : picofarad
|
|
-femtofarads : femtofarad
|
|
|
|
Temperature
|
|
----------------------------------------
|
|
-celsius : degree Celsius
|
|
-millicelsius : millidegree Celsius
|
|
|
|
Pressure
|
|
----------------------------------------
|
|
-kpascal : kilopascal
|