All of lore.kernel.org
 help / color / mirror / Atom feed
From: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
To: linux-arm-kernel@lists.infradead.org
Subject: Re: [PATCH 11/23] ARM: dts: omap5-uevm.dts: add tca6424a
Date: Thu, 24 Apr 2014 16:53:29 +0000	[thread overview]
Message-ID: <53594189.1090508@cogentembedded.com> (raw)
In-Reply-To: <5359209F.7000308@ti.com>

Hello.

On 04/24/2014 06:33 PM, Tomi Valkeinen wrote:

>>> omap5-uevm has a tca6424a I/O expander. Add it to the .dts file.

>>> Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
>>> Cc: Tony Lindgren <tony@atomide.com>
>>> ---
>>>    arch/arm/boot/dts/omap5-uevm.dts | 7 +++++++
>>>    1 file changed, 7 insertions(+)

>>> diff --git a/arch/arm/boot/dts/omap5-uevm.dts
>>> b/arch/arm/boot/dts/omap5-uevm.dts
>>> index 3b99ec25b748..9e7581eaeb23 100644
>>> --- a/arch/arm/boot/dts/omap5-uevm.dts
>>> +++ b/arch/arm/boot/dts/omap5-uevm.dts
>>> @@ -434,6 +434,13 @@
>>>        pinctrl-0 = <&i2c5_pins>;
>>>
>>>        clock-frequency = <400000>;
>>> +
>>> +    tca6424a: tca6424a@22 {

>>     The ePAPR standard [1] says: "The name of a node should be somewhat
>> generic,
>> reflecting the function of the device and not its precise programming
>> model.
>> If appropriate, the name should be one of the following choices:
>> [...]
>>     - gpio;"

> Right. I wonder what the name should be... "gpio" is out, as the name
> should be more specific.

    No, it's not out. The name should be "gpio@22", I think it would be unique.

> We already have gpio1-8, which are the gpio
> banks from the SoC.

    I don't understand why you are indexing the names while you probably have 
the address part after @ that makes them unique already.

>   Tomi

WBR, Sergei


WARNING: multiple messages have this Message-ID (diff)
From: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
To: Tomi Valkeinen <tomi.valkeinen@ti.com>,
	Archit Taneja <archit@ti.com>,
	linux-fbdev@vger.kernel.org, linux-omap@vger.kernel.org,
	linux-arm-kernel@lists.infradead.org,
	Tony Lindgren <tony@atomide.com>
Subject: Re: [PATCH 11/23] ARM: dts: omap5-uevm.dts: add tca6424a
Date: Thu, 24 Apr 2014 20:53:29 +0400	[thread overview]
Message-ID: <53594189.1090508@cogentembedded.com> (raw)
In-Reply-To: <5359209F.7000308@ti.com>

Hello.

On 04/24/2014 06:33 PM, Tomi Valkeinen wrote:

>>> omap5-uevm has a tca6424a I/O expander. Add it to the .dts file.

>>> Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
>>> Cc: Tony Lindgren <tony@atomide.com>
>>> ---
>>>    arch/arm/boot/dts/omap5-uevm.dts | 7 +++++++
>>>    1 file changed, 7 insertions(+)

>>> diff --git a/arch/arm/boot/dts/omap5-uevm.dts
>>> b/arch/arm/boot/dts/omap5-uevm.dts
>>> index 3b99ec25b748..9e7581eaeb23 100644
>>> --- a/arch/arm/boot/dts/omap5-uevm.dts
>>> +++ b/arch/arm/boot/dts/omap5-uevm.dts
>>> @@ -434,6 +434,13 @@
>>>        pinctrl-0 = <&i2c5_pins>;
>>>
>>>        clock-frequency = <400000>;
>>> +
>>> +    tca6424a: tca6424a@22 {

>>     The ePAPR standard [1] says: "The name of a node should be somewhat
>> generic,
>> reflecting the function of the device and not its precise programming
>> model.
>> If appropriate, the name should be one of the following choices:
>> [...]
>>     - gpio;"

> Right. I wonder what the name should be... "gpio" is out, as the name
> should be more specific.

    No, it's not out. The name should be "gpio@22", I think it would be unique.

> We already have gpio1-8, which are the gpio
> banks from the SoC.

    I don't understand why you are indexing the names while you probably have 
the address part after @ that makes them unique already.

>   Tomi

WBR, Sergei


WARNING: multiple messages have this Message-ID (diff)
From: sergei.shtylyov@cogentembedded.com (Sergei Shtylyov)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 11/23] ARM: dts: omap5-uevm.dts: add tca6424a
Date: Thu, 24 Apr 2014 20:53:29 +0400	[thread overview]
Message-ID: <53594189.1090508@cogentembedded.com> (raw)
In-Reply-To: <5359209F.7000308@ti.com>

Hello.

On 04/24/2014 06:33 PM, Tomi Valkeinen wrote:

>>> omap5-uevm has a tca6424a I/O expander. Add it to the .dts file.

>>> Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
>>> Cc: Tony Lindgren <tony@atomide.com>
>>> ---
>>>    arch/arm/boot/dts/omap5-uevm.dts | 7 +++++++
>>>    1 file changed, 7 insertions(+)

>>> diff --git a/arch/arm/boot/dts/omap5-uevm.dts
>>> b/arch/arm/boot/dts/omap5-uevm.dts
>>> index 3b99ec25b748..9e7581eaeb23 100644
>>> --- a/arch/arm/boot/dts/omap5-uevm.dts
>>> +++ b/arch/arm/boot/dts/omap5-uevm.dts
>>> @@ -434,6 +434,13 @@
>>>        pinctrl-0 = <&i2c5_pins>;
>>>
>>>        clock-frequency = <400000>;
>>> +
>>> +    tca6424a: tca6424a at 22 {

>>     The ePAPR standard [1] says: "The name of a node should be somewhat
>> generic,
>> reflecting the function of the device and not its precise programming
>> model.
>> If appropriate, the name should be one of the following choices:
>> [...]
>>     - gpio;"

> Right. I wonder what the name should be... "gpio" is out, as the name
> should be more specific.

    No, it's not out. The name should be "gpio at 22", I think it would be unique.

> We already have gpio1-8, which are the gpio
> banks from the SoC.

    I don't understand why you are indexing the names while you probably have 
the address part after @ that makes them unique already.

>   Tomi

WBR, Sergei

  reply	other threads:[~2014-04-24 16:53 UTC|newest]

Thread overview: 135+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-04-24 10:16 [PATCH 00/23] OMAPDSS: OMAP5 display support Tomi Valkeinen
2014-04-24 10:16 ` Tomi Valkeinen
2014-04-24 10:16 ` Tomi Valkeinen
2014-04-24 10:16 ` [PATCH 01/23] OMAPDSS: HDMI: lane config support Tomi Valkeinen
2014-04-24 10:16   ` Tomi Valkeinen
2014-04-24 10:16   ` Tomi Valkeinen
2014-04-25 10:06   ` Archit Taneja
2014-04-25 10:18     ` Archit Taneja
2014-04-25 10:06     ` Archit Taneja
2014-04-25 10:28     ` Tomi Valkeinen
2014-04-25 10:28       ` Tomi Valkeinen
2014-04-25 10:28       ` Tomi Valkeinen
2014-04-24 10:16 ` [PATCH 02/23] Doc/DT: ti,omap4-dss: hdmi lanes Tomi Valkeinen
2014-04-24 10:16   ` Tomi Valkeinen
2014-04-24 10:16   ` Tomi Valkeinen
2014-04-24 10:16 ` [PATCH 03/23] OMAPDSS: HDMI4: set regulator voltage to 1.8V Tomi Valkeinen
2014-04-24 10:16   ` Tomi Valkeinen
2014-04-24 10:16   ` Tomi Valkeinen
2014-04-24 10:17 ` [PATCH 04/23] OMAPDSS: DSI: " Tomi Valkeinen
2014-04-24 10:17   ` Tomi Valkeinen
2014-04-24 10:17   ` Tomi Valkeinen
2014-04-24 10:17 ` [PATCH 05/23] ARM: OMAP: hwmod: OMAP5 DSS hwmod data Tomi Valkeinen
2014-04-24 10:17   ` Tomi Valkeinen
2014-04-24 10:17   ` Tomi Valkeinen
2014-04-24 10:17 ` [PATCH 06/23] ARM: OMAP: add OMAP5 DSI muxing Tomi Valkeinen
2014-04-24 10:17   ` Tomi Valkeinen
2014-04-24 10:17   ` Tomi Valkeinen
2014-04-25 11:11   ` Archit Taneja
2014-04-25 11:23     ` Archit Taneja
2014-04-25 11:11     ` Archit Taneja
2014-04-25 11:18     ` Tomi Valkeinen
2014-04-25 11:18       ` Tomi Valkeinen
2014-04-25 11:18       ` Tomi Valkeinen
2014-04-25 12:58       ` Archit Taneja
2014-04-25 13:10         ` Archit Taneja
2014-04-25 12:58         ` Archit Taneja
2014-04-25 14:08         ` Tomi Valkeinen
2014-04-25 14:08           ` Tomi Valkeinen
2014-04-25 14:08           ` Tomi Valkeinen
2014-04-25 15:31           ` Tony Lindgren
2014-04-25 15:31             ` Tony Lindgren
2014-04-25 15:31             ` Tony Lindgren
2014-04-28  6:52             ` Tomi Valkeinen
2014-04-28  6:52               ` Tomi Valkeinen
2014-04-28  6:52               ` Tomi Valkeinen
2014-04-28 16:45               ` Tony Lindgren
2014-04-28 16:45                 ` Tony Lindgren
2014-04-28 16:45                 ` Tony Lindgren
2014-04-29  5:26                 ` Tomi Valkeinen
2014-04-29  5:26                   ` Tomi Valkeinen
2014-04-29  5:26                   ` Tomi Valkeinen
2014-04-29 15:05                   ` Tony Lindgren
2014-04-29 15:05                     ` Tony Lindgren
2014-04-29 15:05                     ` Tony Lindgren
2014-04-29 16:19                     ` Tomi Valkeinen
2014-04-29 16:19                       ` Tomi Valkeinen
2014-04-29 16:19                       ` Tomi Valkeinen
2014-04-29 16:32                       ` Tomi Valkeinen
2014-04-29 16:32                         ` Tomi Valkeinen
2014-04-29 16:32                         ` Tomi Valkeinen
2014-04-29 17:38                         ` Tony Lindgren
2014-04-29 17:38                           ` Tony Lindgren
2014-04-29 17:38                           ` Tony Lindgren
2014-04-30  6:13                           ` Tomi Valkeinen
2014-04-30  6:13                             ` Tomi Valkeinen
2014-04-30  6:13                             ` Tomi Valkeinen
2014-04-30 17:56                             ` Tony Lindgren
2014-04-30 17:56                               ` Tony Lindgren
2014-04-30 17:56                               ` Tony Lindgren
2014-05-02 13:06                               ` Tomi Valkeinen
2014-05-02 13:06                                 ` Tomi Valkeinen
2014-05-02 13:06                                 ` Tomi Valkeinen
2014-04-24 10:17 ` [PATCH 07/23] ARM: OMAP: add detection of omap5-dss Tomi Valkeinen
2014-04-24 10:17   ` Tomi Valkeinen
2014-04-24 10:17   ` Tomi Valkeinen
2014-04-24 10:17 ` [PATCH 08/23] ARM: dts: omap5-clocks.dtsi: add dss iclk Tomi Valkeinen
2014-04-24 10:17   ` Tomi Valkeinen
2014-04-24 10:17   ` Tomi Valkeinen
2014-04-24 10:17 ` [PATCH 09/23] ARM: dts: omap5-clocks.dtsi: add ti,set-rate-parent to dss_dss_clk Tomi Valkeinen
2014-04-24 10:17   ` [PATCH 09/23] ARM: dts: omap5-clocks.dtsi: add ti, set-rate-parent " Tomi Valkeinen
2014-04-24 10:17   ` [PATCH 09/23] ARM: dts: omap5-clocks.dtsi: add ti,set-rate-parent " Tomi Valkeinen
2014-04-24 10:17 ` [PATCH 10/23] ARM: dts: omap5.dtsi: add DSS nodes Tomi Valkeinen
2014-04-24 10:17   ` Tomi Valkeinen
2014-04-24 10:17   ` Tomi Valkeinen
2014-04-24 10:17 ` [PATCH 11/23] ARM: dts: omap5-uevm.dts: add tca6424a Tomi Valkeinen
2014-04-24 10:17   ` Tomi Valkeinen
2014-04-24 10:17   ` Tomi Valkeinen
2014-04-24 13:49   ` Sergei Shtylyov
2014-04-24 13:49     ` Sergei Shtylyov
2014-04-24 13:49     ` Sergei Shtylyov
2014-04-24 14:33     ` Tomi Valkeinen
2014-04-24 14:33       ` Tomi Valkeinen
2014-04-24 14:33       ` Tomi Valkeinen
2014-04-24 16:53       ` Sergei Shtylyov [this message]
2014-04-24 16:53         ` Sergei Shtylyov
2014-04-24 16:53         ` Sergei Shtylyov
2014-04-25 14:20         ` Tomi Valkeinen
2014-04-25 14:20           ` Tomi Valkeinen
2014-04-25 14:20           ` Tomi Valkeinen
2014-04-24 10:17 ` [PATCH 12/23] ARM: dts: omap5-uevm.dts: add display nodes Tomi Valkeinen
2014-04-24 10:17   ` Tomi Valkeinen
2014-04-24 10:17   ` Tomi Valkeinen
2014-04-24 10:17 ` [PATCH 13/23] OMAPDSS: DSS & DISPC DT support for OMAP5 Tomi Valkeinen
2014-04-24 10:17   ` Tomi Valkeinen
2014-04-24 10:17   ` Tomi Valkeinen
2014-04-24 10:17 ` [PATCH 14/23] OMAPDSS: features: fix OMAP5 features Tomi Valkeinen
2014-04-24 10:17   ` Tomi Valkeinen
2014-04-24 10:17   ` Tomi Valkeinen
2014-04-24 10:17 ` [PATCH 15/23] OMAPDSS: DPI: fix LCD3 DSI source Tomi Valkeinen
2014-04-24 10:17   ` Tomi Valkeinen
2014-04-24 10:17   ` Tomi Valkeinen
2014-04-24 10:17 ` [PATCH 16/23] OMAPDSS: DSI: Add OMAP5 DSI module IDs Tomi Valkeinen
2014-04-24 10:17   ` Tomi Valkeinen
2014-04-24 10:17   ` Tomi Valkeinen
2014-04-24 10:17 ` [PATCH 17/23] OMAPDSS: HDMI: improve Makefile Tomi Valkeinen
2014-04-24 10:17   ` Tomi Valkeinen
2014-04-24 10:17   ` Tomi Valkeinen
2014-04-24 10:17 ` [PATCH 18/23] OMAPDSS: HDMI: move irq & phy pwr handling Tomi Valkeinen
2014-04-24 10:17   ` Tomi Valkeinen
2014-04-24 10:17   ` Tomi Valkeinen
2014-04-24 10:17 ` [PATCH 19/23] OMAPDSS: HDMI: support larger register offsets for OMAP5 HDMI core Tomi Valkeinen
2014-04-24 10:17   ` Tomi Valkeinen
2014-04-24 10:17   ` Tomi Valkeinen
2014-04-24 10:17 ` [PATCH 20/23] OMAPDSS: HDMI: PHY changes for OMAP5 Tomi Valkeinen
2014-04-24 10:17   ` Tomi Valkeinen
2014-04-24 10:17   ` Tomi Valkeinen
2014-04-24 10:17 ` [PATCH 21/23] OMAPDSS: HDMI: PLL " Tomi Valkeinen
2014-04-24 10:17   ` Tomi Valkeinen
2014-04-24 10:17   ` Tomi Valkeinen
2014-04-24 10:17 ` [PATCH 22/23] OMAPDSS: HDMI: Add OMAP5 HDMI support Tomi Valkeinen
2014-04-24 10:17   ` Tomi Valkeinen
2014-04-24 10:17   ` Tomi Valkeinen
2014-04-24 10:17 ` [PATCH 23/23] Doc/DT: Add OMAP5 DSS DT bindings Tomi Valkeinen
2014-04-24 10:17   ` Tomi Valkeinen
2014-04-24 10:17   ` Tomi Valkeinen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=53594189.1090508@cogentembedded.com \
    --to=sergei.shtylyov@cogentembedded.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.