]> www.infradead.org Git - users/willy/xarray.git/commitdiff
arm64: dts: ti: am65x: Add missing power-supply for Rocktech-rk101 panel
authorAndrew Davis <afd@ti.com>
Mon, 21 Apr 2025 21:46:20 +0000 (16:46 -0500)
committerNishanth Menon <nm@ti.com>
Fri, 25 Apr 2025 20:47:22 +0000 (15:47 -0500)
Add the 5v0 supply that is provided over the display panel cable and
used by the LCD. This is required by "simple panels" or we get the
following warning from DTBS_CHECK:

k3-am654-gp-evm.dtb: display0: 'power-supply' is a required property

Signed-off-by: Andrew Davis <afd@ti.com>
Link: https://lore.kernel.org/r/20250421214620.3770172-4-afd@ti.com
Signed-off-by: Nishanth Menon <nm@ti.com>
arch/arm64/boot/dts/ti/k3-am654-base-board-rocktech-rk101-panel.dtso

index 364c57b3b3a0612f1ad89f945aeccf1f9f384ffc..7a3953d64fd84f6c6f7b78055d57b82cdf1ff7c5 100644 (file)
 #include <dt-bindings/interrupt-controller/irq.h>
 
 &{/} {
+       vcc_5v0: lcd-regulator {
+               /* Output of LM5140 */
+               compatible = "regulator-fixed";
+               regulator-name = "vcc_5v0";
+               regulator-min-microvolt = <5000000>;
+               regulator-max-microvolt = <5000000>;
+               regulator-always-on;
+               regulator-boot-on;
+               vin-supply = <&evm_12v0>;
+       };
+
        display0 {
                compatible = "rocktech,rk101ii01d-ct";
+               power-supply = <&vcc_5v0>;
                backlight = <&lcd_bl>;
                enable-gpios = <&pca9555 8 GPIO_ACTIVE_HIGH>;
                port {