Re: [PATCH v3 1/2] dt-bindings: gpio: Add Spreadtrum GPIO controller documentation
On Wed, Feb 14, 2018 at 3:51 AM, Baolin Wangwrote: > On 13 February 2018 at 17:20, Linus Walleij wrote: >> On Mon, Feb 5, 2018 at 2:55 AM, Baolin Wang wrote: >> >>> This patch adds the device tree bindings for the Spreadtrum >>> GPIO controller. The gpios will be supported by the GPIO >>> generic library. >>> >>> Signed-off-by: Baolin Wang >> >> I took this patch out again for now, as it turns out >> that not all of the variants are really GPIO controllers, >> but rather irqchips. >> >> If they can't read nor write any GPIO lines, they should >> not have the property gpio-controller at all. Then they are >> just irqchips. > > I did not get you here. All GPIOs can be read or write for this GPIO > controller. Sorry I confused one of the drivers for the other. I'm so clumsy sometimes :( Yours, Linus Walleij
Re: [PATCH v3 1/2] dt-bindings: gpio: Add Spreadtrum GPIO controller documentation
On Wed, Feb 14, 2018 at 3:51 AM, Baolin Wang wrote: > On 13 February 2018 at 17:20, Linus Walleij wrote: >> On Mon, Feb 5, 2018 at 2:55 AM, Baolin Wang wrote: >> >>> This patch adds the device tree bindings for the Spreadtrum >>> GPIO controller. The gpios will be supported by the GPIO >>> generic library. >>> >>> Signed-off-by: Baolin Wang >> >> I took this patch out again for now, as it turns out >> that not all of the variants are really GPIO controllers, >> but rather irqchips. >> >> If they can't read nor write any GPIO lines, they should >> not have the property gpio-controller at all. Then they are >> just irqchips. > > I did not get you here. All GPIOs can be read or write for this GPIO > controller. Sorry I confused one of the drivers for the other. I'm so clumsy sometimes :( Yours, Linus Walleij
Re: [PATCH v3 1/2] dt-bindings: gpio: Add Spreadtrum GPIO controller documentation
Hi Linus, On 13 February 2018 at 17:20, Linus Walleijwrote: > On Mon, Feb 5, 2018 at 2:55 AM, Baolin Wang wrote: > >> This patch adds the device tree bindings for the Spreadtrum >> GPIO controller. The gpios will be supported by the GPIO >> generic library. >> >> Signed-off-by: Baolin Wang > > I took this patch out again for now, as it turns out > that not all of the variants are really GPIO controllers, > but rather irqchips. > > If they can't read nor write any GPIO lines, they should > not have the property gpio-controller at all. Then they are > just irqchips. I did not get you here. All GPIOs can be read or write for this GPIO controller. -- Baolin.wang Best Regards
Re: [PATCH v3 1/2] dt-bindings: gpio: Add Spreadtrum GPIO controller documentation
Hi Linus, On 13 February 2018 at 17:20, Linus Walleij wrote: > On Mon, Feb 5, 2018 at 2:55 AM, Baolin Wang wrote: > >> This patch adds the device tree bindings for the Spreadtrum >> GPIO controller. The gpios will be supported by the GPIO >> generic library. >> >> Signed-off-by: Baolin Wang > > I took this patch out again for now, as it turns out > that not all of the variants are really GPIO controllers, > but rather irqchips. > > If they can't read nor write any GPIO lines, they should > not have the property gpio-controller at all. Then they are > just irqchips. I did not get you here. All GPIOs can be read or write for this GPIO controller. -- Baolin.wang Best Regards
Re: [PATCH v3 1/2] dt-bindings: gpio: Add Spreadtrum GPIO controller documentation
On Mon, Feb 5, 2018 at 2:55 AM, Baolin Wangwrote: > This patch adds the device tree bindings for the Spreadtrum > GPIO controller. The gpios will be supported by the GPIO > generic library. > > Signed-off-by: Baolin Wang I took this patch out again for now, as it turns out that not all of the variants are really GPIO controllers, but rather irqchips. If they can't read nor write any GPIO lines, they should not have the property gpio-controller at all. Then they are just irqchips. We need some extended discussion about this. Yours, Linus Walleij
Re: [PATCH v3 1/2] dt-bindings: gpio: Add Spreadtrum GPIO controller documentation
On Mon, Feb 5, 2018 at 2:55 AM, Baolin Wang wrote: > This patch adds the device tree bindings for the Spreadtrum > GPIO controller. The gpios will be supported by the GPIO > generic library. > > Signed-off-by: Baolin Wang I took this patch out again for now, as it turns out that not all of the variants are really GPIO controllers, but rather irqchips. If they can't read nor write any GPIO lines, they should not have the property gpio-controller at all. Then they are just irqchips. We need some extended discussion about this. Yours, Linus Walleij
Re: [PATCH v3 1/2] dt-bindings: gpio: Add Spreadtrum GPIO controller documentation
On Mon, Feb 5, 2018 at 2:55 AM, Baolin Wangwrote: > This patch adds the device tree bindings for the Spreadtrum > GPIO controller. The gpios will be supported by the GPIO > generic library. > > Signed-off-by: Baolin Wang Patch applied with Rob's ACK from v2. Yours, Linus Walleij
Re: [PATCH v3 1/2] dt-bindings: gpio: Add Spreadtrum GPIO controller documentation
On Mon, Feb 5, 2018 at 2:55 AM, Baolin Wang wrote: > This patch adds the device tree bindings for the Spreadtrum > GPIO controller. The gpios will be supported by the GPIO > generic library. > > Signed-off-by: Baolin Wang Patch applied with Rob's ACK from v2. Yours, Linus Walleij
Re: [PATCH v3 1/2] dt-bindings: gpio: Add Spreadtrum GPIO controller documentation
Hi Rob, On 8 February 2018 at 05:19, Rob Herringwrote: > On Mon, Feb 05, 2018 at 09:55:10AM +0800, Baolin Wang wrote: >> This patch adds the device tree bindings for the Spreadtrum >> GPIO controller. The gpios will be supported by the GPIO >> generic library. >> >> Signed-off-by: Baolin Wang >> --- >> Changes since v1: >> - No updates. >> --- >> .../devicetree/bindings/gpio/gpio-sprd.txt | 28 >> >> 1 file changed, 28 insertions(+) >> create mode 100644 Documentation/devicetree/bindings/gpio/gpio-sprd.txt > > Please add acks/reviews when posting new versions. Yes, I always do that. But you acked my V2 after I already send out the V3. Anyway thanks for your reviewed-tag. -- Baolin.wang Best Regards
Re: [PATCH v3 1/2] dt-bindings: gpio: Add Spreadtrum GPIO controller documentation
Hi Rob, On 8 February 2018 at 05:19, Rob Herring wrote: > On Mon, Feb 05, 2018 at 09:55:10AM +0800, Baolin Wang wrote: >> This patch adds the device tree bindings for the Spreadtrum >> GPIO controller. The gpios will be supported by the GPIO >> generic library. >> >> Signed-off-by: Baolin Wang >> --- >> Changes since v1: >> - No updates. >> --- >> .../devicetree/bindings/gpio/gpio-sprd.txt | 28 >> >> 1 file changed, 28 insertions(+) >> create mode 100644 Documentation/devicetree/bindings/gpio/gpio-sprd.txt > > Please add acks/reviews when posting new versions. Yes, I always do that. But you acked my V2 after I already send out the V3. Anyway thanks for your reviewed-tag. -- Baolin.wang Best Regards
Re: [PATCH v3 1/2] dt-bindings: gpio: Add Spreadtrum GPIO controller documentation
On Mon, Feb 05, 2018 at 09:55:10AM +0800, Baolin Wang wrote: > This patch adds the device tree bindings for the Spreadtrum > GPIO controller. The gpios will be supported by the GPIO > generic library. > > Signed-off-by: Baolin Wang> --- > Changes since v1: > - No updates. > --- > .../devicetree/bindings/gpio/gpio-sprd.txt | 28 > > 1 file changed, 28 insertions(+) > create mode 100644 Documentation/devicetree/bindings/gpio/gpio-sprd.txt Please add acks/reviews when posting new versions. Rob
Re: [PATCH v3 1/2] dt-bindings: gpio: Add Spreadtrum GPIO controller documentation
On Mon, Feb 05, 2018 at 09:55:10AM +0800, Baolin Wang wrote: > This patch adds the device tree bindings for the Spreadtrum > GPIO controller. The gpios will be supported by the GPIO > generic library. > > Signed-off-by: Baolin Wang > --- > Changes since v1: > - No updates. > --- > .../devicetree/bindings/gpio/gpio-sprd.txt | 28 > > 1 file changed, 28 insertions(+) > create mode 100644 Documentation/devicetree/bindings/gpio/gpio-sprd.txt Please add acks/reviews when posting new versions. Rob