From nobody Sun Dec 14 13:58:35 2025 Received: from mail-ej1-f50.google.com (mail-ej1-f50.google.com [209.85.218.50]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id C2055236F82 for ; Wed, 11 Dec 2024 09:25:16 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.218.50 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1733909120; cv=none; b=pIhAR0BZuw4dJqRzaSjHLn5ltHb5/CdRNY3CvFRu8P07A13EH50GIYSzO3VWGWsZVd62RFODNFNEuiMQlzKlcAz7/33mr+WIvofBUao9/rQxZvR0/qMijkf69ARn5Pqkvaeh5qeCNai9ApNqd8Qk49X1QGF7eoAwc3cv3wtThGA= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1733909120; c=relaxed/simple; bh=OorsYFI2yOigJgO5bO69ZT+ApNYpUlucr9QC0hagCak=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=fIwpyBTdRPHKZO+CGV6GTfb9Elpaa7PPEj/hf2KrderIDuufn23PcU+FUPjXBWHA+rOertb5fB6z/uLuGGmxA0Axe6JwneWQT18wWg3dpQfV28/pbip4MkoVgBLY3QqcoMEvYKBqjXhyIf2F9PpFslg4CPgl6BYNTtGH/4LkigM= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=QkHyuQsJ; arc=none smtp.client-ip=209.85.218.50 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="QkHyuQsJ" Received: by mail-ej1-f50.google.com with SMTP id a640c23a62f3a-aa659775dd5so50749066b.0 for ; Wed, 11 Dec 2024 01:25:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1733909115; x=1734513915; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=NXcqVV41GkS5OCdhP1LRH9L5Mcp24WkFvJlZaO+kog4=; b=QkHyuQsJ3O0lhlfw5w2CStBho5X+Gob9P9co0Z/oMbC435sGqWudvNuWhcYglaQfE+ TOeXbHa/WXkY2Zf1vtxPFJDaPx2mjtRKj+fiaPb8Sw5IFK7Lrj8C1LhFhGjMjyl1t7Tc jJF8oZzBXMqCUFl2tHHSVWBXMfxXBDqbrCO2XxSO8+JL0QO78lsW46Rq0oQjY9T5ru4O B3e+SxIivU1mLqLg/PvCSkU/KRjHCN8yDgIP+L4Z7EwcqZgP27NbCJkCbNSqnp/Eri8s LoT1TtF8fvYS3C1CNe8sXQxR9AUvdAKEgSWZEaQxuxdc9t0OnT38wI0Lsh0lN9ENDojT 9VoA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1733909115; x=1734513915; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=NXcqVV41GkS5OCdhP1LRH9L5Mcp24WkFvJlZaO+kog4=; b=QOOm7mFjkC5UaDV0diz5Atdfr1FJ123jq8eumnwaRuWx+U8bIkolIYV8l0t/ObUpZw ZvzZm/ki8DZ3k/VzTkjGsOGHtTdGt3ouQb9xXTq1mrQBCmBATuMzAgsN2xv4nZ1xUeBM 1mIRD9VVkj9BZgRtwCYt4ncmRu5/+0t7scX6GJ0ZIiNSnVMypYttKUaA2oAajvBPURIp 8IqXPIfBJ0mJeW1Nqo6Nx7+MZIxHhREAJQh9gUDYAMoDETF4yZ7YCl6439rdR2iBiRbR 1Lvac3nb/PlcKQmAsBA7W8ZhCBMPGov8tPEXhABujxVKIYToRstgliqGYOictczktH3e J0dA== X-Forwarded-Encrypted: i=1; AJvYcCXzlaE424PC6PETkU/HTFpIxH6Rkq455RABVJ/RJ6IG5fa+olQOt1C94lI6Mq/Q5JGY3FL0E1/y3IFzsbM=@vger.kernel.org X-Gm-Message-State: AOJu0YwNv/d+TGFi0DgKMNklgZOg81Jon8Xq8ivKvJGL+SaC+fue36/A uYVVmrku2w1ai2+YNsOujyrENFUWLOZyEY7cw2Pl9gg1Zku7zg9FYmOWUKJGd78= X-Gm-Gg: ASbGncsY6gCrsMpU8SkWCcc3J9hhaoRKwxQMKx1Fvkl3Hjqr5+VaW7hnc0x2hoqt2kb kAfc3Foln14GvFvr/+HUrLA05uUKimVF3R5wA6uehFmCAmaUSwoTAlfKmWEihvXcXU/RDcJ8+Wv CXryGIdvu8mpwujju0S5dibutA9XYp0/JSr16jQtGzFfPAi8tjFOFk+Cwb44d5UZhxjT/418ehs 2qhBIRnondYoPErdPs050nMWW8EnOsWUqF8fEzME5VIsuxK3se8MjqBDOnTanuvdXd6 X-Google-Smtp-Source: AGHT+IHFyHBEA5HZHRpwyOqKtZhm48a+yS1LNgYQVR3j87nj6Xk8rdjKvJ/QyHwbpikKDarceoIpOg== X-Received: by 2002:a17:907:3fa7:b0:aa6:79e6:5b03 with SMTP id a640c23a62f3a-aa6b116dff6mr82732466b.6.1733909115063; Wed, 11 Dec 2024 01:25:15 -0800 (PST) Received: from krzk-bin.. ([178.197.223.165]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-aa698a9b74asm333831466b.140.2024.12.11.01.25.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 11 Dec 2024 01:25:14 -0800 (PST) From: Krzysztof Kozlowski To: Mauro Carvalho Chehab , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Chen-Yu Tsai , Jernej Skrabec , Samuel Holland , Neil Armstrong , Kevin Hilman , Jerome Brunet , Martin Blumenstingl , Ming Qian , Zhou Peng , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , Tiffany Lin , Andrew-CT Chen , Yunfei Dong , Ezequiel Garcia , Philipp Zabel , Robert Foss , Todor Tomov , "Bryan O'Donoghue" , Heiko Stuebner , Matthias Brugger , AngeloGioacchino Del Regno , Viktor Prutyanov , Shijie Qin , Michael Tretter , Emil Velikov , Del Regno , Nicolas Frattaroli , linux-media@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-sunxi@lists.linux.dev, linux-kernel@vger.kernel.org, linux-amlogic@lists.infradead.org, imx@lists.linux.dev, linux-rockchip@lists.infradead.org, linux-arm-msm@vger.kernel.org, linux-mediatek@lists.infradead.org Cc: Krzysztof Kozlowski Subject: [RESEND PATCH] media: dt-bindings: trivial white-space and example cleanup Date: Wed, 11 Dec 2024 10:25:09 +0100 Message-ID: <20241211092509.34342-1-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.43.0 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" 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) Reviewed-by: Bryan O'Donoghue Reviewed-by: Heiko Stuebner Signed-off-by: Krzysztof Kozlowski Acked-by: Chen-Yu Tsai --- Resending second time, because I missed previous Rob's review. I added now also Bryan's and Heiko's reviews from last resend. --- .../media/allwinner,sun50i-h6-vpu-g2.yaml | 1 - .../bindings/media/amlogic,meson-ir-tx.yaml | 1 - .../bindings/media/amphion,vpu.yaml | 1 - .../bindings/media/fsl,imx6ull-pxp.yaml | 1 - .../media/mediatek,vcodec-decoder.yaml | 1 - .../media/mediatek,vcodec-encoder.yaml | 1 - .../media/mediatek,vcodec-subdev-decoder.yaml | 1 - .../media/microchip,sama5d4-vdec.yaml | 17 ++++---- .../bindings/media/nxp,imx8mq-vpu.yaml | 41 +++++++++---------- .../bindings/media/qcom,msm8916-camss.yaml | 1 - .../bindings/media/qcom,msm8996-camss.yaml | 1 - .../bindings/media/qcom,sdm660-camss.yaml | 1 - .../bindings/media/qcom,sdm845-camss.yaml | 1 - .../bindings/media/qcom,sm8250-camss.yaml | 1 - .../bindings/media/rockchip,rk3568-vepu.yaml | 1 - .../bindings/media/rockchip-vpu.yaml | 29 +++++++------ 16 files changed, 42 insertions(+), 58 deletions(-) diff --git a/Documentation/devicetree/bindings/media/allwinner,sun50i-h6-vp= u-g2.yaml b/Documentation/devicetree/bindings/media/allwinner,sun50i-h6-vpu= -g2.yaml index a4f06bbdfe49..8ba5177ac631 100644 --- a/Documentation/devicetree/bindings/media/allwinner,sun50i-h6-vpu-g2.ya= ml +++ b/Documentation/devicetree/bindings/media/allwinner,sun50i-h6-vpu-g2.ya= ml @@ -1,5 +1,4 @@ # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) - %YAML 1.2 --- $id: http://devicetree.org/schemas/media/allwinner,sun50i-h6-vpu-g2.yaml# diff --git a/Documentation/devicetree/bindings/media/amlogic,meson-ir-tx.ya= ml b/Documentation/devicetree/bindings/media/amlogic,meson-ir-tx.yaml index 377acce93423..6da8a6aded23 100644 --- a/Documentation/devicetree/bindings/media/amlogic,meson-ir-tx.yaml +++ b/Documentation/devicetree/bindings/media/amlogic,meson-ir-tx.yaml @@ -1,5 +1,4 @@ # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) - %YAML 1.2 --- $id: http://devicetree.org/schemas/media/amlogic,meson-ir-tx.yaml# diff --git a/Documentation/devicetree/bindings/media/amphion,vpu.yaml b/Doc= umentation/devicetree/bindings/media/amphion,vpu.yaml index 9801de3ed84e..5a920d9e78c7 100644 --- a/Documentation/devicetree/bindings/media/amphion,vpu.yaml +++ b/Documentation/devicetree/bindings/media/amphion,vpu.yaml @@ -1,5 +1,4 @@ # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) - %YAML 1.2 --- $id: http://devicetree.org/schemas/media/amphion,vpu.yaml# diff --git a/Documentation/devicetree/bindings/media/fsl,imx6ull-pxp.yaml b= /Documentation/devicetree/bindings/media/fsl,imx6ull-pxp.yaml index 84a5e894ace4..3f47744459aa 100644 --- a/Documentation/devicetree/bindings/media/fsl,imx6ull-pxp.yaml +++ b/Documentation/devicetree/bindings/media/fsl,imx6ull-pxp.yaml @@ -1,5 +1,4 @@ # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) - %YAML 1.2 --- $id: http://devicetree.org/schemas/media/fsl,imx6ull-pxp.yaml# diff --git a/Documentation/devicetree/bindings/media/mediatek,vcodec-decode= r.yaml b/Documentation/devicetree/bindings/media/mediatek,vcodec-decoder.ya= ml index b401c67e3ba0..d726d141a434 100644 --- a/Documentation/devicetree/bindings/media/mediatek,vcodec-decoder.yaml +++ b/Documentation/devicetree/bindings/media/mediatek,vcodec-decoder.yaml @@ -1,5 +1,4 @@ # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) - %YAML 1.2 --- $id: http://devicetree.org/schemas/media/mediatek,vcodec-decoder.yaml# diff --git a/Documentation/devicetree/bindings/media/mediatek,vcodec-encode= r.yaml b/Documentation/devicetree/bindings/media/mediatek,vcodec-encoder.ya= ml index b45743d0a9ec..110e8f5f1f9e 100644 --- a/Documentation/devicetree/bindings/media/mediatek,vcodec-encoder.yaml +++ b/Documentation/devicetree/bindings/media/mediatek,vcodec-encoder.yaml @@ -1,5 +1,4 @@ # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) - %YAML 1.2 --- $id: http://devicetree.org/schemas/media/mediatek,vcodec-encoder.yaml# diff --git a/Documentation/devicetree/bindings/media/mediatek,vcodec-subdev= -decoder.yaml b/Documentation/devicetree/bindings/media/mediatek,vcodec-sub= dev-decoder.yaml index a500a585c692..5865e6f0be89 100644 --- a/Documentation/devicetree/bindings/media/mediatek,vcodec-subdev-decode= r.yaml +++ b/Documentation/devicetree/bindings/media/mediatek,vcodec-subdev-decode= r.yaml @@ -1,5 +1,4 @@ # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) - %YAML 1.2 --- $id: http://devicetree.org/schemas/media/mediatek,vcodec-subdev-decoder.ya= ml# diff --git a/Documentation/devicetree/bindings/media/microchip,sama5d4-vdec= .yaml b/Documentation/devicetree/bindings/media/microchip,sama5d4-vdec.yaml index 59b805ca47c5..ede086d55add 100644 --- a/Documentation/devicetree/bindings/media/microchip,sama5d4-vdec.yaml +++ b/Documentation/devicetree/bindings/media/microchip,sama5d4-vdec.yaml @@ -1,5 +1,4 @@ # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) - %YAML 1.2 --- $id: http://devicetree.org/schemas/media/microchip,sama5d4-vdec.yaml# @@ -36,12 +35,12 @@ additionalProperties: false =20 examples: - | - #include - #include + #include + #include =20 - vdec0: vdec@300000 { - compatible =3D "microchip,sama5d4-vdec"; - reg =3D <0x00300000 0x100000>; - interrupts =3D <19 IRQ_TYPE_LEVEL_HIGH 4>; - clocks =3D <&pmc PMC_TYPE_PERIPHERAL 19>; - }; + vdec@300000 { + compatible =3D "microchip,sama5d4-vdec"; + reg =3D <0x00300000 0x100000>; + interrupts =3D <19 IRQ_TYPE_LEVEL_HIGH 4>; + clocks =3D <&pmc PMC_TYPE_PERIPHERAL 19>; + }; diff --git a/Documentation/devicetree/bindings/media/nxp,imx8mq-vpu.yaml b/= Documentation/devicetree/bindings/media/nxp,imx8mq-vpu.yaml index 3d58f02b0c5d..19528262810a 100644 --- a/Documentation/devicetree/bindings/media/nxp,imx8mq-vpu.yaml +++ b/Documentation/devicetree/bindings/media/nxp,imx8mq-vpu.yaml @@ -1,5 +1,4 @@ # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) - %YAML 1.2 --- $id: http://devicetree.org/schemas/media/nxp,imx8mq-vpu.yaml# @@ -44,26 +43,26 @@ additionalProperties: false =20 examples: - | - #include - #include - #include + #include + #include + #include =20 - vpu_g1: video-codec@38300000 { - compatible =3D "nxp,imx8mq-vpu-g1"; - reg =3D <0x38300000 0x10000>; - interrupts =3D ; - clocks =3D <&clk IMX8MQ_CLK_VPU_G1_ROOT>; - power-domains =3D <&vpu_blk_ctrl IMX8MQ_VPUBLK_PD_G1>; - }; + video-codec@38300000 { + compatible =3D "nxp,imx8mq-vpu-g1"; + reg =3D <0x38300000 0x10000>; + interrupts =3D ; + clocks =3D <&clk IMX8MQ_CLK_VPU_G1_ROOT>; + power-domains =3D <&vpu_blk_ctrl IMX8MQ_VPUBLK_PD_G1>; + }; - | - #include - #include - #include + #include + #include + #include =20 - vpu_g2: video-codec@38300000 { - compatible =3D "nxp,imx8mq-vpu-g2"; - reg =3D <0x38310000 0x10000>; - interrupts =3D ; - clocks =3D <&clk IMX8MQ_CLK_VPU_G2_ROOT>; - power-domains =3D <&vpu_blk_ctrl IMX8MQ_VPUBLK_PD_G2>; - }; + video-codec@38300000 { + compatible =3D "nxp,imx8mq-vpu-g2"; + reg =3D <0x38310000 0x10000>; + interrupts =3D ; + clocks =3D <&clk IMX8MQ_CLK_VPU_G2_ROOT>; + power-domains =3D <&vpu_blk_ctrl IMX8MQ_VPUBLK_PD_G2>; + }; diff --git a/Documentation/devicetree/bindings/media/qcom,msm8916-camss.yam= l b/Documentation/devicetree/bindings/media/qcom,msm8916-camss.yaml index 9cc0a968a401..3469a43f00d4 100644 --- a/Documentation/devicetree/bindings/media/qcom,msm8916-camss.yaml +++ b/Documentation/devicetree/bindings/media/qcom,msm8916-camss.yaml @@ -1,5 +1,4 @@ # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) - %YAML 1.2 --- $id: http://devicetree.org/schemas/media/qcom,msm8916-camss.yaml# diff --git a/Documentation/devicetree/bindings/media/qcom,msm8996-camss.yam= l b/Documentation/devicetree/bindings/media/qcom,msm8996-camss.yaml index 5cb0e337ea6e..644646de338a 100644 --- a/Documentation/devicetree/bindings/media/qcom,msm8996-camss.yaml +++ b/Documentation/devicetree/bindings/media/qcom,msm8996-camss.yaml @@ -1,5 +1,4 @@ # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) - %YAML 1.2 --- $id: http://devicetree.org/schemas/media/qcom,msm8996-camss.yaml# diff --git a/Documentation/devicetree/bindings/media/qcom,sdm660-camss.yaml= b/Documentation/devicetree/bindings/media/qcom,sdm660-camss.yaml index 584106e275f6..68d8670557f5 100644 --- a/Documentation/devicetree/bindings/media/qcom,sdm660-camss.yaml +++ b/Documentation/devicetree/bindings/media/qcom,sdm660-camss.yaml @@ -1,5 +1,4 @@ # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) - %YAML 1.2 --- $id: http://devicetree.org/schemas/media/qcom,sdm660-camss.yaml# diff --git a/Documentation/devicetree/bindings/media/qcom,sdm845-camss.yaml= b/Documentation/devicetree/bindings/media/qcom,sdm845-camss.yaml index d32daaef1b50..289494f561e5 100644 --- a/Documentation/devicetree/bindings/media/qcom,sdm845-camss.yaml +++ b/Documentation/devicetree/bindings/media/qcom,sdm845-camss.yaml @@ -1,5 +1,4 @@ # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) - %YAML 1.2 --- $id: http://devicetree.org/schemas/media/qcom,sdm845-camss.yaml# diff --git a/Documentation/devicetree/bindings/media/qcom,sm8250-camss.yaml= b/Documentation/devicetree/bindings/media/qcom,sm8250-camss.yaml index 06db2c1e6079..a372d991e652 100644 --- a/Documentation/devicetree/bindings/media/qcom,sm8250-camss.yaml +++ b/Documentation/devicetree/bindings/media/qcom,sm8250-camss.yaml @@ -1,5 +1,4 @@ # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) - %YAML 1.2 --- $id: http://devicetree.org/schemas/media/qcom,sm8250-camss.yaml# diff --git a/Documentation/devicetree/bindings/media/rockchip,rk3568-vepu.y= aml b/Documentation/devicetree/bindings/media/rockchip,rk3568-vepu.yaml index 947ad699cc5e..d246f5d38427 100644 --- a/Documentation/devicetree/bindings/media/rockchip,rk3568-vepu.yaml +++ b/Documentation/devicetree/bindings/media/rockchip,rk3568-vepu.yaml @@ -1,5 +1,4 @@ # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) - %YAML 1.2 --- $id: http://devicetree.org/schemas/media/rockchip,rk3568-vepu.yaml# diff --git a/Documentation/devicetree/bindings/media/rockchip-vpu.yaml b/Do= cumentation/devicetree/bindings/media/rockchip-vpu.yaml index 719aeb2dc593..8c2501634080 100644 --- a/Documentation/devicetree/bindings/media/rockchip-vpu.yaml +++ b/Documentation/devicetree/bindings/media/rockchip-vpu.yaml @@ -1,5 +1,4 @@ # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) - %YAML 1.2 --- $id: http://devicetree.org/schemas/media/rockchip-vpu.yaml# @@ -92,18 +91,18 @@ additionalProperties: false =20 examples: - | - #include - #include - #include + #include + #include + #include =20 - vpu: video-codec@ff9a0000 { - compatible =3D "rockchip,rk3288-vpu"; - reg =3D <0xff9a0000 0x800>; - interrupts =3D , - ; - interrupt-names =3D "vepu", "vdpu"; - clocks =3D <&cru ACLK_VCODEC>, <&cru HCLK_VCODEC>; - clock-names =3D "aclk", "hclk"; - power-domains =3D <&power RK3288_PD_VIDEO>; - iommus =3D <&vpu_mmu>; - }; + video-codec@ff9a0000 { + compatible =3D "rockchip,rk3288-vpu"; + reg =3D <0xff9a0000 0x800>; + interrupts =3D , + ; + interrupt-names =3D "vepu", "vdpu"; + clocks =3D <&cru ACLK_VCODEC>, <&cru HCLK_VCODEC>; + clock-names =3D "aclk", "hclk"; + power-domains =3D <&power RK3288_PD_VIDEO>; + iommus =3D <&vpu_mmu>; + }; --=20 2.43.0