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.

docs: dt: remove stale property-units.txt, link to current schema

property-units.txt is not maintained anymore. New suffixes are now
supported that have not been added here.

To avoid people incorrectly think a given suffix is not in the list remove
the file entirely and point to the authoritative place where the
recommended suffixes are maintained.

Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net>
Link: https://lore.kernel.org/r/20210512152311.7399-1-luca@lucaceresoli.net
Signed-off-by: Rob Herring <robh@kernel.org>

authored by

Luca Ceresoli and committed by
Rob Herring
d0413118 d1dd2167

+2 -49
-48
Documentation/devicetree/bindings/property-units.txt
··· 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 : second 17 - -ms : millisecond 18 - -us : microsecond 19 - -ns : nanosecond 20 - -ps : picosecond 21 - 22 - Distance 23 - ---------------------------------------- 24 - -mm : millimeter 25 - 26 - Electricity 27 - ---------------------------------------- 28 - -microamp : microampere 29 - -microamp-hours : microampere hour 30 - -ohms : ohm 31 - -micro-ohms : microohm 32 - -microwatt-hours: microwatt hour 33 - -microvolt : microvolt 34 - -picofarads : picofarad 35 - -femtofarads : femtofarad 36 - 37 - Temperature 38 - ---------------------------------------- 39 - -celsius : degree Celsius 40 - -millicelsius : millidegree Celsius 41 - 42 - Pressure 43 - ---------------------------------------- 44 - -kpascal : kilopascal 45 - 46 - Throughput 47 - ---------------------------------------- 48 - -kBps : kilobytes per second
+2 -1
Documentation/devicetree/bindings/writing-bindings.rst
··· 52 52 constraints specific to the device. 53 53 54 54 - DO use common property unit suffixes for properties with scientific units. 55 - See property-units.txt. 55 + Recommended suffixes are listed at 56 + https://github.com/devicetree-org/dt-schema/blob/master/schemas/property-units.yaml 56 57 57 58 - DO define properties in terms of constraints. How many entries? What are 58 59 possible values? What is the order?