Commit 5ffd1f3f authored by Krzysztof Kozlowski's avatar Krzysztof Kozlowski Committed by Rob Herring

dt-bindings: display: visionox,rm69299: document reg

Panels are supposed to have one reg.  This fixes dtbs_check warnings
like:

  sc7180-idp.dtb: panel@0: 'reg' does not match any of the regexes: 'pinctrl-[0-9]+'
Signed-off-by: default avatarKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Reviewed-by: default avatarNeil Armstrong <neil.armstrong@linaro.org>
Link: https://lore.kernel.org/r/20230326155425.91181-5-krzysztof.kozlowski@linaro.orgSigned-off-by: default avatarRob Herring <robh@kernel.org>
parent 2727dbac
...@@ -19,6 +19,8 @@ properties: ...@@ -19,6 +19,8 @@ properties:
compatible: compatible:
const: visionox,rm69299-1080p-display const: visionox,rm69299-1080p-display
reg: true
vdda-supply: vdda-supply:
description: | description: |
Phandle of the regulator that provides the vdda supply voltage. Phandle of the regulator that provides the vdda supply voltage.
...@@ -34,6 +36,7 @@ additionalProperties: false ...@@ -34,6 +36,7 @@ additionalProperties: false
required: required:
- compatible - compatible
- reg
- vdda-supply - vdda-supply
- vdd3p3-supply - vdd3p3-supply
- reset-gpios - reset-gpios
...@@ -41,16 +44,22 @@ required: ...@@ -41,16 +44,22 @@ required:
examples: examples:
- | - |
panel { dsi {
compatible = "visionox,rm69299-1080p-display"; #address-cells = <1>;
#size-cells = <0>;
panel@0 {
compatible = "visionox,rm69299-1080p-display";
reg = <0>;
vdda-supply = <&src_pp1800_l8c>; vdda-supply = <&src_pp1800_l8c>;
vdd3p3-supply = <&src_pp2800_l18a>; vdd3p3-supply = <&src_pp2800_l18a>;
reset-gpios = <&pm6150l_gpio 3 0>; reset-gpios = <&pm6150l_gpio 3 0>;
port { port {
panel0_in: endpoint { panel0_in: endpoint {
remote-endpoint = <&dsi0_out>; remote-endpoint = <&dsi0_out>;
};
}; };
}; };
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment