From a30695b711718da55c9c099e35372537ae04e59a Mon Sep 17 00:00:00 2001 From: Zhaoxiang Jin Date: Thu, 21 Mar 2024 10:14:14 +0800 Subject: [PATCH] dts: nxp: Add LPADC clocks properities to SoC dtsi Add LPADC clock properties to SoC dtsi on adc/lpadc node Signed-off-by: Zhaoxiang Jin --- dts/arm/nxp/nxp_lpc55S2x_common.dtsi | 2 ++ dts/arm/nxp/nxp_lpc55S3x_common.dtsi | 3 ++- dts/arm/nxp/nxp_lpc55S6x_common.dtsi | 2 ++ dts/arm/nxp/nxp_rt11xx.dtsi | 4 +++- dts/arm/nxp/nxp_rt5xx_common.dtsi | 3 ++- dts/arm/nxp/nxp_rt6xx_common.dtsi | 3 ++- 6 files changed, 13 insertions(+), 4 deletions(-) diff --git a/dts/arm/nxp/nxp_lpc55S2x_common.dtsi b/dts/arm/nxp/nxp_lpc55S2x_common.dtsi index 6ec0240b2f..5a5e435083 100644 --- a/dts/arm/nxp/nxp_lpc55S2x_common.dtsi +++ b/dts/arm/nxp/nxp_lpc55S2x_common.dtsi @@ -1,5 +1,6 @@ /* * Copyright (c) 2020 Lemonbeat GmbH + * Copyright 2024 NXP * * SPDX-License-Identifier: Apache-2.0 */ @@ -280,6 +281,7 @@ offset-value-a = <10>; offset-value-b = <10>; #io-channel-cells = <1>; + clocks = <&syscon MCUX_LPADC1_CLK>; }; usbhs: usbhs@144000 { diff --git a/dts/arm/nxp/nxp_lpc55S3x_common.dtsi b/dts/arm/nxp/nxp_lpc55S3x_common.dtsi index 328633f516..311ad16e3a 100644 --- a/dts/arm/nxp/nxp_lpc55S3x_common.dtsi +++ b/dts/arm/nxp/nxp_lpc55S3x_common.dtsi @@ -1,5 +1,5 @@ /* - * Copyright 2022 NXP + * Copyright 2022, 2024 NXP * * SPDX-License-Identifier: Apache-2.0 */ @@ -282,6 +282,7 @@ dmas = <&dma0 21>, <&dma0 22>; dma-names = "adc0-dma0", "adc0-dma1"; nxp,reference-supply = <&vref0>; + clocks = <&syscon MCUX_LPADC1_CLK>; }; dac0: dac@b2000 { diff --git a/dts/arm/nxp/nxp_lpc55S6x_common.dtsi b/dts/arm/nxp/nxp_lpc55S6x_common.dtsi index 107855d88d..3178e05a54 100644 --- a/dts/arm/nxp/nxp_lpc55S6x_common.dtsi +++ b/dts/arm/nxp/nxp_lpc55S6x_common.dtsi @@ -1,5 +1,6 @@ /* * Copyright (c) 2020, Linaro Ltd. + * Copyright 2024 NXP * * SPDX-License-Identifier: Apache-2.0 */ @@ -331,6 +332,7 @@ offset-value-a = <10>; offset-value-b = <10>; #io-channel-cells = <1>; + clocks = <&syscon MCUX_LPADC1_CLK>; }; usbfs: usbfs@84000 { diff --git a/dts/arm/nxp/nxp_rt11xx.dtsi b/dts/arm/nxp/nxp_rt11xx.dtsi index 92f95a194f..d36ef4eae4 100644 --- a/dts/arm/nxp/nxp_rt11xx.dtsi +++ b/dts/arm/nxp/nxp_rt11xx.dtsi @@ -1,5 +1,5 @@ /* - * Copyright 2021,2023 NXP + * Copyright 2021,2023-2024 NXP * * SPDX-License-Identifier: Apache-2.0 */ @@ -867,6 +867,7 @@ offset-value-a = <10>; offset-value-b = <10>; #io-channel-cells = <1>; + clocks = <&ccm IMX_CCM_LPADC1_CLK 0 0>; }; lpadc1: lpadc@40054000 { @@ -882,6 +883,7 @@ offset-value-a = <10>; offset-value-b = <10>; #io-channel-cells = <1>; + clocks = <&ccm IMX_CCM_LPADC2_CLK 0 0>; }; acmp1: cmp@401a4000 { diff --git a/dts/arm/nxp/nxp_rt5xx_common.dtsi b/dts/arm/nxp/nxp_rt5xx_common.dtsi index 867d30cc8e..fc6714b951 100644 --- a/dts/arm/nxp/nxp_rt5xx_common.dtsi +++ b/dts/arm/nxp/nxp_rt5xx_common.dtsi @@ -1,5 +1,5 @@ /* - * Copyright 2022-2023, NXP + * Copyright 2022-2024 NXP * * SPDX-License-Identifier: Apache-2.0 */ @@ -542,6 +542,7 @@ offset-value-a = <10>; offset-value-b = <10>; #io-channel-cells = <1>; + clocks = <&clkctl1 MCUX_LPADC1_CLK>; }; smartdma: dma@27020 { diff --git a/dts/arm/nxp/nxp_rt6xx_common.dtsi b/dts/arm/nxp/nxp_rt6xx_common.dtsi index 170622b068..800d61bd13 100644 --- a/dts/arm/nxp/nxp_rt6xx_common.dtsi +++ b/dts/arm/nxp/nxp_rt6xx_common.dtsi @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020, NXP + * Copyright 2020, 2024 NXP * * SPDX-License-Identifier: Apache-2.0 */ @@ -387,6 +387,7 @@ offset-value-a = <10>; offset-value-b = <10>; #io-channel-cells = <1>; + clocks = <&clkctl1 MCUX_LPADC1_CLK>; }; ctimer0: ctimer@28000 {