From: Hsin-Yi Wang <hidden> Date: 2021-01-13 11:05:32
Config dsi node for mt8183 kukui. Set panel and ports.
Several kukui boards share the same panel property and only compatible
is different. So compatible will be set in board dts for comparison
convenience.
Signed-off-by: Hsin-Yi Wang <redacted>
Reviewed-by: Nicolas Boichat <redacted>
---
change:
v4: add backlight and enable mipi_tx0
---
.../mediatek/mt8183-kukui-krane-sku176.dts | 5 +++
.../arm64/boot/dts/mediatek/mt8183-kukui.dtsi | 42 +++++++++++++++++++
2 files changed, 47 insertions(+)
@@ -249,6 +249,36 @@ &cpu7 {proc-supply=<&mt6358_vproc11_reg>;};+&dsi0{+status="okay";+#address-cells=<1>;+#size-cells=<0>;+panel:panel@0{+/* compatible will be set in board dts */+reg=<0>;+enable-gpios=<&pio450>;+pinctrl-names="default";+pinctrl-0=<&panel_pins_default>;+avdd-supply=<&ppvarn_lcd>;+avee-supply=<&ppvarp_lcd>;+pp1800-supply=<&pp1800_lcd>;+backlight=<&backlight_lcd0>;+port{+panel_in:endpoint{+remote-endpoint=<&dsi_out>;+};+};+};++ports{+port{+dsi_out:endpoint{+remote-endpoint=<&panel_in>;+};+};+};+};+&i2c0{pinctrl-names="default";pinctrl-0=<&i2c0_pins>;
From: Hsin-Yi Wang <hidden> Date: 2021-01-13 11:05:32
Similar to krane-sku176 but using a different panel source.
Signed-off-by: Hsin-Yi Wang <redacted>
Reviewed-by: Enric Balletbo i Serra <redacted>
---
change:
v4: split dt-binding to another patch
---
arch/arm64/boot/dts/mediatek/Makefile | 1 +
.../dts/mediatek/mt8183-kukui-krane-sku0.dts | 23 +++++++++++++++++++
2 files changed, 24 insertions(+)
create mode 100644 arch/arm64/boot/dts/mediatek/mt8183-kukui-krane-sku0.dts
From: Hsin-Yi Wang <hidden> Date: 2021-01-13 11:05:53
Krane-sku0 is similar to krane-sku176 but using a different panel
source.
Signed-off-by: Hsin-Yi Wang <redacted>
---
Documentation/devicetree/bindings/arm/mediatek.yaml | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
From: Enric Balletbo i Serra <hidden> Date: 2021-01-13 11:29:14
Hi Hsin-Yi,
On 13/1/21 12:03, Hsin-Yi Wang wrote:
Config dsi node for mt8183 kukui. Set panel and ports.
Several kukui boards share the same panel property and only compatible
is different. So compatible will be set in board dts for comparison
convenience.
Signed-off-by: Hsin-Yi Wang <redacted>
Reviewed-by: Nicolas Boichat <redacted>
Tested on my Lenovo Ideapad Duet. Display is working.
Tested-by: Enric Balletbo i Serra <redacted>
@@ -249,6 +249,36 @@ &cpu7 {proc-supply=<&mt6358_vproc11_reg>;};+&dsi0{+status="okay";+#address-cells=<1>;+#size-cells=<0>;+panel:panel@0{+/* compatible will be set in board dts */+reg=<0>;+enable-gpios=<&pio450>;+pinctrl-names="default";+pinctrl-0=<&panel_pins_default>;+avdd-supply=<&ppvarn_lcd>;+avee-supply=<&ppvarp_lcd>;+pp1800-supply=<&pp1800_lcd>;+backlight=<&backlight_lcd0>;+port{+panel_in:endpoint{+remote-endpoint=<&dsi_out>;+};+};+};++ports{+port{+dsi_out:endpoint{+remote-endpoint=<&panel_in>;+};+};+};+};+&i2c0{pinctrl-names="default";pinctrl-0=<&i2c0_pins>;
From: Rob Herring <robh@kernel.org> Date: 2021-01-25 19:52:37
On Wed, 13 Jan 2021 19:04:03 +0800, Hsin-Yi Wang wrote:
Krane-sku0 is similar to krane-sku176 but using a different panel
source.
Signed-off-by: Hsin-Yi Wang <redacted>
---
Documentation/devicetree/bindings/arm/mediatek.yaml | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
Config dsi node for mt8183 kukui. Set panel and ports.
Several kukui boards share the same panel property and only compatible
is different. So compatible will be set in board dts for comparison
convenience.
Signed-off-by: Hsin-Yi Wang <redacted>
Reviewed-by: Nicolas Boichat <redacted>
---
@@ -249,6 +249,36 @@ &cpu7 {proc-supply=<&mt6358_vproc11_reg>;};+&dsi0{+status="okay";+#address-cells=<1>;+#size-cells=<0>;+panel:panel@0{+/* compatible will be set in board dts */+reg=<0>;+enable-gpios=<&pio450>;+pinctrl-names="default";+pinctrl-0=<&panel_pins_default>;+avdd-supply=<&ppvarn_lcd>;+avee-supply=<&ppvarp_lcd>;+pp1800-supply=<&pp1800_lcd>;+backlight=<&backlight_lcd0>;+port{+panel_in:endpoint{+remote-endpoint=<&dsi_out>;+};+};+};++ports{+port{+dsi_out:endpoint{+remote-endpoint=<&panel_in>;+};+};+};+};+&i2c0{pinctrl-names="default";pinctrl-0=<&i2c0_pins>;