[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 <frank.w...@rock-chips.com> --- arch/arm/boot/dts/rv1108.dtsi | 73 ++- 1 file changed, 72 insertions(+), 1 deletion(-) diff --git a/arch/arm/bo

[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 <frank.w...@rock-chips.com> --- arch/arm/bo

[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 | 24

[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 <frank.w...@rock-chips.com> --- Documentation/devicetree/bindings/soc/rockchip/grf.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Documentation/devicetree/bindings/soc/rockchip/grf.

[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. Frank

[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. Frank

[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 <frank.w...@rock-chips.com> Acked-by: Rob Herring <r...@kernel.org> --- .../bindings/phy/phy-rockchip-inno-usb2.txt| 1 + drivers/phy/rockchip/phy-rockchip-inno-usb2

[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 <frank.w...@rock-chips.com> --- drivers/phy/rockchip/phy-rockchip-inno-usb2.c

[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 <frank.w...@rock-chips.com> --- Documentation/devicetree/bindings/phy/phy-rockchip-inno-usb2.txt | 4 1 file c

[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 <frank.w...@rock-chips.com> --- drivers/phy/rockchip/phy-rockchip-inno-usb2.c | 63 +--

[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 <frank.w...@rock-chips.com> Acked-by: Rob Herring <r...@kernel.org> --- Documentation/devicetree/bindings/phy/phy-rockchip-inno-usb2.txt | 6 +- 1 fil

[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

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

2017-08-11 Thread Frank Wang
nstead 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 propert

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

2017-08-11 Thread Frank Wang
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-bindings: phy

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 <frank.w...@rock-chips.com> --- Documentation/devi

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

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

[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 <frank.w...@rock-chips.com> --- drivers/phy/rockchip/phy-rockchip-inno-usb2.c | 112 +--

[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 <frank.w...@rock-chips.com> --- Documentation/devicetree/bindings/phy/phy-rockchip-inno-us

[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 <frank.w...@rock-chips.com> --- .../bindings/phy/phy-rockchip-inno-usb2.txt| 1 + drivers/phy/rockchip/phy-rockchip-inno-usb2.c | 43 ++ 2 files chang

[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

[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 <frank.w...@rock-chips.com> --- drivers/phy/rockchip/phy-rockchip-inno-usb2.c | 63 +--

[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 <frank.w...@rock-chips.com> --- Documentation/devicetree/bindings/phy/phy-rockchip-inno-usb2.txt | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff

[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
as a 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

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

2017-08-03 Thread Frank Wang
as a 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

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 <frank.w...@rock-chips.com> --- .../bindings/phy/phy-rockchip-inno-usb2.txt| 1 + drivers/phy/rockchip/phy-rockchip-inno-usb2.c | 43 ++ 2 files chang

[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

[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 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 <frank.w...@rock-chips.com> --- drivers/phy/rockchip/phy-rockchip-inno-usb2.c | 112 +--

[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 <frank.w...@rock-chips.com> --- Documentation/devicetree/bindings/phy/phy-rockchip-inno-us

[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 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 <frank.w...@rock-chips.com> --- Documentation/devicetree/bindings/phy/phy-rockchip-inn

[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 <frank.w...@rock-chips.com> --- drivers/phy/rockchip/phy-rockchip-inno-usb2.

[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-02 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

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

2017-08-02 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

[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 <frank.w...@rock-chips.com> --- .../bindings/phy/phy-rockchip-inno-usb2.txt| 5 ++ drive

[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 <frank.w...@rock-chips.com> --- .../bindings/phy/phy-rockchip-inno-usb2.txt| 1 + drivers/phy/rockchip/phy-rockchip-inno-usb2.c | 43 ++ 2 files chang

[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

[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 <frank.w...@rock-chips.com> --- .../bindings/phy/phy-rockchip-inno-usb2.txt| 4 + drivers/phy/ro

[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

[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
Signed-off-by: Frank Wang <frank.w...@rock-chips.com> Acked-by: Rob Herring <r...@kernel.org> Reviewed-by: Heiko Stuebner <he...@sntech.de> --- Documentation/devicetree/bindings/nvmem/rockchip-efuse.txt | 2 +- drivers/nvmem/rockchip-efuse.c | 2 +- 2 fil

[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 <frank.w...@rock-chips.com> --- 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/

[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 <frank.w...@rock-chips.com> --- arch/arm/boot/dts/rk3229-evb.dts | 5 +

[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

[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

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

2017-07-05 Thread Frank Wang
From: David Wu <david...@rock-chips.com> 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 <david...@rock-chips.com> Signed-off-by: Frank Wang <frank.w...

[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 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 <frank.w...@rock-chips.com> --- 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..a

[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 <frank.w...@rock-chips.com> --- 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/bo

[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 <frank.w...@rock-chips.com> --- arch/arm/boot/dts/

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 <frank.w...@rock-chips.com> --- 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/

[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 <frank.w...@rock-chips.com> --- arch/arm/boot/dts/rk3229-evb.dts | 5 +

[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 <frank.w...@rock-chips.com> --- arch/arm/boot/dts/rk3229-evb.dts | 54 1 file changed, 54 insertions(+) diff --git a/arch/arm/boot/dts/

[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

[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

[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 <frank.w...@rock-chips.com> --- 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 b

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

2017-07-04 Thread Frank Wang
From: David Wu <david...@rock-chips.com> 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 <david...@rock-chips.com> Signed-off-by: Frank Wang <frank.w...

[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

[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 <finley.x...@rock-chips.com> Add a efuse node in the device tree for the rk3228 SoC. Signed-off-by: Finley Xiao <finley.x...@rock-chips.com> Signed-off-by: Frank Wang <frank.w...@rock-chips.com> --- arch/arm/boot/dts/rk322x.dtsi | 17 +

[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

[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 <david...@rock-chips.com> This patch adds io-domain support for rk3228 SoC. Signed-off-by: David Wu <david...@rock-chips.com> Signed-off-by: Frank Wang <frank.w...@rock-chips.com> --- arch/arm/boot/dts/rk322x.dtsi | 5 + 1 file changed, 5 insertions(+) dif

[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 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

[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

  1   2   3   4   >