Skip to contentSkip to conversation

dt-bindings: display: sgd,gktw70sdae4se: use unevaluatedProperties

PATCH Superseded [email protected] 2 participants 2 messages Oct 16 – Oct 19

Subsystems (5)

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 dt-bindings: display: sgd,gktw70sdae4se: use unevaluatedProperties

From: Frank Li <[email protected]>

Use unevaluatedProperties replace additionalProperties because it ref other yaml file to allow backlight and label property.

Fix below CHECK_DTBS warning:
arch/arm/boot/dts/nxp/imx/imx6q-var-dt6customboard.dtb: lvds-panel (sgd,gktw70sdae4se): 'backlight', 'label' do not match any of the regexes: '^pinctrl-[0-9]+$'
from schema $id: http://devicetree.org/schemas/display/panel/sgd,gktw70sdae4se.yaml

---
 .../devicetree/bindings/display/panel/sgd,gktw70sdae4se.yaml    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Documentation/devicetree/bindings/display/panel/sgd,gktw70sdae4se.yaml +1 -1
index 1beb4ba92248b..4c70576fe8a8f 100644
@@ -49,7 +49,7 @@ required:
   - height-mm
   - panel-timing
 
-additionalProperties: false
+unevaluatedProperties: false
 
 examples:
   - |+
Signature · 1 line
2.43.0
#1 lore raw
Quoted 19 lines · On Fri, Oct 16, 2026 at 03:04:47PM -0400, [email protected] wrote:

From: Frank Li <[email protected]>

Use unevaluatedProperties replace additionalProperties because it ref other yaml file to allow backlight and label property.

Fix below CHECK_DTBS warning:
arch/arm/boot/dts/nxp/imx/imx6q-var-dt6customboard.dtb: lvds-panel (sgd,gktw70sdae4se): 'backlight', 'label' do not match any of the regexes: '^pinctrl-[0-9]+$'
from schema $id: http://devicetree.org/schemas/display/panel/sgd,gktw70sdae4se.yaml

---
 .../devicetree/bindings/display/panel/sgd,gktw70sdae4se.yaml    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Documentation/devicetree/bindings/display/panel/sgd,gktw70sdae4se.yaml +0 -0
index 1beb4ba92248b..4c70576fe8a8f 100644

Documentation/devicetree/bindings/display/panel/sgd,gktw70sdae4se.yaml required: · line 50

Quoted 2 lines
Documentation/devicetree/bindings/display/panel/sgd,gktw70sdae4se.yaml +0 -0
@@ -49,7 +49,7 @@ required:
   - height-mm
   - panel-timing

Then drop the duplicated properties copied from panel-common.

Best regards,
Krzysztof