arm64: dts: verdin-imx8mm: display and pmic related additions and fixes
Subsystems (2)
cover arm64: dts: verdin-imx8mm: display and pmic related additions and fixes
From: Marcel Ziswiler <[email protected]>
This series contains a few display and PMIC related additions and fixes.
Marcel Ziswiler (2):
arm64: dts: verdin-imx8mm: rename sn65dsi83 to sn65dsi84
arm64: dts: verdin-imx8mm: add lvds panel node
Philippe Schenker (2):
arm64: dts: verdin-imx8mm: introduce hdmi-connector
arm64: dts: imx8mm-verdin: extend pmic voltages
.../boot/dts/freescale/imx8mm-verdin.dtsi | 29 ++++++++++++++----- 1 file changed, 22 insertions(+), 7 deletions(-)
Signature · 1 line
2.36.1
PATCH 1/4 arm64: dts: verdin-imx8mm: rename sn65dsi83 to sn65dsi84
From: Marcel Ziswiler <[email protected]>
Rename sn65dsi83 to sn65dsi84 as that is the exact chip used on the Verdin DSI to LVDS Adapter.
---
arch/arm64/boot/dts/freescale/imx8mm-verdin.dtsi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
arch/arm64/boot/dts/freescale/imx8mm-verdin.dtsi +2 -2
@@ -561,8 +561,8 @@ gpio_expander_21: gpio-expander@21 { status = "disabled"; }; - lvds_ti_sn65dsi83: bridge@2c { - compatible = "ti,sn65dsi83"; + lvds_ti_sn65dsi84: bridge@2c { + compatible = "ti,sn65dsi84"; /* Verdin GPIO_9_DSI (SN65DSI84 IRQ, SODIMM 17, unused) */ /* Verdin GPIO_10_DSI (SODIMM 21) */ enable-gpios = <&gpio3 3 GPIO_ACTIVE_HIGH>;
Signature · 1 line
2.36.1
PATCH 2/4 arm64: dts: verdin-imx8mm: add lvds panel node
In reply to Marcel ZiswilerFrom: Marcel Ziswiler <[email protected]>
Add an LVDS panel node to be extended by a device tree overlay.
---
arch/arm64/boot/dts/freescale/imx8mm-verdin.dtsi | 7 +++++++ 1 file changed, 7 insertions(+)
arch/arm64/boot/dts/freescale/imx8mm-verdin.dtsi +7 -0
@@ -53,6 +53,13 @@ key-wakeup { }; }; + panel_lvds: panel-lvds { + compatible = "panel-lvds"; + backlight = <&backlight>; + data-mapping = "vesa-24"; + status = "disabled"; + }; + /* Carrier Board Supplies */ reg_1p8v: regulator-1p8v { compatible = "regulator-fixed";
Signature · 1 line
2.36.1
PATCH 3/4 arm64: dts: verdin-imx8mm: introduce hdmi-connector
In reply to Marcel ZiswilerFrom: Philippe Schenker <[email protected]>
The Lontium LT8912B driver needs a HDMI connector to be connected to port 1. Introduce this connector to be enabled in a device tree overlay.
---
arch/arm64/boot/dts/freescale/imx8mm-verdin.dtsi | 8 ++++++++ 1 file changed, 8 insertions(+)
arch/arm64/boot/dts/freescale/imx8mm-verdin.dtsi +8 -0
@@ -53,6 +53,14 @@ key-wakeup { }; }; + hdmi_connector: hdmi-connector { + compatible = "hdmi-connector"; + ddc-i2c-bus = <&i2c2>; + label = "hdmi"; + type = "a"; + status = "disabled"; + }; + panel_lvds: panel-lvds { compatible = "panel-lvds"; backlight = <&backlight>;
Signature · 1 line
2.36.1
PATCH 4/4 arm64: dts: imx8mm-verdin: extend pmic voltages
In reply to Marcel ZiswilerFrom: Philippe Schenker <[email protected]>
Currently, we limited the voltages from the PMIC very strictly. This causes an issue with one Toradex SKU that uses a consumer-grade chip that is capable of going up to 1.8GHz at 1.00V.
Extend the ranges to min/max values of the SoC operating ranges (table
10) in the datasheet. Detailed explanation as follows:
BUCK2:
- As already described above, the SKU with the consumer-grade chip needs a voltage of at least 1.00V. 1.05V is chosen now as this is listed as the maximum. Both industrial and consumer-grade chips have an absolute maximum rating of 1.15V which makes it still safe to put 1.05V
- Lower the regulator-min value to the smallest value allowed from the Quad-A53, 1.2GHz version of the SoC
BUCK3:
- This regulator is used for SoC input voltages VDD_GPU, VDD_VPU and VDD_DRAM.
- Use the smallest value of these three inputs as the regulator-min
- Use the largest value of these three inputs as the regulator-max
LDO2:
- This LDO is used for VDD_SNVS_0P8 SoC input voltage. As this has a single nominal input voltage just put this in the middle of 0.8V.
---
arch/arm64/boot/dts/freescale/imx8mm-verdin.dtsi | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-)
arch/arm64/boot/dts/freescale/imx8mm-verdin.dtsi +5 -5
@@ -382,8 +382,8 @@ reg_vdd_arm: BUCK2 { nxp,dvs-standby-voltage = <850000>; regulator-always-on; regulator-boot-on; - regulator-max-microvolt = <950000>; - regulator-min-microvolt = <850000>; + regulator-max-microvolt = <1050000>; + regulator-min-microvolt = <805000>; regulator-name = "On-module +VDD_ARM (BUCK2)"; regulator-ramp-delay = <3125>; };
@@ -391,8 +391,8 @@ reg_vdd_arm: BUCK2 { reg_vdd_dram: BUCK3 { regulator-always-on; regulator-boot-on; - regulator-max-microvolt = <950000>; - regulator-min-microvolt = <850000>; + regulator-max-microvolt = <1000000>; + regulator-min-microvolt = <805000>; regulator-name = "On-module +VDD_GPU_VPU_DDR (BUCK3)"; };
@@ -431,7 +431,7 @@ reg_nvcc_snvs: LDO1 { reg_vdd_snvs: LDO2 { regulator-always-on; regulator-boot-on; - regulator-max-microvolt = <900000>; + regulator-max-microvolt = <800000>; regulator-min-microvolt = <800000>; regulator-name = "On-module +V0.8_SNVS (LDO2)"; };
Signature · 1 line
2.36.1
Shawn Guo
AppliedQuoted 6 lines · Marcel Ziswiler
From: Marcel Ziswiler <[email protected]>
This series contains a few display and PMIC related additions and fixes.
Quoted 7 lines
Marcel Ziswiler (2):
arm64: dts: verdin-imx8mm: rename sn65dsi83 to sn65dsi84
arm64: dts: verdin-imx8mm: add lvds panel nodePhilippe Schenker (2):
arm64: dts: verdin-imx8mm: introduce hdmi-connector
arm64: dts: imx8mm-verdin: extend pmic voltages
Applied all, thanks!