diff mbox series

[2/6] arm64: dts: exynos: add ADC supply on Exynos7 Espresso

Message ID 20230120173116.341270-2-krzysztof.kozlowski@linaro.org
State New
Headers show
Series [1/6] arm64: dts: exynos: disable non-working GPU on Exynos7 Espresso | expand

Commit Message

Krzysztof Kozlowski Jan. 20, 2023, 5:31 p.m. UTC
ADC requires supply and it seems LDO3 (same as on Exynos5433 TM2 boards)
fits in voltage range of 1.8 V.  Use it to silence warning:

  exynos7-espresso.dtb: adc@13620000: 'vdd-supply' is a required property

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
---
 arch/arm64/boot/dts/exynos/exynos7-espresso.dts | 1 +
 1 file changed, 1 insertion(+)

Comments

Alim Akhtar Jan. 28, 2023, 6:53 a.m. UTC | #1
> -----Original Message-----
> From: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
> Sent: Friday, January 20, 2023 11:01 PM
> To: Rob Herring <robh+dt@kernel.org>; Krzysztof Kozlowski
> <krzysztof.kozlowski+dt@linaro.org>; Alim Akhtar
> <alim.akhtar@samsung.com>; devicetree@vger.kernel.org; linux-arm-
> kernel@lists.infradead.org; linux-samsung-soc@vger.kernel.org; linux-
> kernel@vger.kernel.org
> Cc: Sam Protsenko <semen.protsenko@linaro.org>; Chanho Park
> <chanho61.park@samsung.com>; Krzysztof Kozlowski
> <krzysztof.kozlowski@linaro.org>
> Subject: [PATCH 2/6] arm64: dts: exynos: add ADC supply on Exynos7
> Espresso
> 
> ADC requires supply and it seems LDO3 (same as on Exynos5433 TM2 boards)
> fits in voltage range of 1.8 V.  Use it to silence warning:
> 
Yes, it is LDO3 for exynos7_espresso board as well.

>   exynos7-espresso.dtb: adc@13620000: 'vdd-supply' is a required property
> 
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
> ---

Reviewed-by: Alim Akhtar <alim.akhtar@samsung.com>

>  arch/arm64/boot/dts/exynos/exynos7-espresso.dts | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/arch/arm64/boot/dts/exynos/exynos7-espresso.dts
> b/arch/arm64/boot/dts/exynos/exynos7-espresso.dts
> index 829657c9c7ca..abb3bd700d6f 100644
> --- a/arch/arm64/boot/dts/exynos/exynos7-espresso.dts
> +++ b/arch/arm64/boot/dts/exynos/exynos7-espresso.dts
> @@ -78,6 +78,7 @@ &watchdog {
>  };
> 
>  &adc {
> +	vdd-supply = <&ldo3_reg>;
>  	status = "okay";
>  };
> 
> --
> 2.34.1
diff mbox series

Patch

diff --git a/arch/arm64/boot/dts/exynos/exynos7-espresso.dts b/arch/arm64/boot/dts/exynos/exynos7-espresso.dts
index 829657c9c7ca..abb3bd700d6f 100644
--- a/arch/arm64/boot/dts/exynos/exynos7-espresso.dts
+++ b/arch/arm64/boot/dts/exynos/exynos7-espresso.dts
@@ -78,6 +78,7 @@  &watchdog {
 };
 
 &adc {
+	vdd-supply = <&ldo3_reg>;
 	status = "okay";
 };