Lines Matching +full:unit +full:- +full:address
1 .. SPDX-License-Identifier: GPL-2.0
16 ---------------------------
24 * Lowercase characters: [a-z]
25 * Digits: [0-9]
26 * Dash: -
30 * Lowercase characters: [a-z]
31 * Digits: [0-9]
34 3. Unless a bus defines differently, unit addresses shall use lowercase
37 4. Hex values in properties, e.g. "reg", shall use lowercase hex. The address
42 gpi_dma2: dma-controller@a00000 {
43 compatible = "qcom,sm8550-gpi-dma", "qcom,sm6350-gpi-dma";
48 --------------
50 1. Nodes on any bus, thus using unit addresses for children, shall be
51 ordered by unit address in ascending order.
54 breaks unit address ordering.
56 2. Nodes without unit addresses shall be ordered alpha-numerically by the node
61 ordered either alpha-numerically or by keeping the order from DTSI, where
64 The above-described ordering rules are easy to enforce during review, reduce
82 dma: dma-controller@10000 {
86 clk: clock-controller@80000 {
92 /* Board DTS - alphabetical order */
102 /* Board DTS - alternative order, keep as DTSI */
113 ----------------------------------
121 vendor-prefixes)
122 5. Vendor-specific properties
128 The above-described ordering follows this approach:
131 match unit address.
140 device_node: device-class@6789abc {
144 #dma-cells = <1>;
146 clock-names = "bus", "host";
147 #address-cells = <1>;
148 #size-cells = <1>;
149 vendor,custom-property = <2>;
152 child_node: child-class@100 {
161 vdd-supply = <&board_vreg1>;
166 ------------------------
169 Documentation/process/coding-style.rst.
179 thermal-sensor@c271000 {
180 compatible = "qcom,sm8550-tsens", "qcom,tsens-v2";
189 -----------------------
197 2. If applicable: DTSI with common or re-usable parts of the hardware, e.g.
198 entire System-on-Module.
203 external reference SoC input clock, which could be coded as a fixed-clock in