Skip to content

Commit 9cf5cc9

Browse files
Cyrille PitchenCodrin Ciubotariu
authored andcommitted
ARM: dts: at91: sama5d2: Remove unnecessary clocks from I2S nodes
Some clocks are no longer needed by the I2S driver, so we remove them from our nodes. Also, we statically make gclk the parent of i2smuxck clock. Signed-off-by: Codrin Ciubotariu <codrin.ciubotariu@microchip.com>
1 parent a8d9cf9 commit 9cf5cc9

1 file changed

Lines changed: 8 additions & 4 deletions

File tree

arch/arm/boot/dts/sama5d2.dtsi

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1332,8 +1332,10 @@
13321332
(AT91_XDMAC_DT_MEM_IF(0) | AT91_XDMAC_DT_PER_IF(1) |
13331333
AT91_XDMAC_DT_PERID(32))>;
13341334
dma-names = "tx", "rx";
1335-
clocks = <&i2s0_clk>, <&i2s0_gclk>, <&audio_pll_pmc>;
1336-
clock-names = "pclk", "gclk", "aclk";
1335+
clocks = <&i2s0_clk>, <&i2s0_gclk>;
1336+
clock-names = "pclk", "gclk";
1337+
assigned-clocks = <&i2s0muxck>;
1338+
assigned-clock-parents = <&i2s0_gclk>;
13371339
status = "disabled";
13381340
};
13391341

@@ -1541,8 +1543,10 @@
15411543
(AT91_XDMAC_DT_MEM_IF(0) | AT91_XDMAC_DT_PER_IF(1) |
15421544
AT91_XDMAC_DT_PERID(34))>;
15431545
dma-names = "tx", "rx";
1544-
clocks = <&i2s1_clk>, <&i2s1_gclk>, <&audio_pll_pmc>;
1545-
clock-names = "pclk", "gclk", "aclk";
1546+
clocks = <&i2s1_clk>, <&i2s1_gclk>;
1547+
clock-names = "pclk", "gclk";
1548+
assigned-clocks = <&i2s1muxck>;
1549+
assigned-parrents = <&i2s1_gclk>;
15461550
status = "disabled";
15471551
};
15481552

0 commit comments

Comments
 (0)