Re: [PATCH 2/2] remoteproc: k3-r5: Fix log levels where appropriate

2024-06-26 Thread Wadim Egorov
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

Re: [PATCH v2] drm/panel: simple: Support reset GPIOs

2020-04-29 Thread Wadim Egorov
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]

Re: [PATCH v3 2/5] regulator: rk808: add RK809 and RK817 support.

2018-08-24 Thread Wadim Egorov
VSEL_MASK, > + RK817_POWER_EN_REG(1), ENABLE_MASK(2), ENABLE_MASK(2), > +DISABLE_VAL(2), 400), > + RK817_DESC(RK817_ID_LDO4, "LDO_REG4", "vcc6", 600, 3400, 25, > +RK817_LDO_ON_VSEL_REG(3), RK817_LDO_VSEL_MASK, > +

Re: [PATCH v3 2/5] regulator: rk808: add RK809 and RK817 support.

2018-08-24 Thread Wadim Egorov
VSEL_MASK, > + RK817_POWER_EN_REG(1), ENABLE_MASK(2), ENABLE_MASK(2), > +DISABLE_VAL(2), 400), > + RK817_DESC(RK817_ID_LDO4, "LDO_REG4", "vcc6", 600, 3400, 25, > +RK817_LDO_ON_VSEL_REG(3), RK817_LDO_VSEL_MASK, > +

Re: [PATCH v5 1/2] mfd: rk808: Refactor shutdown functions

2018-07-24 Thread Wadim Egorov
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

Re: [PATCH v5 1/2] mfd: rk808: Refactor shutdown functions

2018-07-24 Thread Wadim Egorov
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

Re: [PATCH v3] mfd: rk808: Add restart functionality

2018-03-16 Thread Wadim Egorov
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

Re: [PATCH v3] mfd: rk808: Add restart functionality

2018-03-16 Thread Wadim Egorov
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

Re: [PATCH v5 3/3] drm/rockchip: Add support for Rockchip Soc LVDS

2017-08-15 Thread Wadim Egorov
ockchip/rockchip_lvds.h > I have tested this with an ETM0700G0DH6 7.0" LCD panel on the phyCORE-RK3288. Tested-by: Wadim Egorov <w.ego...@phytec.de>

Re: [PATCH v5 3/3] drm/rockchip: Add support for Rockchip Soc LVDS

2017-08-15 Thread Wadim Egorov
+++ > drivers/gpu/drm/rockchip/rockchip_lvds.h| 109 + > 6 files changed, 721 insertions(+) > create mode 100644 drivers/gpu/drm/rockchip/rockchip_lvds.c > create mode 100644 drivers/gpu/drm/rockchip/rockchip_lvds.h > I have tested this with an ETM0700G0DH6 7.0" LCD panel on the phyCORE-RK3288. Tested-by: Wadim Egorov

Re: [PATCH v3 3/3] drm/rockchip: Add support for Rockchip Soc LVDS

2017-08-14 Thread Wadim Egorov
Hi Sandy, I am not familiar with the rockchip drm driver, but don't you have to add the rockchip_lvds_driver as a sub driver in rockchip_drm_init()? Otherwise it will be not bound by component_bind_all(). Regards, Wadim Am 14.08.2017 um 09:04 schrieb Sandy Huang: > This adds support for

Re: [PATCH v3 3/3] drm/rockchip: Add support for Rockchip Soc LVDS

2017-08-14 Thread Wadim Egorov
Hi Sandy, I am not familiar with the rockchip drm driver, but don't you have to add the rockchip_lvds_driver as a sub driver in rockchip_drm_init()? Otherwise it will be not bound by component_bind_all(). Regards, Wadim Am 14.08.2017 um 09:04 schrieb Sandy Huang: > This adds support for

Re: [PATCH v2 1/3] ARM: dts: rockchip: Add support for phyCORE-RK3288 SoM

2017-04-18 Thread Wadim Egorov
>> + { >> + status = "okay"; >> + clock-frequency = <40>; >> + >> + rk818: pmic@1c { >> + compatible = "rockchip,rk818"; >> + reg = <0x1c>; >> + interrupt-parent = <>; >> + interrupts = <4 IRQ_TYPE_LEVEL_LOW>; >> +

Re: [PATCH v2 1/3] ARM: dts: rockchip: Add support for phyCORE-RK3288 SoM

2017-04-18 Thread Wadim Egorov
>> + { >> + status = "okay"; >> + clock-frequency = <40>; >> + >> + rk818: pmic@1c { >> + compatible = "rockchip,rk818"; >> + reg = <0x1c>; >> + interrupt-parent = <>; >> + interrupts = <4 IRQ_TYPE_LEVEL_LOW>; >> +

[PATCH v2 3/3] dt-bindings: Document Phytec phyCORE-RK3288 RDK

2017-04-06 Thread Wadim Egorov
Add documentation for the PCM-947 carrier board, a RK3288 based development board made by PHYTEC. Signed-off-by: Wadim Egorov <w.ego...@phytec.de> --- No changes in v2 --- Documentation/devicetree/bindings/arm/rockchip.txt | 4 1 file changed, 4 insertions(+) diff --git a/Documen

[PATCH v2 3/3] dt-bindings: Document Phytec phyCORE-RK3288 RDK

2017-04-06 Thread Wadim Egorov
Add documentation for the PCM-947 carrier board, a RK3288 based development board made by PHYTEC. Signed-off-by: Wadim Egorov --- No changes in v2 --- Documentation/devicetree/bindings/arm/rockchip.txt | 4 1 file changed, 4 insertions(+) diff --git a/Documentation/devicetree/bindings/arm

[PATCH v2 2/3] ARM: dts: rockchip: Add support for PCM-947 carrier board

2017-04-06 Thread Wadim Egorov
and other modules - RTC RV-4162-C7 - Resistive touch STMPE811 - EEPROM M24C32 Signed-off-by: Wadim Egorov <w.ego...@phytec.de> --- Changes in v2: - Added a dual license which is used for all rk3288 based boards. --- arch/arm/boot/dts/Makefile | 1 + arch/arm/boot/dts/

[PATCH v2 2/3] ARM: dts: rockchip: Add support for PCM-947 carrier board

2017-04-06 Thread Wadim Egorov
and other modules - RTC RV-4162-C7 - Resistive touch STMPE811 - EEPROM M24C32 Signed-off-by: Wadim Egorov --- Changes in v2: - Added a dual license which is used for all rk3288 based boards. --- arch/arm/boot/dts/Makefile | 1 + arch/arm/boot/dts/rk3288-phycore-rdk.dts | 298

[PATCH v2 1/3] ARM: dts: rockchip: Add support for phyCORE-RK3288 SoM

2017-04-06 Thread Wadim Egorov
) - 1x 4 KB EEPROM - DP83867 Gigabit Ethernet PHY - 16 MB SPI Flash - 4 GB eMMC Flash Signed-off-by: Wadim Egorov <w.ego...@phytec.de> --- 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 prope

[PATCH v2 1/3] ARM: dts: rockchip: Add support for phyCORE-RK3288 SoM

2017-04-06 Thread Wadim Egorov
) - 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

[PATCH 1/3] ARM: dts: rockchip: Add support for phyCORE-RK3288 SoM

2017-04-03 Thread Wadim Egorov
) - 1x 4 KB EEPROM - DP83867 Gigabit Ethernet PHY - 16 MB SPI Flash - 4 GB eMMC Flash Signed-off-by: Wadim Egorov <w.ego...@phytec.de> --- arch/arm/boot/dts/rk3288-phycore-som.dtsi | 463 ++ 1 file changed, 463 insertions(+) create mode 100644 arch/arm/bo

[PATCH 1/3] ARM: dts: rockchip: Add support for phyCORE-RK3288 SoM

2017-04-03 Thread Wadim Egorov
) - 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

[PATCH 3/3] dt-bindings: Document Phytec phyCORE-RK3288 RDK

2017-04-03 Thread Wadim Egorov
Add documentation for the PCM-947 carrier board, a RK3288 based development board made by PHYTEC. Signed-off-by: Wadim Egorov <w.ego...@phytec.de> --- Documentation/devicetree/bindings/arm/rockchip.txt | 4 1 file changed, 4 insertions(+) diff --git a/Documentation/devicetree/bindin

[PATCH 3/3] dt-bindings: Document Phytec phyCORE-RK3288 RDK

2017-04-03 Thread Wadim Egorov
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

[PATCH 2/3] ARM: dts: rockchip: Add support for PCM-947 carrier board

2017-04-03 Thread Wadim Egorov
and other modules - RTC RV-4162-C7 - Resistive touch STMPE811 - EEPROM M24C32 Signed-off-by: Wadim Egorov <w.ego...@phytec.de> --- arch/arm/boot/dts/Makefile | 1 + arch/arm/boot/dts/rk3288-phycore-rdk.dts | 263 +++ 2 files changed, 264 inse

[PATCH 2/3] ARM: dts: rockchip: Add support for PCM-947 carrier board

2017-04-03 Thread Wadim Egorov
and 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

[PATCH v2] net: stmmac: dwmac-rk: Add handling for RGMII_ID/RXID/TXID

2017-03-29 Thread Wadim Egorov
based board. Signed-off-by: Wadim Egorov <w.ego...@phytec.de> --- 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/drive

[PATCH v2] net: stmmac: dwmac-rk: Add handling for RGMII_ID/RXID/TXID

2017-03-29 Thread Wadim Egorov
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/ethernet/stmicro

[PATCH] net: stmmac: dwmac-rk: Add handling for RGMII_ID/RXID/TXID

2017-03-22 Thread Wadim Egorov
based board. Signed-off-by: Wadim Egorov <w.ego...@phytec.de> --- 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/

[PATCH] net: stmmac: dwmac-rk: Add handling for RGMII_ID/RXID/TXID

2017-03-22 Thread Wadim Egorov
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-rk.c index

[PATCH] regulator: rk808: Fix RK818 LDO2

2017-03-22 Thread Wadim Egorov
Set the correct voltage select register for LDO2. Signed-off-by: Wadim Egorov <w.ego...@phytec.de> --- 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 f

[PATCH] regulator: rk808: Fix RK818 LDO2

2017-03-22 Thread Wadim Egorov
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

Re: [PATCH v1 0/4] rk808: Add RK805 support

2017-03-09 Thread Wadim Egorov
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

Re: [PATCH v1 0/4] rk808: Add RK805 support

2017-03-09 Thread Wadim Egorov
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

Re: [PATCH V3 2/2] ARM: dts: rockchip: add dts for RK3288-Tinker board

2017-02-14 Thread Wadim Egorov
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

Re: [PATCH V3 2/2] ARM: dts: rockchip: add dts for RK3288-Tinker board

2017-02-14 Thread Wadim Egorov
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 >

Re: [PATCH] mfd: rk808: RK818 uses DEV_OFF to power off supplies

2016-10-21 Thread Wadim Egorov
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

Re: [PATCH] mfd: rk808: RK818 uses DEV_OFF to power off supplies

2016-10-21 Thread Wadim Egorov
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

[PATCH] ARM: rockchip: add UART0 as debug uart for RK32xx based platforms

2016-08-29 Thread Wadim Egorov
Add support to allow low-level debugging messages via Rockchip RK32 UART0. Signed-off-by: Wadim Egorov <w.ego...@phytec.de> --- 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 a

[PATCH] ARM: rockchip: add UART0 as debug uart for RK32xx based platforms

2016-08-29 Thread Wadim Egorov
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

[PATCH v8 2/4] regulator: rk808: Add regulator driver for RK818

2016-08-29 Thread Wadim Egorov
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

[PATCH v8 1/4] mfd: RK808: Add RK818 support

2016-08-29 Thread Wadim Egorov
-by: Wadim Egorov <w.ego...@phytec.de> Tested-by: Andy Yan <andy@rock-chips.com> --- Changes since v7: - add includes in alphabetical order --- drivers/mfd/Kconfig | 4 +- drivers/mfd/rk808.c | 226 +++--- include/linux/mfd/r

[PATCH v8 2/4] regulator: rk808: Add regulator driver for RK818

2016-08-29 Thread Wadim Egorov
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

[PATCH v8 1/4] mfd: RK808: Add RK818 support

2016-08-29 Thread 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

[PATCH v8 3/4] mfd: dt-bindings: Add RK818 device tree bindings document

2016-08-29 Thread Wadim Egorov
Add device tree bindings documentation for Rockchip's RK818 PMIC. Signed-off-by: Wadim Egorov <w.ego...@phytec.de> Acked-by: Rob Herring <r...@kernel.org> Acked-by: Lee Jones <lee.jo...@linaro.org> --- Documentation/devicetree/bindings/mfd/rk808.txt | 37 +++

[PATCH v8 4/4] rtc: Kconfig: Name RK818 in Kconfig for RTC_DRV_RK808

2016-08-29 Thread 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 <w.ego...@phytec.de> Acked-by: Alexandre Belloni <alexandre.bell...@free-electrons.com> ---

[PATCH v8 4/4] rtc: Kconfig: Name RK818 in Kconfig for RTC_DRV_RK808

2016-08-29 Thread 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 deletions

[PATCH v8 3/4] mfd: dt-bindings: Add RK818 device tree bindings document

2016-08-29 Thread Wadim Egorov
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 --git

Re: [PATCH v7 1/4] mfd: RK808: Add RK818 support

2016-08-19 Thread Wadim Egorov
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 >> - Cloc

Re: [PATCH v7 1/4] mfd: RK808: Add RK818 support

2016-08-19 Thread Wadim Egorov
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 >> - Cloc

[PATCH v7 0/4] Add support for rk818

2016-08-10 Thread Wadim Egorov
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

[PATCH v7 0/4] Add support for rk818

2016-08-10 Thread Wadim Egorov
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

[PATCH v7 3/4] mfd: dt-bindings: Add RK818 device tree bindings document

2016-08-10 Thread Wadim Egorov
Add device tree bindings documentation for Rockchip's RK818 PMIC. Signed-off-by: Wadim Egorov <w.ego...@phytec.de> Acked-by: Rob Herring <r...@kernel.org> Acked-by: Lee Jones <lee.jo...@linaro.org> --- Documentation/devicetree/bindings/mfd/rk808.txt | 37 +++

[PATCH v7 3/4] mfd: dt-bindings: Add RK818 device tree bindings document

2016-08-10 Thread Wadim Egorov
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 --git

[PATCH v7 1/4] mfd: RK808: Add RK818 support

2016-08-10 Thread Wadim Egorov
-by: Wadim Egorov <w.ego...@phytec.de> Tested-by: Andy Yan <andy@rock-chips.com> --- Changes since v6: - Squashed in the patch mfd: RK808: Fetch PMIC variant from chip id register --- drivers/mfd/Kconfig | 4 +- drivers/mfd/rk808.c

[PATCH v7 1/4] mfd: RK808: Add RK818 support

2016-08-10 Thread Wadim Egorov
-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

[PATCH v7 4/4] rtc: Kconfig: Name RK818 in Kconfig for RTC_DRV_RK808

2016-08-10 Thread 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 <w.ego...@phytec.de> Acked-by: Alexandre Belloni <alexandre.bell...@free-electrons.com> ---

[PATCH v7 4/4] rtc: Kconfig: Name RK818 in Kconfig for RTC_DRV_RK808

2016-08-10 Thread 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 deletions

[PATCH v7 2/4] regulator: rk808: Add regulator driver for RK818

2016-08-10 Thread Wadim Egorov
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

[PATCH v7 2/4] regulator: rk808: Add regulator driver for RK818

2016-08-10 Thread Wadim Egorov
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

[RESEND PATCH] mfd: RK808: Fetch PMIC variant from chip id register

2016-08-02 Thread Wadim Egorov
Add and use the chip id registers to determine the PMIC variant. Signed-off-by: Wadim Egorov <w.ego...@phytec.de> Tested-by: Andy Yan <andy@rock-chips.com> --- This patch is based on top of [v6,1/5] mfd: RK808: Add RK818 support (https://patchwork.kernel.org/patch/9172223/)

[RESEND PATCH] mfd: RK808: Fetch PMIC variant from chip id register

2016-08-02 Thread 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

[PATCH] mfd: RK808: Fetch PMIC variant from chip id register

2016-07-14 Thread Wadim Egorov
Add and use the chip id registers to determine the PMIC variant. Signed-off-by: Wadim Egorov <w.ego...@phytec.de> --- 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

[PATCH] mfd: RK808: Fetch PMIC variant from chip id register

2016-07-14 Thread Wadim Egorov
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

Re: [RESEND PATCH v5 1/5] mfd: RK808: Add RK818 support

2016-07-06 Thread Wadim Egorov
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

Re: [RESEND PATCH v5 1/5] mfd: RK808: Add RK818 support

2016-07-06 Thread Wadim Egorov
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

[PATCH v6 1/5] mfd: RK808: Add RK818 support

2016-06-13 Thread Wadim Egorov
-by: Wadim Egorov <w.ego...@phytec.de> --- 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 --- drive

[PATCH v6 2/5] regulator: rk808: Add regulator driver for RK818

2016-06-13 Thread Wadim Egorov
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

[PATCH v6 1/5] mfd: RK808: Add RK818 support

2016-06-13 Thread Wadim Egorov
-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

[PATCH v6 2/5] regulator: rk808: Add regulator driver for RK818

2016-06-13 Thread Wadim Egorov
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

[PATCH v6 4/5] clk: Kconfig: Name RK818 in Kconfig for COMMON_CLK_RK808

2016-06-13 Thread Wadim Egorov
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 <w.ego...@phytec.de> Acked-by: Stephen Boyd <sb...@codeaurora.org> --- drivers/clk/Kconfig | 4

[PATCH v6 4/5] clk: Kconfig: Name RK818 in Kconfig for COMMON_CLK_RK808

2016-06-13 Thread Wadim Egorov
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 deletions

[PATCH v6 3/5] mfd: dt-bindings: Add RK818 device tree bindings document

2016-06-13 Thread Wadim Egorov
Add device tree bindings documentation for Rockchip's RK818 PMIC. Signed-off-by: Wadim Egorov <w.ego...@phytec.de> Acked-by: Rob Herring <r...@kernel.org> Acked-by: Lee Jones <lee.jo...@linaro.org> --- Changes since v5: - Added Acked-by from Lee Jones --- Documentation/devic

[PATCH v6 5/5] rtc: Kconfig: Name RK818 in Kconfig for RTC_DRV_RK808

2016-06-13 Thread 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 <w.ego...@phytec.de> Acked-by: Alexandre Belloni <alexandre.bell...@free-electrons.com> ---

[PATCH v6 3/5] mfd: dt-bindings: Add RK818 device tree bindings document

2016-06-13 Thread Wadim Egorov
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 changed, 34

[PATCH v6 5/5] rtc: Kconfig: Name RK818 in Kconfig for RTC_DRV_RK808

2016-06-13 Thread 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 deletions

Re: [RESEND PATCH v5 1/5] mfd: RK808: Add RK818 support

2016-06-09 Thread Wadim Egorov
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

Re: [RESEND PATCH v5 1/5] mfd: RK808: Add RK818 support

2016-06-09 Thread Wadim Egorov
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

Re: [RESEND PATCH v5 1/5] mfd: RK808: Add RK818 support

2016-06-09 Thread Wadim Egorov
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: >> >>

Re: [RESEND PATCH v5 1/5] mfd: RK808: Add RK818 support

2016-06-09 Thread Wadim Egorov
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: >> >>

[RESEND PATCH v5 4/5] clk: Kconfig: Name RK818 in Kconfig for COMMON_CLK_RK808

2016-06-02 Thread Wadim Egorov
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 <w.ego...@phytec.de> Acked-by: Stephen Boyd <sb...@codeaurora.org> --- drivers/clk/Kconfig | 4

[RESEND PATCH v5 4/5] clk: Kconfig: Name RK818 in Kconfig for COMMON_CLK_RK808

2016-06-02 Thread Wadim Egorov
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 deletions

[RESEND PATCH v5 1/5] mfd: RK808: Add RK818 support

2016-06-02 Thread Wadim Egorov
hips.com> * + * Copyright (C) 2016 PHYTEC Messtechnik GmbH + * + * Author: Wadim Egorov <w.ego...@phytec.de> + * * 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 publis

[RESEND PATCH v5 5/5] rtc: Kconfig: Name RK818 in Kconfig for RTC_DRV_RK808

2016-06-02 Thread 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 <w.ego...@phytec.de> Acked-by: Alexandre Belloni <alexandre.bell...@free-electrons.com> ---

[RESEND PATCH v5 1/5] mfd: RK808: Add RK818 support

2016-06-02 Thread Wadim Egorov
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

[RESEND PATCH v5 5/5] rtc: Kconfig: Name RK818 in Kconfig for RTC_DRV_RK808

2016-06-02 Thread 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 deletions

[RESEND PATCH v5 3/5] mfd: dt-bindings: Add RK818 device tree bindings document

2016-06-02 Thread Wadim Egorov
Add device tree bindings documentation for Rockchip's RK818 PMIC. Signed-off-by: Wadim Egorov <w.ego...@phytec.de> Acked-by: Rob Herring <r...@kernel.org> --- Documentation/devicetree/bindings/mfd/rk808.txt | 37 +++-- 1 file changed, 34 insertions(+), 3 deleti

[RESEND PATCH v5 3/5] mfd: dt-bindings: Add RK818 device tree bindings document

2016-06-02 Thread 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/devicetree

[RESEND PATCH v5 2/5] regulator: rk808: Add regulator driver for RK818

2016-06-02 Thread Wadim Egorov
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

[RESEND PATCH v5 2/5] regulator: rk808: Add regulator driver for RK818

2016-06-02 Thread Wadim Egorov
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: [PATCH v5 3/6] regulator: rk808: Add regulator driver for RK818

2016-05-10 Thread Wadim Egorov
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. >> >>

Re: [PATCH v5 3/6] regulator: rk808: Add regulator driver for RK818

2016-05-10 Thread Wadim Egorov
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. >> >>

[PATCH v5 0/6] Add support for rk818

2016-05-10 Thread Wadim Egorov
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 device tr

[PATCH v5 4/6] mfd: dt-bindings: Add RK818 device tree bindings document

2016-05-10 Thread Wadim Egorov
Add device tree bindings documentation for Rockchip's RK818 PMIC. Signed-off-by: Wadim Egorov <w.ego...@phytec.de> Acked-by: Rob Herring <r...@kernel.org> --- Documentation/devicetree/bindings/mfd/rk808.txt | 37 +++-- 1 file changed, 34 insertions(+), 3 deleti

[PATCH v5 0/6] Add support for rk818

2016-05-10 Thread Wadim Egorov
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 device tr

[PATCH v5 4/6] mfd: dt-bindings: Add RK818 device tree bindings document

2016-05-10 Thread 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/devicetree

[PATCH v5 1/6] regulator: rk808: Migrate to regulator core's simplified DT parsing code

2016-05-10 Thread Wadim Egorov
re compact. Signed-off-by: Wadim Egorov <w.ego...@phytec.de> Acked-by: Mark Brown <broo...@kernel.org> --- Changes since v4: - Added acked-by --- drivers/regulator/rk808-regulator.c | 250 1 file changed, 79 insertions(+), 171 deletions(-) diff --g

[PATCH v5 1/6] regulator: rk808: Migrate to regulator core's simplified DT parsing code

2016-05-10 Thread Wadim Egorov
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

[PATCH v5 6/6] rtc: Kconfig: Name RK818 in Kconfig for RTC_DRV_RK808

2016-05-10 Thread 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 <w.ego...@phytec.de> Acked-by: Alexandre Belloni <alexandre.bell...@free-electrons.com> ---

[PATCH v5 3/6] regulator: rk808: Add regulator driver for RK818

2016-05-10 Thread Wadim Egorov
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

  1   2   >