ARM: tegra: update bindings to fit video changes
Subsystems (2)
cover ARM: tegra: update bindings to fit video changes
Update bindings for special cases of video subsystem users. All other devices should work with updated video drivers as is.
Svyatoslav Ryhel (4):
ARM: tegra: lg_x3: upgrade bindings
ARM: tegra: endeavoru: upgrade bindings
ARM: tegra: p1801-t: enable HDMI
ARM: tegra: tf700t: upgrade bindings
arch/arm/dts/tegra30-asus-p1801-t.dts | 12 +--- arch/arm/dts/tegra30-asus-tf700t.dts | 96 ++++++++++++++++++-------- arch/arm/dts/tegra30-htc-endeavoru.dts | 17 ++--- arch/arm/dts/tegra30-lg-p880.dts | 34 ++++++--- arch/arm/dts/tegra30-lg-p895.dts | 55 +++++++-------- arch/arm/dts/tegra30-lg-x3.dtsi | 82 ++++++++++++++++++++-- configs/endeavoru_defconfig | 1 + configs/transformer_t30_defconfig | 2 + configs/x3_t30_defconfig | 1 + 9 files changed, 204 insertions(+), 96 deletions(-)
Signature · 1 line
2.43.0
PATCH 1/4 ARM: tegra: lg_x3: upgrade bindings
Upgrade LG P895 and P880 device tree bindings according to preliminary upstream Linux tree. Once Linux catches up, LG X3 can be switched to OF_UPSTREAM without regressions.
--- arch/arm/dts/tegra30-lg-p880.dts | 34 +++++++++---- arch/arm/dts/tegra30-lg-p895.dts | 55 ++++++++++----------- arch/arm/dts/tegra30-lg-x3.dtsi | 82 +++++++++++++++++++++++++++++--- configs/x3_t30_defconfig | 1 + 4 files changed, 129 insertions(+), 43 deletions(-)
arch/arm/dts/tegra30-lg-p880.dts +25 -9
@@ -101,6 +101,31 @@ }; }; + spi@7000dc00 { + bridge-spi@2 { + /* + * JDI 4.57" 720x1280 DX12D100VM0EAA MIPI DSI panel + */ + panel@0 { + compatible = "jdi,dx12d100vm0eaa"; + reg = <0>; + + reset-gpios = <&gpio TEGRA_GPIO(W, 0) GPIO_ACTIVE_LOW>; + + vdd-supply = <&vcc_3v0_lcd>; + vddio-supply = <&iovcc_1v8_lcd>; + + backlight = <&backlight>; + + port { + panel_input: endpoint { + remote-endpoint = <&bridge_output>; + }; + }; + }; + }; + }; + sdmmc3: sdhci@78000400 { status = "okay"; bus-width = <4>;
@@ -118,13 +143,4 @@ linux,code = <KEY_UP>; }; }; - - panel: panel { - compatible = "jdi,dx12d100vm0eaa"; - - enable-gpios = <&gpio TEGRA_GPIO(Y, 0) GPIO_ACTIVE_HIGH>; - reset-gpios = <&gpio TEGRA_GPIO(W, 0) GPIO_ACTIVE_HIGH>; - - backlight = <&backlight>; - }; };
arch/arm/dts/tegra30-lg-p895.dts +28 -27
64 lines not on this page · raw message
arch/arm/dts/tegra30-lg-x3.dtsi +75 -7
116 lines not on this page · raw message
configs/x3_t30_defconfig +1 -0
@@ -82,6 +82,7 @@ CONFIG_USB_GADGET_VENDOR_NUM=0x1004 CONFIG_USB_GADGET_PRODUCT_NUM=0x7100 CONFIG_CI_UDC=y CONFIG_VIDEO=y +CONFIG_VIDEO_BRIDGE=y # CONFIG_VIDEO_LOGO is not set CONFIG_BACKLIGHT_LM3533=y CONFIG_VIDEO_BRIDGE_SOLOMON_SSD2825=y
Signature · 1 line
2.43.0
PATCH 2/4 ARM: tegra: endeavoru: upgrade bindings
In reply to Svyatoslav RyhelUpgrade HTC One X device tree to comply possible upstream Linux device tree. Once Linux catches up, HTC One X can be switched to OF_UPSTREAM.
--- arch/arm/dts/tegra30-htc-endeavoru.dts | 17 ++++------------- configs/endeavoru_defconfig | 1 + 2 files changed, 5 insertions(+), 13 deletions(-)
arch/arm/dts/tegra30-htc-endeavoru.dts +4 -13
@@ -33,13 +33,11 @@ host1x@50000000 { dc@54200000 { - clocks = <&tegra_car TEGRA30_CLK_DISP1>, - <&tegra_car TEGRA30_CLK_PLL_D_OUT0>; + backlight: backlight { + compatible = "nvidia,tegra-pwm-backlight"; - rgb { - status = "okay"; - - nvidia,panel = <&dsia>; + nvidia,pwm-source = <1>; + nvidia,default-brightness = <0x8E>; }; };
@@ -1265,13 +1263,6 @@ nvidia,xcvr-lsrslew = <2>; }; - backlight: backlight { - compatible = "nvidia,tegra-pwm-backlight"; - - nvidia,pwm-source = <1>; - nvidia,default-brightness = <0x8E>; - }; - /* PMIC has a built-in 32KHz oscillator which is used by PMC */ clk32k_in: clock-32k { compatible = "fixed-clock";
configs/endeavoru_defconfig +1 -0
@@ -79,6 +79,7 @@ CONFIG_USB_GADGET_VENDOR_NUM=0x0bb4 CONFIG_USB_GADGET_PRODUCT_NUM=0x0c02 CONFIG_CI_UDC=y CONFIG_VIDEO=y +CONFIG_VIDEO_BRIDGE=y # CONFIG_VIDEO_LOGO is not set CONFIG_VIDEO_LCD_ENDEAVORU=y CONFIG_VIDEO_DSI_TEGRA30=y
Signature · 1 line
2.43.0
PATCH 3/4 ARM: tegra: p1801-t: enable HDMI
In reply to Svyatoslav RyhelBind HDMI for ASUS AiO P1801-t to provide full panel support and improve usability.
--- arch/arm/dts/tegra30-asus-p1801-t.dts | 12 +----------- configs/transformer_t30_defconfig | 2 ++ 2 files changed, 3 insertions(+), 11 deletions(-)
arch/arm/dts/tegra30-asus-p1801-t.dts +1 -11
@@ -34,20 +34,10 @@ host1x@50000000 { dc@54200000 { - clocks = <&tegra_car TEGRA30_CLK_DISP1>, - <&tegra_car TEGRA30_CLK_PLL_D_OUT0>; - - rgb { - status = "okay"; - - nvidia,panel = <&hdmi>; - }; + status = "disabled"; }; hdmi: hdmi@54280000 { - clocks = <&tegra_car TEGRA30_CLK_HDMI>, - <&tegra_car TEGRA30_CLK_PLL_D_OUT0>; - status = "okay"; hdmi-supply = <&hdmi_5v0_sys>;
configs/transformer_t30_defconfig +2 -0
@@ -89,6 +89,8 @@ CONFIG_USB_GADGET_VENDOR_NUM=0x0b05 CONFIG_USB_GADGET_PRODUCT_NUM=0x4daf CONFIG_CI_UDC=y CONFIG_VIDEO=y +CONFIG_VIDEO_BRIDGE=y # CONFIG_VIDEO_LOGO is not set CONFIG_VIDEO_BRIDGE_TOSHIBA_TC358768=y CONFIG_VIDEO_TEGRA20=y +CONFIG_VIDEO_HDMI_TEGRA=y
Signature · 1 line
2.43.0
PATCH 4/4 ARM: tegra: tf700t: upgrade bindings
In reply to Svyatoslav RyhelAlign TF700T bindings with existing upstream device trees. OF_UPSTREAM migration is possible already but resulting size of binary exceeds maximum allowed size with full size trees.
--- arch/arm/dts/tegra30-asus-tf700t.dts | 96 +++++++++++++++++++--------- 1 file changed, 67 insertions(+), 29 deletions(-)
arch/arm/dts/tegra30-asus-tf700t.dts +67 -29
@@ -15,7 +15,14 @@ rgb { status = "okay"; - nvidia,panel = <&tc358768>; + /delete-property/ nvidia,panel; + + port { + dpi_output: endpoint { + remote-endpoint = <&bridge_input>; + bus-width = <24>; + }; + }; }; }; };
@@ -118,38 +125,69 @@ vddio-supply = <&vdd_1v8_vio>; vddmipi-supply = <&vdd_1v2_mipi>; - panel = <&panel>; + /* + * Panasonic VVX10F004B00 or HYDIS HV101WU1-1E1 + * LCD SuperIPS+ Full HD panel. + */ + panel@1 { + compatible = "panasonic,vvx10f004b00"; + reg = <1>; + + power-supply = <&vdd_pnl_reg>; + backlight = <&backlight>; + + display-timings { + timing@0 { + /* 1920x1200@60Hz */ + clock-frequency = <154000000>; + + hactive = <1920>; + hfront-porch = <48>; + hback-porch = <80>; + hsync-len = <32>; + hsync-active = <1>; + + vactive = <1200>; + vfront-porch = <3>; + vback-porch = <26>; + vsync-len = <6>; + vsync-active = <1>; + }; + }; + + port { + panel_input: endpoint { + remote-endpoint = <&bridge_output>; + }; + }; + }; + + ports { + #address-cells = <1>; + #size-cells = <0>; + + port@0 { + reg = <0>; + + bridge_input: endpoint { + remote-endpoint = <&dpi_output>; + bus-width = <24>; + }; + }; + + port@1 { + reg = <1>; + + bridge_output: endpoint { + remote-endpoint = <&panel_input>; + }; + }; + }; }; }; }; - panel: panel { - compatible = "panasonic,vvx10f004b00"; - - power-supply = <&vdd_pnl_reg>; - backlight = <&backlight>; - - /delete-property/ enable-gpios; - - display-timings { - timing@0 { - /* 1920x1200@60Hz */ - clock-frequency = <154000000>; - - hactive = <1920>; - hfront-porch = <48>; - hback-porch = <80>; - hsync-len = <32>; - hsync-active = <1>; - - vactive = <1200>; - vfront-porch = <3>; - vback-porch = <26>; - vsync-len = <6>; - vsync-active = <1>; - }; - }; - }; + /delete-node/ panel; vdd_1v2_mipi: regulator-mipi { compatible = "regulator-fixed";
Signature · 1 line
2.43.0