Re: [PATCH v1 3/5] arm64: dts: rockchip: Add gpio-syscon10 to rk3328

2018-05-13 Thread Levin Du
On 2018-05-11 8:22 PM, Rob Herring wrote: On Thu, May 10, 2018 at 4:16 AM, <d...@t-chip.com.cn> wrote: From: Levin Du <d...@t-chip.com.cn> Adding a new gpio controller named "gpio-syscon10" to rk3328, providing access to the pins defined in the syscon GRF_SO

Re: [PATCH v1 3/5] arm64: dts: rockchip: Add gpio-syscon10 to rk3328

2018-05-13 Thread Levin Du
On 2018-05-11 8:24 PM, Rob Herring wrote: On Thu, May 10, 2018 at 10:45 PM, Levin Du <d...@t-chip.com.cn> wrote: On 2018-05-10 8:50 PM, Robin Murphy wrote: On 10/05/18 10:16, d...@t-chip.com.cn wrote: From: Levin Du <d...@t-chip.com.cn> Adding a new gpio controller named &q

Re: [PATCH v1 2/5] gpio: syscon: Add gpio-syscon for rockchip

2018-05-10 Thread Levin Du
On 2018-05-10 10:56 PM, Robin Murphy wrote: diff --git a/Documentation/devicetree/bindings/gpio/rockchip,gpio-syscon.txt b/Documentation/devicetree/bindings/gpio/rockchip,gpio-syscon.txt new file mode 100644 index 000..e4c1650 --- /dev/null +++

Re: [PATCH v1 3/5] arm64: dts: rockchip: Add gpio-syscon10 to rk3328

2018-05-10 Thread Levin Du
On 2018-05-10 8:50 PM, Robin Murphy wrote: On 10/05/18 10:16, d...@t-chip.com.cn wrote: From: Levin Du <d...@t-chip.com.cn> Adding a new gpio controller named "gpio-syscon10" to rk3328, providing access to the pins defined in the syscon GRF_SOC_CON10. This is the GPIO

Re: [PATCH v2 2/5] gpio: syscon: Add gpio-syscon for rockchip

2018-05-22 Thread Levin Du
On 2018-05-23 2:02 AM, Rob Herring wrote: On Fri, May 18, 2018 at 11:52:05AM +0800, d...@t-chip.com.cn wrote: From: Levin Du <d...@t-chip.com.cn> Some GPIOs sit in the GRF_SOC_CON registers of Rockchip SoCs, which do not belong to the general pinctrl. Adding gpio-syscon support

Re: [PATCH v2 2/5] gpio: syscon: Add gpio-syscon for rockchip

2018-05-23 Thread Levin Du
n Wed, May 23, 2018 at 10:12 AM, Heiko Stübner <he...@sntech.de> wrote: Hi Rob, Levin, sorry for being late to the party. Am Mittwoch, 23. Mai 2018, 16:43:07 CEST schrieb Rob Herring: On Tue, May 22, 2018 at 9:02 PM, Levin Du <d...@t-chip.com.cn> wrote: On 2018-05-23 2:02 AM, Rob

Re: [PATCH v3 2/5] gpio: syscon: rockchip: add GPIO_MUTE support for rk3328

2018-06-02 Thread Levin Du
Rob Herring writes: On Thu, May 31, 2018 at 9:05 PM, Levin wrote: Hi Rob, On 2018-05-31 10:45 PM, Rob Herring wrote: On Wed, May 30, 2018 at 10:27 PM, wrote: From: Levin Du In Rockchip RK3328, the output only GPIO_MUTE pin, originally for codec mute control, can also be used

Re: [PATCH v1 2/5] gpio: syscon: Add gpio-syscon for rockchip

2018-05-10 Thread Levin Du
On 2018-05-10 10:56 PM, Robin Murphy wrote: diff --git a/Documentation/devicetree/bindings/gpio/rockchip,gpio-syscon.txt b/Documentation/devicetree/bindings/gpio/rockchip,gpio-syscon.txt new file mode 100644 index 000..e4c1650 --- /dev/null +++

Re: [PATCH v1 3/5] arm64: dts: rockchip: Add gpio-syscon10 to rk3328

2018-05-10 Thread Levin Du
On 2018-05-10 8:50 PM, Robin Murphy wrote: On 10/05/18 10:16, d...@t-chip.com.cn wrote: From: Levin Du Adding a new gpio controller named "gpio-syscon10" to rk3328, providing access to the pins defined in the syscon GRF_SOC_CON10. This is the GPIO_MUTE pin, right? The public TRM

Re: [PATCH v1 3/5] arm64: dts: rockchip: Add gpio-syscon10 to rk3328

2018-05-13 Thread Levin Du
On 2018-05-11 8:22 PM, Rob Herring wrote: On Thu, May 10, 2018 at 4:16 AM, wrote: From: Levin Du Adding a new gpio controller named "gpio-syscon10" to rk3328, providing access to the pins defined in the syscon GRF_SOC_CON10. Boards using these special pins to control regulato

Re: [PATCH v1 3/5] arm64: dts: rockchip: Add gpio-syscon10 to rk3328

2018-05-13 Thread Levin Du
On 2018-05-11 8:24 PM, Rob Herring wrote: On Thu, May 10, 2018 at 10:45 PM, Levin Du wrote: On 2018-05-10 8:50 PM, Robin Murphy wrote: On 10/05/18 10:16, d...@t-chip.com.cn wrote: From: Levin Du Adding a new gpio controller named "gpio-syscon10" to rk3328, providing access t

Re: [PATCH v2 2/5] gpio: syscon: Add gpio-syscon for rockchip

2018-05-22 Thread Levin Du
On 2018-05-23 2:02 AM, Rob Herring wrote: On Fri, May 18, 2018 at 11:52:05AM +0800, d...@t-chip.com.cn wrote: From: Levin Du Some GPIOs sit in the GRF_SOC_CON registers of Rockchip SoCs, which do not belong to the general pinctrl. Adding gpio-syscon support makes controlling regulator or LED

Re: [PATCH v2 2/5] gpio: syscon: Add gpio-syscon for rockchip

2018-05-23 Thread Levin Du
On Wed, May 23, 2018 at 10:12 AM, Heiko Stübner wrote: Hi Rob, Levin, sorry for being late to the party. Am Mittwoch, 23. Mai 2018, 16:43:07 CEST schrieb Rob Herring: On Tue, May 22, 2018 at 9:02 PM, Levin Du wrote: On 2018-05-23 2:02 AM, Rob Herring wrote: On Fri, May 18, 2018 at 11:52:

Re: [PATCH v3 2/5] gpio: syscon: rockchip: add GPIO_MUTE support for rk3328

2018-06-02 Thread Levin Du
Rob Herring writes: On Thu, May 31, 2018 at 9:05 PM, Levin wrote: Hi Rob, On 2018-05-31 10:45 PM, Rob Herring wrote: On Wed, May 30, 2018 at 10:27 PM, wrote: From: Levin Du In Rockchip RK3328, the output only GPIO_MUTE pin, originally for codec mute control, can also be used