Skip to contentSkip to conversation

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

PATCH Applied [email protected] 2 participants 3 messages Oct 19 – Nov 13

Subsystems (5)
lore
Share & tools
lore
#0 lore raw

PATCH v2 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.

Drop panel-timing and port, which copy from panel-common.yaml. Others have additional restrictions.

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

---
changes in v2:
- drop panel-timing and port

---
 .../devicetree/bindings/display/panel/sgd,gktw70sdae4se.yaml | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)
Documentation/devicetree/bindings/display/panel/sgd,gktw70sdae4se.yaml +1 -4
index 1beb4ba92248b..809fe8d2da740 100644
@@ -38,9 +38,6 @@ properties:
   height-mm:
     const: 86
 
-  panel-timing: true
-  port: true
-
 required:
   - compatible
   - port
@@ -49,7 +46,7 @@ required:
   - height-mm
   - panel-timing
 
-additionalProperties: false
+unevaluatedProperties: false
 
 examples:
   - |+
Signature · 1 line
2.43.0
Reviewed-by on v2 1/1
#1 lore raw
Quoted 8 lines · On Mon, Oct 19, 2026 at 04:50:00PM -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.

Drop panel-timing and port, which copy from panel-common.yaml. Others have additional restrictions.

Quoted 8 lines

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

---
changes in v2:
- drop panel-timing and port

Best regards,
Krzysztof

author Applied
#2 lore raw
In reply to [email protected]

From: Frank Li <[email protected]>

Quoted 11 lines · On Mon, 19 Oct 2026 16:50:00 -0400, [email protected] wrote:

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

Drop panel-timing and port, which copy from panel-common.yaml. Others have additional restrictions.

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

[...]

Applied, thanks!

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

      commit: 6f5338af664c42e200b846a8d51c80a5a230ce6f

I picked it to avoid warning, any concern, let me know!

Frank

Best regards,
--
Frank Li <[email protected]>