Re: [PATCH V1] pinctrl: qcom: spmi-gpio: Add support for qcom,gpios-disallowed property

2017-08-28 Thread Fenglin Wu
On 8/29/2017 9:51 AM, Shawn Guo wrote: On Tue, Aug 29, 2017 at 09:03:02AM +0800, Fenglin Wu wrote: I agree the GPIO's ownership is configurable and it always configured at the very beginning of the device boot up which is not visible by linux kernel drivers/image. Normally, this configuration

Re: [PATCH V1] pinctrl: qcom: spmi-gpio: Add support for qcom,gpios-disallowed property

2017-08-28 Thread Fenglin Wu
On 8/29/2017 9:51 AM, Shawn Guo wrote: On Tue, Aug 29, 2017 at 09:03:02AM +0800, Fenglin Wu wrote: I agree the GPIO's ownership is configurable and it always configured at the very beginning of the device boot up which is not visible by linux kernel drivers/image. Normally, this configuration

Re: [PATCH V1] pinctrl: qcom: spmi-gpio: Add support for qcom,gpios-disallowed property

2017-08-28 Thread Shawn Guo
On Tue, Aug 29, 2017 at 09:03:02AM +0800, Fenglin Wu wrote: > I agree the GPIO's ownership is configurable and it always configured at > the very beginning of the device boot up which is not visible by linux > kernel drivers/image. Normally, this configuration is fixed in one > platform and it's

Re: [PATCH V1] pinctrl: qcom: spmi-gpio: Add support for qcom,gpios-disallowed property

2017-08-28 Thread Shawn Guo
On Tue, Aug 29, 2017 at 09:03:02AM +0800, Fenglin Wu wrote: > I agree the GPIO's ownership is configurable and it always configured at > the very beginning of the device boot up which is not visible by linux > kernel drivers/image. Normally, this configuration is fixed in one > platform and it's

Re: [PATCH V1] pinctrl: qcom: spmi-gpio: Add support for qcom,gpios-disallowed property

2017-08-28 Thread Fenglin Wu
On 8/28/2017 10:54 PM, Shawn Guo wrote: On Wed, Jul 19, 2017 at 03:17:07PM +0800, fengl...@codeaurora.org wrote: From: Fenglin Wu Add support for qcom,gpios-disallowed property which is used to exclude PMIC GPIOs not owned by the APSS processor from the pinctrl

Re: [PATCH V1] pinctrl: qcom: spmi-gpio: Add support for qcom,gpios-disallowed property

2017-08-28 Thread Fenglin Wu
On 8/28/2017 10:54 PM, Shawn Guo wrote: On Wed, Jul 19, 2017 at 03:17:07PM +0800, fengl...@codeaurora.org wrote: From: Fenglin Wu Add support for qcom,gpios-disallowed property which is used to exclude PMIC GPIOs not owned by the APSS processor from the pinctrl device. If I understand it

Re: [PATCH V1] pinctrl: qcom: spmi-gpio: Add support for qcom,gpios-disallowed property

2017-08-28 Thread Shawn Guo
On Wed, Jul 19, 2017 at 03:17:07PM +0800, fengl...@codeaurora.org wrote: > From: Fenglin Wu > > Add support for qcom,gpios-disallowed property which is used to exclude > PMIC GPIOs not owned by the APSS processor from the pinctrl device. If I understand it correctly,

Re: [PATCH V1] pinctrl: qcom: spmi-gpio: Add support for qcom,gpios-disallowed property

2017-08-28 Thread Shawn Guo
On Wed, Jul 19, 2017 at 03:17:07PM +0800, fengl...@codeaurora.org wrote: > From: Fenglin Wu > > Add support for qcom,gpios-disallowed property which is used to exclude > PMIC GPIOs not owned by the APSS processor from the pinctrl device. If I understand it correctly, whether PMIC GPIOs is owned

Re: [PATCH V1] pinctrl: qcom: spmi-gpio: Add support for qcom,gpios-disallowed property

2017-07-24 Thread Fenglin Wu
On 7/25/2017 3:09 AM, Rob Herring wrote: + Definition: Array of the GPIO hardware numbers corresponding to GPIOs + which the APSS processor is not allowed to configure. + The hardware numbers are indexed from 1. + The interrupt

Re: [PATCH V1] pinctrl: qcom: spmi-gpio: Add support for qcom,gpios-disallowed property

2017-07-24 Thread Fenglin Wu
On 7/25/2017 3:09 AM, Rob Herring wrote: + Definition: Array of the GPIO hardware numbers corresponding to GPIOs + which the APSS processor is not allowed to configure. + The hardware numbers are indexed from 1. + The interrupt

Re: [PATCH V1] pinctrl: qcom: spmi-gpio: Add support for qcom,gpios-disallowed property

2017-07-24 Thread Rob Herring
On Wed, Jul 19, 2017 at 03:17:07PM +0800, fengl...@codeaurora.org wrote: > From: Fenglin Wu > > Add support for qcom,gpios-disallowed property which is used to exclude > PMIC GPIOs not owned by the APSS processor from the pinctrl device. > > Signed-off-by: Fenglin Wu

Re: [PATCH V1] pinctrl: qcom: spmi-gpio: Add support for qcom,gpios-disallowed property

2017-07-24 Thread Rob Herring
On Wed, Jul 19, 2017 at 03:17:07PM +0800, fengl...@codeaurora.org wrote: > From: Fenglin Wu > > Add support for qcom,gpios-disallowed property which is used to exclude > PMIC GPIOs not owned by the APSS processor from the pinctrl device. > > Signed-off-by: Fenglin Wu > --- >

[PATCH V1] pinctrl: qcom: spmi-gpio: Add support for qcom,gpios-disallowed property

2017-07-19 Thread fenglinw
From: Fenglin Wu Add support for qcom,gpios-disallowed property which is used to exclude PMIC GPIOs not owned by the APSS processor from the pinctrl device. Signed-off-by: Fenglin Wu --- .../devicetree/bindings/pinctrl/qcom,pmic-gpio.txt | 12

[PATCH V1] pinctrl: qcom: spmi-gpio: Add support for qcom,gpios-disallowed property

2017-07-19 Thread fenglinw
From: Fenglin Wu Add support for qcom,gpios-disallowed property which is used to exclude PMIC GPIOs not owned by the APSS processor from the pinctrl device. Signed-off-by: Fenglin Wu --- .../devicetree/bindings/pinctrl/qcom,pmic-gpio.txt | 12 ++ drivers/pinctrl/qcom/pinctrl-spmi-gpio.c