* [PATCH] dt-bindings: panel: Add JDI NT35596S
@ 2026-09-21 23:26 Rob Herring (Arm)
2026-09-21 23:31 ` sashiko-bot
0 siblings, 1 reply; 4+ messages in thread
From: Rob Herring (Arm) @ 2026-09-21 23:26 UTC (permalink / raw)
To: Neil Armstrong, Jessica Zhang, David Airlie, Simona Vetter,
Maarten Lankhorst, Maxime Ripard, Thomas Zimmermann,
Krzysztof Kozlowski, Conor Dooley, Molly Sophia
Cc: dri-devel, devicetree, linux-kernel
Add a schema for the JDI FHD NT35596S MIPI-DSI panel used by
the Xiaomi Mi Mix 2S. The schema documents the DSI reg value,
reset GPIO, backlight, graph port, and vddio, vddpos, and vddneg
supplies present in the DTS.
Assisted-by: LLM
Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
---
.../display/panel/jdi,fhd-nt35596s.yaml | 73 +++++++++++++++++++
1 file changed, 73 insertions(+)
create mode 100644 Documentation/devicetree/bindings/display/panel/jdi,fhd-nt35596s.yaml
diff --git a/Documentation/devicetree/bindings/display/panel/jdi,fhd-nt35596s.yaml b/Documentation/devicetree/bindings/display/panel/jdi,fhd-nt35596s.yaml
new file mode 100644
index 000000000000..aefc9ae5d8ab
--- /dev/null
+++ b/Documentation/devicetree/bindings/display/panel/jdi,fhd-nt35596s.yaml
@@ -0,0 +1,73 @@
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/display/panel/jdi,fhd-nt35596s.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: JDI FHD NT35596S MIPI-DSI Panel
+
+maintainers:
+ - Molly Sophia <mollysophia379@gmail.com>
+
+allOf:
+ - $ref: panel-common.yaml#
+
+properties:
+ compatible:
+ const: jdi,fhd-nt35596s
+
+ reg:
+ maxItems: 1
+
+ backlight: true
+ reset-gpios: true
+
+ vddio-supply:
+ description: I/O voltage rail
+
+ vddneg-supply:
+ description: Negative source voltage rail
+
+ vddpos-supply:
+ description: Positive source voltage rail
+
+ port: true
+
+required:
+ - compatible
+ - reg
+ - reset-gpios
+ - vddio-supply
+ - vddneg-supply
+ - vddpos-supply
+ - port
+
+additionalProperties: false
+
+examples:
+ - |
+ #include <dt-bindings/gpio/gpio.h>
+
+ dsi {
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ panel@0 {
+ compatible = "jdi,fhd-nt35596s";
+ reg = <0>;
+
+ reset-gpios = <&tlmm 6 GPIO_ACTIVE_LOW>;
+ vddio-supply = <&vreg_l14a_1p8>;
+ backlight = <&pmi8998_wled>;
+ vddpos-supply = <&lab>;
+ vddneg-supply = <&ibb>;
+
+ port {
+ panel_in: endpoint {
+ remote-endpoint = <&mdss_dsi0_out>;
+ };
+ };
+ };
+ };
+
+...
--
2.53.0
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH] dt-bindings: panel: Add JDI NT35596S
2026-09-21 23:26 [PATCH] dt-bindings: panel: Add JDI NT35596S Rob Herring (Arm)
@ 2026-09-21 23:31 ` sashiko-bot
2026-09-22 18:03 ` Conor Dooley
0 siblings, 1 reply; 4+ messages in thread
From: sashiko-bot @ 2026-09-21 23:31 UTC (permalink / raw)
To: Rob Herring (Arm); +Cc: devicetree, conor+dt, dri-devel, robh
Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider:
- [Low] dt-bindings: incorrect use of additionalProperties instead of unevaluatedProperties
--
commit e0dc4d49c687f6d5568ce2c31031086acb6cd5e6
Author: Rob Herring (Arm) <robh@kernel.org>
dt-bindings: panel: Add JDI NT35596S
This commit adds a new device tree binding schema for the JDI FHD
NT35596S MIPI-DSI panel. It documents properties such as the DSI reg value,
reset GPIO, backlight, port, and various power supplies.
> diff --git a/Documentation/devicetree/bindings/display/panel/jdi,fhd-nt35596s.yaml b/Documentation/devicetree/bindings/display/panel/jdi,fhd-nt35596s.yaml
> new file mode 100644
> index 0000000000000..aefc9ae5d8abd
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/display/panel/jdi,fhd-nt35596s.yaml
[ ... ]
> +allOf:
> + - $ref: panel-common.yaml#
> +
> +properties:
> + compatible:
> + const: jdi,fhd-nt35596s
[ ... ]
> +required:
> + - compatible
> + - reg
> + - reset-gpios
> + - vddio-supply
> + - vddneg-supply
> + - vddpos-supply
> + - port
> +
> +additionalProperties: false
[Severity: Low]
Does the use of additionalProperties: false here incorrectly reject standard
inherited panel properties?
Because this schema references panel-common.yaml in an allOf block,
additionalProperties does not traverse the $ref references. This blocks
standard properties like rotation and forces the redundant declaration of
properties like backlight, reset-gpios, and port just to pass static JSON
schema validation during a make dt_binding_check.
Should this use unevaluatedProperties: false instead?
--
Sashiko AI review · https://sashiko.dev/#/patchset/20260921232609.3130272-1-robh@kernel.org?part=1
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] dt-bindings: panel: Add JDI NT35596S
2026-09-21 23:31 ` sashiko-bot
@ 2026-09-22 18:03 ` Conor Dooley
2026-09-23 15:07 ` Rob Herring
0 siblings, 1 reply; 4+ messages in thread
From: Conor Dooley @ 2026-09-22 18:03 UTC (permalink / raw)
To: sashiko-reviews; +Cc: Rob Herring (Arm), devicetree, conor+dt, dri-devel
[-- Attachment #1: Type: text/plain, Size: 2017 bytes --]
On Mon, Sep 21, 2026 at 11:31:27PM +0000, sashiko-bot@kernel.org wrote:
> Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider:
> - [Low] dt-bindings: incorrect use of additionalProperties instead of unevaluatedProperties
> --
>
> commit e0dc4d49c687f6d5568ce2c31031086acb6cd5e6
> Author: Rob Herring (Arm) <robh@kernel.org>
>
> dt-bindings: panel: Add JDI NT35596S
>
> This commit adds a new device tree binding schema for the JDI FHD
> NT35596S MIPI-DSI panel. It documents properties such as the DSI reg value,
> reset GPIO, backlight, port, and various power supplies.
>
> > diff --git a/Documentation/devicetree/bindings/display/panel/jdi,fhd-nt35596s.yaml b/Documentation/devicetree/bindings/display/panel/jdi,fhd-nt35596s.yaml
> > new file mode 100644
> > index 0000000000000..aefc9ae5d8abd
> > --- /dev/null
> > +++ b/Documentation/devicetree/bindings/display/panel/jdi,fhd-nt35596s.yaml
>
> [ ... ]
>
> > +allOf:
> > + - $ref: panel-common.yaml#
> > +
> > +properties:
> > + compatible:
> > + const: jdi,fhd-nt35596s
>
> [ ... ]
>
> > +required:
> > + - compatible
> > + - reg
> > + - reset-gpios
> > + - vddio-supply
> > + - vddneg-supply
> > + - vddpos-supply
> > + - port
> > +
> > +additionalProperties: false
>
> [Severity: Low]
> Does the use of additionalProperties: false here incorrectly reject standard
> inherited panel properties?
>
> Because this schema references panel-common.yaml in an allOf block,
> additionalProperties does not traverse the $ref references. This blocks
> standard properties like rotation and forces the redundant declaration of
> properties like backlight, reset-gpios, and port just to pass static JSON
> schema validation during a make dt_binding_check.
>
> Should this use unevaluatedProperties: false instead?
This seems to be the new thing that Sashiko whines about, any binding I
see with additionalProperties: false seems to get complained about.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] dt-bindings: panel: Add JDI NT35596S
2026-09-22 18:03 ` Conor Dooley
@ 2026-09-23 15:07 ` Rob Herring
0 siblings, 0 replies; 4+ messages in thread
From: Rob Herring @ 2026-09-23 15:07 UTC (permalink / raw)
To: Conor Dooley; +Cc: sashiko-reviews, devicetree, conor+dt, dri-devel
On Tue, Sep 22, 2026 at 07:03:29PM +0100, Conor Dooley wrote:
> On Mon, Sep 21, 2026 at 11:31:27PM +0000, sashiko-bot@kernel.org wrote:
> > Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider:
> > - [Low] dt-bindings: incorrect use of additionalProperties instead of unevaluatedProperties
> > --
> >
> > commit e0dc4d49c687f6d5568ce2c31031086acb6cd5e6
> > Author: Rob Herring (Arm) <robh@kernel.org>
> >
> > dt-bindings: panel: Add JDI NT35596S
> >
> > This commit adds a new device tree binding schema for the JDI FHD
> > NT35596S MIPI-DSI panel. It documents properties such as the DSI reg value,
> > reset GPIO, backlight, port, and various power supplies.
> >
> > > diff --git a/Documentation/devicetree/bindings/display/panel/jdi,fhd-nt35596s.yaml b/Documentation/devicetree/bindings/display/panel/jdi,fhd-nt35596s.yaml
> > > new file mode 100644
> > > index 0000000000000..aefc9ae5d8abd
> > > --- /dev/null
> > > +++ b/Documentation/devicetree/bindings/display/panel/jdi,fhd-nt35596s.yaml
> >
> > [ ... ]
> >
> > > +allOf:
> > > + - $ref: panel-common.yaml#
> > > +
> > > +properties:
> > > + compatible:
> > > + const: jdi,fhd-nt35596s
> >
> > [ ... ]
> >
> > > +required:
> > > + - compatible
> > > + - reg
> > > + - reset-gpios
> > > + - vddio-supply
> > > + - vddneg-supply
> > > + - vddpos-supply
> > > + - port
> > > +
> > > +additionalProperties: false
> >
> > [Severity: Low]
> > Does the use of additionalProperties: false here incorrectly reject standard
> > inherited panel properties?
> >
> > Because this schema references panel-common.yaml in an allOf block,
> > additionalProperties does not traverse the $ref references. This blocks
> > standard properties like rotation and forces the redundant declaration of
> > properties like backlight, reset-gpios, and port just to pass static JSON
> > schema validation during a make dt_binding_check.
> >
> > Should this use unevaluatedProperties: false instead?
>
> This seems to be the new thing that Sashiko whines about, any binding I
> see with additionalProperties: false seems to get complained about.
That and needing labels to be resolved in examples it consistently gets
wrong. Probably need to work on the guidance...
Rob
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2026-09-23 15:07 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-09-21 23:26 [PATCH] dt-bindings: panel: Add JDI NT35596S Rob Herring (Arm)
2026-09-21 23:31 ` sashiko-bot
2026-09-22 18:03 ` Conor Dooley
2026-09-23 15:07 ` Rob Herring
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox