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.

media: dt-bindings: trivial white-space and example cleanup

Minor cleanups without funcitonal impact:
- There should not be an empty blank line after SPDX tag,
- Convention is to indent DTS examples in coding style with 2- or
4-space indentation (4 is preferred),
- Drop unused labels in DTS examples.

Reviewed-by: Rob Herring (Arm) <robh@kernel.org>
Reviewed-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org>
Reviewed-by: Heiko Stuebner <heiko@sntech.de>
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Acked-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>

authored by

Krzysztof Kozlowski and committed by
Hans Verkuil
c5aa327e 80aa73ef

+42 -58
-1
Documentation/devicetree/bindings/media/allwinner,sun50i-h6-vpu-g2.yaml
··· 1 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 2 - 3 2 %YAML 1.2 4 3 --- 5 4 $id: http://devicetree.org/schemas/media/allwinner,sun50i-h6-vpu-g2.yaml#
-1
Documentation/devicetree/bindings/media/amlogic,meson-ir-tx.yaml
··· 1 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2 - 3 2 %YAML 1.2 4 3 --- 5 4 $id: http://devicetree.org/schemas/media/amlogic,meson-ir-tx.yaml#
-1
Documentation/devicetree/bindings/media/amphion,vpu.yaml
··· 1 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 2 - 3 2 %YAML 1.2 4 3 --- 5 4 $id: http://devicetree.org/schemas/media/amphion,vpu.yaml#
-1
Documentation/devicetree/bindings/media/fsl,imx6ull-pxp.yaml
··· 1 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 2 - 3 2 %YAML 1.2 4 3 --- 5 4 $id: http://devicetree.org/schemas/media/fsl,imx6ull-pxp.yaml#
-1
Documentation/devicetree/bindings/media/mediatek,vcodec-decoder.yaml
··· 1 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2 - 3 2 %YAML 1.2 4 3 --- 5 4 $id: http://devicetree.org/schemas/media/mediatek,vcodec-decoder.yaml#
-1
Documentation/devicetree/bindings/media/mediatek,vcodec-encoder.yaml
··· 1 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2 - 3 2 %YAML 1.2 4 3 --- 5 4 $id: http://devicetree.org/schemas/media/mediatek,vcodec-encoder.yaml#
-1
Documentation/devicetree/bindings/media/mediatek,vcodec-subdev-decoder.yaml
··· 1 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2 - 3 2 %YAML 1.2 4 3 --- 5 4 $id: http://devicetree.org/schemas/media/mediatek,vcodec-subdev-decoder.yaml#
+8 -9
Documentation/devicetree/bindings/media/microchip,sama5d4-vdec.yaml
··· 1 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 2 - 3 2 %YAML 1.2 4 3 --- 5 4 $id: http://devicetree.org/schemas/media/microchip,sama5d4-vdec.yaml# ··· 35 36 36 37 examples: 37 38 - | 38 - #include <dt-bindings/clock/at91.h> 39 - #include <dt-bindings/interrupt-controller/irq.h> 39 + #include <dt-bindings/clock/at91.h> 40 + #include <dt-bindings/interrupt-controller/irq.h> 40 41 41 - vdec0: vdec@300000 { 42 - compatible = "microchip,sama5d4-vdec"; 43 - reg = <0x00300000 0x100000>; 44 - interrupts = <19 IRQ_TYPE_LEVEL_HIGH 4>; 45 - clocks = <&pmc PMC_TYPE_PERIPHERAL 19>; 46 - }; 42 + vdec@300000 { 43 + compatible = "microchip,sama5d4-vdec"; 44 + reg = <0x00300000 0x100000>; 45 + interrupts = <19 IRQ_TYPE_LEVEL_HIGH 4>; 46 + clocks = <&pmc PMC_TYPE_PERIPHERAL 19>; 47 + };
+20 -21
Documentation/devicetree/bindings/media/nxp,imx8mq-vpu.yaml
··· 1 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 2 - 3 2 %YAML 1.2 4 3 --- 5 4 $id: http://devicetree.org/schemas/media/nxp,imx8mq-vpu.yaml# ··· 43 44 44 45 examples: 45 46 - | 46 - #include <dt-bindings/clock/imx8mq-clock.h> 47 - #include <dt-bindings/power/imx8mq-power.h> 48 - #include <dt-bindings/interrupt-controller/arm-gic.h> 47 + #include <dt-bindings/clock/imx8mq-clock.h> 48 + #include <dt-bindings/power/imx8mq-power.h> 49 + #include <dt-bindings/interrupt-controller/arm-gic.h> 49 50 50 - vpu_g1: video-codec@38300000 { 51 - compatible = "nxp,imx8mq-vpu-g1"; 52 - reg = <0x38300000 0x10000>; 53 - interrupts = <GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>; 54 - clocks = <&clk IMX8MQ_CLK_VPU_G1_ROOT>; 55 - power-domains = <&vpu_blk_ctrl IMX8MQ_VPUBLK_PD_G1>; 56 - }; 51 + video-codec@38300000 { 52 + compatible = "nxp,imx8mq-vpu-g1"; 53 + reg = <0x38300000 0x10000>; 54 + interrupts = <GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>; 55 + clocks = <&clk IMX8MQ_CLK_VPU_G1_ROOT>; 56 + power-domains = <&vpu_blk_ctrl IMX8MQ_VPUBLK_PD_G1>; 57 + }; 57 58 - | 58 - #include <dt-bindings/clock/imx8mq-clock.h> 59 - #include <dt-bindings/power/imx8mq-power.h> 60 - #include <dt-bindings/interrupt-controller/arm-gic.h> 59 + #include <dt-bindings/clock/imx8mq-clock.h> 60 + #include <dt-bindings/power/imx8mq-power.h> 61 + #include <dt-bindings/interrupt-controller/arm-gic.h> 61 62 62 - vpu_g2: video-codec@38300000 { 63 - compatible = "nxp,imx8mq-vpu-g2"; 64 - reg = <0x38310000 0x10000>; 65 - interrupts = <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>; 66 - clocks = <&clk IMX8MQ_CLK_VPU_G2_ROOT>; 67 - power-domains = <&vpu_blk_ctrl IMX8MQ_VPUBLK_PD_G2>; 68 - }; 63 + video-codec@38300000 { 64 + compatible = "nxp,imx8mq-vpu-g2"; 65 + reg = <0x38310000 0x10000>; 66 + interrupts = <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>; 67 + clocks = <&clk IMX8MQ_CLK_VPU_G2_ROOT>; 68 + power-domains = <&vpu_blk_ctrl IMX8MQ_VPUBLK_PD_G2>; 69 + };
-1
Documentation/devicetree/bindings/media/qcom,msm8916-camss.yaml
··· 1 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 2 - 3 2 %YAML 1.2 4 3 --- 5 4 $id: http://devicetree.org/schemas/media/qcom,msm8916-camss.yaml#
-1
Documentation/devicetree/bindings/media/qcom,msm8996-camss.yaml
··· 1 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 2 - 3 2 %YAML 1.2 4 3 --- 5 4 $id: http://devicetree.org/schemas/media/qcom,msm8996-camss.yaml#
-1
Documentation/devicetree/bindings/media/qcom,sdm660-camss.yaml
··· 1 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 2 - 3 2 %YAML 1.2 4 3 --- 5 4 $id: http://devicetree.org/schemas/media/qcom,sdm660-camss.yaml#
-1
Documentation/devicetree/bindings/media/qcom,sdm845-camss.yaml
··· 1 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 2 - 3 2 %YAML 1.2 4 3 --- 5 4 $id: http://devicetree.org/schemas/media/qcom,sdm845-camss.yaml#
-1
Documentation/devicetree/bindings/media/qcom,sm8250-camss.yaml
··· 1 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 2 - 3 2 %YAML 1.2 4 3 --- 5 4 $id: http://devicetree.org/schemas/media/qcom,sm8250-camss.yaml#
-1
Documentation/devicetree/bindings/media/rockchip,rk3568-vepu.yaml
··· 1 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 2 - 3 2 %YAML 1.2 4 3 --- 5 4 $id: http://devicetree.org/schemas/media/rockchip,rk3568-vepu.yaml#
+14 -15
Documentation/devicetree/bindings/media/rockchip-vpu.yaml
··· 1 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 2 - 3 2 %YAML 1.2 4 3 --- 5 4 $id: http://devicetree.org/schemas/media/rockchip-vpu.yaml# ··· 91 92 92 93 examples: 93 94 - | 94 - #include <dt-bindings/clock/rk3288-cru.h> 95 - #include <dt-bindings/interrupt-controller/arm-gic.h> 96 - #include <dt-bindings/power/rk3288-power.h> 95 + #include <dt-bindings/clock/rk3288-cru.h> 96 + #include <dt-bindings/interrupt-controller/arm-gic.h> 97 + #include <dt-bindings/power/rk3288-power.h> 97 98 98 - vpu: video-codec@ff9a0000 { 99 - compatible = "rockchip,rk3288-vpu"; 100 - reg = <0xff9a0000 0x800>; 101 - interrupts = <GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>, 102 - <GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>; 103 - interrupt-names = "vepu", "vdpu"; 104 - clocks = <&cru ACLK_VCODEC>, <&cru HCLK_VCODEC>; 105 - clock-names = "aclk", "hclk"; 106 - power-domains = <&power RK3288_PD_VIDEO>; 107 - iommus = <&vpu_mmu>; 108 - }; 99 + video-codec@ff9a0000 { 100 + compatible = "rockchip,rk3288-vpu"; 101 + reg = <0xff9a0000 0x800>; 102 + interrupts = <GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>, 103 + <GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>; 104 + interrupt-names = "vepu", "vdpu"; 105 + clocks = <&cru ACLK_VCODEC>, <&cru HCLK_VCODEC>; 106 + clock-names = "aclk", "hclk"; 107 + power-domains = <&power RK3288_PD_VIDEO>; 108 + iommus = <&vpu_mmu>; 109 + };