diff options
| author | Marek Vasut <marex@denx.de> | 2021-06-10 17:02:42 +0200 | 
|---|---|---|
| committer | Alexandre Torgue <alexandre.torgue@foss.st.com> | 2021-07-30 15:38:11 +0200 | 
| commit | 10ba166b1140b9c784594e1c50dc08ba75e30676 (patch) | |
| tree | 4a6efaeddfb839a163eb804efcd70bb41ff4d361 | |
| parent | a79e78c391dc074742c855dc0108a88f781d56a3 (diff) | |
ARM: dts: stm32: Add backlight and panel supply on DHCOM SoM
Fix the following dtbs_check warning:
arch/arm/boot/dts/stm32mp157c-dhcom-pdk2.dt.yaml: display-bl: 'power-supply' is a required property
arch/arm/boot/dts/stm32mp157c-dhcom-pdk2.dt.yaml: panel: 'power-supply' is a required property
Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Alexandre Torgue <alexandre.torgue@foss.st.com>
Cc: Patrice Chotard <patrice.chotard@foss.st.com>
Cc: Patrick Delaunay <patrick.delaunay@foss.st.com>
Cc: kernel@dh-electronics.com
Cc: linux-stm32@st-md-mailman.stormreply.com
To: linux-arm-kernel@lists.infradead.org
Signed-off-by: Alexandre Torgue <alexandre.torgue@foss.st.com>
| -rw-r--r-- | arch/arm/boot/dts/stm32mp15xx-dhcom-pdk2.dtsi | 17 | 
1 files changed, 17 insertions, 0 deletions
| diff --git a/arch/arm/boot/dts/stm32mp15xx-dhcom-pdk2.dtsi b/arch/arm/boot/dts/stm32mp15xx-dhcom-pdk2.dtsi index c9577ba2973d..fbf3826933e4 100644 --- a/arch/arm/boot/dts/stm32mp15xx-dhcom-pdk2.dtsi +++ b/arch/arm/boot/dts/stm32mp15xx-dhcom-pdk2.dtsi @@ -29,6 +29,7 @@  		brightness-levels = <0 16 22 30 40 55 75 102 138 188 255>;  		default-brightness-level = <8>;  		enable-gpios = <&gpioi 0 GPIO_ACTIVE_HIGH>; +		power-supply = <®_panel_bl>;  		status = "okay";  	}; @@ -110,6 +111,7 @@  	panel {  		compatible = "edt,etm0700g0edh6";  		backlight = <&display_bl>; +		power-supply = <®_panel_bl>;  		port {  			lcd_panel_in: endpoint { @@ -118,6 +120,21 @@  		};  	}; +	reg_panel_bl: regulator-panel-bl { +		compatible = "regulator-fixed"; +		regulator-name = "panel_backlight"; +		regulator-min-microvolt = <3300000>; +		regulator-max-microvolt = <3300000>; +		vin-supply = <®_panel_supply>; +	}; + +	reg_panel_supply: regulator-panel-supply { +		compatible = "regulator-fixed"; +		regulator-name = "panel_supply"; +		regulator-min-microvolt = <24000000>; +		regulator-max-microvolt = <24000000>; +	}; +  	sound {  		compatible = "audio-graph-card";  		routing = | 
