[PATCH 2/3] ARM: dts: rockchip: add usb nodes for rv1108 SoCs

2017-08-21 Thread Frank Wang
This patch adds usb otg/host controllers and phys nodes for RV1108 SoCs. Signed-off-by: Frank Wang --- arch/arm/boot/dts/rv1108.dtsi | 73 ++- 1 file changed, 72 insertions(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/rv1108.dtsi b/arch/arm/boot/dts

[PATCH 3/3] ARM: dts: rockchip: enable usb for rv1108-evb

2017-08-21 Thread Frank Wang
Rockchip's rv1108-evb board has one usb otg controller and one usb host controller, each usb controller connect with one usb-phy port through UTMI+ interface. This patch enables them to support usb on rv1108-evb board. Signed-off-by: Frank Wang --- arch/arm/boot/dts/rv1108-evb.dts

[PATCH 1/3] dt-bindings: update dt-binding for rv1108 SoCs

2017-08-21 Thread Frank Wang
This patch adds the compatible of GRF and USBGRF for RV1108 SoCs. Signed-off-by: Frank Wang --- Documentation/devicetree/bindings/soc/rockchip/grf.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Documentation/devicetree/bindings/soc/rockchip/grf.txt b/Documentation/devicetree

[PATCH 0/3] add usb support for rv1108 SoCs

2017-08-21 Thread Frank Wang
This serie adds USB related device nodes support for rv1108 SoCs, in addition, Rockchip's rv1108-evb board has one usb otg controller and one usb host controller, each controller connect with one usb-phy port through UTMI+ interface, the changes also enable usb related for rv1108-evb board.

[PATCH v4 5/5] phy: rockchip-inno-usb2: add support of usb2-phy for rv1108 SoCs

2017-08-11 Thread Frank Wang
This adds support usb2-phy for rv1108 SoCs and amend phy Documentation. Signed-off-by: Frank Wang Acked-by: Rob Herring --- .../bindings/phy/phy-rockchip-inno-usb2.txt| 1 + drivers/phy/rockchip/phy-rockchip-inno-usb2.c | 43 ++ 2 files changed, 44 insertions

[PATCH v4 1/5] phy: rockchip-inno-usb2: add support for rockchip,usbgrf property

2017-08-11 Thread Frank Wang
The registers of usb-phy are distributed in grf and usbgrf on some Rockchip SoCs (e.g RV1108), this patch add a new rockchip,usbgrf property to support this companion grf design. Signed-off-by: Frank Wang --- drivers/phy/rockchip/phy-rockchip-inno-usb2.c | 109 +- 1 file

[PATCH v4 2/5] dt-bindings: phy-rockchip-inno-usb2: add rockchip,usbgrf property

2017-08-11 Thread Frank Wang
Add rockchip,usbgrf property to support the registers of usb-phy that are distributed in grf and usbgrf on some special Rockchip SoCs (e.g RV1108). Signed-off-by: Frank Wang --- Documentation/devicetree/bindings/phy/phy-rockchip-inno-usb2.txt | 4 1 file changed, 4 insertions(+) diff

[PATCH v4 3/5] phy: rockchip-inno-usb2: add support for otg-mux interrupt

2017-08-11 Thread Frank Wang
The otg-id/otg-bvalid/linestate interrupts are multiplexed together in otg-port on some Rockchip SoC (e.g RV1108), this patch add support for it. Signed-off-by: Frank Wang --- drivers/phy/rockchip/phy-rockchip-inno-usb2.c | 63 +-- 1 file changed, 50 insertions(+), 13

[PATCH v4 4/5] dt-bindings: phy-rockchip-inno-usb2: add otg-mux interrupt

2017-08-11 Thread Frank Wang
Add otg-mux property to support multiplexed interrupt in otg-port on some Rockchip SoC (e.g RV1108). Signed-off-by: Frank Wang Acked-by: Rob Herring --- Documentation/devicetree/bindings/phy/phy-rockchip-inno-usb2.txt | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a

[PATCH v4 0/5] add some properties for Rockchip usb2-phy and add rv1108 SoCs' support

2017-08-11 Thread Frank Wang
instead of companion_grf_quirk. Changes from v2: - Amend otg-mux interrupt to be auto-detectable and update related dt-bindings. Changes from v1: - Send the dt-bindings as a separate patch and cc devicetree list. Frank Wang (5): phy: rockchip-inno-usb2: add support for rockchip,usbgrf property dt-bin

Re: [PATCH v3 4/5] dt-bindings: phy-rockchip-inno-usb2: add otg-mux interrupt

2017-08-10 Thread Frank Wang
Hi Rob, On 2017/8/11 1:06, Rob Herring wrote: On Thu, Aug 03, 2017 at 04:09:12PM +0800, Frank Wang wrote: Add otg-mux property to support multiplexed interrupt in otg-port on some Rockchip SoC (e.g RV1108). Signed-off-by: Frank Wang --- Documentation/devicetree/bindings/phy/phy-rockchip

Re: [PATCH v3 2/5] dt-bindings: phy-rockchip-inno-usb2: add companion grf quirk

2017-08-10 Thread Frank Wang
Hi Rob, On 2017/8/11 1:05, Rob Herring wrote: On Thu, Aug 03, 2017 at 04:09:10PM +0800, Frank Wang wrote: Add rockchip,usbgrf and rockchip,companion_grf_quirk to support the registers of usb-phy that are distributed in grf and usbgrf on some special Rockchip SoCs (e.g RV1108). Signed-off-by

[PATCH v3 1/5] phy: rockchip-inno-usb2: add companion grf quirk

2017-08-03 Thread Frank Wang
The registers of usb-phy are distributed in grf and usbgrf on some Rockchip SoCs (e.g RV1108), this patch add a quirk to support this companion grf design. Signed-off-by: Frank Wang --- drivers/phy/rockchip/phy-rockchip-inno-usb2.c | 112 +- 1 file changed, 74 insertions

[PATCH v3 2/5] dt-bindings: phy-rockchip-inno-usb2: add companion grf quirk

2017-08-03 Thread Frank Wang
Add rockchip,usbgrf and rockchip,companion_grf_quirk to support the registers of usb-phy that are distributed in grf and usbgrf on some special Rockchip SoCs (e.g RV1108). Signed-off-by: Frank Wang --- Documentation/devicetree/bindings/phy/phy-rockchip-inno-usb2.txt | 4 1 file changed, 4

[PATCH v3 5/5] phy: rockchip-inno-usb2: add support of usb2-phy for rv1108 SoCs

2017-08-03 Thread Frank Wang
This adds support usb2-phy for rv1108 SoCs and amend phy Documentation. Signed-off-by: Frank Wang --- .../bindings/phy/phy-rockchip-inno-usb2.txt| 1 + drivers/phy/rockchip/phy-rockchip-inno-usb2.c | 43 ++ 2 files changed, 44 insertions(+) diff --git a

[PATCH v3 3/5] phy: rockchip-inno-usb2: add support for otg-mux interrupt

2017-08-03 Thread Frank Wang
The otg-id/otg-bvalid/linestate interrupts are multiplexed together in otg-port on some Rockchip SoC (e.g RV1108), this patch add support for it. Signed-off-by: Frank Wang --- drivers/phy/rockchip/phy-rockchip-inno-usb2.c | 63 +-- 1 file changed, 50 insertions(+), 13

[PATCH v3 4/5] dt-bindings: phy-rockchip-inno-usb2: add otg-mux interrupt

2017-08-03 Thread Frank Wang
Add otg-mux property to support multiplexed interrupt in otg-port on some Rockchip SoC (e.g RV1108). Signed-off-by: Frank Wang --- Documentation/devicetree/bindings/phy/phy-rockchip-inno-usb2.txt | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree

[PATCH v3 0/5] add some quirks for Rockchip usb2-phy and add rv1108 SoCs' support

2017-08-03 Thread Frank Wang
separate patch and cc devicetree list. Frank Wang (5): phy: rockchip-inno-usb2: add companion grf quirk dt-bindings: phy-rockchip-inno-usb2: add companion grf quirk phy: rockchip-inno-usb2: add support for otg-mux interrupt dt-bindings: phy-rockchip-inno-usb2: add otg-mux interrupt phy

Re: [PATCH v2 4/5] dt-bindings: phy-rockchip-inno-usb2: add otg mux irq quirk

2017-08-02 Thread Frank Wang
Hi Heiko, On 2017/8/2 19:25, Heiko Stübner wrote: Hi Frank, Am Mittwoch, 2. August 2017, 15:53:09 CEST schrieb Frank Wang: Add rockchip,otg_mux_irq_quirk property to support the otg-id/ otg-bvalid/linestate irqs that are multiplexed to one irq in otg-port on some special Rockchip SoCs (e.g

[PATCH v2 5/5] phy: rockchip-inno-usb2: add support of usb2-phy for rv1108 SoCs

2017-08-02 Thread Frank Wang
This adds support usb2-phy for rv1108 SoCs and amend phy Documentation. Signed-off-by: Frank Wang --- .../bindings/phy/phy-rockchip-inno-usb2.txt| 1 + drivers/phy/rockchip/phy-rockchip-inno-usb2.c | 43 ++ 2 files changed, 44 insertions(+) diff --git a

[PATCH v2 0/5] add some quirks for Rockchip usb2-phy and add rv1108 SoCs' support

2017-08-02 Thread Frank Wang
These series of patches add companion_grf_quirk and otg_mux_irq_quirk for rockchip usb2-phy. In addition, this change also add rv1108 usb2-phy support. Changes from v1: - Send the dt-bindings as a separate patch and cc devicetree list. Frank Wang (5): phy: rockchip-inno-usb2: add companion

[PATCH v2 1/5] phy: rockchip-inno-usb2: add companion grf quirk

2017-08-02 Thread Frank Wang
The registers of usb-phy are distributed in grf and usbgrf on some Rockchip SoCs (e.g RV1108), this patch add a quirk to support this companion grf design. Signed-off-by: Frank Wang --- drivers/phy/rockchip/phy-rockchip-inno-usb2.c | 112 +- 1 file changed, 74 insertions

[PATCH v2 2/5] dt-bindings: phy-rockchip-inno-usb2: add companion grf quirk

2017-08-02 Thread Frank Wang
Add rockchip,usbgrf and rockchip,companion_grf_quirk to support the registers of usb-phy that are distributed in grf and usbgrf on some special Rockchip SoCs (e.g RV1108). Signed-off-by: Frank Wang --- Documentation/devicetree/bindings/phy/phy-rockchip-inno-usb2.txt | 4 1 file changed, 4

[PATCH v2 3/5] phy: rockchip-inno-usb2: add otg mux irq quirk

2017-08-02 Thread Frank Wang
The otg-id/otg-bvalid/linestate irqs are multiplexed to one irq in otg-port on some Rockchip SoCs (e.g RV1108), this patch add a quirk to support this mux irq feature. Signed-off-by: Frank Wang --- drivers/phy/rockchip/phy-rockchip-inno-usb2.c | 68 ++- 1 file changed

[PATCH v2 4/5] dt-bindings: phy-rockchip-inno-usb2: add otg mux irq quirk

2017-08-02 Thread Frank Wang
Add rockchip,otg_mux_irq_quirk property to support the otg-id/ otg-bvalid/linestate irqs that are multiplexed to one irq in otg-port on some special Rockchip SoCs (e.g RV1108). Signed-off-by: Frank Wang --- Documentation/devicetree/bindings/phy/phy-rockchip-inno-usb2.txt | 5 + 1 file

Re: [PATCH 1/3] phy: rockchip-inno-usb2: add companion grf quirk

2017-08-01 Thread Frank Wang
Hi Kishon, On 2017/8/2 13:03, Kishon Vijay Abraham I wrote: Hi, On Tuesday 01 August 2017 01:42 PM, Frank Wang wrote: The registers of usb-phy are distributed in grf and usbgrf on some Rockchip SoCs (e.g RV1108), this patch add a quirk to support this companion grf design. Signed-off-by

[PATCH 2/3] phy: rockchip-inno-usb2: add otg mux irq quirk

2017-08-01 Thread Frank Wang
The otg-id/otg-bvalid/linestate irqs are multiplexed to one irq in otg-port on some Rockchip SoC (e.g RV1108), this patch add a quirk to support this mux irq feature. Signed-off-by: Frank Wang --- .../bindings/phy/phy-rockchip-inno-usb2.txt| 5 ++ drivers/phy/rockchip/phy-rockchip-inno

[PATCH 3/3] phy: rockchip-inno-usb2: add support of usb2-phy for rv1108 SoCs

2017-08-01 Thread Frank Wang
This adds support usb2-phy for rv1108 SoCs and amend phy Documentation. Signed-off-by: Frank Wang --- .../bindings/phy/phy-rockchip-inno-usb2.txt| 1 + drivers/phy/rockchip/phy-rockchip-inno-usb2.c | 43 ++ 2 files changed, 44 insertions(+) diff --git a

[PATCH 1/3] phy: rockchip-inno-usb2: add companion grf quirk

2017-08-01 Thread Frank Wang
The registers of usb-phy are distributed in grf and usbgrf on some Rockchip SoCs (e.g RV1108), this patch add a quirk to support this companion grf design. Signed-off-by: Frank Wang --- .../bindings/phy/phy-rockchip-inno-usb2.txt| 4 + drivers/phy/rockchip/phy-rockchip-inno-usb2.c

[PATCH 0/3] add some quirks for Rockchip usb2-phy and add rv1108 SoCs' support

2017-08-01 Thread Frank Wang
These series of patches add companion_grf_quirk and otg_mux_irq_quirk for rockchip usb2-phy. In addition, this change also add rv1108 usb2-phy support. Frank Wang (3): phy: rockchip-inno-usb2: add companion grf quirk phy: rockchip-inno-usb2: add otg mux irq quirk phy: rockchip-inno-usb2

[RESEND PATCH] nvmem: rockchip-efuse: amend compatible rk322x-efuse to rk3228-efuse

2017-07-14 Thread Frank Wang
As the comments from Heiko Stuebner that compatible should not contain any placeholders, this patch fix it for rk3228 SoC. Note that this is a fix for v4.13, due to fixing the current non-standard binding name that should not become part of an official kernel release. Signed-off-by: Frank Wang

[PATCH v2 6/6] ARM: dts: rockchip: add gpio power-key for rk3229-evb

2017-07-05 Thread Frank Wang
This patch adds gpio power-key support for rk3229-evb board. Signed-off-by: Frank Wang --- arch/arm/boot/dts/rk3229-evb.dts | 24 1 file changed, 24 insertions(+) diff --git a/arch/arm/boot/dts/rk3229-evb.dts b/arch/arm/boot/dts/rk3229-evb.dts index cfcfe2a..a051708

[PATCH v2 5/6] ARM: dts: rockchip: enable tsadc for rk3229-evb

2017-07-05 Thread Frank Wang
This patch enables the tsadc for rk3229-evb board. The rk3229 evb board uses the CRU to reset the chip since it has not the PMIC to connect it, and TSHUT is low active on evb board. Signed-off-by: Frank Wang --- arch/arm/boot/dts/rk3229-evb.dts | 5 + 1 file changed, 5 insertions(+) diff

[PATCH v2 2/6] ARM: dts: rockchip: add cpu-supply property for cpu node of rk3229-evb

2017-07-05 Thread Frank Wang
From: Finley Xiao This patch adds the cpu-supply property so that cpu can do dvfs on rk3229-evb board. Signed-off-by: Finley Xiao --- arch/arm/boot/dts/rk3229-evb.dts | 4 1 file changed, 4 insertions(+) diff --git a/arch/arm/boot/dts/rk3229-evb.dts b/arch/arm/boot/dts/rk3229-evb.dts ind

[PATCH v2 3/6] ARM: dts: rockchip: enable io-domain for rk3229-evb

2017-07-05 Thread Frank Wang
From: David Wu This patch enables io-domain support for rk3229-evb board. The power domain of VCCIO3 is selected from maskrom, so we do not need to configure it. Signed-off-by: David Wu Signed-off-by: Frank Wang --- arch/arm/boot/dts/rk3229-evb.dts | 8 1 file changed, 8 insertions

[PATCH v2 0/6] add and enable some device nodes for rk3229-evb board

2017-07-05 Thread Frank Wang
io-domain for rk3229-evb Finley Xiao (1): ARM: dts: rockchip: add cpu-supply property for cpu node of rk3229-evb Frank Wang (4): ARM: dts: rockchip: add regulator nodes for rk3229-evb ARM: dts: rockchip: enable eMMC for rk3229-evb ARM: dts: rockchip: enable tsadc for rk3229-evb ARM: dts

[PATCH v2 4/6] ARM: dts: rockchip: enable eMMC for rk3229-evb

2017-07-05 Thread Frank Wang
This patch enables eMMC support for rk3229-evb board. Signed-off-by: Frank Wang --- arch/arm/boot/dts/rk3229-evb.dts | 7 +++ 1 file changed, 7 insertions(+) diff --git a/arch/arm/boot/dts/rk3229-evb.dts b/arch/arm/boot/dts/rk3229-evb.dts index 78a3ea1..a51ca01 100644 --- a/arch/arm/boot

[PATCH v2 1/6] ARM: dts: rockchip: add regulator nodes for rk3229-evb

2017-07-05 Thread Frank Wang
This patch adds regulator info for rk3229-evb board. Signed-off-by: Frank Wang --- arch/arm/boot/dts/rk3229-evb.dts | 69 1 file changed, 69 insertions(+) diff --git a/arch/arm/boot/dts/rk3229-evb.dts b/arch/arm/boot/dts/rk3229-evb.dts index 82e8a53

Re: [PATCH 1/6] ARM: dts: rockchip: add regulator nodes for rk3229-evb

2017-07-04 Thread Frank Wang
Hi Heiko, On 2017/7/4 16:34, Heiko Stübner wrote: Hi Frank, Am Dienstag, 4. Juli 2017, 16:12:42 CEST schrieb Frank Wang: This patch adds vcc_io, vdd_arm and vdd_log regulator nodes for rk3229-evb board. Signed-off-by: Frank Wang --- arch/arm/boot/dts/rk3229-evb.dts | 54

[PATCH 6/6] ARM: dts: rockchip: add gpio power-key for rk3229-evb

2017-07-04 Thread Frank Wang
This patch adds gpio power-key support for rk3229-evb board. Signed-off-by: Frank Wang --- arch/arm/boot/dts/rk3229-evb.dts | 24 1 file changed, 24 insertions(+) diff --git a/arch/arm/boot/dts/rk3229-evb.dts b/arch/arm/boot/dts/rk3229-evb.dts index 43c3ad2..7cfe893

[PATCH 5/6] ARM: dts: rockchip: enable tsadc for rk3229-evb

2017-07-04 Thread Frank Wang
This patch enables the tsadc for rk3229-evb board. The rk3229 evb board uses the CRU to reset the chip since it has not the PMIC to connect it, and TSHUT is low active on evb board. Signed-off-by: Frank Wang --- arch/arm/boot/dts/rk3229-evb.dts | 5 + 1 file changed, 5 insertions(+) diff

[PATCH 1/6] ARM: dts: rockchip: add regulator nodes for rk3229-evb

2017-07-04 Thread Frank Wang
This patch adds vcc_io, vdd_arm and vdd_log regulator nodes for rk3229-evb board. Signed-off-by: Frank Wang --- arch/arm/boot/dts/rk3229-evb.dts | 54 1 file changed, 54 insertions(+) diff --git a/arch/arm/boot/dts/rk3229-evb.dts b/arch/arm/boot/dts

[PATCH 2/6] ARM: dts: rockchip: add cpu-supply property for cpu node of rk3229-evb

2017-07-04 Thread Frank Wang
From: Finley Xiao This patch adds the cpu-supply property so that cpu can do dvfs on rk3229-evb board. Signed-off-by: Finley Xiao --- arch/arm/boot/dts/rk3229-evb.dts | 4 1 file changed, 4 insertions(+) diff --git a/arch/arm/boot/dts/rk3229-evb.dts b/arch/arm/boot/dts/rk3229-evb.dts ind

[PATCH 4/6] ARM: dts: rockchip: enable eMMC for rk3229-evb

2017-07-04 Thread Frank Wang
This patch enables eMMC support for rk3229-evb board. Signed-off-by: Frank Wang --- arch/arm/boot/dts/rk3229-evb.dts | 11 +++ 1 file changed, 11 insertions(+) diff --git a/arch/arm/boot/dts/rk3229-evb.dts b/arch/arm/boot/dts/rk3229-evb.dts index b64f86c..bae0dbf 100644 --- a/arch/arm

[PATCH 3/6] ARM: dts: rockchip: enable io-domain for rk3229-evb

2017-07-04 Thread Frank Wang
From: David Wu This patch enables io-domain support for rk3229-evb board. The power domain of VCCIO3 is selected from maskrom, so we do not need to configure it. Signed-off-by: David Wu Signed-off-by: Frank Wang --- arch/arm/boot/dts/rk3229-evb.dts | 8 1 file changed, 8 insertions

[PATCH 0/6] add and enable some device nodes for rk3229-evb board

2017-07-04 Thread Frank Wang
These series add and enable regulators, gpio-keys, eMMC and other device nodes support for rk3229-evb board. David Wu (1): ARM: dts: rockchip: enable io-domain for rk3229-evb Finley Xiao (1): ARM: dts: rockchip: add cpu-supply property for cpu node of rk3229-evb Frank Wang (4): ARM: dts

[RESEND PATCH v2 7/7] ARM: dts: rockchip: add efuse device node for rk3228

2017-06-22 Thread Frank Wang
From: Finley Xiao Add a efuse node in the device tree for the rk3228 SoC. Signed-off-by: Finley Xiao Signed-off-by: Frank Wang --- arch/arm/boot/dts/rk322x.dtsi | 17 + 1 file changed, 17 insertions(+) diff --git a/arch/arm/boot/dts/rk322x.dtsi b/arch/arm/boot/dts

[RESEND PATCH v2 5/7] ARM: dts: rockchip: add sdmmc and sdio nodes for rk3228 SoC

2017-06-22 Thread Frank Wang
From: Shawn Lin This patch adds sdmmc/sdio controller nodes for rk3228 SoC. Signed-off-by: Shawn Lin --- arch/arm/boot/dts/rk322x.dtsi | 60 +++ 1 file changed, 60 insertions(+) diff --git a/arch/arm/boot/dts/rk322x.dtsi b/arch/arm/boot/dts/rk322x.dtsi

[RESEND PATCH v2 6/7] ARM: dts: rockchip: Add io-domain node for rk3228

2017-06-22 Thread Frank Wang
From: David Wu This patch adds io-domain support for rk3228 SoC. Signed-off-by: David Wu Signed-off-by: Frank Wang --- arch/arm/boot/dts/rk322x.dtsi | 5 + 1 file changed, 5 insertions(+) diff --git a/arch/arm/boot/dts/rk322x.dtsi b/arch/arm/boot/dts/rk322x.dtsi index 66578fa..bd7ef53

[RESEND PATCH v2 4/7] ARM: dts: rockchip: fix compatible string for eMMC node of rk3228 SoC

2017-06-22 Thread Frank Wang
From: Shawn Lin This adds amend compatible content for eMMC of RK3228 SoC. Signed-off-by: Shawn Lin --- arch/arm/boot/dts/rk322x.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/rk322x.dtsi b/arch/arm/boot/dts/rk322x.dtsi index 34d175e..c4d43ce 100644

[RESEND PATCH v2 3/7] Documentation: rockchip-dw-mshc: add description for rk3228

2017-06-22 Thread Frank Wang
From: Shawn Lin Add "rockchip,rk3228-dw-mshc", "rockchip,rk3288-dw-mshc" for dwmmc on rk322x platform. Signed-off-by: Shawn Lin Reviewed-by: Heiko Stuebner --- Documentation/devicetree/bindings/mmc/rockchip-dw-mshc.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetr

[RESEND PATCH v2 0/7] add some device nodes support for rk322x SoC

2017-06-22 Thread Frank Wang
io-domain node for rk3228 Finley Xiao (1): ARM: dts: rockchip: add efuse device node for rk3228 Frank Wang (2): ARM: dts: rockchip: add cpu enable method for rk3228 SoC ARM: dts: rockchip: add basic dtsi file for RK3229 SoC Shawn Lin (3): Documentation: rockchip-dw-mshc: add description

[RESEND PATCH v2 1/7] ARM: dts: rockchip: add cpu enable method for rk3228 SoC

2017-06-22 Thread Frank Wang
This patch sets PSCI as the default cpu enable-method for RK3228 SoC. Signed-off-by: Frank Wang --- arch/arm/boot/dts/rk322x.dtsi | 9 + 1 file changed, 9 insertions(+) diff --git a/arch/arm/boot/dts/rk322x.dtsi b/arch/arm/boot/dts/rk322x.dtsi index 31e04e9..34d175e 100644 --- a/arch

[RESEND PATCH v2 2/7] ARM: dts: rockchip: add basic dtsi file for RK3229 SoC

2017-06-22 Thread Frank Wang
Due to some tiny differences between RK3228 and RK3229, this patch adds a basic dtsi file which first includes a new CPU opp table for RK3229. Signed-off-by: Frank Wang --- arch/arm/boot/dts/rk3229-evb.dts | 2 +- arch/arm/boot/dts/rk3229.dtsi| 89

[PATCH] nvmem: rockchip-efuse: amend compatible rk322x-efuse to rk3228-efuse

2017-06-22 Thread Frank Wang
As the comments from Heiko Stuebner that compatible should not contain any placeholders, this patch fix it for rk3228 SoC. Signed-off-by: Frank Wang --- Documentation/devicetree/bindings/nvmem/rockchip-efuse.txt | 2 +- drivers/nvmem/rockchip-efuse.c | 2 +- 2 files

Re: [PATCH v2 7/7] ARM: dts: rockchip: add efuse device node for rk3228

2017-06-22 Thread Frank Wang
Hi Heiko, On 2017/6/22 15:27, Heiko Stuebner wrote: Hi Frank, Am Donnerstag, 22. Juni 2017, 15:24:38 CEST schrieb Frank Wang: From: Finley Xiao Add a efuse node in the device tree for the rk3228 SoC. Signed-off-by: Finley Xiao --- arch/arm/boot/dts/rk322x.dtsi | 17 + 1

[PATCH v2 6/7] ARM: dts: rockchip: Add io-domain node for rk3228

2017-06-22 Thread Frank Wang
From: David Wu This patch adds io-domain support for rk3228 SoC. Signed-off-by: David Wu Signed-off-by: Frank Wang --- arch/arm/boot/dts/rk322x.dtsi | 5 + 1 file changed, 5 insertions(+) diff --git a/arch/arm/boot/dts/rk322x.dtsi b/arch/arm/boot/dts/rk322x.dtsi index 66578fa..bd7ef53

[PATCH v2 7/7] ARM: dts: rockchip: add efuse device node for rk3228

2017-06-22 Thread Frank Wang
From: Finley Xiao Add a efuse node in the device tree for the rk3228 SoC. Signed-off-by: Finley Xiao --- arch/arm/boot/dts/rk322x.dtsi | 17 + 1 file changed, 17 insertions(+) diff --git a/arch/arm/boot/dts/rk322x.dtsi b/arch/arm/boot/dts/rk322x.dtsi index bd7ef53..a8697fe 100

[PATCH v2 5/7] ARM: dts: rockchip: add sdmmc and sdio nodes for rk3228 SoC

2017-06-22 Thread Frank Wang
From: Shawn Lin This patch adds sdmmc/sdio controller nodes for rk3228 SoC. Signed-off-by: Shawn Lin --- arch/arm/boot/dts/rk322x.dtsi | 60 +++ 1 file changed, 60 insertions(+) diff --git a/arch/arm/boot/dts/rk322x.dtsi b/arch/arm/boot/dts/rk322x.dtsi

[PATCH v2 1/7] ARM: dts: rockchip: add cpu enable method for rk3228 SoC

2017-06-22 Thread Frank Wang
This patch sets PSCI as the default cpu enable-method for RK3228 SoC. Signed-off-by: Frank Wang --- arch/arm/boot/dts/rk322x.dtsi | 9 + 1 file changed, 9 insertions(+) diff --git a/arch/arm/boot/dts/rk322x.dtsi b/arch/arm/boot/dts/rk322x.dtsi index 31e04e9..34d175e 100644 --- a/arch

[PATCH v2 4/7] ARM: dts: rockchip: fix compatible string for eMMC node of rk3228 SoC

2017-06-22 Thread Frank Wang
From: Shawn Lin This adds amend compatible content for eMMC of RK3228 SoC. Signed-off-by: Shawn Lin --- arch/arm/boot/dts/rk322x.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/rk322x.dtsi b/arch/arm/boot/dts/rk322x.dtsi index 34d175e..c4d43ce 100644

[PATCH v2 3/7] Documentation: rockchip-dw-mshc: add description for rk3228

2017-06-22 Thread Frank Wang
From: Shawn Lin Add "rockchip,rk3228-dw-mshc", "rockchip,rk3288-dw-mshc" for dwmmc on rk322x platform. Signed-off-by: Shawn Lin Reviewed-by: Heiko Stuebner --- Documentation/devicetree/bindings/mmc/rockchip-dw-mshc.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetr

[PATCH v2 2/7] ARM: dts: rockchip: add basic dtsi file for RK3229 SoC

2017-06-22 Thread Frank Wang
Due to some tiny differences between RK3228 and RK3229, this patch adds a basic dtsi file which first includes a new CPU opp table for RK3229. Signed-off-by: Frank Wang --- arch/arm/boot/dts/rk3229-evb.dts | 2 +- arch/arm/boot/dts/rk3229.dtsi| 89

[PATCH v2 0/7] add some device nodes support for rk322x SoC

2017-06-22 Thread Frank Wang
David Wu (1): ARM: dts: rockchip: Add io-domain node for rk3228 Finley Xiao (1): ARM: dts: rockchip: add efuse device node for rk3228 Frank Wang (2): ARM: dts: rockchip: add cpu enable method for rk3228 SoC ARM: dts: rockchip: add basic dtsi file for RK3229 SoC Shawn Lin (3): Doc

Re: [PATCH 1/6] ARM: dts: rockchip: add basic dtsi file for RK3229 SoC

2017-06-20 Thread Frank Wang
Hi Heiko, On 2017/6/19 20:30, Heiko Stübner wrote: Hi Frank, Am Montag, 19. Juni 2017, 18:34:27 CEST schrieb Frank Wang: On 2017/6/18 2:12, Heiko Stuebner wrote: Am Donnerstag, 15. Juni 2017, 15:16:15 CEST schrieb Frank Wang: Due to some tiny differences between RK3228 and RK3229, this

Re: [PATCH 1/6] ARM: dts: rockchip: add basic dtsi file for RK3229 SoC

2017-06-19 Thread Frank Wang
Hi Heiko, On 2017/6/18 2:12, Heiko Stuebner wrote: Am Donnerstag, 15. Juni 2017, 15:16:15 CEST schrieb Frank Wang: Due to some tiny differences between RK3228 and RK3229, this patch adds a basic dtsi file which includes a new CPU opp table and PSCI brought up support for RK3229. Signed-off-by

Re: [PATCH 6/6] ARM: dts: rockchip: add efuse device node for rk3228

2017-06-16 Thread Frank Wang
Hi Heiko, On 2017/6/15 23:10, Heiko Stuebner wrote: Hi Frank, Am Donnerstag, 15. Juni 2017, 15:23:16 CEST schrieb Frank Wang: From: Finley Xiao Add a efuse node in the device tree for the rk3228 SoC. Signed-off-by: Finley Xiao --- arch/arm/boot/dts/rk322x.dtsi | 17 + 1

[PATCH 6/6] ARM: dts: rockchip: add efuse device node for rk3228

2017-06-15 Thread Frank Wang
From: Finley Xiao Add a efuse node in the device tree for the rk3228 SoC. Signed-off-by: Finley Xiao --- arch/arm/boot/dts/rk322x.dtsi | 17 + 1 file changed, 17 insertions(+) diff --git a/arch/arm/boot/dts/rk322x.dtsi b/arch/arm/boot/dts/rk322x.dtsi index c2a78f4..dad195e 100

[PATCH 5/6] ARM: dts: rockchip: Add io-domain node for rk3228

2017-06-15 Thread Frank Wang
From: David Wu This patch adds io-domain support for rk3228 SoC. Signed-off-by: David Wu Signed-off-by: Frank Wang --- arch/arm/boot/dts/rk322x.dtsi | 5 + 1 file changed, 5 insertions(+) diff --git a/arch/arm/boot/dts/rk322x.dtsi b/arch/arm/boot/dts/rk322x.dtsi index 5e7b54c..c2a78f4

[PATCH 1/6] ARM: dts: rockchip: add basic dtsi file for RK3229 SoC

2017-06-15 Thread Frank Wang
Due to some tiny differences between RK3228 and RK3229, this patch adds a basic dtsi file which includes a new CPU opp table and PSCI brought up support for RK3229. Signed-off-by: Frank Wang --- arch/arm/boot/dts/rk3229-evb.dts | 2 +- arch/arm/boot/dts/rk3229.dtsi| 110

[PATCH 0/6] add some device nodes support for rk322x SoC

2017-06-15 Thread Frank Wang
These series add sdmmc, sdio, and other device nodes support for rk322x SoCs, and also introduce rk3229 basic dtsi file specifically. David Wu (1): ARM: dts: rockchip: Add io-domain node for rk3228 Finley Xiao (1): ARM: dts: rockchip: add efuse device node for rk3228 Frank Wang (1): ARM

[PATCH 3/6] ARM: dts: rockchip: fix compatible string for eMMC node of rk3228 SoC

2017-06-15 Thread Frank Wang
From: Shawn Lin This adds amend compatible content for eMMC of RK3228 SoC. Signed-off-by: Shawn Lin --- arch/arm/boot/dts/rk322x.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/rk322x.dtsi b/arch/arm/boot/dts/rk322x.dtsi index f3e4ffd..a812422 100644

[PATCH 4/6] ARM: dts: rockchip: add sdmmc and sdio nodes for rk3228 SoC

2017-06-15 Thread Frank Wang
From: Shawn Lin This patch adds sdmmc/sdio controller nodes for rk3228 SoC. Signed-off-by: Shawn Lin --- arch/arm/boot/dts/rk322x.dtsi | 60 +++ 1 file changed, 60 insertions(+) diff --git a/arch/arm/boot/dts/rk322x.dtsi b/arch/arm/boot/dts/rk322x.dtsi

[PATCH 2/6] Documentation: rockchip-dw-mshc: add description for rk3228

2017-06-15 Thread Frank Wang
From: Shawn Lin Add "rockchip,rk3228-dw-mshc", "rockchip,rk3288-dw-mshc" for dwmmc on rk322x platform. Signed-off-by: Shawn Lin --- Documentation/devicetree/bindings/mmc/rockchip-dw-mshc.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/mmc/rockchip-dw-m

Re: [PATCH] nvmem: rockchip-efuse: add support for rk322x-efuse

2017-06-04 Thread Frank Wang
Hi Finley, On 2017/5/12 10:44, Finley Xiao wrote: This adds the necessary data for handling eFuse on the rk322x. Signed-off-by: Finley Xiao --- Documentation/devicetree/bindings/nvmem/rockchip-efuse.txt | 1 + drivers/nvmem/rockchip-efuse.c | 4 2 files cha

[PATCH v2 0/4] fix some issues for Rockchip usb2-phy and add rk3228 SoCs' support

2017-06-01 Thread Frank Wang
people in the recipient list. Frank Wang (1): phy: rockchip-inno-usb2: add support of usb2-phy for rk3228 SoCs William Wu (3): phy: rockchip-inno-usb2: add a delay after phy resume phy: rockchip-inno-usb2: increase otg sm work first schedule time phy: rockchip-inno-usb2: add one phy comprises

[PATCH v2 2/4] phy: rockchip-inno-usb2: increase otg sm work first schedule time

2017-06-01 Thread Frank Wang
platform, so we increase the the first schedule delay time to 6s for otg_sm_work afer usb controller calls phy_init(), this can make sure that the usb controller completes initialization before phy enter suspend. Signed-off-by: William Wu Signed-off-by: Frank Wang --- drivers/phy/phy-rockchip-inno

[PATCH v2 3/4] phy: rockchip-inno-usb2: add one phy comprises with two host-ports support

2017-06-01 Thread Frank Wang
-port configuration, and make it work the same as otg-port host mode. Signed-off-by: William Wu Signed-off-by: Frank Wang --- drivers/phy/phy-rockchip-inno-usb2.c | 9 ++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/drivers/phy/phy-rockchip-inno-usb2.c b/drivers/phy/phy-roc

[PATCH v2 4/4] phy: rockchip-inno-usb2: add support of usb2-phy for rk3228 SoCs

2017-06-01 Thread Frank Wang
This adds support usb2-phy for rk3228 SoCs and amend phy Documentation. Signed-off-by: Frank Wang --- .../bindings/phy/phy-rockchip-inno-usb2.txt| 1 + drivers/phy/phy-rockchip-inno-usb2.c | 60 ++ 2 files changed, 61 insertions(+) diff --git a

[PATCH v2 1/4] phy: rockchip-inno-usb2: add a delay after phy resume

2017-06-01 Thread Frank Wang
From: William Wu When resume phy, it need about 1.5 ~ 2ms to wait for utmi_clk which used for USB controller to become stable. Signed-off-by: William Wu Signed-off-by: Frank Wang --- drivers/phy/phy-rockchip-inno-usb2.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/phy/phy

Re: [PATCH 4/4] phy: rockchip-inno-usb2: add support of usb2-phy for rk322x SoCs

2017-06-01 Thread Frank Wang
Hi Heiko, On 2017/6/2 4:18, Heiko Stuebner wrote: Hi Frank, Am Donnerstag, 18. Mai 2017, 11:43:02 CEST schrieb Frank Wang: This adds support usb2-phy for rk322x SoCs and amend phy Documentation. Signed-off-by: Frank Wang this adds a devicetree binding, so you should include devicetree

Re: [PATCH 0/4] fix some issues for Rockchip usb2-phy and add rk322x SoCs' support

2017-05-25 Thread Frank Wang
Hi Heiko and Kishon, Friendly ping... :-) On 2017/5/18 11:42, Frank Wang wrote: These series of patches fix some issues for rockchip usb2-phy and amend usb2-phy framework to support one phy which comprises with two host-ports. In addition, this change also add rk322x usb2-phy support. Frank

Re: [PATCH v2 3/4] arm: dts: rk3229: add a new cpu opp table

2017-05-21 Thread Frank Wang
Hi Heiko, On 2017/5/20 5:46, Heiko Stuebner wrote: Hi Frank, Am Mittwoch, 17. Mai 2017, 18:16:16 CEST schrieb Frank Wang: From: Finley Xiao This patch adds some new frequencies for rk3229 board. Signed-off-by: Finley Xiao Signed-off-by: Frank Wang Acked-by: Viresh Kumar --- arch/arm/boot

Re: [PATCH 3/3] arm: dts: rk322x: add watchdog device node.

2017-05-17 Thread Frank Wang
] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Frank-Wang/add-and-fix-some-device-node-for-rk322x-SoC/20170518-081958 base: https://git.kernel.org/pub/scm/linux/kernel/git/mmind/linux

