Skip to content

Commit

Permalink
ARM: dts: stm32: make the DSI clock usable by the clock driver
Browse files Browse the repository at this point in the history
As described in [1], the "clocks" property contains "a phandle to the
clock device node, an index selecting between gated clocks (0) and other
clocks (1), and an index specifying the clock to use." The current version
of the clock driver, unlike the kernel, is currently able to properly
handle nodes with "clocks" properties with an index set to 0.

This patch is preparatory for future developments that require the use
of the DSI clock.

[1] Documentation/devicetree/bindings/clock/st,stm32-rcc.txt
Signed-off-by: Dario Binacchi <[email protected]>
Reviewed-by: Patrice Chotard <[email protected]>
  • Loading branch information
passgat authored and Patrice Chotard committed Dec 15, 2023
1 parent 6212e5b commit 451ae8d
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions arch/arm/dts/stm32f469-disco-u-boot.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,11 @@
bootph-all;
};

&dsi {
clocks = <&rcc 0 STM32F4_APB2_CLOCK(DSI)>,
<&clk_hse>;
};

&gpioa {
bootph-all;
};
Expand Down

0 comments on commit 451ae8d

Please sign in to comment.