Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

dt-bindings: display: panel: visionox,vtdr6130: add missing reg property

Add missing reg property and update example to add dsi top node.

Fixes: ef85db911134 ("dt-bindings: display: panel: document the Visionox VTDR6130 AMOLED DSI Panel")
Acked-by: Sam Ravnborg <sam@ravnborg.org>
Acked-by: Rob Herring <robh@kernel.org>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20230207-topic-sm8550-upstream-vtdr6130-bindings-fix-v1-1-0ba2323420c5@linaro.org

+19 -9
+19 -9
Documentation/devicetree/bindings/display/panel/visionox,vtdr6130.yaml
··· 16 16 compatible: 17 17 const: visionox,vtdr6130 18 18 19 + reg: 20 + maxItems: 1 21 + description: DSI virtual channel 22 + 19 23 vddio-supply: true 20 24 vci-supply: true 21 25 vdd-supply: true ··· 30 26 31 27 required: 32 28 - compatible 29 + - reg 33 30 - vddio-supply 34 31 - vci-supply 35 32 - vdd-supply ··· 40 35 examples: 41 36 - | 42 37 #include <dt-bindings/gpio/gpio.h> 43 - panel { 44 - compatible = "visionox,vtdr6130"; 38 + dsi { 39 + #address-cells = <1>; 40 + #size-cells = <0>; 41 + panel@0 { 42 + compatible = "visionox,vtdr6130"; 43 + reg = <0>; 45 44 46 - vddio-supply = <&vreg_l12b_1p8>; 47 - vci-supply = <&vreg_l13b_3p0>; 48 - vdd-supply = <&vreg_l11b_1p2>; 45 + vddio-supply = <&vreg_l12b_1p8>; 46 + vci-supply = <&vreg_l13b_3p0>; 47 + vdd-supply = <&vreg_l11b_1p2>; 49 48 50 - reset-gpios = <&tlmm 133 GPIO_ACTIVE_LOW>; 49 + reset-gpios = <&tlmm 133 GPIO_ACTIVE_LOW>; 51 50 52 - port { 53 - panel0_in: endpoint { 54 - remote-endpoint = <&dsi0_out>; 51 + port { 52 + panel0_in: endpoint { 53 + remote-endpoint = <&dsi0_out>; 54 + }; 55 55 }; 56 56 }; 57 57 };