From nobody Wed Dec 17 16:15:43 2025 Received: from mail-ej1-f47.google.com (mail-ej1-f47.google.com [209.85.218.47]) (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 2651A21D01E for ; Mon, 9 Dec 2024 11:34:11 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.218.47 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1733744054; cv=none; b=Wxvf3JsPX5+dJ/qH49NjKLD/P17X9OT5DX9aIOALm22nfOG4XmS/qo7Jn7znUF3fFR2kK9GN/B2P8UWyssR2HapmUEoaKbblaIqU4zPaU9exrbOA6LarTqlgpTUW2qXVEAz3m6HcU0TKVhcefz7QEgQMo8cF/AHoizAbJ+oV4/8= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1733744054; c=relaxed/simple; bh=LOIAnWwmFuWbefHt/yb5amtmi2kf/iUi+mT7cG4vT6A=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=dYmPfZTsqC1yLqKx8XiK9vYJlGJt7dvnGKddLYS1Zrt2xz48YcX8Kn7VDfp1iaOdtXWU2Z5mnhRGkSK33jzcVUrojJ6Ixepe7AYbfwt/MEZ7FgTWFtM3LwnPgbMnP4GNCK4vRD6gSt/O0QhsUeSQ8Um5y3gwIhCdhpW4fh81cAc= 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=VBoJFHLP; arc=none smtp.client-ip=209.85.218.47 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="VBoJFHLP" Received: by mail-ej1-f47.google.com with SMTP id a640c23a62f3a-aa6965ad2a5so5788266b.3 for ; Mon, 09 Dec 2024 03:34:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1733744050; x=1734348850; 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=RqH0dlrlbRQJY6hV8nIShWo9I2kKBRUgR2UyDp6lXjU=; b=VBoJFHLP+WJiZaThLUhCyXNCkAONN3YbJaf9cW4PojEDIvpOdgZwLHgjQtYZ9l+zpR 9EciI6RFOLPX1Ay4B9W641//DdEqGkJUNq19GQmfOD14SAYudAwpFAPSpofas4iGQQnl H6htMYs696YsS+lEU25GwBycgTJecbAidW/MRmky0rnj23wu5OHKrj949ZrfgLqKkyeD EdBCaASB3y0KZhbA7W5un/JEV3GAsC6j2Zt80wCCAb2cJGDYNj9QFIOhojOSgMhio22i S7t60KwWeyJOojdo3OgPh5/vJZq5UukFcUk4470HOtbhhME6dkZTxQSj5/bEsqNlNrHk W3wQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1733744050; x=1734348850; 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=RqH0dlrlbRQJY6hV8nIShWo9I2kKBRUgR2UyDp6lXjU=; b=uSStAyg7st6q1pm1mE8qYvScbtW4XcO0bO9kwYeBxdrkuWLUEINo5IXJOF6uqUbJmS ixsMeR9SESu96qSFoMpj79lj3v5GMl6XdB8RpRh8Nkkb9+O6/DBnTw0CPoL+/gVozKWy A2p+KiUq//AoLffiHrSSGqa7G2sZNF+vj09ta0XWOjIUb4WrX0vlbmeX0def5f3o70GK rebjIg4e8zeVqG2a3n8HXVkm5nCwegYQIFvHx9lSFDF7CfRFliE0YNftv7xCI4742nHj KyCirXdx8vvrxIV5SN5G7STZoVTNvlr/RphjMMHDhYGSCcSAwxCMIBLl0S2cpUCGMS+e c4CQ== X-Forwarded-Encrypted: i=1; AJvYcCVY0twmAiG69EzWTkIueqDVm1wCgHO0sFZvgwkSp+xxQoIjN8bXq54JwnwT8mLvFMAdQVcoN3qId8eFbpI=@vger.kernel.org X-Gm-Message-State: AOJu0YyD0xPcLuqq5XGK1ApqC+OdwdnIPz16jqRZrAvytSq8UVFLiedX zGG+nVHB3VR3WR/JHn5j4A5CHzhlGJ58x+CcBbWIvi+zYTsOd3nLSDn0sdl4Enc= X-Gm-Gg: ASbGncsIGzVdiabPgQ0WzWZX+iAqwYw8JzXXxPcuVXWr+yVnZtCiYyJcDHfasq/SWKS yQOgYLH4ekRFFQnNgc9jL7KurAQHeADSilcvSyucAWdbLNyHbY9uHEvmMGNoxY3FXXon4prEo3c PBjnVNjkCj4JrkSgkvtPDcNSNR8xlFQ1X7mSKLZmFdj0/0yUyGN5dQbs0uNxcapixxiBw51j4Hr JjCm+t9PCU7zYq5V+ih9DuqVTZrHb+A1Hbo9qe4MiVxA+i9VUweoFkv6XA++b2f X-Google-Smtp-Source: AGHT+IEUwOZ9YFvIosvQUmmKdASOWnMUlhYJRR8cEOp3nz5ctbynKBiSrS7H9SVLSEx6wlTFIk5CRQ== X-Received: by 2002:a17:907:3dab:b0:aa6:6e2e:b8b with SMTP id a640c23a62f3a-aa66e2e15a6mr265628966b.1.1733744050339; Mon, 09 Dec 2024 03:34:10 -0800 (PST) Received: from krzk-bin.. ([178.197.223.165]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-aa695c3ac07sm61789166b.66.2024.12.09.03.34.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 09 Dec 2024 03:34:09 -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: Mon, 9 Dec 2024 12:34:05 +0100 Message-ID: <20241209113405.74226-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. Signed-off-by: Krzysztof Kozlowski Reviewed-by: Bryan O'Donoghue Reviewed-by: Heiko Stuebner --- No comments since August... Can it be applied? --- .../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