| From: |
| <gabriel.fernandez-AT-st.com> |
| To: |
| Rob Herring <robh+dt-AT-kernel.org>, Mark Rutland <mark.rutland-AT-arm.com>, Russell King <linux-AT-armlinux.org.uk>, Maxime Coquelin <mcoquelin.stm32-AT-gmail.com>, Alexandre Torgue <alexandre.torgue-AT-st.com>, Michael Turquette <mturquette-AT-baylibre.com>, Stephen Boyd <sboyd-AT-codeaurora.org>, Nicolas Pitre <nico-AT-linaro.org>, Arnd Bergmann <arnd-AT-arndb.de>, <daniel.thompson-AT-linaro.org>, <andrea.merello-AT-gmail.com>, <radoslaw.pietrzyk-AT-gmail.com>, Lee Jones <lee.jones-AT-linaro.org>, Vladimir Zapolskiy <vz-AT-mleia.com>, Sylvain Lemieux <slemieux.tyco-AT-gmail.com> |
| Subject: |
| [PATCH v8 0/3] clk: stm32h7: Add stm32h743 clock driver |
| Date: |
| Sat, 22 Jul 2017 14:01:07 +0200 |
| Message-ID: |
| <1500724870-9071-1-git-send-email-gabriel.fernandez@st.com> |
| Cc: |
| <devicetree-AT-vger.kernel.org>, <linux-arm-kernel-AT-lists.infradead.org>, <linux-kernel-AT-vger.kernel.org>, <linux-clk-AT-vger.kernel.org>, <gabriel.fernandez-AT-st.com>, <ludovic.barre-AT-st.com>, <olivier.bideau-AT-st.com>, <amelie.delaunay-AT-st.com>, <gabriel.fernandez.st-AT-gmail.com>, Arvind Yadav <arvind.yadav.cs-AT-gmail.com> |
From: Gabriel Fernandez <gabriel.fernandez@st.com>
v8:
- Documentation remarks from Valdimir:
- rename 'rcc' node name into 'reset-clock-controller'
- delete source paths into the device tree bindings documentation
- other cosmetic changes
v7:
- Documentation: put 'st,syscfg' phandle in optional section
- rename nxp gate op with lpc32xx_ prefix
- Suppress useless code to disable/enable backup domain write protection
(backup domaine write is disable at the init and never enabled)
v6:
- rename clk_gate_is_enabled() in nxp lpc32xx driver.
- add EXPORT_SYMBOL_GPL(clk_gate_is_enabled)
v5:
- return bool instead int for enable_power_domain_write_protection()
- add comment to explain use of CLK_OF_DECLARE_DRIVER()
- add comment to explain why we can't use read_poll_timeout()
- expose clk_gate_ops::is_enabled
- use of __clk_mux_determine_rate & clk_gate_is_enabled to avoid wrapper
function.
v4:
- rename lock into stm32rcc_lock
- don't use clk_readl()
- remove useless parentheses with GENMASK
- fix parents of timer_x clocks
- suppress pll configuration from DT
- fix kbuild warning
v3:
- fix compatible string "stm32h7-pll" into "st,stm32h7-pll"
- fix bad parent name for mco2 clock
- set CLK_SET_RATE_PARENT for ltdc clock
- set CLK_IGNORE_UNUSED for pll1
- disable power domain write protection on disable ops if needed
v2:
- rename compatible string "stm32,pll" into "stm32h7-pll"
- suppress "st,pllrge" property
- suppress "st, frac-status" property
- change management of "st,frac" property
0 : enable 0 pll integer mode
other values : enable pll in fractional mode (value is
the fractional factor)
Gabriel Fernandez (3):
clk: nxp: clk-lpc32xx: rename clk_gate_is_enabled()
clk: gate: expose clk_gate_ops::is_enabled
clk: stm32h7: Add stm32h743 clock driver
.../devicetree/bindings/clock/st,stm32h7-rcc.txt | 71 +
drivers/clk/Makefile | 1 +
drivers/clk/clk-gate.c | 3 +-
drivers/clk/clk-stm32h7.c | 1410 ++++++++++++++++++++
drivers/clk/nxp/clk-lpc32xx.c | 12 +-
include/dt-bindings/clock/stm32h7-clks.h | 165 +++
include/dt-bindings/mfd/stm32h7-rcc.h | 136 ++
include/linux/clk-provider.h | 1 +
8 files changed, 1792 insertions(+), 7 deletions(-)
create mode 100644 Documentation/devicetree/bindings/clock/st,stm32h7-rcc.txt
create mode 100644 drivers/clk/clk-stm32h7.c
create mode 100644 include/dt-bindings/clock/stm32h7-clks.h
create mode 100644 include/dt-bindings/mfd/stm32h7-rcc.h
--
1.9.1