ac100 team mailing list archive
-
ac100 team
-
Mailing list archive
-
Message #01373
Re: [PATCH v3 4/4] dt: paz00: define nvec as child of i2c bus
-
To:
Andrey Danin <danindrey@xxxxxxx>
-
From:
Marc Dietrich <marvin24@xxxxxx>
-
Date:
Tue, 21 Jul 2015 10:25:31 +0200
-
Cc:
Mark Rutland <mark.rutland@xxxxxxx>, devicetree@xxxxxxxxxxxxxxx, ac100@xxxxxxxxxxxxxxxxxxx, Russell King <linux@xxxxxxxxxxxxxxxx>, Pawel Moll <pawel.moll@xxxxxxx>, Stephen Warren <swarren@xxxxxxxxxxxxx>, Julian Andres Klode <jak@xxxxxxxxxxxxx>, Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>, Wolfram Sang <wsa@xxxxxxxxxxxxx>, linux-kernel@xxxxxxxxxxxxxxx, Rob Herring <robh+dt@xxxxxxxxxx>, Laxman Dewangan <ldewangan@xxxxxxxxxx>, Thierry Reding <thierry.reding@xxxxxxxxx>, linux-i2c@xxxxxxxxxxxxxxx, Kumar Gala <galak@xxxxxxxxxxxxxx>, linux-tegra@xxxxxxxxxxxxxxx, devel@xxxxxxxxxxxxxxxxxxxxxx, Ian Campbell <ijc+devicetree@xxxxxxxxxxxxxx>, Alexandre Courbot <gnurou@xxxxxxxxx>, linux-arm-kernel@xxxxxxxxxxxxxxxxxxx
-
In-reply-to:
<55ADE829.4030108@mail.ru>
-
User-agent:
KMail/4.14.10 (Linux/4.1.2-marc; KDE/4.14.10; x86_64; ; )
Am Dienstag, 21. Juli 2015, 09:35:21 schrieb Andrey Danin:
> On 21.07.2015 1:19, Stephen Warren wrote:
> > On 07/20/2015 02:35 PM, Andrey Danin wrote:
> >> NVEC driver was reimplemented to use tegra i2c. Use common i2c bindings
> >> for NVEC node.
> >>
> >> diff --git a/arch/arm/boot/dts/tegra20-paz00.dts
> >> b/arch/arm/boot/dts/tegra20-paz00.dts
> >>
> >> + nvec: nvec@45 {
> >> + compatible = "nvidia,nvec-slave";
> >> + reg = <0x45>;
> >
> > I think you need to or in I2C_OWN_SLAVE_ADDRESS from
> > <dt-bindings/i2c/i2c.h> here?
>
> Sorry, I mentioned it in letter 0 only.
> I will rework nvec driver and device tree according to i2c core slave
> implementation later. v3 of this patchset is for fixing tegra i2c driver
> only.
I think in this case it would be better to leave nvec and dt as it is for now,
and just add the slave function to tegra-i2c. Otherwise we will again have two
different "nvidia,nvec-slave" bindings (one for the intermediate hack and one
for the final representation). As an alternative, you could also add slave
function and port nvec in the same series.
Marc
Attachment:
signature.asc
Description: This is a digitally signed message part.
Follow ups
References