All of lore.kernel.org
 help / color / mirror / Atom feed
From: Brendan Higgins <brendanhiggins@google.com>
To: Joel Stanley <joel@jms.id.au>
Cc: "Rob Herring" <robh+dt@kernel.org>,
	"Mark Rutland" <mark.rutland@arm.com>,
	"Russell King" <linux@armlinux.org.uk>,
	devicetree <devicetree@vger.kernel.org>,
	linux-arm-kernel@lists.infradead.org,
	"Linux Kernel Mailing List" <linux-kernel@vger.kernel.org>,
	"Andrew Jeffery" <andrew@aj.id.au>,
	"Rick Altherr" <raltherr@google.com>,
	"Cédric Le Goater" <clg@kaod.org>,
	linux-aspeed@lists.ozlabs.org
Subject: Re: [PATCH 3/8] ARM: dts: aspeed: Add I2C buses
Date: Thu, 28 Sep 2017 11:35:33 -0700	[thread overview]
Message-ID: <CAFd5g46LrdCkPq-dZyrA3Nnw28=r-sCsPvp5bWngYUF=3RmDYA@mail.gmail.com> (raw)
In-Reply-To: <20170928075149.8154-4-joel@jms.id.au>

On Thu, Sep 28, 2017 at 12:51 AM, Joel Stanley <joel@jms.id.au> wrote:
> Now with an upstream i2c bus driver, we can add  the 14 i2c buses that
> exist in ASPEED G4 and G5 generation SoCs.
>
> It also adds aliases for the 14 built-in I2C busses to ensure userspace
> sees the numbering staring from zero and counting up.
>
> Signed-off-by: Joel Stanley <joel@jms.id.au>
> ---

Reviewed-by: Brendan Higgins <brendanhiggins@google.com>

nit: can we make the i2c labels and the pinctrl labels match?

For example:

> +
> +       i2c13: i2c-bus@480 {
> +               #address-cells = <1>;
> +               #size-cells = <0>;
> +               #interrupt-cells = <1>;
> +
> +               reg = <0x480 0x40>;
> +               compatible = "aspeed,ast2500-i2c-bus";
> +               clocks = <&clk_apb>;
> +               bus-frequency = <100000>;
> +               interrupts = <13>;
> +               interrupt-parent = <&i2c_ic>;
> +               pinctrl-names = "default";
> +               pinctrl-0 = <&pinctrl_i2c14_default>;
> +               status = "disabled";
> +       };

"i2c13" has a pinctrl-0 of "pinctrl_i2c14_default"

I know that pinctrl_i2c14_default is consistent with the function and
groups it uses, but I would like to see them all be consistent at some
point in the future.

WARNING: multiple messages have this Message-ID (diff)
From: brendanhiggins@google.com (Brendan Higgins)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 3/8] ARM: dts: aspeed: Add I2C buses
Date: Thu, 28 Sep 2017 11:35:33 -0700	[thread overview]
Message-ID: <CAFd5g46LrdCkPq-dZyrA3Nnw28=r-sCsPvp5bWngYUF=3RmDYA@mail.gmail.com> (raw)
In-Reply-To: <20170928075149.8154-4-joel@jms.id.au>

On Thu, Sep 28, 2017 at 12:51 AM, Joel Stanley <joel@jms.id.au> wrote:
> Now with an upstream i2c bus driver, we can add  the 14 i2c buses that
> exist in ASPEED G4 and G5 generation SoCs.
>
> It also adds aliases for the 14 built-in I2C busses to ensure userspace
> sees the numbering staring from zero and counting up.
>
> Signed-off-by: Joel Stanley <joel@jms.id.au>
> ---

Reviewed-by: Brendan Higgins <brendanhiggins@google.com>

nit: can we make the i2c labels and the pinctrl labels match?

For example:

> +
> +       i2c13: i2c-bus at 480 {
> +               #address-cells = <1>;
> +               #size-cells = <0>;
> +               #interrupt-cells = <1>;
> +
> +               reg = <0x480 0x40>;
> +               compatible = "aspeed,ast2500-i2c-bus";
> +               clocks = <&clk_apb>;
> +               bus-frequency = <100000>;
> +               interrupts = <13>;
> +               interrupt-parent = <&i2c_ic>;
> +               pinctrl-names = "default";
> +               pinctrl-0 = <&pinctrl_i2c14_default>;
> +               status = "disabled";
> +       };

"i2c13" has a pinctrl-0 of "pinctrl_i2c14_default"

I know that pinctrl_i2c14_default is consistent with the function and
groups it uses, but I would like to see them all be consistent at some
point in the future.

  reply	other threads:[~2017-09-28 18:35 UTC|newest]

