@@ -31,6 +31,22 @@ properties:
vddi-supply:
description: regulator that supplies the vddi voltage
backlight: true
+ port:
+ $ref: /schemas/graph.yaml#/properties/port
+
+if:
+ properties:
+ compatible:
+ contains:
+ enum:
+ - frida,frd400b25025
+then:
+ required:
+ - port
+
+else:
+ properties:
+ port: false
required:
- compatible
@@ -54,5 +70,23 @@ examples:
backlight = <&gpio_bl>;
};
};
+ - |
+ dsi {
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ panel@0 {
+ compatible = "frida,frd400b25025", "novatek,nt35510";
+ vddi-supply = <&vcc_3v3>;
+ vdd-supply = <&vcc_3v3>;
+ reg = <0>; /* dsi virtual channel (0..3) */
+ reset-gpios = <&gpioj 15 GPIO_ACTIVE_LOW>;
+ port {
+ dsi_panel_in: endpoint {
+ remote-endpoint = <&dsi_out>;
+ };
+ };
+ };
+ };
...
Allow 'port' property (coming from panel-common.yaml) to be used in DTS: st/stm32f769-disco-mb1166-reva09.dtb: panel@0: 'port' does not match any of the regexes: 'pinctrl-[0-9]+' Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com> Cc: Alexandre Torgue <alexandre.torgue@foss.st.com> --- .../display/panel/novatek,nt35510.yaml | 34 +++++++++++++++++++ 1 file changed, 34 insertions(+)