Skip to contentSkip to conversation

video: panel: align r61307 and ltl106hl02 with schema

PATCH New Svyatoslav Ryhel 1 participant 3 messages Feb 9 Framebuffer layer

lore
Share & tools
lore
#0 lore raw

cover video: panel: align r61307 and ltl106hl02 with schema

Align r61307 and ltl106hl02 with recent DT schema additions.

Svyatoslav Ryhel (2):
video: r61307: adjust property name
video: ltl106hl02: adjust power supply name

 drivers/video/renesas-r61307.c     | 2 +-
 drivers/video/samsung-ltl106hl02.c | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)
Signature · 1 line
2.51.0
#1 lore raw

PATCH 1/2 video: r61307: adjust property name

Rename renesas,inversion to renesas,column-inversion according to latest schema.

---
 drivers/video/renesas-r61307.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/video/renesas-r61307.c +1 -1
index ef6fab1e953..b643fd1db89 100644
@@ -228,7 +228,7 @@ static int renesas_r61307_of_to_plat(struct udevice *dev)
 	}
 
 	priv->dig_cont_adj = dev_read_bool(dev, "renesas,contrast");
-	priv->inversion = dev_read_bool(dev, "renesas,inversion");
+	priv->inversion = dev_read_bool(dev, "renesas,column-inversion");
 	priv->gamma = dev_read_u32_default(dev, "renesas,gamma", 0);
 
 	return 0;
Signature · 1 line
2.51.0
#2 lore raw

PATCH 2/2 video: ltl106hl02: adjust power supply name

In reply to Svyatoslav Ryhel

Rename vdd-supply to power-supply according to the latest schema.

---
 drivers/video/samsung-ltl106hl02.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/video/samsung-ltl106hl02.c +2 -2
index 1efc9fca610..97881a1524e 100644
@@ -93,9 +93,9 @@ static int samsung_ltl106hl02_of_to_plat(struct udevice *dev)
 	}
 
 	ret = uclass_get_device_by_phandle(UCLASS_REGULATOR, dev,
-					   "vdd-supply", &priv->vdd);
+					   "power-supply", &priv->vdd);
 	if (ret)
-		log_debug("%s: cannot get vdd-supply: error %d\n",
+		log_debug("%s: cannot get power-supply: error %d\n",
 			  __func__, ret);
 
 	ret = gpio_request_by_name(dev, "reset-gpios", 0,
Signature · 1 line
2.51.0