[PATCH 2/4] phy: rockchip-inno-usb2: increase otg sm work first schedule time

2017-05-17 Thread Frank Wang
platform, so we increase the the first schedule delay time to 6s for otg_sm_work afer usb controller calls phy_init(), this can make sure that the usb controller completes initialization before phy enter suspend. Signed-off-by: William Wu Signed-off-by: Frank Wang --- drivers/phy/phy-rockchip-inno

[PATCH 1/4] phy: rockchip-inno-usb2: add a delay after phy resume

2017-05-17 Thread Frank Wang
From: William Wu When resume phy, it need about 1.5 ~ 2ms to wait for utmi_clk which used for USB controller to become stable. Signed-off-by: William Wu Signed-off-by: Frank Wang --- drivers/phy/phy-rockchip-inno-usb2.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/phy/phy

[PATCH 3/4] phy: rockchip-inno-usb2: add one phy comprises with two host-ports support

2017-05-17 Thread Frank Wang
-port configuration, and make it work the same as otg-port host mode. Signed-off-by: William Wu Signed-off-by: Frank Wang --- drivers/phy/phy-rockchip-inno-usb2.c | 9 ++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/drivers/phy/phy-rockchip-inno-usb2.c b/drivers/phy/phy-roc

[PATCH 4/4] phy: rockchip-inno-usb2: add support of usb2-phy for rk322x SoCs

