Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

arm64: dts: mt8183: config dsi node

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 <hsinyi@chromium.org>
Tested-by: Enric Balletbo i Serra <enric.balletbo@collabora.com>
Reviewed-by: Nicolas Boichat <drinkcat@chromium.org>
Link: https://lore.kernel.org/r/20210113110400.616319-1-hsinyi@chromium.org
Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>

authored by

Hsin-Yi Wang and committed by
Matthias Brugger
27eaf34d b870c585

+47
+5
arch/arm64/boot/dts/mediatek/mt8183-kukui-krane-sku176.dts
··· 16 16 model = "MediaTek krane sku176 board"; 17 17 compatible = "google,krane-sku176", "google,krane", "mediatek,mt8183"; 18 18 }; 19 + 20 + &panel { 21 + status = "okay"; 22 + compatible = "boe,tv101wum-nl6"; 23 + };
+42
arch/arm64/boot/dts/mediatek/mt8183-kukui.dtsi
··· 249 249 proc-supply = <&mt6358_vproc11_reg>; 250 250 }; 251 251 252 + &dsi0 { 253 + status = "okay"; 254 + #address-cells = <1>; 255 + #size-cells = <0>; 256 + panel: panel@0 { 257 + /* compatible will be set in board dts */ 258 + reg = <0>; 259 + enable-gpios = <&pio 45 0>; 260 + pinctrl-names = "default"; 261 + pinctrl-0 = <&panel_pins_default>; 262 + avdd-supply = <&ppvarn_lcd>; 263 + avee-supply = <&ppvarp_lcd>; 264 + pp1800-supply = <&pp1800_lcd>; 265 + backlight = <&backlight_lcd0>; 266 + port { 267 + panel_in: endpoint { 268 + remote-endpoint = <&dsi_out>; 269 + }; 270 + }; 271 + }; 272 + 273 + ports { 274 + port { 275 + dsi_out: endpoint { 276 + remote-endpoint = <&panel_in>; 277 + }; 278 + }; 279 + }; 280 + }; 281 + 252 282 &i2c0 { 253 283 pinctrl-names = "default"; 254 284 pinctrl-0 = <&i2c0_pins>; ··· 318 288 pinctrl-0 = <&i2c6_pins>; 319 289 status = "okay"; 320 290 clock-frequency = <100000>; 291 + }; 292 + 293 + &mipi_tx0 { 294 + status = "okay"; 321 295 }; 322 296 323 297 &mmc0 { ··· 578 544 drive-strength = <MTK_DRIVE_8mA>; 579 545 mediatek,pull-down-adv = <10>; 580 546 input-enable; 547 + }; 548 + }; 549 + 550 + panel_pins_default: panel_pins_default { 551 + panel_reset { 552 + pinmux = <PINMUX_GPIO45__FUNC_GPIO45>; 553 + output-low; 554 + bias-pull-up; 581 555 }; 582 556 }; 583 557