Rob Herring | bde7fab | 2016-02-08 10:55:55 -0600 | [diff] [blame] | 1 | Standard Unit Suffixes for Property names |
| 2 | |
| 3 | Properties which have a unit of measure are recommended to have a unit |
| 4 | suffix appended to the property name. The list below contains the |
| 5 | recommended suffixes. Other variations exist in bindings, but should not |
| 6 | be used in new bindings or added here. The inconsistency in the unit |
| 7 | prefixes is due to selecting the most commonly used variants. |
| 8 | |
| 9 | It is also recommended to use the units listed here and not add additional |
| 10 | unit prefixes. |
| 11 | |
| 12 | Time/Frequency |
| 13 | ---------------------------------------- |
| 14 | -mhz : megahertz |
| 15 | -hz : Hertz (preferred) |
| 16 | -sec : seconds |
| 17 | -ms : milliseconds |
| 18 | -us : microseconds |
| 19 | -ns : nanoseconds |
| 20 | |
| 21 | Distance |
| 22 | ---------------------------------------- |
| 23 | -mm : millimeters |
| 24 | |
| 25 | Electricity |
| 26 | ---------------------------------------- |
| 27 | -microamp : micro amps |
Matt Ranostay | e470f96 | 2017-06-07 11:37:49 -0700 | [diff] [blame] | 28 | -microamp-hours : micro amp-hours |
Rob Herring | bde7fab | 2016-02-08 10:55:55 -0600 | [diff] [blame] | 29 | -ohms : Ohms |
| 30 | -micro-ohms : micro Ohms |
Matt Ranostay | e470f96 | 2017-06-07 11:37:49 -0700 | [diff] [blame] | 31 | -microwatt-hours: micro Watt-hours |
Rob Herring | bde7fab | 2016-02-08 10:55:55 -0600 | [diff] [blame] | 32 | -microvolt : micro volts |
Ramesh Shanmugasundaram | a45509c | 2017-06-12 10:26:14 -0300 | [diff] [blame] | 33 | -picofarads : picofarads |
Rob Herring | bde7fab | 2016-02-08 10:55:55 -0600 | [diff] [blame] | 34 | |
| 35 | Temperature |
| 36 | ---------------------------------------- |
| 37 | -celsius : Degrees Celsius |
| 38 | -millicelsius : Degreee milli-Celsius |
| 39 | |
| 40 | Pressure |
| 41 | ---------------------------------------- |
| 42 | -kpascal : kiloPascal |