2017-05-17 Thread Frank Wang
This adds support usb2-phy for rk322x SoCs and amend phy Documentation. Signed-off-by: Frank Wang --- .../bindings/phy/phy-rockchip-inno-usb2.txt| 1 + drivers/phy/phy-rockchip-inno-usb2.c | 60 ++ 2 files changed, 61 insertions(+) diff --git a

[PATCH 0/4] fix some issues for Rockchip usb2-phy and add rk322x SoCs' support

2017-05-17 Thread Frank Wang
These series of patches fix some issues for rockchip usb2-phy and amend usb2-phy framework to support one phy which comprises with two host-ports. In addition, this change also add rk322x usb2-phy support. Frank Wang (1): phy: rockchip-inno-usb2: add support of usb2-phy for rk322x SoCs

[PATCH v2 4/4] arm: dts: rk322x: update tsadc's frequence setting

2017-05-17 Thread Frank Wang
From: Rocky Hao Update freq of tsadc's working clock as 32768 hz, if not set, tsadc will work at a default frequence. Signed-off-by: Rocky Hao Signed-off-by: Frank Wang --- arch/arm/boot/dts/rk322x.dtsi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/boot/dts/rk322x.d

[PATCH v2 1/4] arm: dts: rk322x: add some assigned-clocks

