linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Shawn Guo <shawnguo@kernel.org>
To: "Paweł Dembicki" <paweldembicki@gmail.com>
Cc: Linux ARM <linux-arm-kernel@lists.infradead.org>,
	Yangbo Lu <yangbo.lu@nxp.com>, Li Yang <leoyang.li@nxp.com>,
	Rob Herring <robh+dt@kernel.org>,
	"open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" 
	<devicetree@vger.kernel.org>,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH 1/2] arm64: dts: fsl-ls1012a-rdb: add i2c devices
Date: Tue, 19 Jan 2021 17:03:31 +0800	[thread overview]
Message-ID: <20210119090330.GC4356@dragon> (raw)
In-Reply-To: <CAJN1KkwW174XKn+covSgCHkzUbS40BqAzLBA5QMt4CD2v5CTYw@mail.gmail.com>

On Mon, Jan 18, 2021 at 11:08:11AM +0100, Paweł Dembicki wrote:
> On 18.01.2021 at 08:36 Shawn Guo <shawnguo@kernel.org> wrote:
> >
> > On Fri, Jan 15, 2021 at 11:16:12AM +0100, Pawel Dembicki wrote:
> > > LS1012A-RDB equipped in some i2c devices:
> > >   - 3x GPIO Expander: PCAL9555A (NXP)
> > >   - Gyro: FXAS21002 (NXP)
> > >   - Accelerometer: FXOS8700 (NXP)
> > >   - Current & Power Monitor: INA220 (TI)
> > >
> > > This patch add listed devices to dts.
> > >
> > > Signed-off-by: Pawel Dembicki <paweldembicki@gmail.com>
> > > ---
> > >  .../boot/dts/freescale/fsl-ls1012a-rdb.dts    | 45 +++++++++++++++++++
> > >  1 file changed, 45 insertions(+)
> > >
> > > diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1012a-rdb.dts b/arch/arm64/boot/dts/freescale/fsl-ls1012a-rdb.dts
> > > index d45c17620b98..12117a973eb6 100644
> > > --- a/arch/arm64/boot/dts/freescale/fsl-ls1012a-rdb.dts
> > > +++ b/arch/arm64/boot/dts/freescale/fsl-ls1012a-rdb.dts
> > > @@ -7,6 +7,7 @@
> > >   */
> > >  /dts-v1/;
> > >
> > > +#include <dt-bindings/interrupt-controller/irq.h>
> > >  #include "fsl-ls1012a.dtsi"
> > >
> > >  / {
> > > @@ -33,6 +34,50 @@ &esdhc1 {
> > >
> > >  &i2c0 {
> > >       status = "okay";
> > > +
> > > +     accelerometer@1e {
> > > +             compatible = "nxp,fxos8700";
> > > +             reg = <0x1e>;
> > > +             interrupt-parent = <&gpio26>;
> > > +             interrupts = <13 IRQ_TYPE_EDGE_RISING>;
> > > +             interrupt-names = "INT1";
> > > +     };
> > > +
> > > +     gyroscope@20 {
> >
> > Please sort these device node in unit-address.
> >
> > Shawn
> >
> 
> Could You give me more details please?  Devices are sorted by
> unit-address ascending.

Oops! I'm sorry.  It must be something went wrong with my eyes.

Shawn

      reply	other threads:[~2021-01-19  9:07 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-01-15 10:16 [PATCH 1/2] arm64: dts: fsl-ls1012a-rdb: add i2c devices Pawel Dembicki
2021-01-15 10:16 ` [PATCH 2/2] arm64: dts: fsl-ls1012a-frdm: add spi-uart device Pawel Dembicki
2021-01-18  7:38   ` Shawn Guo
2021-01-18  7:36 ` [PATCH 1/2] arm64: dts: fsl-ls1012a-rdb: add i2c devices Shawn Guo
2021-01-18 10:08   ` Paweł Dembicki
2021-01-19  9:03     ` Shawn Guo [this message]

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=20210119090330.GC4356@dragon \
    --to=shawnguo@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=leoyang.li@nxp.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=paweldembicki@gmail.com \
    --cc=robh+dt@kernel.org \
    --cc=yangbo.lu@nxp.com \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).