(1),
> +DISABLE_VAL(1), 400),
> + RK817_DESC(RK817_ID_LDO3, "LDO_REG3", "vcc5", 600, 3400, 25,
> +RK817_LDO_ON_VSEL_REG(2), RK817_LDO_VSEL_MASK,
> +RK817_POWER_EN_REG(1), ENABLE_MASK(2), ENABLE_MASK(2),
> +
Hi,
Am 16.04.2018 um 11:38 schrieb Lee Jones:
> On Thu, 29 Mar 2018, Daniel Schultz wrote:
>
>> Since all three shutdown functions have almost the same code, all logic
>> from the shutdown functions can be refactored to a new function
>> "rk808_update_bits", which can update a register by a given
Hi Garrett,
Am 26.06.24 um 18:22 schrieb Garrett Giordano:
Driver was logging information as debug. Changed dev_dbg to dev_info
where appropriate.
Signed-off-by: Garrett Giordano
---
drivers/remoteproc/ti_k3_r5_remoteproc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a
: Martyn Welch
Signed-off-by: Hari Nagalla
Signed-off-by: Andrew Davis
Tested-by: Wadim Egorov
---
drivers/remoteproc/Kconfig | 13 +
drivers/remoteproc/Makefile | 1 +
drivers/remoteproc/ti_k3_m4_remoteproc.c | 667 +++
3 files changed, 681
memory nodes are needed.
Disable by default as this node is not complete until mailbox data
is provided in the board level DT.
Signed-off-by: Hari Nagalla
Signed-off-by: Andrew Davis
Tested-by: Wadim Egorov
---
arch/arm64/boot/dts/ti/k3-am62-mcu.dtsi | 13 +
1 file changed
aga...@ti.com/T/
Changes for v11:
- Added patch [2/9] factoring out a common function
- Addressed comments by Mathieu from v10
- Rebased on v6.11-rc1
- Small reworks in driver for readability
Tested on a AM62x & AM64x using phycore-am62x & phycore-am64x, so
Tested-by: Wadim Ego
Am 02.08.24 um 17:21 schrieb Andrew Davis:
Building the TSP structure is common for users of the TI-SCI processor
control interface. Factor out this function and put it with the rest
of the TI-SCI processor control functions.
Signed-off-by: Andrew Davis
Tested-by: Wadim Egorov
This patch just renames the rk808 driver so we can reuse this driver
to add more regulator devices from the RK8XX PMIC family later.
Signed-off-by: Wadim Egorov
---
arch/arm/configs/multi_v7_defconfig| 2 +-
drivers/mfd/rk8xx.c| 4 +--
drivers
* renamed rk808.c driver -> rk8xx.c
* renamed rk808-regulator.c driver -> rk8xx-regulator.c
Wadim Egorov (6):
mfd: RK808: Make RK808 generic, rename rk808.c to rk8xx.c
mfd: RK808: Add RK818 support
regulator: rk808: Make rk808 generic, rename rk808-regulator.c
regulator: rk8xx: Migr
Add device tree bindings documentation for Rockchip's RK818 PMIC.
Signed-off-by: Wadim Egorov
---
Changes since RFC:
* fixed names and wildcards
---
Documentation/devicetree/bindings/mfd/rk808.txt | 37 +++--
1 file changed, 34 insertions(+), 3 deletions(-)
diff --
Basically this patch just renames the RK808 driver so we can use this driver
for more than one RK8XX PMIC later.
Signed-off-by: Wadim Egorov
---
arch/arm/configs/multi_v7_defconfig | 2 +-
drivers/clk/Kconfig | 2 +-
drivers/mfd/Kconfig | 4 +-
drivers/mfd
: Zhang Qing
*
+ * Copyright (C) 2016 PHYTEC Messtechnik GmbH
+ *
+ * Author: Wadim Egorov
+ *
* This program is free software; you can redistribute it and/or modify it
* under the terms and conditions of the GNU General Public License,
* version 2, as published by the Free Software
Add support for the rk818 regulator. The regulator module consists
of 4 DCDCs, 9 LDOs, 1 switch and 1 BOOST converter which is used to
power OTG and HDMI5V.
The output voltages are configurable and are meant to supply power
to the main processor and other components.
Signed-off-by: Wadim Egorov
re compact.
Remove also linear ranges definitions with only one range.
Signed-off-by: Wadim Egorov
---
Changes since RFC:
* dropped of_regulator_match
---
drivers/regulator/rk8xx-regulator.c | 308 +---
1 file changed, 114 insertions(+), 194 deletions(-)
diff --git
Ping.
Do you have any more comments?
On 26.04.2016 16:54, Wadim Egorov wrote:
> The RK818 chip is a power management IC for multimedia and handheld
> devices. It contains the following components:
>
> - Regulators
> - RTC
> - Clkout
> - battery support
>
> Both chips
The RK808 and RK818 PMICs are using a similar register map.
We can reuse the clk driver for the RK818 PMIC. So let's add
the RK818 in the Kconfig description.
Signed-off-by: Wadim Egorov
Acked-by: Stephen Boyd
---
drivers/clk/Kconfig | 4 ++--
1 file changed, 2 insertions(+), 2 dele
The RK808 and RK818 PMICs are using a similar register map.
We can reuse the rtc driver for the RK818 PMIC. So let's add
the RK818 in the Kconfig description.
Signed-off-by: Wadim Egorov
Acked-by: Alexandre Belloni
---
drivers/rtc/Kconfig | 4 ++--
1 file changed, 2 insertions(+), 2 dele
Add support for the rk818 regulator. The regulator module consists
of 4 DCDCs, 9 LDOs, 1 switch and 1 BOOST converter which is used to
power OTG and HDMI5V.
The output voltages are configurable and are meant to supply power
to the main processor and other components.
Signed-off-by: Wadim Egorov
ip Electronics Co., Ltd
*
* Author: Chris Zhong
* Author: Zhang Qing
*
+ * Copyright (C) 2016 PHYTEC Messtechnik GmbH
+ *
+ * Author: Wadim Egorov
+ *
* This program is free software; you can redistribute it and/or modify it
* under the terms and conditions of the GNU General Public L
re compact.
Signed-off-by: Wadim Egorov
Acked-by: Mark Brown
---
Changes since v4:
- Added acked-by
---
drivers/regulator/rk808-regulator.c | 250
1 file changed, 79 insertions(+), 171 deletions(-)
diff --git a/drivers/regulator/rk808-regulator.c
b/drivers
9d7cf98f5c ("regulator: rk808: Add rk808_reg_ops_ranges for LDO3")
Wadim Egorov (6):
regulator: rk808: Migrate to regulator core's simplified DT parsing
code
mfd: RK808: Add RK818 support
regulator: rk808: Add regulator driver for RK818
mfd: dt-bindings: Add RK818 devi
Add device tree bindings documentation for Rockchip's RK818 PMIC.
Signed-off-by: Wadim Egorov
Acked-by: Rob Herring
---
Documentation/devicetree/bindings/mfd/rk808.txt | 37 +++--
1 file changed, 34 insertions(+), 3 deletions(-)
diff --git a/Documentation/devic
On 10.05.2016 16:03, Lee Jones wrote:
> On Tue, 10 May 2016, Wadim Egorov wrote:
>
>> Add support for the rk818 regulator. The regulator module consists
>> of 4 DCDCs, 9 LDOs, 1 switch and 1 BOOST converter which is used to
>> power OTG and HDMI5V.
>>
>> The
On 26.04.2016 21:33, Heiko Stübner wrote:
> Am Montag, 25. April 2016, 18:56:54 schrieb Mark Brown:
>> The patch
>>
>>regulator: rk808: remove linear range definitions with a single range
>>
>> has been applied to the regulator tree at
>>
>>git://git.kernel.org/pub/scm/linux/kernel/git/br
On 27.04.2016 15:50, Mark Brown wrote:
> On Wed, Apr 27, 2016 at 08:35:46AM +0200, Wadim Egorov wrote:
>> On 26.04.2016 21:33, Heiko Stübner wrote:
>>> with this patch applied, 4.6.0-rc5-next-20160426 fails to boot on
>>> rk3288-veyron devices with the bug belo
IC type options 00, 13 and 23 are sharing the same DIE_ID 0.
Let's differentiate between these revisions.
FAN53555UC13X has the ID 0 and REV 0xf, starts at 800mV and
increments in 10mV steps.
Signed-off-by: Wadim Egorov
---
drivers/regulator/fan53555.c | 22 ++
1
FAN53555BUC18X has the DIE_ID 8, starts at 600mV and
increments in 10mV steps.
Signed-off-by: Wadim Egorov
---
drivers/regulator/fan53555.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/regulator/fan53555.c b/drivers/regulator/fan53555.c
index 2cb5cc3..d4bfa93 100644
--- a
rs/mfd/rk808.c
@@ -6,6 +6,10 @@
* Author: Chris Zhong
* Author: Zhang Qing
*
+ * Copyright (C) 2016 PHYTEC Messtechnik GmbH
+ *
+ * Author: Wadim Egorov
+ *
* This program is free software; you can redistribute it and/or modify it
* under the terms and conditions of the GNU General Public License,
The RK808 and RK818 PMICs are using a similar register map.
We can reuse the clk driver for the RK818 PMIC. So let's add
the RK818 in the Kconfig description.
Signed-off-by: Wadim Egorov
---
drivers/clk/Kconfig | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/driver
The RK808 and RK818 PMICs are using a similar register map.
We can reuse the rtc driver for the RK818 PMIC. So let's add
the RK818 in the Kconfig description.
Signed-off-by: Wadim Egorov
---
drivers/rtc/Kconfig | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/driver
Add device tree bindings documentation for Rockchip's RK818 PMIC.
Signed-off-by: Wadim Egorov
---
Documentation/devicetree/bindings/mfd/rk808.txt | 37 +++--
1 file changed, 34 insertions(+), 3 deletions(-)
diff --git a/Documentation/devicetree/bindings/mfd/rk808.t
Add support for the rk818 regulator. The regulator module consists
of 4 DCDCs, 9 LDOs, 1 switch and 1 BOOST converter which is used to
power OTG and HDMI5V.
The output voltages are configurable and are meant to supply power
to the main processor and other components.
Signed-off-by: Wadim Egorov
This patch renames the rk808 struct. So it is more clear that this
struct can be shared between all RK8XX related PMIC drivers.
Signed-off-by: Wadim Egorov
---
drivers/clk/clk-rk808.c | 20 +++
drivers/mfd/rk808.c | 36 +-
drivers
re compact.
Remove also linear ranges definitions with only one range.
Signed-off-by: Wadim Egorov
---
drivers/regulator/rk808-regulator.c | 308 +---
1 file changed, 114 insertions(+), 194 deletions(-)
diff --git a/drivers/regulator/rk808-regulator.c
b/drivers/regul
Hopefully, this is the right approach now.
Changes since v1:
- dropped the renaming of the drivers
- renamed the rk808 struct in mfd/rk808.h
Patch 3 is a cosmetic patch for the regulator driver.
Wadim Egorov (7):
drivers: mfd: rk808: rename rk808 struct to rk8xx
mfd: RK808: Add RK818
On 21.04.2016 18:01, Mark Brown wrote:
> On Thu, Apr 21, 2016 at 03:12:37PM +0200, Wadim Egorov wrote:
>
>> +static int rk808_set_suspend_voltage(struct regulator_dev *rdev, int uv)
>> +{
>> +unsigned int reg;
>> +int sel = regulator_map_voltage_linear(rdev,
*
+ * Copyright (C) 2016 PHYTEC Messtechnik GmbH
+ * Author: Wadim Egorov
+ *
* This program is free software; you can redistribute it and/or modify it
* under the terms and conditions of the GNU General Public License,
* version 2, as published by the Free Software Foundation.
@@ -22,14 +2
Add device tree bindings documentation for rockchip's RK818 pmic.
Signed-off-by: Wadim Egorov
---
Documentation/devicetree/bindings/mfd/rk808.txt | 37 +++--
1 file changed, 34 insertions(+), 3 deletions(-)
diff --git a/Documentation/devicetree/bindings/mfd/rk808.t
Hello,
this patch adds support for rockchip's RK818 PMIC.
I am not sure if I have to rename all filenames and all relevant variable names
after adding a second supported device to the RK808 driver, e.g:
mfd/rk8xx.c
regulator/rk8xx-regulator.c
clk/clk-rk8xx.c
Regards,
Wadim
Wadim E
Add support for the rk818 regulator. The regulator module consists
of 4 DCDCs, 9 LDOs, 1 switch and 1 BOOST converter which is used to
power OTG and HDMI5V.
The output voltages are configurable and are meant to supply power
to the main processor and other components.
Signed-off-by: Wadim Egorov
On 15.04.2016 18:24, Alexandre Belloni wrote:
> On 15/04/2016 at 11:26:02 +0100, Mark Brown wrote :
>> On Fri, Apr 15, 2016 at 11:16:27AM +0200, Wadim Egorov wrote:
>>
>>> This patch just renames the rk808 driver so we can reuse this driver
>>> to add more regu
This patch renames the rk808 struct. So it is more clear that this
struct can be shared between all RK8XX related PMIC drivers.
Signed-off-by: Wadim Egorov
---
drivers/clk/clk-rk808.c | 20 +++
drivers/mfd/rk808.c | 36 +-
drivers
The RK808 and RK818 PMICs are using a similar register map.
We can reuse the clk driver for the RK818 PMIC. So let's add
the RK818 in the Kconfig description.
Signed-off-by: Wadim Egorov
Acked-by: Stephen Boyd
---
Changes since v2:
- Added Acked-by
---
drivers/clk/Kconfig | 4 ++--
1
Add support for the rk818 regulator. The regulator module consists
of 4 DCDCs, 9 LDOs, 1 switch and 1 BOOST converter which is used to
power OTG and HDMI5V.
The output voltages are configurable and are meant to supply power
to the main processor and other components.
Signed-off-by: Wadim Egorov
Changes since v2:
- Split refactoring patch into 2 patches so this can be more easily reviewed
- Added Acked-by from Mark Brown in patch 5
- Added Acked-by from Rob Herring in patch 6
- Added Acked-by from Stephen Boyd in patch 7
- Added Acked-by from Alexandre Belloni in patch 8
Wadim Egorov (8
rs/mfd/rk808.c
@@ -6,6 +6,10 @@
* Author: Chris Zhong
* Author: Zhang Qing
*
+ * Copyright (C) 2016 PHYTEC Messtechnik GmbH
+ *
+ * Author: Wadim Egorov
+ *
* This program is free software; you can redistribute it and/or modify it
* under the terms and conditions of the GNU General Public License,
Add device tree bindings documentation for Rockchip's RK818 PMIC.
Signed-off-by: Wadim Egorov
Acked-by: Rob Herring
---
Changes since v2:
- Added Acked-by
---
Documentation/devicetree/bindings/mfd/rk808.txt | 37 +++--
1 file changed, 34 insertions(+), 3 deletions(-)
The driver was using only linear ranges. Now we remove linear range
definitions with a single range. So we have to add an ops struct for
ranges and adjust all other ops functions accordingly.
Signed-off-by: Wadim Egorov
---
drivers/regulator/rk808-regulator.c | 90
The RK808 and RK818 PMICs are using a similar register map.
We can reuse the rtc driver for the RK818 PMIC. So let's add
the RK818 in the Kconfig description.
Signed-off-by: Wadim Egorov
Acked-by: Alexandre Belloni
---
Changes since v2:
- Added Acked-by
---
drivers/rtc/Kconfig | 4 ++--
1
re compact.
Signed-off-by: Wadim Egorov
---
drivers/regulator/rk808-regulator.c | 252
1 file changed, 80 insertions(+), 172 deletions(-)
diff --git a/drivers/regulator/rk808-regulator.c
b/drivers/regulator/rk808-regulator.c
index 32cf1b5..b30c906 100644
---
On 25.04.2016 19:39, Mark Brown wrote:
> On Mon, Apr 25, 2016 at 03:20:44PM +0200, Wadim Egorov wrote:
>> A common simplified DT parsing code for regulators was introduced in
>> commit a0c7b164ad11 ("regulator: of: Provide simplified DT parsing
>> method")
>
On 26.04.2016 10:17, Heiko Stübner wrote:
> Am Dienstag, 26. April 2016, 09:45:56 schrieb Wadim Egorov:
>> On 25.04.2016 19:39, Mark Brown wrote:
>>> On Mon, Apr 25, 2016 at 03:20:44PM +0200, Wadim Egorov wrote:
>>>> A common simplified DT parsing code fo
Sorry for that.
I missed to add rk808_reg_ops_ranges in the LDO_REG3 desc
in patch afcd666d9db0
On 26.04.2016 11:19, Arnd Bergmann wrote:
> After removing all uses of the range operations in a recent patch,
> we get a warning about the symbol not being referenced anywhere:
>
> drivers/regulator/r
* Copyright (C) 2016 PHYTEC Messtechnik GmbH
+ *
+ * Author: Wadim Egorov
+ *
* This program is free software; you can redistribute it and/or modify it
* under the terms and conditions of the GNU General Public License,
* version 2, as published by the Free Software Foundation.
@@ -22,12 +26,7 @@
#i
LDO_REG3 descriptor is using linear_ranges.
Add and use proper ops for LDO_REG3.
Signed-off-by: Wadim Egorov
---
drivers/regulator/rk808-regulator.c | 30 +-
1 file changed, 29 insertions(+), 1 deletion(-)
diff --git a/drivers/regulator/rk808-regulator.c
b/drivers
Add support for the rk818 regulator. The regulator module consists
of 4 DCDCs, 9 LDOs, 1 switch and 1 BOOST converter which is used to
power OTG and HDMI5V.
The output voltages are configurable and are meant to supply power
to the main processor and other components.
Signed-off-by: Wadim Egorov
Add device tree bindings documentation for Rockchip's RK818 PMIC.
Signed-off-by: Wadim Egorov
Acked-by: Rob Herring
---
Documentation/devicetree/bindings/mfd/rk808.txt | 37 +++--
1 file changed, 34 insertions(+), 3 deletions(-)
diff --git a/Documentation/devic
The RK808 and RK818 PMICs are using a similar register map.
We can reuse the rtc driver for the RK818 PMIC. So let's add
the RK818 in the Kconfig description.
Signed-off-by: Wadim Egorov
Acked-by: Alexandre Belloni
---
drivers/rtc/Kconfig | 4 ++--
1 file changed, 2 insertions(+), 2 dele
The RK808 and RK818 PMICs are using a similar register map.
We can reuse the clk driver for the RK818 PMIC. So let's add
the RK818 in the Kconfig description.
Signed-off-by: Wadim Egorov
Acked-by: Stephen Boyd
---
drivers/clk/Kconfig | 4 ++--
1 file changed, 2 insertions(+), 2 dele
le comment description shows now RK808/RK818
- Module descriptions show now RK808/RK818
Wadim Egorov (7):
regulator: rk808: Add rk808_reg_ops_ranges for LDO3
regulator: rk808: Migrate to regulator core's simplified DT parsing
code
mfd: RK808: Add RK818 support
regulator: rk808: Add regul
re compact.
Signed-off-by: Wadim Egorov
---
drivers/regulator/rk808-regulator.c | 250
1 file changed, 79 insertions(+), 171 deletions(-)
diff --git a/drivers/regulator/rk808-regulator.c
b/drivers/regulator/rk808-regulator.c
index 6601ab5..40d07ba 100644
---
Hi Sam,
you've asked in another thread [1] if there is any known simple panel
that requires a reset. We have a Densitron DMT070WSNLCMI-1E Panel
(compatible to avic,tm070ddh03) with some reset timing requirements, [2]
Page 20. So it would be nice to see this patch accepted.
[1] https://patchwork.k
Hi Daniel,
Am 16.03.2018 um 09:26 schrieb Daniel Schultz:
> When using Rockchip SoCs with rk805/808/818 PMICs, restarts are realized by
> setting the reset registers in the "Clock and Reset Unit".
>
> Since all three shutdown functions have almost the same code, all logic
> from the shutdown funct
Hi,
On 08.06.2016 16:17, Lee Jones wrote:
> On Thu, 02 Jun 2016, Wadim Egorov wrote:
>
>> The RK818 chip is a power management IC for multimedia and handheld
> "Power Management IC (PMIC)"
>
>> devices. It contains the following components:
>>
>>
On 09.06.2016 13:12, Lee Jones wrote:
> On Thu, 09 Jun 2016, Wadim Egorov wrote:
>> On 08.06.2016 16:17, Lee Jones wrote:
>>> On Thu, 02 Jun 2016, Wadim Egorov wrote:
>>>
>>>> The RK818 chip is a power management IC for multimedia and handheld
>>&g
Hi Andy,
On 06.07.2016 05:15, Andy Yan wrote:
> Hi Wadim:
>
> On 2016年06月09日 16:23, Wadim Egorov wrote:
>> Hi,
>>
>> On 08.06.2016 16:17, Lee Jones wrote:
>>> On Thu, 02 Jun 2016, Wadim Egorov wrote:
>>>
>>>> The RK818 chip is a p
Add and use the chip id registers to determine the PMIC variant.
Signed-off-by: Wadim Egorov
---
This patch is based on top of
[v6,1/5] mfd: RK808: Add RK818 support
(https://patchwork.kernel.org/patch/9172223/)
---
drivers/mfd/rk808.c | 17 +
include/linux/mfd/rk808.h
Add support for the rk818 regulator. The regulator module consists
of 4 DCDCs, 9 LDOs, 1 switch and 1 BOOST converter which is used to
power OTG and HDMI5V.
The output voltages are configurable and are meant to supply power
to the main processor and other components.
Signed-off-by: Wadim Egorov
Add device tree bindings documentation for Rockchip's RK818 PMIC.
Signed-off-by: Wadim Egorov
Acked-by: Rob Herring
---
Documentation/devicetree/bindings/mfd/rk808.txt | 37 +++--
1 file changed, 34 insertions(+), 3 deletions(-)
diff --git a/Documentation/devic
s/mfd/rk808.c
@@ -1,11 +1,15 @@
/*
- * MFD core driver for Rockchip RK808
+ * MFD core driver for Rockchip RK808/RK818
*
* Copyright (c) 2014, Fuzhou Rockchip Electronics Co., Ltd
*
* Author: Chris Zhong
* Author: Zhang Qing
*
+ * Copyright (C) 2016 PHYTEC Messtechnik GmbH
+ *
+ * Author: Wadim
The RK808 and RK818 PMICs are using a similar register map.
We can reuse the clk driver for the RK818 PMIC. So let's add
the RK818 in the Kconfig description.
Signed-off-by: Wadim Egorov
Acked-by: Stephen Boyd
---
drivers/clk/Kconfig | 4 ++--
1 file changed, 2 insertions(+), 2 dele
The RK808 and RK818 PMICs are using a similar register map.
We can reuse the rtc driver for the RK818 PMIC. So let's add
the RK818 in the Kconfig description.
Signed-off-by: Wadim Egorov
Acked-by: Alexandre Belloni
---
drivers/rtc/Kconfig | 4 ++--
1 file changed, 2 insertions(+), 2 dele
Hi Jianhong,
with this patch a poweroff causes a restart on our board.
In our design a 5V USB voltage is supplied on the USB supply input pins.
After setting DEV_OFF bit, the RK818 restart automatically. The
ON_SOURCE_REG (Address AEH) is 0x40 after the automatic restart which
says that the RK818
Set the correct voltage select register for LDO2.
Signed-off-by: Wadim Egorov
---
drivers/regulator/rk808-regulator.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/regulator/rk808-regulator.c
b/drivers/regulator/rk808-regulator.c
index fb44d52..a16d814 100644
h a RK3288 based board.
Signed-off-by: Wadim Egorov
---
drivers/net/ethernet/stmicro/stmmac/dwmac-rk.c | 53 ++
1 file changed, 37 insertions(+), 16 deletions(-)
diff --git a/drivers/net/ethernet/stmicro/stmmac/dwmac-rk.c
b/drivers/net/ethernet/stmicro/stmmac/dwmac-
Hi Elaine,
you should also add the RK805 to the device tree bindings documentation in
Documentation/devicetree/bindings/mfd/rk808.txt
Regards,
Wadim
Am 09.03.2017 um 09:49 schrieb Elaine Zhang:
> Elaine Zhang (4):
> mfd: rk808: fix up the chip id get failed
> linux: mfd: rk808: add rk805 r
Hi Eddie,
On 14.02.2017 11:07, Eddie Cai wrote:
> This patch add basic support for RK3288-Tinker board. We can boot in to rootfs
> with this patch.
>
> Signed-off-by: Eddie Cai
> ---
> arch/arm/boot/dts/Makefile | 1 +
> arch/arm/boot/dts/rk3288-tinker.dts | 536
> ++
Add support for the rk818 regulator. The regulator module consists
of 4 DCDCs, 9 LDOs, 1 switch and 1 BOOST converter which is used to
power OTG and HDMI5V.
The output voltages are configurable and are meant to supply power
to the main processor and other components.
Signed-off-by: Wadim Egorov
The RK808 and RK818 PMICs are using a similar register map.
We can reuse the rtc driver for the RK818 PMIC. So let's add
the RK818 in the Kconfig description.
Signed-off-by: Wadim Egorov
Acked-by: Alexandre Belloni
---
drivers/rtc/Kconfig | 4 ++--
1 file changed, 2 insertions(+), 2 dele
-by: Wadim Egorov
Tested-by: Andy Yan
---
Changes since v6:
- Squashed in the patch
mfd: RK808: Fetch PMIC variant from chip id register
---
drivers/mfd/Kconfig | 4 +-
drivers/mfd/rk808.c | 226 +++---
include/linux/mfd/rk808.h | 154
Add device tree bindings documentation for Rockchip's RK818 PMIC.
Signed-off-by: Wadim Egorov
Acked-by: Rob Herring
Acked-by: Lee Jones
---
Documentation/devicetree/bindings/mfd/rk808.txt | 37 +++--
1 file changed, 34 insertions(+), 3 deletions(-)
diff --
Changes since v6:
- Dropped a patch from this series which was applied by Michael Turquette
commit cb98fd5d4da1 ("clk: Kconfig: Name RK818 in Kconfig for
COMMON_CLK_RK808")
- Squashed patch
mfd: RK808: Fetch PMIC variant from chip id register
into the first patch.
Wadim Egorov
Add and use the chip id registers to determine the PMIC variant.
Signed-off-by: Wadim Egorov
Tested-by: Andy Yan
---
This patch is based on top of
[v6,1/5] mfd: RK808: Add RK818 support
(https://patchwork.kernel.org/patch/9172223/)
---
drivers/mfd/rk808.c | 17
The RK808 and RK818 PMICs are using a similar register map.
We can reuse the rtc driver for the RK818 PMIC. So let's add
the RK818 in the Kconfig description.
Signed-off-by: Wadim Egorov
Acked-by: Alexandre Belloni
---
drivers/rtc/Kconfig | 4 ++--
1 file changed, 2 insertions(+), 2 dele
Add device tree bindings documentation for Rockchip's RK818 PMIC.
Signed-off-by: Wadim Egorov
Acked-by: Rob Herring
Acked-by: Lee Jones
---
Documentation/devicetree/bindings/mfd/rk808.txt | 37 +++--
1 file changed, 34 insertions(+), 3 deletions(-)
diff --
Add support for the rk818 regulator. The regulator module consists
of 4 DCDCs, 9 LDOs, 1 switch and 1 BOOST converter which is used to
power OTG and HDMI5V.
The output voltages are configurable and are meant to supply power
to the main processor and other components.
Signed-off-by: Wadim Egorov
-by: Wadim Egorov
Tested-by: Andy Yan
---
Changes since v7:
- add includes in alphabetical order
---
drivers/mfd/Kconfig | 4 +-
drivers/mfd/rk808.c | 226 +++---
include/linux/mfd/rk808.h | 154 +--
3 files changed
Add support to allow low-level debugging messages via Rockchip RK32 UART0.
Signed-off-by: Wadim Egorov
---
arch/arm/Kconfig.debug | 14 --
1 file changed, 12 insertions(+), 2 deletions(-)
diff --git a/arch/arm/Kconfig.debug b/arch/arm/Kconfig.debug
index a9693b6..5b0d6dd 100644
On 18.08.2016 16:34, Lee Jones wrote:
> On Wed, 10 Aug 2016, Wadim Egorov wrote:
>
>> The RK818 chip is a Power Management IC (PMIC) for multimedia and handheld
>> devices. It contains the following components:
>>
>> - Regulators
>> - RTC
>> - Clocking
Add device tree bindings documentation for Rockchip's RK818 PMIC.
Signed-off-by: Wadim Egorov
Acked-by: Rob Herring
Acked-by: Lee Jones
---
Changes since v5:
- Added Acked-by from Lee Jones
---
Documentation/devicetree/bindings/mfd/rk808.txt | 37 +++--
1 file change
The RK808 and RK818 PMICs are using a similar register map.
We can reuse the rtc driver for the RK818 PMIC. So let's add
the RK818 in the Kconfig description.
Signed-off-by: Wadim Egorov
Acked-by: Alexandre Belloni
---
drivers/rtc/Kconfig | 4 ++--
1 file changed, 2 insertions(+), 2 dele
The RK808 and RK818 PMICs are using a similar register map.
We can reuse the clk driver for the RK818 PMIC. So let's add
the RK818 in the Kconfig description.
Signed-off-by: Wadim Egorov
Acked-by: Stephen Boyd
---
drivers/clk/Kconfig | 4 ++--
1 file changed, 2 insertions(+), 2 dele
-by: Wadim Egorov
---
Changes since v5:
- Few spell fixes in the commit description
- Alignment fixes
- Moved rk808_reg_data struct back to c file
- Removed cells and pre_init_reg from the rk808 struct
- Moved of_match_device and variant determination to probe
---
drivers/mfd/Kconfig | 4
Add support for the rk818 regulator. The regulator module consists
of 4 DCDCs, 9 LDOs, 1 switch and 1 BOOST converter which is used to
power OTG and HDMI5V.
The output voltages are configurable and are meant to supply power
to the main processor and other components.
Signed-off-by: Wadim Egorov
h a RK3288 based board.
Signed-off-by: Wadim Egorov
---
Changes in v2: Added parenthesis around both expressions in DELAY_ENABLE
---
drivers/net/ethernet/stmicro/stmmac/dwmac-rk.c | 53 ++
1 file changed, 37 insertions(+), 16 deletions(-)
diff --git a/drivers/net/ethern
>> +&i2c0 {
>> + status = "okay";
>> + clock-frequency = <40>;
>> +
>> + rk818: pmic@1c {
>> + compatible = "rockchip,rk818";
>> + reg = <0x1c>;
>> + interrupt-parent = <&gpio0>;
>> + interrupts = <4 IRQ_TYPE_LEVEL_LOW>;
other modules
- RTC RV-4162-C7
- Resistive touch STMPE811
- EEPROM M24C32
Signed-off-by: Wadim Egorov
---
arch/arm/boot/dts/Makefile | 1 +
arch/arm/boot/dts/rk3288-phycore-rdk.dts | 263 +++
2 files changed, 264 insertions(+)
create mode 100644
Add documentation for the PCM-947 carrier board, a RK3288 based
development board made by PHYTEC.
Signed-off-by: Wadim Egorov
---
Documentation/devicetree/bindings/arm/rockchip.txt | 4
1 file changed, 4 insertions(+)
diff --git a/Documentation/devicetree/bindings/arm/rockchip.txt
b
)
- 1x 4 KB EEPROM
- DP83867 Gigabit Ethernet PHY
- 16 MB SPI Flash
- 4 GB eMMC Flash
Signed-off-by: Wadim Egorov
---
arch/arm/boot/dts/rk3288-phycore-som.dtsi | 463 ++
1 file changed, 463 insertions(+)
create mode 100644 arch/arm/boot/dts/rk3288-phycore-som.dtsi
)
- 1x 4 KB EEPROM
- DP83867 Gigabit Ethernet PHY
- 16 MB SPI Flash
- 4 GB eMMC Flash
Signed-off-by: Wadim Egorov
---
Changes in v2:
- Added a dual license which is used for all rk3288 based boards.
Include minor changes from Heiko St??bner:
- moved phy-handle property up a bit
- switches
1 - 100 of 104 matches
Mail list logo