[PATCH v2 0/5] Add rockchip RK808 pmic driver

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




This is the initial version of the RK808 PMIC. This is a power management IC
for multimedia products.

It provides regulators that are able to supply power to processor cores
and other components. The chip provides other modules including RTC, Clockout

Changes in v2:
Adviced by javier.martinez
- separated from rtc-rk808.c
Adviced by Mark Browm:
- change of_find_node_by_name to find_child_by_name
- use RK808_NUM_REGULATORS as the name of the constant
- create a pdata when missing platform data
- use the rk808_reg name to supply_regulator name
- replace regulator_register with devm_regulator_register
- some other problem with coding style
Adviced by javier.martinez
- Add a separate clock driver, rather than in RTC driver
Adviced by Mark Browm:
- use defines for register setting value
- remove rtc alarm disable in shutdown
- remove while(1) in shutdown
- remove read 0x2f in probe

Chris Zhong (5):
  MFD: Add rk808 device tree bindings documentation
  MFD: RK808: Add new mfd driver for RK808
  RTC: RK808: add RTC driver for RK808
  Regulator: RK808: Add regulator driver for RK808
  Clk: RK808: Add clkout driver for RK808

 Documentation/devicetree/bindings/mfd/rk808.txt |  128 +++++++
 drivers/clk/Kconfig                             |    9 +
 drivers/clk/Makefile                            |    1 +
 drivers/clk/clk-rk808.c                         |  146 +++++++
 drivers/mfd/Kconfig                             |   13 +
 drivers/mfd/Makefile                            |    1 +
 drivers/mfd/rk808.c                             |  297 +++++++++++++++
 drivers/regulator/Kconfig                       |   10 +
 drivers/regulator/Makefile                      |    1 +
 drivers/regulator/rk808-regulator.c             |  410 ++++++++++++++++++++
 drivers/rtc/Kconfig                             |   11 +
 drivers/rtc/Makefile                            |    1 +
 drivers/rtc/rtc-rk808.c                         |  462 +++++++++++++++++++++++
 include/linux/mfd/rk808.h                       |  219 +++++++++++
 14 files changed, 1709 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/mfd/rk808.txt
 create mode 100644 drivers/clk/clk-rk808.c
 create mode 100644 drivers/mfd/rk808.c
 create mode 100644 drivers/regulator/rk808-regulator.c
 create mode 100644 drivers/rtc/rtc-rk808.c
 create mode 100644 include/linux/mfd/rk808.h

-- 
1.7.9.5


--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]
  Powered by Linux