2017-05-17 Thread Frank Wang
From: Elaine Zhang Add CPLL, GPLL and some other assigned-clocks for rk322x SoC. Signed-off-by: Elaine Zhang Signed-off-by: Frank Wang --- arch/arm/boot/dts/rk322x.dtsi | 14 -- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/rk322x.dtsi b/arch

[PATCH v2 2/4] arm: dts: rk322x: add operating-points-v2 property for cpu

2017-05-17 Thread Frank Wang
From: Finley Xiao This patch adds a new opp table for cpu on rk322x SoC. Signed-off-by: Finley Xiao Signed-off-by: Frank Wang Acked-by: Viresh Kumar --- arch/arm/boot/dts/rk322x.dtsi | 36 1 file changed, 32 insertions(+), 4 deletions(-) diff --git a

[PATCH v2 3/4] arm: dts: rk3229: add a new cpu opp table

2017-05-17 Thread Frank Wang
From: Finley Xiao This patch adds some new frequencies for rk3229 board. Signed-off-by: Finley Xiao Signed-off-by: Frank Wang Acked-by: Viresh Kumar --- arch/arm/boot/dts/rk3229-cpu-opp.dtsi | 85 +++ 1 file changed, 85 insertions(+) create mode 100644 arch

[PATCH v2 0/4] amend some properties related clk and cpu for rk322x

