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
Signed-off-by: Frank Li <[email protected]>
---
changes in v2:
- drop panel-timing and port
---
.../devicetree/bindings/display/panel/sgd,gktw70sdae4se.yaml | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git
a/Documentation/devicetree/bindings/display/panel/sgd,gktw70sdae4se.yaml
b/Documentation/devicetree/bindings/display/panel/sgd,gktw70sdae4se.yaml
index 1beb4ba92248b..809fe8d2da740 100644
--- a/Documentation/devicetree/bindings/display/panel/sgd,gktw70sdae4se.yaml
+++ b/Documentation/devicetree/bindings/display/panel/sgd,gktw70sdae4se.yaml
@@ -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:
- |+
--
2.43.0