Signed-off-by: Joseph Chen
Acked-for-MFD-by: Lee Jones
---
drivers/mfd/rk808.c | 17 +
1 file changed, 17 insertions(+)
diff --git a/drivers/mfd/rk808.c b/drivers/mfd/rk808.c
index c803d2d..216fbf6 100644
--- a/drivers/mfd/rk808.c
+++ b/drivers/mfd/rk808.c
@@ -94,6 +94,19
Signed-off-by: Joseph Chen
Acked-by: Linus Walleij
---
.../devicetree/bindings/pinctrl/pinctrl-rk805.txt | 63 ++
1 file changed, 63 insertions(+)
create mode 100644 Documentation/devicetree/bindings/pinctrl/pinctrl-rk805.txt
diff --git a/Documentation/devicetree/bindings
453,5 +453,6 @@ struct rk808 {
longvariant;
const struct regmap_config *regmap_cfg;
const struct regmap_irq_chip*regmap_irq_chip;
+ struct notifier_block *nb;
};
#endif /* __LINUX_REGULATOR_RK808_H */
--
Best Regards
陈健洪 (Joseph Chen)
E-mail:che...@rock-chips.com
福州瑞芯微电子股份有限公司
Fuzhou Rockchip Electronics Co.Ltd
福建省福州市铜盘路软件大道89号软件园A区21号楼 (350003)
No. 21 Building, A District, No.89,software Boulevard Fuzhou,Fujian,PRC
TEL:0591-83991906/07-8573
desired.
My problem with the CRU reset is a strange behaviour in the ROM code.
During a reset from MMC1 (eMMC), the ROM tries to load the SPL from
MMC0 (SD).
Daniel
On 03/13/2018 04:32 AM, Joseph Chen wrote:
Hi, Daniel:
On Rockchip platforms, we always use CRU to restart system.
From
onfig: Name RK805 in Kconfig for RTC_DRV_RK808
mfd: dt-bindings: Add RK805 device tree bindings document
Joseph Chen (5):
pinctrl: Add pinctrl driver for the RK805 PMIC
Input: Add power key driver for Rockchip RK805 PMIC
mfd: rk808: Add RK805 pinctrl support
mfd: rk808: Add RK805 power k
From: Elaine Zhang
The RK805 chip is a Power Management IC (PMIC) for multimedia and handheld
devices. It contains the following components:
- Regulators
- RTC
- Clocking
Both RK808 and RK805 chips are using a similar register map,
so we can reuse the RTC and Clocking functionality.
From: Elaine Zhang
the rk8xx chip id is:
((MSB << 8) | LSB) & 0xfff0
Signed-off-by: Elaine Zhang
---
drivers/mfd/rk808.c | 21 +++--
include/linux/mfd/rk808.h | 1 +
2 files changed, 16 insertions(+), 6 deletions(-)
diff --git a/drivers/mfd/rk808.c b/drivers/mfd/rk808.c
From: Elaine Zhang
Signed-off-by: Elaine Zhang
---
include/linux/mfd/rk808.h | 120 ++
1 file changed, 120 insertions(+)
diff --git a/include/linux/mfd/rk808.h b/include/linux/mfd/rk808.h
index 54feb14..d315659 100644
--- a/include/linux/mfd/rk808.h
From: Elaine Zhang
Add support for the rk805 regulator. The regulator module consists
of 4 DCDCs, 3 LDOs.
The output voltages are configurable and are meant to supply power
to the main processor and other components.
Signed-off-by: Elaine Zhang
Acked-by: Mark Brown
---
drivers/regulator/Kcon
From: Elaine Zhang
The RK808 and RK805 PMICs are using a similar register map.
We can reuse the rtc driver for the RK805 PMIC. So let's add
the RK805 in the Kconfig description.
Signed-off-by: Elaine Zhang
---
drivers/rtc/Kconfig | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff
From: Elaine Zhang
Add device tree bindings documentation for Rockchip's RK805 PMIC.
Signed-off-by: Elaine Zhang
Acked-by: Rob Herring
---
Documentation/devicetree/bindings/mfd/rk808.txt | 22 +-
1 file changed, 21 insertions(+), 1 deletion(-)
diff --git a/Documentation/d
pins are pinmux, direction
and output value, that is 'struct rk805_pin_config'.
Signed-off-by: Joseph Chen
---
drivers/pinctrl/Kconfig | 8 +
drivers/pinctrl/Makefile| 1 +
drivers/pinctrl/pinctrl-rk805.c | 496
3 files ch
This driver provides a input driver for the power
key on the Rockchip RK805 PMIC.
Signed-off-by: Joseph Chen
---
drivers/input/misc/Kconfig| 6 +++
drivers/input/misc/Makefile | 1 +
drivers/input/misc/rk805-pwrkey.c | 111 ++
3 files
Signed-off-by: Joseph Chen
---
.../devicetree/bindings/pinctrl/pinctrl-rk805.txt | 63 ++
1 file changed, 63 insertions(+)
create mode 100644 Documentation/devicetree/bindings/pinctrl/pinctrl-rk805.txt
diff --git a/Documentation/devicetree/bindings/pinctrl/pinctrl-rk805
Signed-off-by: Joseph Chen
---
drivers/mfd/rk808.c | 17 +
1 file changed, 17 insertions(+)
diff --git a/drivers/mfd/rk808.c b/drivers/mfd/rk808.c
index db90471..6d9f96b 100644
--- a/drivers/mfd/rk808.c
+++ b/drivers/mfd/rk808.c
@@ -94,6 +94,19 @@ static bool
Signed-off-by: Joseph Chen
---
drivers/mfd/rk808.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/mfd/rk808.c b/drivers/mfd/rk808.c
index 7276555..db90471 100644
--- a/drivers/mfd/rk808.c
+++ b/drivers/mfd/rk808.c
@@ -97,6 +97,7 @@ static bool rk808_is_volatile_reg(struct device
From: Elaine Zhang
The RK808 and RK805 PMICs are using a similar register map.
We can reuse the clk driver for the RK805 PMIC. So let's add
the RK805 in the Kconfig description.
Signed-off-by: Elaine Zhang
---
drivers/clk/Kconfig | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff
change in v8:
PATCH V8 1/12: add: Signed-off-by: Joseph Chen
PATCH V8 2/12: add: Signed-off-by: Joseph Chen
PATCH V8 3/12: add: Signed-off-by: Joseph Chen
PATCH V8 4/12: add: Signed-off-by: Joseph Chen
PATCH V8 5/12: add: Signed-off-by: Joseph Chen
PATCH V8 6/12: add: Signed-off-by: Joseph
From: Elaine Zhang
Signed-off-by: Elaine Zhang
Signed-off-by: Joseph Chen
---
include/linux/mfd/rk808.h | 120 ++
1 file changed, 120 insertions(+)
diff --git a/include/linux/mfd/rk808.h b/include/linux/mfd/rk808.h
index 54feb14..d315659 100644
.
Signed-off-by: Elaine Zhang
Signed-off-by: Joseph Chen
---
drivers/mfd/Kconfig | 4 +-
drivers/mfd/rk808.c | 108
2 files changed, 110 insertions(+), 2 deletions(-)
diff --git a/drivers/mfd/Kconfig b/drivers/mfd/Kconfig
index 55ecdfb
From: Elaine Zhang
Add support for the rk805 regulator. The regulator module consists
of 4 DCDCs, 3 LDOs.
The output voltages are configurable and are meant to supply power
to the main processor and other components.
Signed-off-by: Elaine Zhang
Signed-off-by: Joseph Chen
Acked-by: Mark Brown
From: Elaine Zhang
the rk8xx chip id is:
((MSB << 8) | LSB) & 0xfff0
Signed-off-by: Elaine Zhang
Signed-off-by: Joseph Chen
---
drivers/mfd/rk808.c | 21 +++--
include/linux/mfd/rk808.h | 1 +
2 files changed, 16 insertions(+), 6 deletions(-)
diff --git a/d
pins are pinmux, direction
and output value, that is 'struct rk805_pin_config'.
Signed-off-by: Joseph Chen
---
drivers/pinctrl/Kconfig | 9 +
drivers/pinctrl/Makefile| 1 +
drivers/pinctrl/pinctrl-rk805.c | 493
3 files ch
Signed-off-by: Joseph Chen
Acked-by: Linus Walleij
---
drivers/mfd/rk808.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/mfd/rk808.c b/drivers/mfd/rk808.c
index 7276555..db90471 100644
--- a/drivers/mfd/rk808.c
+++ b/drivers/mfd/rk808.c
@@ -97,6 +97,7 @@ static bool
From: Elaine Zhang
Add device tree bindings documentation for Rockchip's RK805 PMIC.
Signed-off-by: Elaine Zhang
Signed-off-by: Joseph Chen
Acked-by: Rob Herring
---
Documentation/devicetree/bindings/mfd/rk808.txt | 22 +-
1 file changed, 21 insertions(+), 1 del
From: Elaine Zhang
The RK808 and RK805 PMICs are using a similar register map.
We can reuse the rtc driver for the RK805 PMIC. So let's add
the RK805 in the Kconfig description.
Signed-off-by: Elaine Zhang
Signed-off-by: Joseph Chen
---
drivers/rtc/Kconfig | 4 ++--
1 file chang
From: Elaine Zhang
The RK808 and RK805 PMICs are using a similar register map.
We can reuse the clk driver for the RK805 PMIC. So let's add
the RK805 in the Kconfig description.
Signed-off-by: Elaine Zhang
Signed-off-by: Joseph Chen
---
drivers/clk/Kconfig | 4 ++--
1 file chang
Signed-off-by: Joseph Chen
Acked-by: Linus Walleij
---
.../devicetree/bindings/pinctrl/pinctrl-rk805.txt | 63 ++
1 file changed, 63 insertions(+)
create mode 100644 Documentation/devicetree/bindings/pinctrl/pinctrl-rk805.txt
diff --git a/Documentation/devicetree/bindings
Signed-off-by: Joseph Chen
---
drivers/mfd/rk808.c | 17 +
1 file changed, 17 insertions(+)
diff --git a/drivers/mfd/rk808.c b/drivers/mfd/rk808.c
index db90471..6d9f96b 100644
--- a/drivers/mfd/rk808.c
+++ b/drivers/mfd/rk808.c
@@ -94,6 +94,19 @@ static bool
This driver provides a input driver for the power
key on the Rockchip RK805 PMIC.
Signed-off-by: Joseph Chen
---
drivers/input/misc/Kconfig| 6 +++
drivers/input/misc/Makefile | 1 +
drivers/input/misc/rk805-pwrkey.c | 111 ++
3 files
Signed-off-by: Joseph Chen
---
arch/arm64/boot/dts/rockchip/rk3328-evb.dts | 137
1 file changed, 137 insertions(+)
diff --git a/arch/arm64/boot/dts/rockchip/rk3328-evb.dts
b/arch/arm64/boot/dts/rockchip/rk3328-evb.dts
index cf27239..e8705fd 100644
--- a/arch/arm64
RK805 consists of 4 DCDCs, 3 LDOs. It's different from RK808
and RK818 that there are 2 output only GPIOs, we should add
properties "gpio-controller" and "gpio-cells = <2>".
Signed-off-by: Joseph Chen
---
arch/arm64/boot/dts/rockchip/rk3328-evb.dts | 137 +
change in v2:
add some sort of commit message.
Joseph Chen (1):
arm64: dts: rockchip: add rk805 node for rk3328-evb
arch/arm64/boot/dts/rockchip/rk3328-evb.dts | 137
1 file changed, 137 insertions(+)
--
1.9.1
change in v9:
PATCH V9 1/12: (1) fix spelling issue: s/Chip/chip/
(2) add: Acked-for-MFD-by: Lee Jones
PATCH V9 2/12 ~ 12/12: they are applied and no changes, so I don't resend them.
change in v8:
PATCH V8 1/12: add: Signed-off-by: Joseph Chen
PATCH V8 2/12: add: Signed-o
From: Elaine Zhang
the rk8xx chip id is:
((MSB << 8) | LSB) & 0xfff0
Signed-off-by: Elaine Zhang
Signed-off-by: Joseph Chen
Acked-for-MFD-by: Lee Jones
---
drivers/mfd/rk808.c | 21 +++--
include/linux/mfd/rk808.h | 1 +
2 files changed, 16 insertions(+), 6
在 2017/8/9 17:35, Heiko Stuebner 写道:
Hi Joseph,
Am Mittwoch, 9. August 2017, 10:10:41 CEST schrieb Joseph Chen:
change in v9:
PATCH V9 1/12: (1) fix spelling issue: s/Chip/chip/
(2) add: Acked-for-MFD-by: Lee Jones
PATCH V9 2/12 ~ 12/12: they are applied and no changes, so
.
Signed-off-by: Elaine Zhang
Signed-off-by: Joseph Chen
Acked-for-MFD-by: Lee Jones
---
drivers/mfd/Kconfig | 4 +-
drivers/mfd/rk808.c | 108
2 files changed, 110 insertions(+), 2 deletions(-)
diff --git a/drivers/mfd/Kconfig b/drivers
From: Elaine Zhang
the rk8xx chip id is:
((MSB << 8) | LSB) & 0xfff0
Signed-off-by: Elaine Zhang
Signed-off-by: Joseph Chen
Acked-for-MFD-by: Lee Jones
---
drivers/mfd/rk808.c | 21 +++--
include/linux/mfd/rk808.h | 1 +
2 files changed, 16 insertions(+), 6
=next
PATCH V9 10/12: apply tag: Acked-for-MFD-by: Lee Jones
PATCH V9 11/12: apply tag: Acked-for-MFD-by: Lee Jones
PATCH V9 12/12: None
change in v8:
PATCH V8 1/12: add: Signed-off-by: Joseph Chen
PATCH V8 2/12: add: Signed-off-by: Joseph Chen
PATCH V8 3/12: add: Signed-off-by: Joseph Chen
PATCH
From: Elaine Zhang
Signed-off-by: Elaine Zhang
Signed-off-by: Joseph Chen
Acked-for-MFD-by: Lee Jones
---
include/linux/mfd/rk808.h | 120 ++
1 file changed, 120 insertions(+)
diff --git a/include/linux/mfd/rk808.h b/include/linux/mfd/rk808.h
From: Elaine Zhang
Add support for the rk805 regulator. The regulator module consists
of 4 DCDCs, 3 LDOs.
The output voltages are configurable and are meant to supply power
to the main processor and other components.
Signed-off-by: Elaine Zhang
Signed-off-by: Joseph Chen
Acked-by: Mark Brown
From: Elaine Zhang
The RK808 and RK805 PMICs are using a similar register map.
We can reuse the clk driver for the RK805 PMIC. So let's add
the RK805 in the Kconfig description.
Signed-off-by: Elaine Zhang
Signed-off-by: Joseph Chen
---
drivers/clk/Kconfig | 4 ++--
1 file chang
From: Elaine Zhang
Add device tree bindings documentation for Rockchip's RK805 PMIC.
Signed-off-by: Elaine Zhang
Signed-off-by: Joseph Chen
Acked-by: Rob Herring
Acked-for-MFD-by: Lee Jones
---
Documentation/devicetree/bindings/mfd/rk808.txt | 22 +-
1 file change
pins are pinmux, direction
and output value, that is 'struct rk805_pin_config'.
Signed-off-by: Joseph Chen
Acked-by: Linus Walleij
---
drivers/pinctrl/Kconfig | 9 +
drivers/pinctrl/Makefile| 1 +
drivers/pinctrl/pinctrl-rk805.c | 493 +
Signed-off-by: Joseph Chen
Acked-by: Linus Walleij
Acked-for-MFD-by: Lee Jones
---
drivers/mfd/rk808.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/mfd/rk808.c b/drivers/mfd/rk808.c
index 18329c8..c803d2d 100644
--- a/drivers/mfd/rk808.c
+++ b/drivers/mfd/rk808.c
@@ -97,6 +97,7
This driver provides a input driver for the power
key on the Rockchip RK805 PMIC.
Signed-off-by: Joseph Chen
---
drivers/input/misc/Kconfig| 6 +++
drivers/input/misc/Makefile | 1 +
drivers/input/misc/rk805-pwrkey.c | 111 ++
3 files
From: Elaine Zhang
The RK808 and RK805 PMICs are using a similar register map.
We can reuse the rtc driver for the RK805 PMIC. So let's add
the RK805 in the Kconfig description.
Signed-off-by: Elaine Zhang
Signed-off-by: Joseph Chen
---
drivers/rtc/Kconfig | 4 ++--
1 file chang
Signed-off-by: Joseph Chen
Acked-for-MFD-by: Lee Jones
---
drivers/mfd/rk808.c | 17 +
1 file changed, 17 insertions(+)
diff --git a/drivers/mfd/rk808.c b/drivers/mfd/rk808.c
index c803d2d..216fbf6 100644
--- a/drivers/mfd/rk808.c
+++ b/drivers/mfd/rk808.c
@@ -94,6 +94,19
Signed-off-by: Joseph Chen
Acked-by: Linus Walleij
---
.../devicetree/bindings/pinctrl/pinctrl-rk805.txt | 63 ++
1 file changed, 63 insertions(+)
create mode 100644 Documentation/devicetree/bindings/pinctrl/pinctrl-rk805.txt
diff --git a/Documentation/devicetree/bindings
From: Elaine Zhang
Signed-off-by: Elaine Zhang
Signed-off-by: Joseph Chen
Acked-for-MFD-by: Lee Jones
---
include/linux/mfd/rk808.h | 120 ++
1 file changed, 120 insertions(+)
diff --git a/include/linux/mfd/rk808.h b/include/linux/mfd/rk808.h
.
Link:
https://git.kernel.org/pub/scm/linux/kernel/git/dtor/input.git/log/?h=next
PATCH V9 10/12: apply tag: Acked-for-MFD-by: Lee Jones
PATCH V9 11/12: apply tag: Acked-for-MFD-by: Lee Jones
PATCH V9 12/12: None
change in v8:
PATCH V8 1/12: add: Signed-off-by: Joseph Chen
PATCH V8 2/12: add
From: Elaine Zhang
the rk8xx chip id is:
((MSB << 8) | LSB) & 0xfff0
Signed-off-by: Elaine Zhang
Signed-off-by: Joseph Chen
Acked-for-MFD-by: Lee Jones
---
drivers/mfd/rk808.c | 21 +++--
include/linux/mfd/rk808.h | 1 +
2 files changed, 16 insertions(+), 6
From: Elaine Zhang
Add support for the rk805 regulator. The regulator module consists
of 4 DCDCs, 3 LDOs.
The output voltages are configurable and are meant to supply power
to the main processor and other components.
Signed-off-by: Elaine Zhang
Signed-off-by: Joseph Chen
Acked-by: Mark Brown
.
Signed-off-by: Elaine Zhang
Signed-off-by: Joseph Chen
Acked-for-MFD-by: Lee Jones
---
drivers/mfd/Kconfig | 4 +-
drivers/mfd/rk808.c | 108
2 files changed, 110 insertions(+), 2 deletions(-)
diff --git a/drivers/mfd/Kconfig b/drivers
From: Elaine Zhang
The RK808 and RK805 PMICs are using a similar register map.
We can reuse the clk driver for the RK805 PMIC. So let's add
the RK805 in the Kconfig description.
Signed-off-by: Elaine Zhang
Signed-off-by: Joseph Chen
---
drivers/clk/Kconfig | 4 ++--
1 file chang
From: Elaine Zhang
Add device tree bindings documentation for Rockchip's RK805 PMIC.
Signed-off-by: Elaine Zhang
Signed-off-by: Joseph Chen
Acked-by: Rob Herring
Acked-for-MFD-by: Lee Jones
---
Documentation/devicetree/bindings/mfd/rk808.txt | 22 +-
1 file change
From: Elaine Zhang
The RK808 and RK805 PMICs are using a similar register map.
We can reuse the rtc driver for the RK805 PMIC. So let's add
the RK805 in the Kconfig description.
Signed-off-by: Elaine Zhang
Signed-off-by: Joseph Chen
---
drivers/rtc/Kconfig | 4 ++--
1 file chang
Signed-off-by: Joseph Chen
Acked-by: Linus Walleij
Acked-for-MFD-by: Lee Jones
---
drivers/mfd/rk808.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/mfd/rk808.c b/drivers/mfd/rk808.c
index 18329c8..c803d2d 100644
--- a/drivers/mfd/rk808.c
+++ b/drivers/mfd/rk808.c
@@ -97,6 +97,7
pins are pinmux, direction
and output value, that is 'struct rk805_pin_config'.
Signed-off-by: Joseph Chen
Acked-by: Linus Walleij
---
drivers/pinctrl/Kconfig | 9 +
drivers/pinctrl/Makefile| 1 +
drivers/pinctrl/pinctrl-rk805.c | 493 +
This driver provides a input driver for the power
key on the Rockchip RK805 PMIC.
Signed-off-by: Joseph Chen
---
drivers/input/misc/Kconfig| 6 +++
drivers/input/misc/Makefile | 1 +
drivers/input/misc/rk805-pwrkey.c | 111 ++
3 files
60 matches
Mail list logo