2017-05-17 Thread Frank Wang
These series of patches amend some assigned-clocks and add cpu opp table for rk322x SoCs. the following patches on patchwork are required for this change. https://patchwork.kernel.org/patch/9627639/ https://patchwork.kernel.org/patch/9703945/ https://patchwork.kernel.org/patch/9703939/ https://pat

[PATCH v2 3/3] arm: dts: rk322x: add watchdog device node.

2017-05-17 Thread Frank Wang
Add watchdog device node for rk322x SoC. Signed-off-by: Frank Wang --- arch/arm/boot/dts/rk322x.dtsi | 8 1 file changed, 8 insertions(+) diff --git a/arch/arm/boot/dts/rk322x.dtsi b/arch/arm/boot/dts/rk322x.dtsi index fe6530f..f7498b3 100644 --- a/arch/arm/boot/dts/rk322x.dtsi +++ b

[PATCH v2 1/3] arm: dts: rk322x: fix i2s1 pinctrl error

2017-05-17 Thread Frank Wang
From: Sugar Zhang Refer to Chapter 5.3.2 of rk3229 TRM, we can see that GPIO1A[2,4,5] using RK_FUNC_2 not RK_FUNC_1. This patch fixes it. Signed-off-by: Sugar Zhang Signed-off-by: Frank Wang --- arch/arm/boot/dts/rk322x.dtsi | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff

