RK809 and RK817 are power management IC chips for multimedia products.
Most of their functions and registers are same, including the rtc.
Signed-off-by: Tony Xie
Acked-by: Alexandre Belloni
---
drivers/rtc/Kconfig | 4 +--
drivers/rtc/rtc-rk808.c | 68
RK809 and RK817 are power management IC chips for multimedia products.
most of their functions and registers are same, including the clkout
funciton.
Signed-off-by: Tony Xie
Acked-by: Stephen Boyd
---
drivers/clk/Kconfig | 9 +++---
drivers/clk/clk-rk808.c | 64
Brown for parch 3
Tony Xie (6):
mfd: rk808: remove the id_table
mfd: rk808: Add RK817 and RK809 support
regulator: rk808: add RK809 and RK817 support.
dt-bindings: mfd: rk808: Add binding information for RK809 and RK817.
rtc: rk808: add RK809 and RK817 support.
clk: RK808: add RK809 and
Add device tree bindings documentation for Rockchip's RK809 & RK817 PMIC.
Signed-off-by: Tony Xie
Reviewed-by: Rob Herring
Acked-for-MFD-by: Lee Jones
---
.../devicetree/bindings/mfd/rk808.txt | 44 +++
1 file changed, 44 insertions(+)
diff --git a/Docu
Remove the id_table because it's not used.
Signed-off-by: Tony Xie
---
drivers/mfd/rk808.c | 9 -
1 file changed, 9 deletions(-)
diff --git a/drivers/mfd/rk808.c b/drivers/mfd/rk808.c
index 216fbf6adec9..94377782d208 100644
--- a/drivers/mfd/rk808.c
+++ b/drivers/mfd/rk808.c
@@ -5
have a some implementation also.
Signed-off-by: Tony Xie
Acked-by: Stephen Boyd
Acked-for-MFD-by: Lee Jones
---
drivers/mfd/Kconfig | 6 +-
drivers/mfd/rk808.c | 192 +-
include/linux/mfd/rk808.h | 172 ++
3
. The RK817 has one switch but The Rk809 has two.
The output voltages are configurable and are meant to supply power
to the main processor and other components.
Signed-off-by: Tony Xie
Acked-by: Lee Jones
Acked-by: Mark Brown
---
drivers/regulator/Kconfig | 4 +-
drivers
comments for v5.
Changes in V7:
modify some codes for patch 2 according to reveiw comments.
Changes in V8:
For helping me promote this work, Heiko send the V8
Changes in V9:
1.base on the V8
2.modify some codes according to reveiw comments for V8 from Mark Brown
Tony Xie (6):
mfd: rk808: remove
Add device tree bindings documentation for Rockchip's RK809 & RK817 PMIC.
Signed-off-by: Tony Xie
Reviewed-by: Rob Herring
Acked-for-MFD-by: Lee Jones
---
.../devicetree/bindings/mfd/rk808.txt | 44 +++
1 file changed, 44 insertions(+)
diff --git a/Docu
have a some implementation also.
Signed-off-by: Tony Xie
Acked-by: Stephen Boyd
Acked-for-MFD-by: Lee Jones
---
drivers/mfd/Kconfig | 6 +-
drivers/mfd/rk808.c | 192 +-
include/linux/mfd/rk808.h | 172 ++
3
. The RK817 has one switch but The Rk809 has two.
The output voltages are configurable and are meant to supply power
to the main processor and other components.
Signed-off-by: Tony Xie
Acked-by: Lee Jones
---
drivers/regulator/Kconfig | 4 +-
drivers/regulator/rk808
Remove the id_table because it's not used.
Signed-off-by: Tony Xie
---
drivers/mfd/rk808.c | 9 -
1 file changed, 9 deletions(-)
diff --git a/drivers/mfd/rk808.c b/drivers/mfd/rk808.c
index 216fbf6adec9..94377782d208 100644
--- a/drivers/mfd/rk808.c
+++ b/drivers/mfd/rk808.c
@@ -5
RK809 and RK817 are power management IC chips for multimedia products.
most of their functions and registers are same, including the clkout
funciton.
Signed-off-by: Tony Xie
Acked-by: Stephen Boyd
---
drivers/clk/Kconfig | 9 +++---
drivers/clk/clk-rk808.c | 64
RK809 and RK817 are power management IC chips for multimedia products.
Most of their functions and registers are same, including the rtc.
Signed-off-by: Tony Xie
Acked-by: Alexandre Belloni
---
drivers/rtc/Kconfig | 4 +--
drivers/rtc/rtc-rk808.c | 68
RK809 and RK817 are power management IC chips for multimedia products.
most of their functions and registers are same, including the clkout
funciton.
Signed-off-by: Tony Xie
Acked-by: Stephen Boyd
---
drivers/clk/Kconfig | 9 +++---
drivers/clk/clk-rk808.c | 64
have a some implementation also.
Signed-off-by: Tony Xie
Acked-by: Stephen Boyd
---
drivers/mfd/Kconfig | 6 +-
drivers/mfd/rk808.c | 192 +-
include/linux/mfd/rk808.h | 172 ++
3 files changed, 364 insertions
. The RK817 has one switch but The Rk809 has two.
The output voltages are configurable and are meant to supply power
to the main processor and other components.
Signed-off-by: Tony Xie
Acked-by: Lee Jones
---
drivers/regulator/Kconfig | 4 +-
drivers/regulator/rk808
Add device tree bindings documentation for Rockchip's RK809 & RK817 PMIC.
Signed-off-by: Tony Xie
Reviewed-by: Rob Herring
Acked-for-MFD-by: Lee Jones
---
.../devicetree/bindings/mfd/rk808.txt | 44 +++
1 file changed, 44 insertions(+)
diff --git a/Docu
comments for v5.
Changes in V7:
modify some codes for patch 2 according to reveiw comments.
Tony Xie (6):
mfd: rk808: remove the id_table
mfd: rk808: Add RK817 and RK809 support
regulator: rk808: add RK809 and RK817 support.
dt-bindings: mfd: rk808: Add binding information for RK809 and
Remove the id_table because it's not used.
Signed-off-by: Tony Xie
---
drivers/mfd/rk808.c | 9 -
1 file changed, 9 deletions(-)
diff --git a/drivers/mfd/rk808.c b/drivers/mfd/rk808.c
index 216fbf6adec9..94377782d208 100644
--- a/drivers/mfd/rk808.c
+++ b/drivers/mfd/rk808.c
@@ -5
RK809 and RK817 are power management IC chips for multimedia products.
Most of their functions and registers are same, including the rtc.
Signed-off-by: Tony Xie
Acked-by: Alexandre Belloni
---
drivers/rtc/Kconfig | 4 +--
drivers/rtc/rtc-rk808.c | 68
RK809 and RK817 are power management IC chips for multimedia products.
Most of their functions and registers are same, including the rtc.
Signed-off-by: Tony Xie
Acked-by: Alexandre Belloni
---
drivers/rtc/Kconfig | 4 +--
drivers/rtc/rtc-rk808.c | 68
RK809 and RK817 are power management IC chips for multimedia products.
most of their functions and registers are same, including the clkout
funciton.
Signed-off-by: Tony Xie
Acked-by: Stephen Boyd
---
drivers/clk/Kconfig | 9 ---
drivers/clk/clk-rk808.c | 64
.
Signed-off-by: Tony Xie
Acked-by: Stephen Boyd
---
drivers/mfd/Kconfig | 6 +-
drivers/mfd/rk808.c | 225 +++---
include/linux/mfd/rk808.h | 172 +++
3 files changed, 386 insertions(+), 17 deletions(-)
diff --git a
reveiw comments for v5.
Tony Xie (6):
regmap: add a new macro:REGMAP_IRQ_REG_LINE(_id, _reg_bits)
mfd: rk808: Add RK817 and RK809 support
regulator: rk808: add RK809 and RK817 support.
dt-bindings: mfd: rk808: Add binding information for RK809 and RK817.
rtc: rk808: add RK809 and RK817 support
Add device tree bindings documentation for Rockchip's RK809 & RK817 PMIC.
Signed-off-by: Tony Xie
Reviewed-by: Rob Herring
Acked-for-MFD-by: Lee Jones
---
Documentation/devicetree/bindings/mfd/rk808.txt | 44 +
1 file changed, 44 insertions(+)
dif
if there are lots of irqs for a device and the register addresses for these
irqs is continuous, we can use this macro to initialize regmap_irq value.
Signed-off-by: Tony Xie
---
include/linux/regmap.h | 6 ++
1 file changed, 6 insertions(+)
diff --git a/include/linux/regmap.h b/include
. The RK817 has one switch but The Rk809 has two.
The output voltages are configurable and are meant to supply power
to the main processor and other components.
Signed-off-by: Tony Xie
Acked-by: Lee Jones
---
drivers/regulator/Kconfig | 4 +-
drivers/regulator/rk808
RK809 and RK817 are power management IC chips for multimedia products.
most of their functions and registers are same, including the clkout
funciton.
Signed-off-by: Tony Xie
Acked-by: Stephen Boyd
---
drivers/clk/Kconfig | 9 ---
drivers/clk/clk-rk808.c | 64
. The RK817 has one switch but The Rk809 has two.
The output voltages are configurable and are meant to supply power
to the main processor and other components.
Signed-off-by: Tony Xie
---
drivers/regulator/Kconfig | 4 +-
drivers/regulator/rk808-regulator.c | 657
and regulators functionality.
Signed-off-by: Tony Xie
Acked-by: Stephen Boyd
---
drivers/mfd/Kconfig | 6 +-
drivers/mfd/rk808.c | 225 +++---
include/linux/mfd/rk808.h | 172 +++
include/linux/regmap.h
RK809 and RK817 are power management IC chips for multimedia products.
Most of their functions and registers are same, including the rtc.
Signed-off-by: Tony Xie
Acked-by: Alexandre Belloni
---
drivers/rtc/Kconfig | 4 +--
drivers/rtc/rtc-rk808.c | 68
for patch 1 according to reveiw comments for v3.
1) remove the pm_power_off_prepare() and replace with shutdown call-back from
syscore
2) move the macro REGMAP_IRQ_M into the regmap.h and rename it REGMAP_IRQ_LINE
3) make some dev_warn() log clear
Tony Xie (5):
mfd: rk808: Add RK817 and RK809
Add device tree bindings documentation for Rockchip's RK809 & RK817 PMIC.
Signed-off-by: Tony Xie
Reviewed-by: Rob Herring
---
Documentation/devicetree/bindings/mfd/rk808.txt | 44 +
1 file changed, 44 insertions(+)
diff --git a/Documentation/devicetree/bin
RK809 and RK817 are power management IC chips for multimedia products.
most of their functions and registers are same, including the clkout
funciton.
Signed-off-by: Tony Xie
---
drivers/clk/Kconfig | 9 ---
drivers/clk/clk-rk808.c | 64
Add device tree bindings documentation for Rockchip's RK809 & RK817 PMIC.
Signed-off-by: Tony Xie
Reviewed-by: Rob Herring
---
Documentation/devicetree/bindings/mfd/rk808.txt | 56 +
1 file changed, 56 insertions(+)
diff --git a/Documentation/devicetree/bin
dev_ for printing in patch 2
3. modify switch1 and switch2 configs in patch 2
4. explain gpio information for rk809 and rk817 in patch 4
Changes in V4:
1. modify some codes for patch 2 and patch 5 according to comments
2. add reviewer mail lists for patch 3 and 4
Tony Xie (5):
mfd: rk808: Add
and regulators functionality.
Signed-off-by: Tony Xie
---
drivers/mfd/Kconfig | 6 +-
drivers/mfd/rk808.c | 218 +-
include/linux/mfd/rk808.h | 172
kernel/reboot.c | 1 +
4 files changed
RK809 and RK817 are power management IC chips for multimedia products.
Most of their functions and registers are same, including the rtc.
Signed-off-by: Tony Xie
Acked-by: Alexandre Belloni
---
drivers/rtc/Kconfig | 4 +--
drivers/rtc/rtc-rk808.c | 68
. The RK817 has one switch but The Rk809 has two.
The output voltages are configurable and are meant to supply power
to the main processor and other components.
Signed-off-by: Tony Xie
---
drivers/regulator/Kconfig | 4 +-
drivers/regulator/rk808-regulator.c | 657
Tony Xie (1):
arm64: dts: rockchip: Add idle-states to device tree for rk3399
arch/arm64/boot/dts/rockchip/rk3399.dtsi | 28
1 file changed, 28 insertions(+)
--
1.9.1
Signed-off-by: Tony Xie
---
arch/arm64/boot/dts/rockchip/rk3399.dtsi | 28
1 file changed, 28 insertions(+)
diff --git a/arch/arm64/boot/dts/rockchip/rk3399.dtsi
b/arch/arm64/boot/dts/rockchip/rk3399.dtsi
index e0040b6..49fb57f 100644
--- a/arch/arm64/boot/dts
RK809 and RK817 are power management IC chips for multimedia products.
most of their functions and registers are same, including the clkout
funciton.
Signed-off-by: Tony Xie
---
drivers/clk/Kconfig | 9 ---
drivers/clk/clk-rk808.c | 62
RK809 and RK817 are power management IC chips for multimedia products.
Most of their functions and registers are same, including the rtc.
Signed-off-by: Tony Xie
---
drivers/rtc/Kconfig | 4 +--
drivers/rtc/rtc-rk808.c | 68 +++--
2 files changed
Add device tree bindings documentation for Rockchip's RK809 & RK817 PMIC.
Signed-off-by: Tony Xie
---
Documentation/devicetree/bindings/mfd/rk808.txt | 56 +
1 file changed, 56 insertions(+)
diff --git a/Documentation/devicetree/bindings/mfd/rk808.txt
b/Docu
RK809 and RK817 are power management IC chips for multimedia products.
Most of their functions and registers are same, including the rtc.
Signed-off-by: Tony Xie
---
drivers/rtc/Kconfig | 4 +--
drivers/rtc/rtc-rk808.c | 68 +++--
2 files changed
RK817 has one switch but The Rk809 has two.
The output voltages are configurable and are meant to supply power
to the main processor and other components.
Signed-off-by: Tony Xie
---
drivers/regulator/Kconfig | 4 +-
drivers/regulator/rk808-regulator.c | 639
and regulators functionality.
Signed-off-by: Tony Xie
---
drivers/mfd/Kconfig | 6 +-
drivers/mfd/rk808.c | 218 +-
include/linux/mfd/rk808.h | 172
kernel/reboot.c | 1 +
4 files changed
dev_ for printing in patch 2
3. modify switch1 and switch2 configs in patch 2
4. explain gpio information for rk809 and rk817 in patch 4
Tony Xie (5):
mfd: rk808: Add RK817 and RK809 support
regulator: rk808: add RK809 and RK817 support.
dt-bindings: mfd: rk808: Add binding information for RK809
RK809 and RK817 are power management IC chips for multimedia products.
most of their functions and registers are same, including the clkout
funciton.
Signed-off-by: Tony Xie
---
drivers/clk/Kconfig | 6 ++---
drivers/clk/clk-rk808.c | 62 -
2
and regulators functionality.
Signed-off-by: Tony Xie
---
drivers/mfd/Kconfig | 6 +-
drivers/mfd/rk808.c | 218 +-
include/linux/mfd/rk808.h | 172
kernel/reboot.c | 1 +
4 files changed
RK817 has one switch but The Rk809 has two.
The output voltages are configurable and are meant to supply power
to the main processor and other components.
Signed-off-by: Tony Xie
---
drivers/regulator/Kconfig | 4 +-
drivers/regulator/rk808-regulator.c | 633
RK809 and RK817 are power management IC chips for multimedia products.
Most of their functions and registers are same, including the rtc.
Signed-off-by: Tony Xie
---
drivers/rtc/Kconfig | 4 +--
drivers/rtc/rtc-rk808.c | 68 +++--
2 files changed
Add device tree bindings documentation for Rockchip's RK809 & RK817 PMIC.
Signed-off-by: Tony Xie
---
Documentation/devicetree/bindings/mfd/rk808.txt | 55 +
1 file changed, 55 insertions(+)
diff --git a/Documentation/devicetree/bindings/mfd/rk808.txt
b/Docu
RK817 has one switch but The Rk809 has two.
The output voltages are configurable and are meant to supply power
to the main processor and other components.
Signed-off-by: Tony Xie
---
drivers/regulator/Kconfig | 4 +-
drivers/regulator/rk808-regulator.c | 633
Add device tree bindings documentation for Rockchip's RK809 & RK817 PMIC.
Signed-off-by: Tony Xie
---
Documentation/devicetree/bindings/mfd/rk808.txt | 55 +
1 file changed, 55 insertions(+)
diff --git a/Documentation/devicetree/bindings/mfd/rk808.txt
b/Docu
RK817 has one switch but The Rk809 has two.
The output voltages are configurable and are meant to supply power
to the main processor and other components.
Signed-off-by: Tony Xie
---
drivers/regulator/Kconfig | 4 +-
drivers/regulator/rk808-regulator.c | 633
and regulators functionality.
Signed-off-by: Tony Xie
---
drivers/mfd/Kconfig | 6 +-
drivers/mfd/rk808.c | 218 +-
include/linux/mfd/rk808.h | 172
kernel/reboot.c | 1 +
4 files changed
RK809 and RK817 are power management IC chips for multimedia products.
most of their functions and registers are same, including the clkout
funciton.
Signed-off-by: Tony Xie
---
drivers/clk/Kconfig | 6 ++---
drivers/clk/clk-rk808.c | 62 -
2
RK817 has one switch but The Rk809 has two.
The output voltages are configurable and are meant to supply power
to the main processor and other components.
Signed-off-by: Tony Xie
---
drivers/regulator/Kconfig | 4 +-
drivers/regulator/rk808-regulator.c | 633
Add device tree bindings documentation for Rockchip's RK809 & RK817 PMIC.
Signed-off-by: Tony Xie
---
Documentation/devicetree/bindings/mfd/rk808.txt | 55 +
1 file changed, 55 insertions(+)
diff --git a/Documentation/devicetree/bindings/mfd/rk808.txt
b/Docu
and regulators functionality.
Signed-off-by: Tony Xie
---
drivers/mfd/Kconfig | 6 +-
drivers/mfd/rk808.c | 216 +-
include/linux/mfd/rk808.h | 172
3 files changed, 389 insertions(+), 5 deletions
RK809 and RK817 are power management IC chips for multimedia products.
Most of their functions and registers are same, including the rtc.
Signed-off-by: Tony Xie
---
drivers/rtc/Kconfig | 4 +--
drivers/rtc/rtc-rk808.c | 68 +++--
2 files changed
63 matches
Mail list logo