Add support for MAX8997 Clock Driver
Get series with b4
b4 am 20161107172734.GA4865@kozik-lapVersions newest first
- v1 Latest2 of 6 patches 0 repliesNew
2 of 6 patches are in this archive. The cover letter announces 6.
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 3/6 | clk: Add driver for Maxim-8997 PMIC clocks | +0 | 0 replies | |
| 6/6 | ARM: dts: Extend the S3C RTC node with rtc_src clock | +0 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/6] Add support for MAX8997 Clock Driver
Quoted 14 lines · Pankaj Dubey
During recent test on Exynos4210 based Origen board, I observed RTC1 probe is failing giving following error message:
[ 2.195817] s3c-rtc 10070000.rtc: failed to find rtc source clock [ 2.200475] s3c-rtc: probe of 10070000.rtc failed with error -2 [ 2.206597] i2c /dev entries driverThis is mainly because S3C-RTC expects two clocks "rtc" and "
rtc_src". In case of Origen board this second clock is supplied by MAX8997 clock oscillator.
This patch series modified MAX8997 MFD driver for supporting regmap, and adds max8997-clk driver. Also it documentation where-ever required and extends RTC node inexynos4210-origen.dtsfor supporting both clocks.
Quoted 3 lines
After this patch series, RTC is getting probed properly on Origen board.
This patch series is tested for SMP boot on Origen board.
No need to re-invent the wheel:
https://lkml.org/lkml/2016/6/17/57
http://lists.infradead.org/pipermail/linux-arm-kernel/2016-June/437113.html
I won't be sending updates for these patches. Feel free to continue the work.
BR,
Krzysztof
Quoted 27 lines
Pankaj Dubey (6):
mfd: max8997: Initialize max8997 register map
dt-bindings: clk: max8997: Add DT binding documentation
clk: Add driver for Maxim-8997 PMIC clocks
ARM: dts: Add clock provider specific properties to max8997 node
mfd: max8997: Add max8997-clk name inmfd_cell
ARM: dts: Extend the S3C RTC node withrtc_srcclock.../devicetree/bindings/clock/maxim,max8997.txt | 44 +++++++++++++ .../bindings/regulator/max8997-regulator.txt | 3 + arch/arm/boot/dts/exynos4210-origen.dts | 6 +- arch/arm/boot/dts/exynos4210-trats.dts | 3 +- drivers/clk/Kconfig | 10 +++ drivers/clk/Makefile | 1 + drivers/clk/clk-max8997.c | 76 ++++++++++++++++++++++ drivers/mfd/max8997.c | 15 +++++ include/dt-bindings/clock/maxim,max8997.h | 23 +++++++ include/linux/mfd/max8997-private.h | 3 + 10 files changed, 182 insertions(+), 2 deletions(-) create mode 100644 Documentation/devicetree/bindings/clock/maxim,max8997.txt create mode 100644 drivers/clk/clk-max8997.c create mode 100644 include/dt-bindings/clock/maxim,max8997.hSignature · 1 line
2.7.4