From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 40691606A322 for ; Thu, 29 Oct 2026 06:13:15 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key, unprotected) header.d=lists.infradead.org header.i=@lists.infradead.org header.a=rsa-sha256 header.s=bombadil.20210309 header.b=wvOaYdCu; dkim=pass (2048-bit key, unprotected) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=AY9fCZM8 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: Content-Type:MIME-Version:References:In-Reply-To:Message-ID:Subject:Cc:To: From:Date:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Unsubscribe-Post: List-Owner; bh=8HfICeltQZtZCQ5hD60I+Ms/gO7apKM3P6RJyOQSEUI=; b=wvOaYdCuuHFgwp DgUXlJ1pdNukDDPYu/IxlyQVeoYJ/N7mGM8+oggmUeQWzdBMsTvfcDKuq2T2Z4a+c/NpwvKgnIWTW 8JS/JkBX384zDp9pymgEoqcRLk31gXjbRjwFPNJPzEJydgjmXiQOr4JOXtwIrQHoJi2awvPrLk97P EDtJQXSE2sB6PdwNOo9koqfU+rEYZWuq4zMTr5CSwU4bPxhS+ldeyIP1iUmjHBC7TfFskcX7hJRPr 7bL1kvnXL60Xq968eJuQTxXjog62vyKKl6AHad4WE5Unq2ranmN1KY3C43a342IdrO9FjJk5XbfCp KW7eR4wtagXtzvo3c2VQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.100.1 #2 (Red Hat Linux)) id 1xMJNw-00000008SLX-2lgS; Thu, 29 Oct 2026 06:13:12 +0000 Received: from sea.source.kernel.org ([2600:3c0a:e001:78e:0:1991:8:25]) by bombadil.infradead.org with esmtps (Exim 4.100.1 #2 (Red Hat Linux)) id 1xMJNt-00000008SIg-0JZ0; Thu, 29 Oct 2026 06:13:09 +0000 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) by sea.source.kernel.org (Postfix) with ESMTP id F203F40829; Thu, 29 Oct 2026 06:13:07 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 4DFD61F01825; Thu, 29 Oct 2026 06:12:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1793254387; bh=8HfICeltQZtZCQ5hD60I+Ms/gO7apKM3P6RJyOQSEUI=; h=Date:From:To:Cc:Subject:In-Reply-To:References; b=AY9fCZM838jxvzO1LZjlGpXv0W8K3teqSZL7RijTgFK+vMuR9I/rLM2tTDsuEdu49 D2/wj4MDZjo91NakOEaX5qSF5O95U3YG8/G5UHWIxf80ZCUvpFSL90WwQh/5OnZhB+ IxV3Ir9hpPOUOgGFeO+ZNTpumWj+emmZLNf8wkK2peC6tx3JvxcCwhRjIp/8vl4fIF 5Te7rIsn3LXYjnylmmiG2eWT/I2O7NNXE/I6Z/jqqYBvXQ+flDBPRbsCb9u28Gwj8Z Wm++8Vi3KmsJ2uSOrdepJb1M4tZjsQyVIQao8cR8k7StT66yaZCypWnGb4AtixMYe1 607LwJx2luOOA== Date: Thu, 29 Oct 2026 07:12:52 +0100 From: Mauro Carvalho Chehab To: "Rob Herring (Arm)" Cc: Bjorn Andersson , Stephen Boyd , Brian Masney , Jerome Brunet , Krzysztof Kozlowski , Conor Dooley , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Simona Vetter , Florian Fainelli , Broadcom internal kernel review list , Rob Clark , Dmitry Baryshkov , Abhinav Kumar , Jessica Zhang , Sean Paul , Marijn Suijten , Frank Li , Vinod Koul , Yinbo Zhu , Linus Walleij , Bartosz Golaszewski , Jonathan Cameron , David Lechner , Nuno =?UTF-8?B?U8Oh?= , Andy Shevchenko , Neil Armstrong , Kevin Hilman , Martin Blumenstingl , Tiffany Lin , Andrew-CT Chen , Yunfei Dong , Mauro Carvalho Chehab , Marek Szyprowski , Andrzej Hajda , Ryder Lee , Lorenzo Pieralisi , Krzysztof =?UTF-8?B?V2lsY3p5?= =?UTF-8?B?xYRza2k=?= , Manivannan Sadhasivam , Bjorn Helgaas , Matthias Brugger , AngeloGioacchino Del Regno , Christian Marangi , Eric Anholt , Kuogee Hsieh , Peng Fan , Aakarsh Jain , Abhinav Kumar , linux-arm-msm@vger.kernel.org, linux-clk@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-rpi-kernel@lists.infradead.org, linux-arm-kernel@lists.infradead.org, freedreno@lists.freedesktop.org, imx@lists.linux.dev, dmaengine@vger.kernel.org, linux-gpio@vger.kernel.org, linux-iio@vger.kernel.org, linux-amlogic@lists.infradead.org, linux-media@vger.kernel.org, linux-pci@vger.kernel.org, linux-mediatek@lists.infradead.org Subject: Re: [PATCH] dt-bindings: Fix property name typos in if/then schemas Message-ID: <20261029071252.586c8cbc@foz.lan> In-Reply-To: <20261028120216.2657397-1-robh@kernel.org> References: <20261028120216.2657397-1-robh@kernel.org> X-Mailer: Claws Mail 4.4.0 (GTK 3.24.52; x86_64-redhat-linux-gnu) X-Archived-By: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: linux-mediatek@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Linux-mediatek" X-Spam-Status: No, score=-17.4 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_2 autolearn=ham autolearn_force=no version=4.0.1 X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-26) on aws-us-west-2-korg-listserv-alma10-1 On Wed, 28 Oct 2026 07:02:12 -0500 "Rob Herring (Arm)" wrote: > Property names within if/then schemas currently go unchecked whether > they have a type defined or match what's in the top-level schema. Adding > a check finds a number of instances of typos. The typos result in the > schema having no effect on constraints. > > With this, fix the mediatek,vcodec-encoder 'clocks' count constraint > exposed by the name correction. For media: Acked-by: Mauro Carvalho Chehab > > Signed-off-by: Rob Herring (Arm) > --- > .../devicetree/bindings/clock/qcom,kpss-gcc.yaml | 2 +- > .../bindings/display/brcm,bcm2711-hdmi.yaml | 2 +- > .../bindings/display/msm/dp-controller.yaml | 2 +- > .../devicetree/bindings/display/msm/hdmi.yaml | 4 ++-- > Documentation/devicetree/bindings/dma/fsl,edma.yaml | 2 +- > .../devicetree/bindings/gpio/loongson,ls-gpio.yaml | 2 +- > .../bindings/iio/adc/amlogic,meson-saradc.yaml | 2 +- > .../bindings/media/mediatek,vcodec-encoder.yaml | 12 ++++-------- > .../devicetree/bindings/media/samsung,s5p-mfc.yaml | 2 +- > .../devicetree/bindings/pci/mediatek-pcie.yaml | 12 ++++++------ > 10 files changed, 19 insertions(+), 23 deletions(-) > > diff --git a/Documentation/devicetree/bindings/clock/qcom,kpss-gcc.yaml b/Documentation/devicetree/bindings/clock/qcom,kpss-gcc.yaml > index 88b7672123a0..ed347096df46 100644 > --- a/Documentation/devicetree/bindings/clock/qcom,kpss-gcc.yaml > +++ b/Documentation/devicetree/bindings/clock/qcom,kpss-gcc.yaml > @@ -62,7 +62,7 @@ then: > - '#clock-cells' > else: > properties: > - clock: false > + clocks: false > clock-names: false > '#clock-cells': false > > diff --git a/Documentation/devicetree/bindings/display/brcm,bcm2711-hdmi.yaml b/Documentation/devicetree/bindings/display/brcm,bcm2711-hdmi.yaml > index c1cefd547391..fd4d598f6ff8 100644 > --- a/Documentation/devicetree/bindings/display/brcm,bcm2711-hdmi.yaml > +++ b/Documentation/devicetree/bindings/display/brcm,bcm2711-hdmi.yaml > @@ -145,7 +145,7 @@ allOf: > - description: CEC stuck at low interrupt > - description: Hotplug connected interrupt > - description: Hotplug removed interrupt > - interrupts-names: > + interrupt-names: > items: > - const: cec-tx > - const: cec-rx > diff --git a/Documentation/devicetree/bindings/display/msm/dp-controller.yaml b/Documentation/devicetree/bindings/display/msm/dp-controller.yaml > index 094a6383bb77..f72d1b354007 100644 > --- a/Documentation/devicetree/bindings/display/msm/dp-controller.yaml > +++ b/Documentation/devicetree/bindings/display/msm/dp-controller.yaml > @@ -304,7 +304,7 @@ allOf: > clocks: > minItems: 6 > maxItems: 6 > - clocks-names: > + clock-names: > minItems: 6 > maxItems: 6 > > diff --git a/Documentation/devicetree/bindings/display/msm/hdmi.yaml b/Documentation/devicetree/bindings/display/msm/hdmi.yaml > index dfec6c3480f3..02d27ccad024 100644 > --- a/Documentation/devicetree/bindings/display/msm/hdmi.yaml > +++ b/Documentation/devicetree/bindings/display/msm/hdmi.yaml > @@ -113,7 +113,7 @@ allOf: > - const: core > - const: master_iface > - const: slave_iface > - core-vcc-supplies: false > + core-vcc-supply: false > > - if: > properties: > @@ -136,7 +136,7 @@ allOf: > - const: core > - const: alt_iface > - const: extp > - hdmi-mux-supplies: false > + hdmi-mux-supply: false > > - if: > properties: > diff --git a/Documentation/devicetree/bindings/dma/fsl,edma.yaml b/Documentation/devicetree/bindings/dma/fsl,edma.yaml > index f609038e35ae..0260d177c7d0 100644 > --- a/Documentation/devicetree/bindings/dma/fsl,edma.yaml > +++ b/Documentation/devicetree/bindings/dma/fsl,edma.yaml > @@ -172,7 +172,7 @@ allOf: > const: fsl,imx7ulp-edma > then: > properties: > - clock: > + clocks: > minItems: 2 > maxItems: 2 > clock-names: > diff --git a/Documentation/devicetree/bindings/gpio/loongson,ls-gpio.yaml b/Documentation/devicetree/bindings/gpio/loongson,ls-gpio.yaml > index 69852444df23..07c8b233c6bd 100644 > --- a/Documentation/devicetree/bindings/gpio/loongson,ls-gpio.yaml > +++ b/Documentation/devicetree/bindings/gpio/loongson,ls-gpio.yaml > @@ -80,7 +80,7 @@ allOf: > - resets > else: > properties: > - "#interrupts-cells": false > + "#interrupt-cells": false > interrupt-controller: false > resets: false > > diff --git a/Documentation/devicetree/bindings/iio/adc/amlogic,meson-saradc.yaml b/Documentation/devicetree/bindings/iio/adc/amlogic,meson-saradc.yaml > index 70ab4e140e71..535213ba0c5e 100644 > --- a/Documentation/devicetree/bindings/iio/adc/amlogic,meson-saradc.yaml > +++ b/Documentation/devicetree/bindings/iio/adc/amlogic,meson-saradc.yaml > @@ -92,7 +92,7 @@ allOf: > else: > properties: > nvmem-cells: false > - mvmem-cel-names: false > + nvmem-cell-names: false > clocks: > minItems: 4 > clock-names: > diff --git a/Documentation/devicetree/bindings/media/mediatek,vcodec-encoder.yaml b/Documentation/devicetree/bindings/media/mediatek,vcodec-encoder.yaml > index 4505e66876a2..52f471a070d5 100644 > --- a/Documentation/devicetree/bindings/media/mediatek,vcodec-encoder.yaml > +++ b/Documentation/devicetree/bindings/media/mediatek,vcodec-encoder.yaml > @@ -110,19 +110,15 @@ allOf: > > then: > properties: > - clock: > - items: > - minItems: 1 > - maxItems: 1 > + clocks: > + maxItems: 1 > clock-names: > items: > - const: venc_lt_sel > else: > properties: > - clock: > - items: > - minItems: 1 > - maxItems: 1 > + clocks: > + maxItems: 1 > clock-names: > items: > - const: venc_sel > diff --git a/Documentation/devicetree/bindings/media/samsung,s5p-mfc.yaml b/Documentation/devicetree/bindings/media/samsung,s5p-mfc.yaml > index b46cc780703c..4488d5ca9b9c 100644 > --- a/Documentation/devicetree/bindings/media/samsung,s5p-mfc.yaml > +++ b/Documentation/devicetree/bindings/media/samsung,s5p-mfc.yaml > @@ -174,7 +174,7 @@ allOf: > - const: mfc > iommus: > maxItems: 2 > - iommus-names: false > + iommu-names: false > > examples: > - | > diff --git a/Documentation/devicetree/bindings/pci/mediatek-pcie.yaml b/Documentation/devicetree/bindings/pci/mediatek-pcie.yaml > index c009a7a52bc6..7c40361f95ec 100644 > --- a/Documentation/devicetree/bindings/pci/mediatek-pcie.yaml > +++ b/Documentation/devicetree/bindings/pci/mediatek-pcie.yaml > @@ -127,7 +127,7 @@ allOf: > phy-names: > const: pcie-phy1 > > - power-domain: false > + power-domains: false > > required: > - resets > @@ -150,7 +150,7 @@ allOf: > minItems: 2 > maxItems: 2 > > - reset: false > + resets: false > > reset-names: false > > @@ -171,7 +171,7 @@ allOf: > clocks: > minItems: 6 > > - reset: false > + resets: false > > reset-names: false > > @@ -193,7 +193,7 @@ allOf: > clocks: > minItems: 6 > > - reset: false > + resets: false > > reset-names: false > > @@ -215,7 +215,7 @@ allOf: > clock-names: > maxItems: 1 > > - reset: false > + resets: false > > reset-names: false > > @@ -223,7 +223,7 @@ allOf: > > phy-names: false > > - power-domain: false > + power-domains: false > > mediatek,pbus-csr: false > Thanks, Mauro