dt-bindings: gpio: pca95xx: drop useless consumer example
Subsystems (8)
PATCH 1/2 dt-bindings: gpio: pca95xx: drop useless consumer example
Consumer examples in the bindings of resource providers are trivial, useless and duplication of code. Remove the example code for consumer
--- Documentation/devicetree/bindings/gpio/gpio-pca95xx.yaml | 8 -------- 1 file changed, 8 deletions(-)
Documentation/devicetree/bindings/gpio/gpio-pca95xx.yaml +0 -8
@@ -190,14 +190,6 @@ examples: "chg-status+red", "green", "blue", "en-esata", "fault1", "p26", "p27"; }; - - ts3a227@3b { - compatible = "ti,ts3a227e"; - reg = <0x3b>; - interrupt-parent = <&gpio99>; - interrupts = <14 IRQ_TYPE_EDGE_RISING>; - ti,micbias = <0>; /* 2.1V */ - }; }; - |
Signature · 1 line
2.32.0
PATCH 2/2 dt-bindings: clock: drop useless consumer example
Consumer examples in the bindings of resource providers are trivial, useless and duplication of code. Remove the example code for consumer
--- .../bindings/clock/bitmain,bm1880-clk.yaml | 12 ------------ .../devicetree/bindings/clock/idt,versaclock5.yaml | 7 ------- .../devicetree/bindings/clock/imx1-clock.yaml | 9 --------- .../devicetree/bindings/clock/imx21-clock.yaml | 9 --------- .../devicetree/bindings/clock/imx23-clock.yaml | 9 --------- .../devicetree/bindings/clock/imx25-clock.yaml | 8 -------- .../devicetree/bindings/clock/imx27-clock.yaml | 9 --------- .../devicetree/bindings/clock/imx28-clock.yaml | 9 --------- .../devicetree/bindings/clock/imx31-clock.yaml | 8 -------- .../devicetree/bindings/clock/imx35-clock.yaml | 8 -------- .../devicetree/bindings/clock/imx7ulp-pcc-clock.yaml | 11 ----------- .../devicetree/bindings/clock/imx7ulp-scg-clock.yaml | 11 ----------- .../devicetree/bindings/clock/imx8qxp-lpcg.yaml | 11 ----------- .../devicetree/bindings/clock/imxrt1050-clock.yaml | 8 -------- .../bindings/clock/nvidia,tegra124-car.yaml | 7 ------- .../bindings/clock/nvidia,tegra20-car.yaml | 7 ------- 16 files changed, 143 deletions(-)
Documentation/devicetree/bindings/clock/bitmain,bm1880-clk.yaml +0 -12
@@ -61,16 +61,4 @@ examples: #clock-cells = <1>; }; - # Example UART controller node that consumes clock generated by the clock controller: - - | - uart0: serial@58018000 { - compatible = "snps,dw-apb-uart"; - reg = <0x58018000 0x2000>; - clocks = <&clk 45>, <&clk 46>; - clock-names = "baudclk", "apb_pclk"; - interrupts = <0 9 4>; - reg-shift = <2>; - reg-io-width = <4>; - }; - ...
Documentation/devicetree/bindings/clock/idt,versaclock5.yaml +0 -7
@@ -191,11 +191,4 @@ examples: }; }; - /* Consumer referencing the 5P49V5923 pin OUT1 */ - consumer { - /* ... */ - clocks = <&vc5 1>; - /* ... */ - }; - ...
Documentation/devicetree/bindings/clock/imx1-clock.yaml +0 -9
@@ -40,12 +40,3 @@ examples: compatible = "fsl,imx1-ccm"; reg = <0x0021b000 0x1000>; }; - - pwm@208000 { - #pwm-cells = <2>; - compatible = "fsl,imx1-pwm"; - reg = <0x00208000 0x1000>; - interrupts = <34>; - clocks = <&clks IMX1_CLK_DUMMY>, <&clks IMX1_CLK_PER1>; - clock-names = "ipg", "per"; - };
Documentation/devicetree/bindings/clock/imx21-clock.yaml +0 -9
@@ -40,12 +40,3 @@ examples: reg = <0x10027000 0x800>; #clock-cells = <1>; }; - - serial@1000a000 { - compatible = "fsl,imx21-uart"; - reg = <0x1000a000 0x1000>; - interrupts = <20>; - clocks = <&clks IMX21_CLK_UART1_IPG_GATE>, - <&clks IMX21_CLK_PER1>; - clock-names = "ipg", "per"; - };
Documentation/devicetree/bindings/clock/imx23-clock.yaml +0 -9
@@ -83,12 +83,3 @@ examples: reg = <0x80040000 0x2000>; #clock-cells = <1>; }; - - serial@8006c000 { - compatible = "fsl,imx23-auart"; - reg = <0x8006c000 0x2000>; - interrupts = <24>; - clocks = <&clks 32>; - dmas = <&dma_apbx 6>, <&dma_apbx 7>; - dma-names = "rx", "tx"; - };
Documentation/devicetree/bindings/clock/imx25-clock.yaml +0 -8
@@ -176,11 +176,3 @@ examples: interrupts = <31>; #clock-cells = <1>; }; - - serial@43f90000 { - compatible = "fsl,imx25-uart", "fsl,imx21-uart"; - reg = <0x43f90000 0x4000>; - interrupts = <45>; - clocks = <&clks 79>, <&clks 50>; - clock-names = "ipg", "per"; - };
Documentation/devicetree/bindings/clock/imx27-clock.yaml +0 -9
@@ -44,12 +44,3 @@ examples: interrupts = <31>; #clock-cells = <1>; }; - - serial@1000a000 { - compatible = "fsl,imx27-uart", "fsl,imx21-uart"; - reg = <0x1000a000 0x1000>; - interrupts = <20>; - clocks = <&clks IMX27_CLK_UART1_IPG_GATE>, - <&clks IMX27_CLK_PER1_GATE>; - clock-names = "ipg", "per"; - };
Documentation/devicetree/bindings/clock/imx28-clock.yaml +0 -9
@@ -106,12 +106,3 @@ examples: reg = <0x80040000 0x2000>; #clock-cells = <1>; }; - - serial@8006a000 { - compatible = "fsl,imx28-auart"; - reg = <0x8006a000 0x2000>; - interrupts = <112>; - dmas = <&dma_apbx 8>, <&dma_apbx 9>; - dma-names = "rx", "tx"; - clocks = <&clks 45>; - };
Documentation/devicetree/bindings/clock/imx31-clock.yaml +0 -8
@@ -110,11 +110,3 @@ examples: interrupts = <31>, <53>; #clock-cells = <1>; }; - - serial@43f90000 { - compatible = "fsl,imx31-uart", "fsl,imx21-uart"; - reg = <0x43f90000 0x4000>; - interrupts = <45>; - clocks = <&clks 10>, <&clks 30>; - clock-names = "ipg", "per"; - };
Documentation/devicetree/bindings/clock/imx35-clock.yaml +0 -8
@@ -129,11 +129,3 @@ examples: interrupts = <31>; #clock-cells = <1>; }; - - mmc@53fb4000 { - compatible = "fsl,imx35-esdhc"; - reg = <0x53fb4000 0x4000>; - interrupts = <7>; - clocks = <&clks 9>, <&clks 8>, <&clks 43>; - clock-names = "ipg", "ahb", "per"; - };
Documentation/devicetree/bindings/clock/imx7ulp-pcc-clock.yaml +0 -11
@@ -108,14 +108,3 @@ examples: "upll", "sosc_bus_clk", "firc_bus_clk", "rosc", "spll_bus_clk"; }; - - mmc@40380000 { - compatible = "fsl,imx7ulp-usdhc"; - reg = <0x40380000 0x10000>; - interrupts = <GIC_SPI 43 IRQ_TYPE_LEVEL_HIGH>; - clocks = <&scg1 IMX7ULP_CLK_NIC1_BUS_DIV>, - <&scg1 IMX7ULP_CLK_NIC1_DIV>, - <&pcc2 IMX7ULP_CLK_USDHC1>; - clock-names ="ipg", "ahb", "per"; - bus-width = <4>; - };
Documentation/devicetree/bindings/clock/imx7ulp-scg-clock.yaml +0 -11
@@ -86,14 +86,3 @@ examples: "firc", "upll"; #clock-cells = <1>; }; - - mmc@40380000 { - compatible = "fsl,imx7ulp-usdhc"; - reg = <0x40380000 0x10000>; - interrupts = <GIC_SPI 43 IRQ_TYPE_LEVEL_HIGH>; - clocks = <&scg1 IMX7ULP_CLK_NIC1_BUS_DIV>, - <&scg1 IMX7ULP_CLK_NIC1_DIV>, - <&pcc2 IMX7ULP_CLK_USDHC1>; - clock-names ="ipg", "ahb", "per"; - bus-width = <4>; - };
Documentation/devicetree/bindings/clock/imx8qxp-lpcg.yaml +0 -11
@@ -101,14 +101,3 @@ examples: "sdhc0_lpcg_ahb_clk"; power-domains = <&pd IMX_SC_R_SDHC_0>; }; - - mmc@5b010000 { - compatible = "fsl,imx8qxp-usdhc", "fsl,imx7d-usdhc"; - interrupts = <GIC_SPI 232 IRQ_TYPE_LEVEL_HIGH>; - reg = <0x5b010000 0x10000>; - clocks = <&sdhc0_lpcg IMX_LPCG_CLK_4>, - <&sdhc0_lpcg IMX_LPCG_CLK_5>, - <&sdhc0_lpcg IMX_LPCG_CLK_0>; - clock-names = "ipg", "ahb", "per"; - power-domains = <&pd IMX_SC_R_SDHC_0>; - };
Documentation/devicetree/bindings/clock/imxrt1050-clock.yaml +0 -8
@@ -57,11 +57,3 @@ examples: clock-names = "osc"; #clock-cells = <1>; }; - - lpuart1: serial@40184000 { - compatible = "fsl,imxrt1050-lpuart"; - reg = <0x40184000 0x4000>; - interrupts = <20>; - clocks = <&clks IMXRT1050_CLK_LPUART1>; - clock-names = "ipg"; - };
Documentation/devicetree/bindings/clock/nvidia,tegra124-car.yaml +0 -7
@@ -106,10 +106,3 @@ examples: #clock-cells = <1>; #reset-cells = <1>; }; - - usb-controller@c5004000 { - compatible = "nvidia,tegra20-ehci"; - reg = <0xc5004000 0x4000>; - clocks = <&car TEGRA124_CLK_USB2>; - resets = <&car TEGRA124_CLK_USB2>; - };
Documentation/devicetree/bindings/clock/nvidia,tegra20-car.yaml +0 -7
@@ -97,10 +97,3 @@ examples: power-domains = <&domain>; }; }; - - usb-controller@c5004000 { - compatible = "nvidia,tegra20-ehci"; - reg = <0xc5004000 0x4000>; - clocks = <&car TEGRA20_CLK_USB2>; - resets = <&car TEGRA20_CLK_USB2>; - };
Signature · 1 line
2.32.0
Re: [PATCH 2/2] dt-bindings: clock: drop useless consumer example
Quoted 14 lines · Krzysztof Kozlowski
Consumer examples in the bindings of resource providers are trivial, useless and duplication of code. Remove the example code for consumer
Signed-off-by Krzysztof Kozlowski <[email protected]>--- .../bindings/clock/bitmain,bm1880-clk.yaml | 12 ------------ .../devicetree/bindings/clock/idt,versaclock5.yaml | 7 ------- .../devicetree/bindings/clock/imx1-clock.yaml | 9 --------- .../devicetree/bindings/clock/imx21-clock.yaml | 9 --------- .../devicetree/bindings/clock/imx23-clock.yaml | 9 --------- .../devicetree/bindings/clock/imx25-clock.yaml | 8 -------- .../devicetree/bindings/clock/imx27-clock.yaml | 9 --------- .../devicetree/bindings/clock/imx28-clock.yaml | 9 --------- .../devicetree/bindings/clock/imx31-clock.yaml | 8 --------
Quoted 8 lines
.../devicetree/bindings/clock/imx35-clock.yaml | 8 -------- .../devicetree/bindings/clock/imx7ulp-pcc-clock.yaml | 11 ----------- .../devicetree/bindings/clock/imx7ulp-scg-clock.yaml | 11 ----------- .../devicetree/bindings/clock/imx8qxp-lpcg.yaml | 11 ----------- .../devicetree/bindings/clock/imxrt1050-clock.yaml | 8 -------- .../bindings/clock/nvidia,tegra124-car.yaml | 7 ------- .../bindings/clock/nvidia,tegra20-car.yaml | 7 ------- 16 files changed, 143 deletions(-)
Doesn't apply to my tree (no imxrt1050-clock.yaml), so
Re: [PATCH 2/2] dt-bindings: clock: drop useless consumer example
Quoted 24 lines · Rob Herring
Quoted 14 lines · Krzysztof Kozlowski
Consumer examples in the bindings of resource providers are trivial, useless and duplication of code. Remove the example code for consumer
Signed-off-by Krzysztof Kozlowski <[email protected]>--- .../bindings/clock/bitmain,bm1880-clk.yaml | 12 ------------ .../devicetree/bindings/clock/idt,versaclock5.yaml | 7 ------- .../devicetree/bindings/clock/imx1-clock.yaml | 9 --------- .../devicetree/bindings/clock/imx21-clock.yaml | 9 --------- .../devicetree/bindings/clock/imx23-clock.yaml | 9 --------- .../devicetree/bindings/clock/imx25-clock.yaml | 8 -------- .../devicetree/bindings/clock/imx27-clock.yaml | 9 --------- .../devicetree/bindings/clock/imx28-clock.yaml | 9 --------- .../devicetree/bindings/clock/imx31-clock.yaml | 8 --------Quoted 8 lines
.../devicetree/bindings/clock/imx35-clock.yaml | 8 -------- .../devicetree/bindings/clock/imx7ulp-pcc-clock.yaml | 11 ----------- .../devicetree/bindings/clock/imx7ulp-scg-clock.yaml | 11 ----------- .../devicetree/bindings/clock/imx8qxp-lpcg.yaml | 11 ----------- .../devicetree/bindings/clock/imxrt1050-clock.yaml | 8 -------- .../bindings/clock/nvidia,tegra124-car.yaml | 7 ------- .../bindings/clock/nvidia,tegra20-car.yaml | 7 ------- 16 files changed, 143 deletions(-)
Quoted 1 line
Doesn't apply to my tree (no
imxrt1050-clock.yaml), so
merge against linux-next I can submit another patch if needed.
Quoted 1 line
Acked-by Rob Herring <[email protected]>
Re: [PATCH 2/2] dt-bindings: clock: drop useless consumer example
Quoted 27 lines · Jesse Taube
Quoted 24 lines · Rob Herring
Quoted 22 lines · Krzysztof Kozlowski
Consumer examples in the bindings of resource providers are trivial, useless and duplication of code. Remove the example code for consumer
Signed-off-by Krzysztof Kozlowski <[email protected]>--- .../bindings/clock/bitmain,bm1880-clk.yaml | 12 ------------ .../devicetree/bindings/clock/idt,versaclock5.yaml | 7 ------- .../devicetree/bindings/clock/imx1-clock.yaml | 9 --------- .../devicetree/bindings/clock/imx21-clock.yaml | 9 --------- .../devicetree/bindings/clock/imx23-clock.yaml | 9 --------- .../devicetree/bindings/clock/imx25-clock.yaml | 8 -------- .../devicetree/bindings/clock/imx27-clock.yaml | 9 --------- .../devicetree/bindings/clock/imx28-clock.yaml | 9 --------- .../devicetree/bindings/clock/imx31-clock.yaml | 8 -------- .../devicetree/bindings/clock/imx35-clock.yaml | 8 -------- .../devicetree/bindings/clock/imx7ulp-pcc-clock.yaml | 11 ----------- .../devicetree/bindings/clock/imx7ulp-scg-clock.yaml | 11 ----------- .../devicetree/bindings/clock/imx8qxp-lpcg.yaml | 11 ----------- .../devicetree/bindings/clock/imxrt1050-clock.yaml | 8 -------- .../bindings/clock/nvidia,tegra124-car.yaml | 7 ------- .../bindings/clock/nvidia,tegra20-car.yaml | 7 ------- 16 files changed, 143 deletions(-)
Quoted 3 lines
Quoted 1 line
Doesn't apply to my tree (no
imxrt1050-clock.yaml), somerge against linux-next I can submit another patch if needed.
Quoted 1 line
Acked-by Rob Herring <[email protected]>
Let me send it after the merge window - all dependencies should be there.
Best regards,
Krzysztof
Re: [PATCH 2/2] dt-bindings: clock: drop useless consumer example
Quoted 28 lines · Krzysztof Kozlowski
Quoted 27 lines · Jesse Taube
Quoted 24 lines · Rob Herring
Quoted 22 lines · Krzysztof Kozlowski
Consumer examples in the bindings of resource providers are trivial, useless and duplication of code. Remove the example code for consumer
Signed-off-by Krzysztof Kozlowski <[email protected]>--- .../bindings/clock/bitmain,bm1880-clk.yaml | 12 ------------ .../devicetree/bindings/clock/idt,versaclock5.yaml | 7 ------- .../devicetree/bindings/clock/imx1-clock.yaml | 9 --------- .../devicetree/bindings/clock/imx21-clock.yaml | 9 --------- .../devicetree/bindings/clock/imx23-clock.yaml | 9 --------- .../devicetree/bindings/clock/imx25-clock.yaml | 8 -------- .../devicetree/bindings/clock/imx27-clock.yaml | 9 --------- .../devicetree/bindings/clock/imx28-clock.yaml | 9 --------- .../devicetree/bindings/clock/imx31-clock.yaml | 8 -------- .../devicetree/bindings/clock/imx35-clock.yaml | 8 -------- .../devicetree/bindings/clock/imx7ulp-pcc-clock.yaml | 11 ----------- .../devicetree/bindings/clock/imx7ulp-scg-clock.yaml | 11 ----------- .../devicetree/bindings/clock/imx8qxp-lpcg.yaml | 11 ----------- .../devicetree/bindings/clock/imxrt1050-clock.yaml | 8 -------- .../bindings/clock/nvidia,tegra124-car.yaml | 7 ------- .../bindings/clock/nvidia,tegra20-car.yaml | 7 ------- 16 files changed, 143 deletions(-)
Quoted 5 lines
Quoted 3 lines
Quoted 1 line
Doesn't apply to my tree (no
imxrt1050-clock.yaml), somerge against linux-next I can submit another patch if needed.
Quoted 1 line
Acked-by Rob Herring <[email protected]>Let me send it after the merge window - all dependencies should be there.
Optionally this could be picked up by Stephen/Michael (clock).
Best regards,
Krzysztof
Quoted 8 lines · Krzysztof Kozlowski
Consumer examples in the bindings of resource providers are trivial, useless and duplication of code. Remove the example code for consumer
Signed-off-by Krzysztof Kozlowski <[email protected]>--- Documentation/devicetree/bindings/gpio/gpio-pca95xx.yaml | 8 -------- 1 file changed, 8 deletions(-)
Applied, thanks!