Lines Matching +full:common +full:- +full:rules
1 .. SPDX-License-Identifier: GPL-2.0
8 should be considered complementary to any rules expressed already in
12 Individual architectures and subarchitectures can define additional rules,
16 ---------------------------
24 * Lowercase characters: [a-z]
25 * Digits: [0-9]
26 * Dash: -
30 * Lowercase characters: [a-z]
31 * Digits: [0-9]
42 gpi_dma2: dma-controller@a00000 {
43 compatible = "qcom,sm8550-gpi-dma", "qcom,sm6350-gpi-dma";
48 --------------
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 ----------------------------------
120 4. Standard/common properties (defined by common bindings, e.g. without
121 vendor-prefixes)
122 5. Vendor-specific properties
128 The above-described ordering follows this approach:
132 2. Each node will have common properties in similar place.
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 -----------------------
191 The DTSI and DTS files shall be organized in a way representing the common,
197 2. If applicable: DTSI with common or re-usable parts of the hardware, e.g.
198 entire System-on-Module.
202 board DTS, not in the SoC or SoM DTSI. A partial exception is a common
203 external reference SoC input clock, which could be coded as a fixed-clock in