mbox series

[RESEND,v2,0/3] mfd: syscon: Add optional clock support needed on stm32

Message ID 1546855665-26218-1-git-send-email-fabrice.gasnier@st.com (mailing list archive)
Headers show
Series mfd: syscon: Add optional clock support needed on stm32 | expand

Message

Fabrice Gasnier Jan. 7, 2019, 10:07 a.m. UTC
STM32 syscfg registers are accessed using syscon. It needs syscfg clock
to be enabled while accessing registers.
This adds support for optional clock on syscon, and the relevant clock
in stm32mp157 device tree.

Changes in v2:
- move clocks to specific bindings using syscon as per Rob's comment

Fabrice Gasnier (3):
  dt-bindings: stm32: syscon: add clock support
  mfd: syscon: Add optional clock support
  ARM: dts: stm32: Add clock on stm32mp157c syscfg

 .../devicetree/bindings/arm/stm32/stm32-syscon.txt    |  2 ++
 arch/arm/boot/dts/stm32mp157c.dtsi                    |  1 +
 drivers/mfd/syscon.c                                  | 19 +++++++++++++++++++
 3 files changed, 22 insertions(+)