[PATCH v2 0/3] add and fix some device node for rk322x SoC

2017-05-17 Thread Frank Wang
These series of patches fix some device node errors and add watchdog device node support for rk322x SoC. Changes from v1: - Updated the 'Signed-off-by' tag with original authors' email id. - Dropped pinctrl-0 of uart2 emendation. Frank Wang (2): arm: dts: rk322x: correct ua

[PATCH v2 2/3] arm: dts: rk322x: correct uart2 pinctrl and add another sets

2017-05-17 Thread Frank Wang
Correct UART2 PINCTRL flag and add another PINCTRL sets for UART2 in case of confict with SDMMC. Signed-off-by: Frank Wang --- arch/arm/boot/dts/rk322x.dtsi | 9 - 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/rk322x.dtsi b/arch/arm/boot/dts/rk322x.dtsi

Re: [PATCH 1/3] arm: dts: rk322x: fix i2s1 pinctrl error

2017-05-17 Thread Frank Wang
Hi Heiko, On 2017/5/17 17:01, Heiko Stübner wrote: Hi Frank, Am Mittwoch, 17. Mai 2017, 11:40:49 CEST schrieb Frank Wang: From: Sugar Zhang Refer to Chapter 5.3.2 of rk3229 TRM, we can see that GPIO1A[2,4,5] using RK_FUNC_2 not RK_FUNC_1. This patch fixes it. Signed-off-by: Frank Wang if

Re: [PATCH 2/3] arm: dts: rk322x: correct uart2 pinctrl and add another sets

2017-05-17 Thread Frank Wang
Hi Kever, On 2017/5/17 14:31, Kever Yang wrote: Hi Frank, On 05/17/2017 11:40 AM, Frank Wang wrote: Correct UART2 PINCTRL flag and add another PINCTRL sets for UART2 in case of confict with SDMMC. Signed-off-by: Frank Wang --- arch/arm/boot/dts/rk322x.dtsi | 11 +-- 1 file

  1   2   >