video: panel: align r61307 and ltl106hl02 with schema
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
PATCH 1/2 video: r61307: adjust property name
Rename renesas,inversion to renesas,column-inversion according to latest schema.
Signed-off-by Svyatoslav Ryhel <[email protected]>
--- drivers/video/renesas-r61307.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/video/renesas-r61307.c +1 -1
@@ -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
PATCH 2/2 video: ltl106hl02: adjust power supply name
In reply to Svyatoslav RyhelRename vdd-supply to power-supply according to the latest schema.
Signed-off-by Svyatoslav Ryhel <[email protected]>
--- drivers/video/samsung-ltl106hl02.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/video/samsung-ltl106hl02.c +2 -2
@@ -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