Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1528106 > unrolled thread
| Started by | David Lechner <david@lechnology.com> |
|---|---|
| First post | 2016-11-23 04:40 +0100 |
| Last post | 2016-11-23 12:20 +0100 |
| Articles | 7 — 3 participants |
Back to article view | Back to linux.kernel
[PATCH 0/3] TI DA850/OMAP-L138/AM18x pinconf David Lechner <david@lechnology.com> - 2016-11-23 04:40 +0100
[PATCH 3/3] ARM: dts: da850: Add node for pullup/pulldown pinconf David Lechner <david@lechnology.com> - 2016-11-23 04:40 +0100
Re: [PATCH 3/3] ARM: dts: da850: Add node for pullup/pulldown pinconf Sekhar Nori <nsekhar@ti.com> - 2016-11-23 12:20 +0100
Re: [PATCH 3/3] ARM: dts: da850: Add node for pullup/pulldown pinconf David Lechner <david@lechnology.com> - 2016-11-23 17:30 +0100
Re: [PATCH 3/3] ARM: dts: da850: Add node for pullup/pulldown pinconf Kevin Hilman <khilman@baylibre.com> - 2016-11-23 23:40 +0100
Re: [PATCH 3/3] ARM: dts: da850: Add node for pullup/pulldown pinconf Sekhar Nori <nsekhar@ti.com> - 2016-11-24 07:00 +0100
Re: [PATCH 0/3] TI DA850/OMAP-L138/AM18x pinconf Sekhar Nori <nsekhar@ti.com> - 2016-11-23 12:20 +0100
| From | David Lechner <david@lechnology.com> |
|---|---|
| Date | 2016-11-23 04:40 +0100 |
| Subject | [PATCH 0/3] TI DA850/OMAP-L138/AM18x pinconf |
| Message-ID | <sGwzD-7Rr-3@gated-at.bofh.it> |
This series adds a new driver and DT bindings for TI DA850/OMAP-L138/AM18x pinconf (bias pullup/pulldown). The motivation for this series is LEGO MINDSTORMS EV3 support. It needs most, if not all, internal pullup/down resistors disabled in order to work correctly. David Lechner (3): devicetree: bindings: pinctrl: Add binding for ti,da850-pupd pinctrl: New driver for TI DA8XX/OMAP-L138/AM18XX pinconf ARM: dts: da850: Add node for pullup/pulldown pinconf .../devicetree/bindings/pinctrl/ti,da850-pupd.txt | 55 ++++++ arch/arm/boot/dts/da850.dtsi | 5 + drivers/pinctrl/Kconfig | 9 + drivers/pinctrl/Makefile | 1 + drivers/pinctrl/pinctrl-da850-pupd.c | 210 +++++++++++++++++++++ 5 files changed, 280 insertions(+) create mode 100644 Documentation/devicetree/bindings/pinctrl/ti,da850-pupd.txt create mode 100644 drivers/pinctrl/pinctrl-da850-pupd.c -- 2.7.4
[toc] | [next] | [standalone]
| From | David Lechner <david@lechnology.com> |
|---|---|
| Date | 2016-11-23 04:40 +0100 |
| Subject | [PATCH 3/3] ARM: dts: da850: Add node for pullup/pulldown pinconf |
| Message-ID | <sGwzE-7Rr-21@gated-at.bofh.it> |
| In reply to | #1528106 |
This SoC has a separate pin controller for configuring pullup/pulldown
bias on groups of pins.
Signed-off-by: David Lechner <david@lechnology.com>
---
arch/arm/boot/dts/da850.dtsi | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/arch/arm/boot/dts/da850.dtsi b/arch/arm/boot/dts/da850.dtsi
index 8945815..1c0224c 100644
--- a/arch/arm/boot/dts/da850.dtsi
+++ b/arch/arm/boot/dts/da850.dtsi
@@ -210,6 +210,11 @@
};
};
+ pinconf: pin-controller@22c00c {
+ compatible = "ti,da850-pupd";
+ reg = <0x22c00c 0x8>;
+ status = "disabled";
+ };
prictrl: priority-controller@14110 {
compatible = "ti,da850-mstpri";
reg = <0x14110 0x0c>;
--
2.7.4
[toc] | [prev] | [next] | [standalone]
| From | Sekhar Nori <nsekhar@ti.com> |
|---|---|
| Date | 2016-11-23 12:20 +0100 |
| Subject | Re: [PATCH 3/3] ARM: dts: da850: Add node for pullup/pulldown pinconf |
| Message-ID | <sGDKO-494-19@gated-at.bofh.it> |
| In reply to | #1528108 |
On Wednesday 23 November 2016 08:59 AM, David Lechner wrote:
> This SoC has a separate pin controller for configuring pullup/pulldown
> bias on groups of pins.
>
> Signed-off-by: David Lechner <david@lechnology.com>
> ---
> arch/arm/boot/dts/da850.dtsi | 5 +++++
> 1 file changed, 5 insertions(+)
>
> diff --git a/arch/arm/boot/dts/da850.dtsi b/arch/arm/boot/dts/da850.dtsi
> index 8945815..1c0224c 100644
> --- a/arch/arm/boot/dts/da850.dtsi
> +++ b/arch/arm/boot/dts/da850.dtsi
> @@ -210,6 +210,11 @@
> };
>
> };
> + pinconf: pin-controller@22c00c {
> + compatible = "ti,da850-pupd";
> + reg = <0x22c00c 0x8>;
> + status = "disabled";
> + };
Can you please place this below the i2c1 node. I am trying to keep the
nodes sorted by unit address. I know thats broken in many places today,
but lets add the new ones where they should eventually end up.
Thanks,
Sekhar
[toc] | [prev] | [next] | [standalone]
| From | David Lechner <david@lechnology.com> |
|---|---|
| Date | 2016-11-23 17:30 +0100 |
| Subject | Re: [PATCH 3/3] ARM: dts: da850: Add node for pullup/pulldown pinconf |
| Message-ID | <sGIAN-7bC-15@gated-at.bofh.it> |
| In reply to | #1528322 |
On 11/23/2016 05:12 AM, Sekhar Nori wrote:
> On Wednesday 23 November 2016 08:59 AM, David Lechner wrote:
>> This SoC has a separate pin controller for configuring pullup/pulldown
>> bias on groups of pins.
>>
>> Signed-off-by: David Lechner <david@lechnology.com>
>> ---
>> arch/arm/boot/dts/da850.dtsi | 5 +++++
>> 1 file changed, 5 insertions(+)
>>
>> diff --git a/arch/arm/boot/dts/da850.dtsi b/arch/arm/boot/dts/da850.dtsi
>> index 8945815..1c0224c 100644
>> --- a/arch/arm/boot/dts/da850.dtsi
>> +++ b/arch/arm/boot/dts/da850.dtsi
>> @@ -210,6 +210,11 @@
>> };
>>
>> };
>> + pinconf: pin-controller@22c00c {
>> + compatible = "ti,da850-pupd";
>> + reg = <0x22c00c 0x8>;
>> + status = "disabled";
>> + };
>
> Can you please place this below the i2c1 node. I am trying to keep the
> nodes sorted by unit address. I know thats broken in many places today,
> but lets add the new ones where they should eventually end up.
I can do this, but it seems that the predominant sorting pattern here is
to keep subsystems together (e.g. all i2c are together, all uart are
together, etc.)
Would a separate patch to sort everything by unit address to get this
cleaned up be acceptable?
>
> Thanks,
> Sekhar
>
[toc] | [prev] | [next] | [standalone]
| From | Kevin Hilman <khilman@baylibre.com> |
|---|---|
| Date | 2016-11-23 23:40 +0100 |
| Subject | Re: [PATCH 3/3] ARM: dts: da850: Add node for pullup/pulldown pinconf |
| Message-ID | <sGOmS-2pg-27@gated-at.bofh.it> |
| In reply to | #1528555 |
David Lechner <david@lechnology.com> writes:
> On 11/23/2016 05:12 AM, Sekhar Nori wrote:
>> On Wednesday 23 November 2016 08:59 AM, David Lechner wrote:
>>> This SoC has a separate pin controller for configuring pullup/pulldown
>>> bias on groups of pins.
>>>
>>> Signed-off-by: David Lechner <david@lechnology.com>
>>> ---
>>> arch/arm/boot/dts/da850.dtsi | 5 +++++
>>> 1 file changed, 5 insertions(+)
>>>
>>> diff --git a/arch/arm/boot/dts/da850.dtsi b/arch/arm/boot/dts/da850.dtsi
>>> index 8945815..1c0224c 100644
>>> --- a/arch/arm/boot/dts/da850.dtsi
>>> +++ b/arch/arm/boot/dts/da850.dtsi
>>> @@ -210,6 +210,11 @@
>>> };
>>>
>>> };
>>> + pinconf: pin-controller@22c00c {
>>> + compatible = "ti,da850-pupd";
>>> + reg = <0x22c00c 0x8>;
>>> + status = "disabled";
>>> + };
>>
>> Can you please place this below the i2c1 node. I am trying to keep the
>> nodes sorted by unit address. I know thats broken in many places today,
>> but lets add the new ones where they should eventually end up.
>
> I can do this, but it seems that the predominant sorting pattern here
> is to keep subsystems together (e.g. all i2c are together, all uart
> are together, etc.)
>
> Would a separate patch to sort everything by unit address to get this
> cleaned up be acceptable?
No thanks. That kind of thing is the needless churn that gets us flamed.
Kevin
[toc] | [prev] | [next] | [standalone]
| From | Sekhar Nori <nsekhar@ti.com> |
|---|---|
| Date | 2016-11-24 07:00 +0100 |
| Subject | Re: [PATCH 3/3] ARM: dts: da850: Add node for pullup/pulldown pinconf |
| Message-ID | <sGVeF-6OY-1@gated-at.bofh.it> |
| In reply to | #1528555 |
On Wednesday 23 November 2016 09:54 PM, David Lechner wrote:
> On 11/23/2016 05:12 AM, Sekhar Nori wrote:
>> On Wednesday 23 November 2016 08:59 AM, David Lechner wrote:
>>> This SoC has a separate pin controller for configuring pullup/pulldown
>>> bias on groups of pins.
>>>
>>> Signed-off-by: David Lechner <david@lechnology.com>
>>> ---
>>> arch/arm/boot/dts/da850.dtsi | 5 +++++
>>> 1 file changed, 5 insertions(+)
>>>
>>> diff --git a/arch/arm/boot/dts/da850.dtsi b/arch/arm/boot/dts/da850.dtsi
>>> index 8945815..1c0224c 100644
>>> --- a/arch/arm/boot/dts/da850.dtsi
>>> +++ b/arch/arm/boot/dts/da850.dtsi
>>> @@ -210,6 +210,11 @@
>>> };
>>>
>>> };
>>> + pinconf: pin-controller@22c00c {
>>> + compatible = "ti,da850-pupd";
>>> + reg = <0x22c00c 0x8>;
>>> + status = "disabled";
>>> + };
>>
>> Can you please place this below the i2c1 node. I am trying to keep the
>> nodes sorted by unit address. I know thats broken in many places today,
>> but lets add the new ones where they should eventually end up.
>
> I can do this, but it seems that the predominant sorting pattern here is
> to keep subsystems together (e.g. all i2c are together, all uart are
> together, etc.)
Yeah, but that quickly gives away as there are many singleton devices
and everyone tries to add theirs at the end of the list resulting in
merge conflicts.
> Would a separate patch to sort everything by unit address to get this
> cleaned up be acceptable?
Agree with Kevin that it would be churn. If done, it should be last
thing that gets done in a merge window. I would not attempt it in
relatively busy merge windows like this one.
Thanks,
Sekhar
[toc] | [prev] | [next] | [standalone]
| From | Sekhar Nori <nsekhar@ti.com> |
|---|---|
| Date | 2016-11-23 12:20 +0100 |
| Message-ID | <sGDKO-494-23@gated-at.bofh.it> |
| In reply to | #1528106 |
On Wednesday 23 November 2016 08:59 AM, David Lechner wrote: > This series adds a new driver and DT bindings for TI DA850/OMAP-L138/AM18x > pinconf (bias pullup/pulldown). > > The motivation for this series is LEGO MINDSTORMS EV3 support. It needs most, > if not all, internal pullup/down resistors disabled in order to work correctly. This looks really neat to my non-pinconf trained eyes. I have sent some minor comments. But apart from that: Reviewed-by: Sekhar Nori <nsekhar@ti.com> 3/3 should go through my tree. If the driver patches are going to get queued for v4.10, I can queue the DTS portion through my tree. Thanks, Sekhar
[toc] | [prev] | [standalone]
Back to top | Article view | linux.kernel
csiph-web