[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <67e61d59-ae53-c1ec-3325-1ea952a950e9@linaro.org>
Date: Mon, 17 Jul 2023 08:42:14 +0200
From: Krzysztof Kozlowski <krzysztof.kozlowski@...aro.org>
To: Jaewon Kim <jaewon02.kim@...sung.com>,
Rob Herring <robh+dt@...nel.org>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@...aro.org>,
Conor Dooley <conor+dt@...nel.org>,
Alim Akhtar <alim.akhtar@...sung.com>
Cc: devicetree@...r.kernel.org, linux-arm-kernel@...ts.infradead.org,
linux-samsung-soc@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH v3] arm64: dts: exynos: add pwm node for exynosautov9-sadk
On 17/07/2023 08:33, Jaewon Kim wrote:
> Add pwm node to support fan on exynosautov9-sadk board.
> PWM channel 3 of ExynosAutov9 is connected to fan for SoC cooling
> in SADK board.
>
> Signed-off-by: Jaewon Kim <jaewon02.kim@...sung.com>
> ---
> Changes in v3:
> - removed adding compatible to driver.
>
> Changes in v2:
> - add compatible string to driver.
> ---
> arch/arm64/boot/dts/exynos/exynosautov9-sadk.dts | 6 ++++++
> arch/arm64/boot/dts/exynos/exynosautov9.dtsi | 10 ++++++++++
> 2 files changed, 16 insertions(+)
>
> diff --git a/arch/arm64/boot/dts/exynos/exynosautov9-sadk.dts b/arch/arm64/boot/dts/exynos/exynosautov9-sadk.dts
> index 898c2fc345ed..e717bb1cad81 100644
> --- a/arch/arm64/boot/dts/exynos/exynosautov9-sadk.dts
> +++ b/arch/arm64/boot/dts/exynos/exynosautov9-sadk.dts
> @@ -50,6 +50,12 @@
> };
> };
>
> +&pwm {
> + pinctrl-names = "default";
> + pinctrl-0 = <&pwm_tout3>;
> + status = "okay";
> +};
> +
> &serial_0 {
> pinctrl-0 = <&uart0_bus_dual>;
> status = "okay";
> diff --git a/arch/arm64/boot/dts/exynos/exynosautov9.dtsi b/arch/arm64/boot/dts/exynos/exynosautov9.dtsi
> index d3c5cdeff47f..3b906f4db907 100644
> --- a/arch/arm64/boot/dts/exynos/exynosautov9.dtsi
> +++ b/arch/arm64/boot/dts/exynos/exynosautov9.dtsi
> @@ -1560,6 +1560,16 @@
> samsung,syscon-phandle = <&pmu_system_controller>;
> samsung,cluster-index = <1>;
> };
> +
> + pwm: pwm@...f0000 {
> + compatible = "samsung,exynosautov9-pwm",
> + "samsung,exynos4210-pwm";
It does not look like you tested the DTS against bindings. Please run
`make dtbs_check` (see
Documentation/devicetree/bindings/writing-schema.rst or
https://www.linaro.org/blog/tips-and-tricks-for-validating-devicetree-sources-with-the-devicetree-schema/
for instructions).
Full DT schema compliance is a requirement for Samsung (since some time).
Best regards,
Krzysztof
Powered by blists - more mailing lists