Skip to content

Commit a30695b

Browse files
ZhaoxiangJinaescolar
authored andcommitted
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 <[email protected]>
1 parent 4fa58d3 commit a30695b

File tree

6 files changed

+13
-4
lines changed

6 files changed

+13
-4
lines changed

dts/arm/nxp/nxp_lpc55S2x_common.dtsi

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
/*
22
* Copyright (c) 2020 Lemonbeat GmbH
3+
* Copyright 2024 NXP
34
*
45
* SPDX-License-Identifier: Apache-2.0
56
*/
@@ -280,6 +281,7 @@
280281
offset-value-a = <10>;
281282
offset-value-b = <10>;
282283
#io-channel-cells = <1>;
284+
clocks = <&syscon MCUX_LPADC1_CLK>;
283285
};
284286

285287
usbhs: usbhs@144000 {

dts/arm/nxp/nxp_lpc55S3x_common.dtsi

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2022 NXP
2+
* Copyright 2022, 2024 NXP
33
*
44
* SPDX-License-Identifier: Apache-2.0
55
*/
@@ -282,6 +282,7 @@
282282
dmas = <&dma0 21>, <&dma0 22>;
283283
dma-names = "adc0-dma0", "adc0-dma1";
284284
nxp,reference-supply = <&vref0>;
285+
clocks = <&syscon MCUX_LPADC1_CLK>;
285286
};
286287

287288
dac0: dac@b2000 {

dts/arm/nxp/nxp_lpc55S6x_common.dtsi

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
/*
22
* Copyright (c) 2020, Linaro Ltd.
3+
* Copyright 2024 NXP
34
*
45
* SPDX-License-Identifier: Apache-2.0
56
*/
@@ -331,6 +332,7 @@
331332
offset-value-a = <10>;
332333
offset-value-b = <10>;
333334
#io-channel-cells = <1>;
335+
clocks = <&syscon MCUX_LPADC1_CLK>;
334336
};
335337

336338
usbfs: usbfs@84000 {

dts/arm/nxp/nxp_rt11xx.dtsi

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2021,2023 NXP
2+
* Copyright 2021,2023-2024 NXP
33
*
44
* SPDX-License-Identifier: Apache-2.0
55
*/
@@ -867,6 +867,7 @@
867867
offset-value-a = <10>;
868868
offset-value-b = <10>;
869869
#io-channel-cells = <1>;
870+
clocks = <&ccm IMX_CCM_LPADC1_CLK 0 0>;
870871
};
871872

872873
lpadc1: lpadc@40054000 {
@@ -882,6 +883,7 @@
882883
offset-value-a = <10>;
883884
offset-value-b = <10>;
884885
#io-channel-cells = <1>;
886+
clocks = <&ccm IMX_CCM_LPADC2_CLK 0 0>;
885887
};
886888

887889
acmp1: cmp@401a4000 {

dts/arm/nxp/nxp_rt5xx_common.dtsi

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2022-2023, NXP
2+
* Copyright 2022-2024 NXP
33
*
44
* SPDX-License-Identifier: Apache-2.0
55
*/
@@ -542,6 +542,7 @@
542542
offset-value-a = <10>;
543543
offset-value-b = <10>;
544544
#io-channel-cells = <1>;
545+
clocks = <&clkctl1 MCUX_LPADC1_CLK>;
545546
};
546547

547548
smartdma: dma@27020 {

dts/arm/nxp/nxp_rt6xx_common.dtsi

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2020, NXP
2+
* Copyright 2020, 2024 NXP
33
*
44
* SPDX-License-Identifier: Apache-2.0
55
*/
@@ -387,6 +387,7 @@
387387
offset-value-a = <10>;
388388
offset-value-b = <10>;
389389
#io-channel-cells = <1>;
390+
clocks = <&clkctl1 MCUX_LPADC1_CLK>;
390391
};
391392

392393
ctimer0: ctimer@28000 {

0 commit comments

Comments
 (0)