clk: keystone: Add new driver to handle ehrpwm tbclk
Status from this message: Applied to clk-next
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v4 Latest2 patches 3 repliesApplied
- v32 patches 2 repliesSuperseded
- v22 patches 4 repliesSuperseded
Earlier versions · 1
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v1 | 2 patches | 3 replies | Superseded |
Changes in v4 from the cover letter
Fix up the title of YAML bindings file to drop reference to driver
Patches in v4 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | dt-bindings: clock: Add binding documentation for TI EHRPWM TBCLKDocumentation/ | +35 | 2 replies | |
| 2/2 | clk: keystone: Add new driver to handle syscon based clocksdrivers/ drivers/ drivers/ | +181 | 1 reply |
Reviews trailers per patch
1 of 2 patches has a Reviewed-by or Acked-by.
| Patch | Rob Herring |
|---|---|
| 1/2 | R-b |
| 2/2 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v4 0/2] clk: keystone: Add new driver to handle ehrpwm tbclk
On TI's AM654 and J721e SoCs, certain clocks can be gated/ungated by setting a single bit in SoC's System Control registers. Sometime more than one clock control can be in the same register. But these registers might also have bits to control other SoC functionalities.
For example, Time Base clock(TBclk) enable bits for various EPWM IPs are all in EPWM_CTRL Syscon registers on K2G SoC.
This series adds a new clk driver to support controlling tbclk. Registers which control clocks will be grouped into a syscon DT node, thus enabling sharing of register across clk drivers and other drivers.
v4:
Fix up the title of YAML bindings file to drop reference to driver
v3:
Register syscon node as clk provider
v2:
Simplify driver to have only one clock node per group of syscon controller registers instead of one per clock instance.
v1: https://patchwork.kernel.org/cover/10848783/
Vignesh Raghavendra (2):
dt-bindings: clock: Add binding documentation for TI EHRPWM TBCLK
clk: keystone: Add new driver to handle syscon based clocks
.../bindings/clock/ti,am654-ehrpwm-tbclk.yaml | 35 ++++ drivers/clk/keystone/Kconfig | 8 + drivers/clk/keystone/Makefile | 1 + drivers/clk/keystone/syscon-clk.c | 172 ++++++++++++++++++ 4 files changed, 216 insertions(+) create mode 100644 Documentation/devicetree/bindings/clock/ti,am654-ehrpwm-tbclk.yaml create mode 100644 drivers/clk/keystone/syscon-clk.c
Signature · 1 line
2.25.1