From: Neil Armstrong <neil.armstrong@linaro.org>
To: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>,
Artur Weber <aweber.kernel@gmail.com>,
Jessica Zhang <jesszhan0024@gmail.com>,
Maarten Lankhorst <maarten.lankhorst@linux.intel.com>,
Maxime Ripard <mripard@kernel.org>,
Thomas Zimmermann <tzimmermann@suse.de>,
David Airlie <airlied@gmail.com>, Simona Vetter <simona@ffwll.ch>,
Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>,
Dzmitry Sankouski <dsankouski@gmail.com>,
Tomi Valkeinen <tomi.valkeinen@ti.com>,
Laurent Pinchart <laurent.pinchart@ideasonboard.com>,
Konrad Dybcio <konradybcio@kernel.org>
Cc: dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org, linux-renesas-soc@vger.kernel.org
Subject: Re: [PATCH 4/5] dt-bindings: display: panel: Align style of additionalProperties
Date: Tue, 10 Mar 2026 14:08:29 +0100 [thread overview]
Message-ID: <d6ae5f54-1471-4427-a95e-d5c40d2d1d2f@linaro.org> (raw)
In-Reply-To: <20260306-dt-bindings-display-panel-clean-v1-4-3086eda1efaf@oss.qualcomm.com>
On 3/6/26 13:02, Krzysztof Kozlowski wrote:
> For code readability the bindings are expected to follow order shown in
> example-schema.yaml - put the additionalProperties/unevaluatedProperties
> entry at the end, after listing all required properties and possible
> "allOf:if:then:" conditions. Meaning of this style is to close the
> schema, after listing what it contains, with final "nothing more is
> allowed".
>
> Move the code around adjusting it to coding style. No functional
> impact.
>
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>
> ---
> .../devicetree/bindings/display/panel/advantech,idk-1110wr.yaml | 4 ++--
> .../devicetree/bindings/display/panel/advantech,idk-2121wr.yaml | 4 ++--
> .../devicetree/bindings/display/panel/bananapi,s070wv20-ct16.yaml | 4 ++--
> Documentation/devicetree/bindings/display/panel/dlc,dlc0700yzg-1.yaml | 4 ++--
> Documentation/devicetree/bindings/display/panel/himax,hx8394.yaml | 4 ++--
> Documentation/devicetree/bindings/display/panel/ilitek,ili9341.yaml | 4 ++--
> .../devicetree/bindings/display/panel/mitsubishi,aa104xd12.yaml | 4 ++--
> .../devicetree/bindings/display/panel/mitsubishi,aa121td01.yaml | 4 ++--
> .../devicetree/bindings/display/panel/orisetech,otm8009a.yaml | 4 ++--
> Documentation/devicetree/bindings/display/panel/pda,91-00156-a0.yaml | 4 ++--
> Documentation/devicetree/bindings/display/panel/raydium,rm68200.yaml | 4 ++--
> .../devicetree/bindings/display/panel/samsung,atna33xc20.yaml | 4 ++--
> .../devicetree/bindings/display/panel/sgd,gktw70sdae4se.yaml | 4 ++--
> .../devicetree/bindings/display/panel/startek,kd070fhfid015.yaml | 4 ++--
> Documentation/devicetree/bindings/display/panel/visionox,r66451.yaml | 4 ++--
> Documentation/devicetree/bindings/display/panel/visionox,rm69299.yaml | 4 ++--
> .../devicetree/bindings/display/panel/visionox,vtdr6130.yaml | 4 ++--
> 17 files changed, 34 insertions(+), 34 deletions(-)
>
> diff --git a/Documentation/devicetree/bindings/display/panel/advantech,idk-1110wr.yaml b/Documentation/devicetree/bindings/display/panel/advantech,idk-1110wr.yaml
> index f6fea9085aab..76b48836ddf6 100644
> --- a/Documentation/devicetree/bindings/display/panel/advantech,idk-1110wr.yaml
> +++ b/Documentation/devicetree/bindings/display/panel/advantech,idk-1110wr.yaml
> @@ -41,8 +41,6 @@ properties:
> panel-timing: true
> port: true
>
> -additionalProperties: false
> -
> required:
> - compatible
> - data-mapping
> @@ -51,6 +49,8 @@ required:
> - panel-timing
> - port
>
> +additionalProperties: false
> +
> examples:
> - |+
> panel {
> diff --git a/Documentation/devicetree/bindings/display/panel/advantech,idk-2121wr.yaml b/Documentation/devicetree/bindings/display/panel/advantech,idk-2121wr.yaml
> index 05ca3b2385f8..c9b066e69e2f 100644
> --- a/Documentation/devicetree/bindings/display/panel/advantech,idk-2121wr.yaml
> +++ b/Documentation/devicetree/bindings/display/panel/advantech,idk-2121wr.yaml
> @@ -56,8 +56,6 @@ properties:
> - port@0
> - port@1
>
> -additionalProperties: false
> -
> required:
> - compatible
> - width-mm
> @@ -65,6 +63,8 @@ required:
> - data-mapping
> - panel-timing
>
> +additionalProperties: false
> +
> examples:
> - |+
> panel-lvds {
> diff --git a/Documentation/devicetree/bindings/display/panel/bananapi,s070wv20-ct16.yaml b/Documentation/devicetree/bindings/display/panel/bananapi,s070wv20-ct16.yaml
> index bbf127fb28f7..46e7cff5b2fa 100644
> --- a/Documentation/devicetree/bindings/display/panel/bananapi,s070wv20-ct16.yaml
> +++ b/Documentation/devicetree/bindings/display/panel/bananapi,s070wv20-ct16.yaml
> @@ -22,10 +22,10 @@ properties:
> enable-gpios: true
> port: true
>
> -additionalProperties: false
> -
> required:
> - compatible
> - power-supply
>
> +additionalProperties: false
> +
> ...
> diff --git a/Documentation/devicetree/bindings/display/panel/dlc,dlc0700yzg-1.yaml b/Documentation/devicetree/bindings/display/panel/dlc,dlc0700yzg-1.yaml
> index 287e2feb6533..9a2c532dbc92 100644
> --- a/Documentation/devicetree/bindings/display/panel/dlc,dlc0700yzg-1.yaml
> +++ b/Documentation/devicetree/bindings/display/panel/dlc,dlc0700yzg-1.yaml
> @@ -22,10 +22,10 @@ properties:
> backlight: true
> port: true
>
> -additionalProperties: false
> -
> required:
> - compatible
> - power-supply
>
> +additionalProperties: false
> +
> ...
> diff --git a/Documentation/devicetree/bindings/display/panel/himax,hx8394.yaml b/Documentation/devicetree/bindings/display/panel/himax,hx8394.yaml
> index 5725a587e35c..182a2b825e1c 100644
> --- a/Documentation/devicetree/bindings/display/panel/himax,hx8394.yaml
> +++ b/Documentation/devicetree/bindings/display/panel/himax,hx8394.yaml
> @@ -54,8 +54,6 @@ required:
> - vcc-supply
> - iovcc-supply
>
> -additionalProperties: false
> -
> allOf:
> - $ref: panel-common.yaml#
> - if:
> @@ -68,6 +66,8 @@ allOf:
> required:
> - reset-gpios
>
> +additionalProperties: false
> +
> examples:
> - |
> #include <dt-bindings/gpio/gpio.h>
> diff --git a/Documentation/devicetree/bindings/display/panel/ilitek,ili9341.yaml b/Documentation/devicetree/bindings/display/panel/ilitek,ili9341.yaml
> index 3cada0f82951..aeb7cb26c058 100644
> --- a/Documentation/devicetree/bindings/display/panel/ilitek,ili9341.yaml
> +++ b/Documentation/devicetree/bindings/display/panel/ilitek,ili9341.yaml
> @@ -49,8 +49,6 @@ properties:
> vddi-led-supply:
> description: Voltage supply for the LED driver (1.65 .. 3.3 V)
>
> -unevaluatedProperties: false
> -
> required:
> - compatible
> - reg
> @@ -66,6 +64,8 @@ then:
> required:
> - port
>
> +unevaluatedProperties: false
> +
> examples:
> - |+
> #include <dt-bindings/gpio/gpio.h>
> diff --git a/Documentation/devicetree/bindings/display/panel/mitsubishi,aa104xd12.yaml b/Documentation/devicetree/bindings/display/panel/mitsubishi,aa104xd12.yaml
> index 96621b89ae9e..43e98bb07c38 100644
> --- a/Documentation/devicetree/bindings/display/panel/mitsubishi,aa104xd12.yaml
> +++ b/Documentation/devicetree/bindings/display/panel/mitsubishi,aa104xd12.yaml
> @@ -47,8 +47,6 @@ properties:
> panel-timing: true
> port: true
>
> -additionalProperties: false
> -
> required:
> - compatible
> - data-mapping
> @@ -57,6 +55,8 @@ required:
> - panel-timing
> - port
>
> +additionalProperties: false
> +
> examples:
> - |+
>
> diff --git a/Documentation/devicetree/bindings/display/panel/mitsubishi,aa121td01.yaml b/Documentation/devicetree/bindings/display/panel/mitsubishi,aa121td01.yaml
> index 37f01d847aac..2af993d73619 100644
> --- a/Documentation/devicetree/bindings/display/panel/mitsubishi,aa121td01.yaml
> +++ b/Documentation/devicetree/bindings/display/panel/mitsubishi,aa121td01.yaml
> @@ -44,8 +44,6 @@ properties:
> panel-timing: true
> port: true
>
> -additionalProperties: false
> -
> required:
> - compatible
> - vcc-supply
> @@ -55,6 +53,8 @@ required:
> - panel-timing
> - port
>
> +additionalProperties: false
> +
> examples:
> - |+
> panel {
> diff --git a/Documentation/devicetree/bindings/display/panel/orisetech,otm8009a.yaml b/Documentation/devicetree/bindings/display/panel/orisetech,otm8009a.yaml
> index 1e4f140f48b8..1f697dab832b 100644
> --- a/Documentation/devicetree/bindings/display/panel/orisetech,otm8009a.yaml
> +++ b/Documentation/devicetree/bindings/display/panel/orisetech,otm8009a.yaml
> @@ -31,12 +31,12 @@ properties:
> reset-gpios:
> maxItems: 1
>
> -additionalProperties: false
> -
> required:
> - compatible
> - reg
>
> +additionalProperties: false
> +
> examples:
> - |
> dsi {
> diff --git a/Documentation/devicetree/bindings/display/panel/pda,91-00156-a0.yaml b/Documentation/devicetree/bindings/display/panel/pda,91-00156-a0.yaml
> index ccd3623b4955..871e4c2d9824 100644
> --- a/Documentation/devicetree/bindings/display/panel/pda,91-00156-a0.yaml
> +++ b/Documentation/devicetree/bindings/display/panel/pda,91-00156-a0.yaml
> @@ -21,11 +21,11 @@ properties:
> backlight: true
> port: true
>
> -additionalProperties: false
> -
> required:
> - compatible
> - power-supply
> - backlight
>
> +additionalProperties: false
> +
> ...
> diff --git a/Documentation/devicetree/bindings/display/panel/raydium,rm68200.yaml b/Documentation/devicetree/bindings/display/panel/raydium,rm68200.yaml
> index 46fe1014ebc4..8fb7c013dfb8 100644
> --- a/Documentation/devicetree/bindings/display/panel/raydium,rm68200.yaml
> +++ b/Documentation/devicetree/bindings/display/panel/raydium,rm68200.yaml
> @@ -33,13 +33,13 @@ properties:
> reset-gpios:
> maxItems: 1
>
> -additionalProperties: false
> -
> required:
> - compatible
> - power-supply
> - reg
>
> +additionalProperties: false
> +
> examples:
> - |
> dsi {
> diff --git a/Documentation/devicetree/bindings/display/panel/samsung,atna33xc20.yaml b/Documentation/devicetree/bindings/display/panel/samsung,atna33xc20.yaml
> index f1723e910252..1bbe0da3997c 100644
> --- a/Documentation/devicetree/bindings/display/panel/samsung,atna33xc20.yaml
> +++ b/Documentation/devicetree/bindings/display/panel/samsung,atna33xc20.yaml
> @@ -43,13 +43,13 @@ properties:
> no-hpd: true
> hpd-gpios: true
>
> -additionalProperties: false
> -
> required:
> - compatible
> - enable-gpios
> - power-supply
>
> +additionalProperties: false
> +
> examples:
> - |
> #include <dt-bindings/clock/qcom,rpmh.h>
> diff --git a/Documentation/devicetree/bindings/display/panel/sgd,gktw70sdae4se.yaml b/Documentation/devicetree/bindings/display/panel/sgd,gktw70sdae4se.yaml
> index e32d9188a3e0..1beb4ba92248 100644
> --- a/Documentation/devicetree/bindings/display/panel/sgd,gktw70sdae4se.yaml
> +++ b/Documentation/devicetree/bindings/display/panel/sgd,gktw70sdae4se.yaml
> @@ -41,8 +41,6 @@ properties:
> panel-timing: true
> port: true
>
> -additionalProperties: false
> -
> required:
> - compatible
> - port
> @@ -51,6 +49,8 @@ required:
> - height-mm
> - panel-timing
>
> +additionalProperties: false
> +
> examples:
> - |+
> panel {
> diff --git a/Documentation/devicetree/bindings/display/panel/startek,kd070fhfid015.yaml b/Documentation/devicetree/bindings/display/panel/startek,kd070fhfid015.yaml
> index d817f998cddc..0819f38a9d2c 100644
> --- a/Documentation/devicetree/bindings/display/panel/startek,kd070fhfid015.yaml
> +++ b/Documentation/devicetree/bindings/display/panel/startek,kd070fhfid015.yaml
> @@ -31,8 +31,6 @@ properties:
>
> power-supply: true
>
> -additionalProperties: false
> -
> required:
> - compatible
> - enable-gpios
> @@ -42,6 +40,8 @@ required:
> - port
> - power-supply
>
> +additionalProperties: false
> +
> examples:
> - |
> #include <dt-bindings/gpio/gpio.h>
> diff --git a/Documentation/devicetree/bindings/display/panel/visionox,r66451.yaml b/Documentation/devicetree/bindings/display/panel/visionox,r66451.yaml
> index 187840bb76c7..49ef45c03593 100644
> --- a/Documentation/devicetree/bindings/display/panel/visionox,r66451.yaml
> +++ b/Documentation/devicetree/bindings/display/panel/visionox,r66451.yaml
> @@ -25,8 +25,6 @@ properties:
> port: true
> reset-gpios: true
>
> -additionalProperties: false
> -
> required:
> - compatible
> - reg
> @@ -35,6 +33,8 @@ required:
> - reset-gpios
> - port
>
> +additionalProperties: false
> +
> examples:
> - |
> #include <dt-bindings/gpio/gpio.h>
> diff --git a/Documentation/devicetree/bindings/display/panel/visionox,rm69299.yaml b/Documentation/devicetree/bindings/display/panel/visionox,rm69299.yaml
> index f0a82f0ff790..f61a528c0413 100644
> --- a/Documentation/devicetree/bindings/display/panel/visionox,rm69299.yaml
> +++ b/Documentation/devicetree/bindings/display/panel/visionox,rm69299.yaml
> @@ -36,8 +36,6 @@ properties:
> port: true
> reset-gpios: true
>
> -additionalProperties: false
> -
> required:
> - compatible
> - reg
> @@ -46,6 +44,8 @@ required:
> - reset-gpios
> - port
>
> +additionalProperties: false
> +
> examples:
> - |
> dsi {
> diff --git a/Documentation/devicetree/bindings/display/panel/visionox,vtdr6130.yaml b/Documentation/devicetree/bindings/display/panel/visionox,vtdr6130.yaml
> index d5a8295106c1..c99f4146f1bb 100644
> --- a/Documentation/devicetree/bindings/display/panel/visionox,vtdr6130.yaml
> +++ b/Documentation/devicetree/bindings/display/panel/visionox,vtdr6130.yaml
> @@ -26,8 +26,6 @@ properties:
> port: true
> reset-gpios: true
>
> -additionalProperties: false
> -
> required:
> - compatible
> - reg
> @@ -37,6 +35,8 @@ required:
> - reset-gpios
> - port
>
> +additionalProperties: false
> +
> examples:
> - |
> #include <dt-bindings/gpio/gpio.h>
>
Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>
Thanks,
Neil
next prev parent reply other threads:[~2026-03-10 13:08 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-03-06 12:02 [PATCH 0/5] dt-bindings: display: panel: Few cleanups and fixes Krzysztof Kozlowski
2026-03-06 12:02 ` [PATCH 1/5] dt-bindings: display: samsung,s6d7aa0: Document port Krzysztof Kozlowski
2026-03-10 13:21 ` Neil Armstrong
2026-03-06 12:02 ` [PATCH 2/5] dt-bindings: display: innolux,p097pfg: Document ports Krzysztof Kozlowski
2026-03-10 13:21 ` Neil Armstrong
2026-03-06 12:02 ` [PATCH 3/5] dt-bindings: display: panel: Drop redundant properties Krzysztof Kozlowski
2026-03-10 13:08 ` Neil Armstrong
2026-03-06 12:02 ` [PATCH 4/5] dt-bindings: display: panel: Align style of additionalProperties Krzysztof Kozlowski
2026-03-10 13:08 ` Neil Armstrong [this message]
2026-03-06 12:02 ` [PATCH 5/5] dt-bindings: display: panel: Align style of "true" properties Krzysztof Kozlowski
2026-03-10 13:08 ` Neil Armstrong
2026-03-10 13:29 ` [PATCH 0/5] dt-bindings: display: panel: Few cleanups and fixes Neil Armstrong
2026-03-10 13:32 ` Neil Armstrong
2026-03-13 8:16 ` Krzysztof Kozlowski
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=d6ae5f54-1471-4427-a95e-d5c40d2d1d2f@linaro.org \
--to=neil.armstrong@linaro.org \
--cc=airlied@gmail.com \
--cc=aweber.kernel@gmail.com \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=dri-devel@lists.freedesktop.org \
--cc=dsankouski@gmail.com \
--cc=jesszhan0024@gmail.com \
--cc=konradybcio@kernel.org \
--cc=krzk+dt@kernel.org \
--cc=krzysztof.kozlowski@oss.qualcomm.com \
--cc=laurent.pinchart@ideasonboard.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-renesas-soc@vger.kernel.org \
--cc=maarten.lankhorst@linux.intel.com \
--cc=mripard@kernel.org \
--cc=robh@kernel.org \
--cc=simona@ffwll.ch \
--cc=tomi.valkeinen@ti.com \
--cc=tzimmermann@suse.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®