diff mbox series

arm64: dts: exynos: use 8-bit for SPI IR LED duty-cycle in TM2

Message ID 20221204104242.117558-1-krzysztof.kozlowski@linaro.org (mailing list archive)
State Accepted
Headers show
Series arm64: dts: exynos: use 8-bit for SPI IR LED duty-cycle in TM2 | expand

Commit Message

Krzysztof Kozlowski Dec. 4, 2022, 10:42 a.m. UTC
The 'duty-cycle' of SPI IR LED property is u8:

  exynos/exynos5433-tm2e.dtb: irled@0: duty-cycle:0: [0, 0, 0, 60] is too long

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
---
 arch/arm64/boot/dts/exynos/exynos5433-tm2-common.dtsi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Krzysztof Kozlowski Dec. 26, 2022, 3:17 p.m. UTC | #1
On Sun, 4 Dec 2022 11:42:42 +0100, Krzysztof Kozlowski wrote:
> The 'duty-cycle' of SPI IR LED property is u8:
> 
>   exynos/exynos5433-tm2e.dtb: irled@0: duty-cycle:0: [0, 0, 0, 60] is too long
> 
> 

Applied, thanks!

[1/1] arm64: dts: exynos: use 8-bit for SPI IR LED duty-cycle in TM2
      https://git.kernel.org/krzk/linux/c/254b8f4b219211e1e2fb6c91edd96aa583c78720

Best regards,
diff mbox series

Patch

diff --git a/arch/arm64/boot/dts/exynos/exynos5433-tm2-common.dtsi b/arch/arm64/boot/dts/exynos/exynos5433-tm2-common.dtsi
index bde6a6bb8dfc..5b002a85b792 100644
--- a/arch/arm64/boot/dts/exynos/exynos5433-tm2-common.dtsi
+++ b/arch/arm64/boot/dts/exynos/exynos5433-tm2-common.dtsi
@@ -1315,7 +1315,7 @@  irled@0 {
 		reg = <0x0>;
 		spi-max-frequency = <5000000>;
 		power-supply = <&irda_regulator>;
-		duty-cycle = <60>;
+		duty-cycle = /bits/ 8 <60>;
 		led-active-low;
 
 		controller-data {