Thread overview: 67+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-09-28  7:51 [PATCH 0/8] ARM: dts: aspeed: Device tree updates Joel Stanley
2017-09-28  7:51 ` Joel Stanley
2017-09-28  7:51 ` Joel Stanley
2017-09-28  7:51 ` [PATCH 1/8] ARM: dts: aspeed: Move pinctrl subnodes to improve readability Joel Stanley
2017-09-28  7:51   ` Joel Stanley
2017-10-04  3:30   ` Andrew Jeffery
2017-10-04  3:30     ` Andrew Jeffery
2017-09-28  7:51 ` [PATCH 2/8] ARM: dts: aspeed: Reorder ADC node Joel Stanley
2017-09-28  7:51   ` Joel Stanley
2017-10-04  3:35   ` Andrew Jeffery
2017-10-04  3:35     ` Andrew Jeffery
2017-10-04  3:35     ` Andrew Jeffery
2017-10-04  5:13     ` Joel Stanley
2017-10-04  5:13       ` Joel Stanley
2017-10-04  5:21       ` Andrew Jeffery
2017-10-04  5:21         ` Andrew Jeffery
2017-10-04  5:21         ` Andrew Jeffery
2017-09-28  7:51 ` [PATCH 3/8] ARM: dts: aspeed: Add I2C buses Joel Stanley
2017-09-28  7:51   ` Joel Stanley
2017-09-28 18:35   ` Brendan Higgins [this message]
2017-09-28 18:35     ` Brendan Higgins
2017-10-04  4:36     ` Andrew Jeffery
2017-10-04  4:36       ` Andrew Jeffery
2017-10-04  4:36       ` Andrew Jeffery
2017-10-04  4:41   ` Andrew Jeffery
2017-10-04  4:41     ` Andrew Jeffery
2017-10-04  4:41     ` Andrew Jeffery
2017-09-28  7:51 ` [PATCH 4/8] ARM: dts: aspeed-romulus: Add I2C devices Joel Stanley
2017-09-28  7:51   ` Joel Stanley
2017-09-28  7:51   ` Joel Stanley
2017-09-28 18:36   ` Brendan Higgins
2017-09-28 18:36     ` Brendan Higgins
2017-09-28 18:36     ` Brendan Higgins
2017-10-04  5:02   ` Andrew Jeffery
2017-10-04  5:02     ` Andrew Jeffery
2017-10-04  5:02     ` Andrew Jeffery
2017-10-04  5:24     ` Joel Stanley
2017-10-04  5:24       ` Joel Stanley
2017-10-04  5:24       ` Joel Stanley
2017-09-28  7:51 ` [PATCH 5/8] ARM: dts: aspeed-palmetto: " Joel Stanley
2017-09-28  7:51   ` Joel Stanley
2017-09-28 18:36   ` Brendan Higgins
2017-09-28 18:36     ` Brendan Higgins
2017-10-04  5:08   ` Andrew Jeffery
2017-10-04  5:08     ` Andrew Jeffery
2017-10-04  5:08     ` Andrew Jeffery
2017-09-28  7:51 ` [PATCH 6/8] ARM: dts: aspeed-ast2500: " Joel Stanley
2017-09-28  7:51   ` Joel Stanley
2017-09-28 18:37   ` Brendan Higgins
2017-09-28 18:37     ` Brendan Higgins
2017-09-28 18:37     ` Brendan Higgins
2017-10-04  5:12   ` Andrew Jeffery
2017-10-04  5:12     ` Andrew Jeffery
2017-10-04  5:12     ` Andrew Jeffery
2017-09-28  7:51 ` [PATCH 7/8] ARM: dts: aspeed: Add aliases for UARTs Joel Stanley
2017-09-28  7:51   ` Joel Stanley
2017-10-04  5:13   ` Andrew Jeffery
2017-10-04  5:13     ` Andrew Jeffery
2017-10-04  5:13     ` Andrew Jeffery
2017-09-28  7:51 ` [PATCH 8/8] ARM: dts: aspeed: Clean up UART nodes Joel Stanley
2017-09-28  7:51   ` Joel Stanley
2017-10-04  5:28   ` Andrew Jeffery
2017-10-04  5:28     ` Andrew Jeffery
2017-10-04  5:28     ` Andrew Jeffery
2017-10-04  6:00     ` Joel Stanley
2017-10-04  6:00       ` Joel Stanley
2017-10-04  6:00       ` Joel Stanley

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='CAFd5g46LrdCkPq-dZyrA3Nnw28=r-sCsPvp5bWngYUF=3RmDYA@mail.gmail.com' \
    --to=brendanhiggins@google.com \
    --cc=andrew@aj.id.au \
    --cc=clg@kaod.org \
    --cc=devicetree@vger.kernel.org \
    --cc=joel@jms.id.au \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-aspeed@lists.ozlabs.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux@armlinux.org.uk \
    --cc=mark.rutland@arm.com \
    --cc=raltherr@google.com \
    --cc=robh+dt@kernel.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.