mirror of
https://github.com/raspberrypi/linux.git
synced 2025-12-06 01:49:46 +00:00
dtoverlays: Fix up ili9881 DSI panel overlays for upstream changes
The regulator compatible string changed, and implements the PWM API instead of the backlight one, therefore requiring pwm-backlight to sit inbetween. Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
This commit is contained in:
committed by
Dom Cobley
parent
f00908729e
commit
4f2c0d8d3c
@@ -19,10 +19,11 @@
|
|||||||
|
|
||||||
display_mcu: display_mcu@45
|
display_mcu: display_mcu@45
|
||||||
{
|
{
|
||||||
compatible = "raspberrypi,v2-touchscreen-panel-regulator";
|
compatible = "raspberrypi,touchscreen-panel-regulator-v2";
|
||||||
reg = <0x45>;
|
reg = <0x45>;
|
||||||
gpio-controller;
|
gpio-controller;
|
||||||
#gpio-cells = <2>;
|
#gpio-cells = <2>;
|
||||||
|
#pwm-cells = <3>;
|
||||||
};
|
};
|
||||||
|
|
||||||
gt911: gt911@5d {
|
gt911: gt911@5d {
|
||||||
@@ -54,7 +55,7 @@
|
|||||||
reg = <0>;
|
reg = <0>;
|
||||||
compatible = "raspberrypi,dsi-7inch";
|
compatible = "raspberrypi,dsi-7inch";
|
||||||
reset-gpio = <&display_mcu 0 GPIO_ACTIVE_LOW>;
|
reset-gpio = <&display_mcu 0 GPIO_ACTIVE_LOW>;
|
||||||
backlight = <&display_mcu>;
|
backlight = <&backlight>;
|
||||||
|
|
||||||
port {
|
port {
|
||||||
panel_in: endpoint {
|
panel_in: endpoint {
|
||||||
@@ -90,6 +91,14 @@
|
|||||||
startup-delay-us = <50000>;
|
startup-delay-us = <50000>;
|
||||||
enable-active-high;
|
enable-active-high;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
backlight: panel_backlight@1 {
|
||||||
|
compatible = "pwm-backlight";
|
||||||
|
brightness-levels = <0 31>;
|
||||||
|
num-interpolated-steps = <31>;
|
||||||
|
default-brightness-level = <15>;
|
||||||
|
pwms = <&display_mcu 0 200000 0>;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -111,7 +120,8 @@
|
|||||||
dsi0 = <&dsi_frag>, "target:0=",<&dsi0>,
|
dsi0 = <&dsi_frag>, "target:0=",<&dsi0>,
|
||||||
<&i2c_frag>, "target:0=",<&i2c_csi_dsi0>,
|
<&i2c_frag>, "target:0=",<&i2c_csi_dsi0>,
|
||||||
<&touch_reg>, "reg:0=0",
|
<&touch_reg>, "reg:0=0",
|
||||||
<&touch_reg>, "regulator-name=touch_reg_0";
|
<&touch_reg>, "regulator-name=touch_reg_0",
|
||||||
|
<&backlight>, "reg:0=0";
|
||||||
sizex = <>911>,"touchscreen-size-x:0";
|
sizex = <>911>,"touchscreen-size-x:0";
|
||||||
sizey = <>911>,"touchscreen-size-y:0";
|
sizey = <>911>,"touchscreen-size-y:0";
|
||||||
invx = <0>, "+10";
|
invx = <0>, "+10";
|
||||||
|
|||||||
Reference in New Issue
Block a user