* [meta-fsl-ppc]: Enable gpio expander for p2041?
@ 2016-03-07 13:24 Nora Björklund
2016-03-09 9:52 ` Zhenhua Luo
0 siblings, 1 reply; 5+ messages in thread
From: Nora Björklund @ 2016-03-07 13:24 UTC (permalink / raw)
To: meta-freescale@yoctoproject.org
Hi all,
I was working on a p2041rdb target not so long ago and needed to use
the gpio pins (described in detail in the p2041 reference manual),
these are visible on the p2041 fact sheet [1]. The pins are connected
to a gpio expander, PCA9672 [2], which is connected to an i2c-bus.
The expander was not available in the device-tree for p2041rdb so I
patched it locally to include it. The gpio-expander does not seem to be
available in any upstream repository either (at this time I was working
on a version of the 3.12 kernel).
Would this patch be of any interest for meta-fsl-ppc?
The gpio pins are there on all p2041rdb targets (at least since they
are mentioned as such in the reference guide), so I could not come up
with a reason to why it is excluded from the device tree.
Best Regards,
Nora Björklund
-----------------------------
[1] http://cache.nxp.com/files/32bit/doc/fact_sheet/P2041RDBFS.pdf?fpsp
=1&WT_TYPE=Fact%20Sheets&WT_VENDOR=FREESCALE&WT_FILE_FORMAT=pdf&WT_ASSE
T=Documentation&fileExt=.pdf (login might be required)
[2] http://www.nxp.com/products/interface-and-connectivity/interface-an
d-system-management/i2c/i2c-general-purpose-i-o/remote-8-bit-i-o-
expander-for-fm-plus-ic-bus-with-interrupt-and-reset:PCA9672
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [meta-fsl-ppc]: Enable gpio expander for p2041?
2016-03-07 13:24 [meta-fsl-ppc]: Enable gpio expander for p2041? Nora Björklund
@ 2016-03-09 9:52 ` Zhenhua Luo
2016-03-09 12:34 ` Nora Björklund
0 siblings, 1 reply; 5+ messages in thread
From: Zhenhua Luo @ 2016-03-09 9:52 UTC (permalink / raw)
To: Nora Björklund; +Cc: meta-freescale@yoctoproject.org
Hi Nora,
The PCA9672 is a GPIO expander chip via I2C bus, and no any relative with P2041 GPIO IP block.
P2041 dts file has included the GPIO node in both upstream kernel and SDK2.0 which will be released in 2016 Q2.
Best Regards,
Zhenhua
> -----Original Message-----
> From: meta-freescale-bounces@yoctoproject.org [mailto:meta-freescale-
> bounces@yoctoproject.org] On Behalf Of Nora Bj?rklund
> Sent: Monday, March 07, 2016 9:25 PM
> To: meta-freescale@yoctoproject.org
> Subject: [meta-freescale] [meta-fsl-ppc]: Enable gpio expander for p2041?
>
> Hi all,
>
> I was working on a p2041rdb target not so long ago and needed to use the gpio
> pins (described in detail in the p2041 reference manual), these are visible on
> the p2041 fact sheet [1]. The pins are connected to a gpio expander, PCA9672
> [2], which is connected to an i2c-bus.
>
> The expander was not available in the device-tree for p2041rdb so I patched it
> locally to include it. The gpio-expander does not seem to be available in any
> upstream repository either (at this time I was working on a version of the 3.12
> kernel).
>
> Would this patch be of any interest for meta-fsl-ppc?
>
> The gpio pins are there on all p2041rdb targets (at least since they are
> mentioned as such in the reference guide), so I could not come up with a
> reason to why it is excluded from the device tree.
>
> Best Regards,
> Nora Björklund
>
> -----------------------------
> [1] http://cache.nxp.com/files/32bit/doc/fact_sheet/P2041RDBFS.pdf?fpsp
> =1&WT_TYPE=Fact%20Sheets&WT_VENDOR=FREESCALE&WT_FILE_FORMAT=
> pdf&WT_ASSE
> T=Documentation&fileExt=.pdf (login might be required) [2]
> http://www.nxp.com/products/interface-and-connectivity/interface-an
> d-system-management/i2c/i2c-general-purpose-i-o/remote-8-bit-i-o-
> expander-for-fm-plus-ic-bus-with-interrupt-and-reset:PCA9672
> --
> _______________________________________________
> meta-freescale mailing list
> meta-freescale@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-freescale
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [meta-fsl-ppc]: Enable gpio expander for p2041?
2016-03-09 9:52 ` Zhenhua Luo
@ 2016-03-09 12:34 ` Nora Björklund
2016-03-10 8:26 ` Zhenhua Luo
0 siblings, 1 reply; 5+ messages in thread
From: Nora Björklund @ 2016-03-09 12:34 UTC (permalink / raw)
To: zhenhua.luo@nxp.com; +Cc: meta-freescale@yoctoproject.org
Hi Zhenhua,
Thanks for the reply. Which upstream kernel was the expander merged
into?
I was looking in
git://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git and in
git://git.freescale.com/ppc/sdk/linux.git but did not find the gpio-
expander.
Best Regards,
Nora
On Wed, 2016-03-09 at 09:52 +0000, Zhenhua Luo wrote:
> Hi Nora,
>
> The PCA9672 is a GPIO expander chip via I2C bus, and no any relative
> with P2041 GPIO IP block.
>
> P2041 dts file has included the GPIO node in both upstream kernel and
> SDK2.0 which will be released in 2016 Q2.
>
>
> Best Regards,
>
> Zhenhua
>
> >
> > -----Original Message-----
> > From: meta-freescale-bounces@yoctoproject.org [mailto:meta-
> > freescale-
> > bounces@yoctoproject.org] On Behalf Of Nora Bj?rklund
> > Sent: Monday, March 07, 2016 9:25 PM
> > To: meta-freescale@yoctoproject.org
> > Subject: [meta-freescale] [meta-fsl-ppc]: Enable gpio expander for
> > p2041?
> >
> > Hi all,
> >
> > I was working on a p2041rdb target not so long ago and needed to
> > use the gpio
> > pins (described in detail in the p2041 reference manual), these are
> > visible on
> > the p2041 fact sheet [1]. The pins are connected to a gpio
> > expander, PCA9672
> > [2], which is connected to an i2c-bus.
> >
> > The expander was not available in the device-tree for p2041rdb so I
> > patched it
> > locally to include it. The gpio-expander does not seem to be
> > available in any
> > upstream repository either (at this time I was working on a version
> > of the 3.12
> > kernel).
> >
> > Would this patch be of any interest for meta-fsl-ppc?
> >
> > The gpio pins are there on all p2041rdb targets (at least since
> > they are
> > mentioned as such in the reference guide), so I could not come up
> > with a
> > reason to why it is excluded from the device tree.
> >
> > Best Regards,
> > Nora Björklund
> >
> > -----------------------------
> > [1] http://cache.nxp.com/files/32bit/doc/fact_sheet/P2041RDBFS.pdf?
> > fpsp
> > =1&WT_TYPE=Fact%20Sheets&WT_VENDOR=FREESCALE&WT_FILE_FORMAT=
> > pdf&WT_ASSE
> > T=Documentation&fileExt=.pdf (login might be required) [2]
> > http://www.nxp.com/products/interface-and-connectivity/interface-an
> > d-system-management/i2c/i2c-general-purpose-i-o/remote-8-bit-i-o-
> > expander-for-fm-plus-ic-bus-with-interrupt-and-reset:PCA9672
> > --
> > _______________________________________________
> > meta-freescale mailing list
> > meta-freescale@yoctoproject.org
> > https://lists.yoctoproject.org/listinfo/meta-freescale
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [meta-fsl-ppc]: Enable gpio expander for p2041?
2016-03-09 12:34 ` Nora Björklund
@ 2016-03-10 8:26 ` Zhenhua Luo
2016-03-10 9:29 ` Zhenhua Luo
0 siblings, 1 reply; 5+ messages in thread
From: Zhenhua Luo @ 2016-03-10 8:26 UTC (permalink / raw)
To: Nora Björklund; +Cc: meta-freescale@yoctoproject.org
https://git.kernel.org/cgit/linux/kernel/git/powerpc/linux.git/tree/arch/powerpc/boot/dts/fsl/p2041si-post.dtsi#n395
Best Regards,
Zhenhua
> -----Original Message-----
> From: Nora Björklund [mailto:Nora.Bjorklund@enea.com]
> Sent: Wednesday, March 09, 2016 8:35 PM
> To: Zhenhua Luo <zhenhua.luo@nxp.com>
> Cc: meta-freescale@yoctoproject.org
> Subject: Re: [meta-freescale] [meta-fsl-ppc]: Enable gpio expander for p2041?
>
> Hi Zhenhua,
>
> Thanks for the reply. Which upstream kernel was the expander merged into?
>
> I was looking in
> git://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git and in
> git://git.freescale.com/ppc/sdk/linux.git but did not find the gpio- expander.
>
> Best Regards,
> Nora
>
> On Wed, 2016-03-09 at 09:52 +0000, Zhenhua Luo wrote:
> > Hi Nora,
> >
> > The PCA9672 is a GPIO expander chip via I2C bus, and no any relative
> > with P2041 GPIO IP block.
> >
> > P2041 dts file has included the GPIO node in both upstream kernel and
> > SDK2.0 which will be released in 2016 Q2.
> >
> >
> > Best Regards,
> >
> > Zhenhua
> >
> > >
> > > -----Original Message-----
> > > From: meta-freescale-bounces@yoctoproject.org [mailto:meta-
> > > freescale-
> > > bounces@yoctoproject.org] On Behalf Of Nora Bj?rklund
> > > Sent: Monday, March 07, 2016 9:25 PM
> > > To: meta-freescale@yoctoproject.org
> > > Subject: [meta-freescale] [meta-fsl-ppc]: Enable gpio expander for
> > > p2041?
> > >
> > > Hi all,
> > >
> > > I was working on a p2041rdb target not so long ago and needed to use
> > > the gpio pins (described in detail in the p2041 reference manual),
> > > these are visible on the p2041 fact sheet [1]. The pins are
> > > connected to a gpio expander, PCA9672 [2], which is connected to an
> > > i2c-bus.
> > >
> > > The expander was not available in the device-tree for p2041rdb so I
> > > patched it locally to include it. The gpio-expander does not seem to
> > > be available in any upstream repository either (at this time I was
> > > working on a version of the 3.12 kernel).
> > >
> > > Would this patch be of any interest for meta-fsl-ppc?
> > >
> > > The gpio pins are there on all p2041rdb targets (at least since they
> > > are mentioned as such in the reference guide), so I could not come
> > > up with a reason to why it is excluded from the device tree.
> > >
> > > Best Regards,
> > > Nora Björklund
> > >
> > > -----------------------------
> > > [1] http://cache.nxp.com/files/32bit/doc/fact_sheet/P2041RDBFS.pdf?
> > > fpsp
> > >
> =1&WT_TYPE=Fact%20Sheets&WT_VENDOR=FREESCALE&WT_FILE_FORMAT=
> > > pdf&WT_ASSE
> > > T=Documentation&fileExt=.pdf (login might be required) [2]
> > > http://www.nxp.com/products/interface-and-connectivity/interface-an
> > > d-system-management/i2c/i2c-general-purpose-i-o/remote-8-bit-i-o-
> > > expander-for-fm-plus-ic-bus-with-interrupt-and-reset:PCA9672
> > > --
> > > _______________________________________________
> > > meta-freescale mailing list
> > > meta-freescale@yoctoproject.org
> > > https://lists.yoctoproject.org/listinfo/meta-freescale
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [meta-fsl-ppc]: Enable gpio expander for p2041?
2016-03-10 8:26 ` Zhenhua Luo
@ 2016-03-10 9:29 ` Zhenhua Luo
0 siblings, 0 replies; 5+ messages in thread
From: Zhenhua Luo @ 2016-03-10 9:29 UTC (permalink / raw)
To: Nora Björklund; +Cc: meta-freescale@yoctoproject.org, Gang Liu
I just got the comments from SDK developer, there is no such node in upstream, he thinks it should be a I2C node, not a GPIO node.
Sorry for the confusion.
Best Regards,
Zhenhua
> -----Original Message-----
> From: meta-freescale-bounces@yoctoproject.org [mailto:meta-freescale-
> bounces@yoctoproject.org] On Behalf Of Zhenhua Luo
> Sent: Thursday, March 10, 2016 4:26 PM
> To: Nora Björklund <Nora.Bjorklund@enea.com>
> Cc: meta-freescale@yoctoproject.org
> Subject: Re: [meta-freescale] [meta-fsl-ppc]: Enable gpio expander for p2041?
>
> https://git.kernel.org/cgit/linux/kernel/git/powerpc/linux.git/tree/arch/power
> pc/boot/dts/fsl/p2041si-post.dtsi#n395
>
>
> Best Regards,
>
> Zhenhua
>
> > -----Original Message-----
> > From: Nora Björklund [mailto:Nora.Bjorklund@enea.com]
> > Sent: Wednesday, March 09, 2016 8:35 PM
> > To: Zhenhua Luo <zhenhua.luo@nxp.com>
> > Cc: meta-freescale@yoctoproject.org
> > Subject: Re: [meta-freescale] [meta-fsl-ppc]: Enable gpio expander for p2041?
> >
> > Hi Zhenhua,
> >
> > Thanks for the reply. Which upstream kernel was the expander merged into?
> >
> > I was looking in
> > git://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git and in
> > git://git.freescale.com/ppc/sdk/linux.git but did not find the gpio- expander.
> >
> > Best Regards,
> > Nora
> >
> > On Wed, 2016-03-09 at 09:52 +0000, Zhenhua Luo wrote:
> > > Hi Nora,
> > >
> > > The PCA9672 is a GPIO expander chip via I2C bus, and no any relative
> > > with P2041 GPIO IP block.
> > >
> > > P2041 dts file has included the GPIO node in both upstream kernel
> > > and
> > > SDK2.0 which will be released in 2016 Q2.
> > >
> > >
> > > Best Regards,
> > >
> > > Zhenhua
> > >
> > > >
> > > > -----Original Message-----
> > > > From: meta-freescale-bounces@yoctoproject.org [mailto:meta-
> > > > freescale-
> > > > bounces@yoctoproject.org] On Behalf Of Nora Bj?rklund
> > > > Sent: Monday, March 07, 2016 9:25 PM
> > > > To: meta-freescale@yoctoproject.org
> > > > Subject: [meta-freescale] [meta-fsl-ppc]: Enable gpio expander for
> > > > p2041?
> > > >
> > > > Hi all,
> > > >
> > > > I was working on a p2041rdb target not so long ago and needed to
> > > > use the gpio pins (described in detail in the p2041 reference
> > > > manual), these are visible on the p2041 fact sheet [1]. The pins
> > > > are connected to a gpio expander, PCA9672 [2], which is connected
> > > > to an i2c-bus.
> > > >
> > > > The expander was not available in the device-tree for p2041rdb so
> > > > I patched it locally to include it. The gpio-expander does not
> > > > seem to be available in any upstream repository either (at this
> > > > time I was working on a version of the 3.12 kernel).
> > > >
> > > > Would this patch be of any interest for meta-fsl-ppc?
> > > >
> > > > The gpio pins are there on all p2041rdb targets (at least since
> > > > they are mentioned as such in the reference guide), so I could not
> > > > come up with a reason to why it is excluded from the device tree.
> > > >
> > > > Best Regards,
> > > > Nora Björklund
> > > >
> > > > -----------------------------
> > > > [1] http://cache.nxp.com/files/32bit/doc/fact_sheet/P2041RDBFS.pdf?
> > > > fpsp
> > > >
> >
> =1&WT_TYPE=Fact%20Sheets&WT_VENDOR=FREESCALE&WT_FILE_FORMAT=
> > > > pdf&WT_ASSE
> > > > T=Documentation&fileExt=.pdf (login might be required) [2]
> > > > http://www.nxp.com/products/interface-and-connectivity/interface-a
> > > > n
> > > > d-system-management/i2c/i2c-general-purpose-i-o/remote-8-bit-i-o-
> > > > expander-for-fm-plus-ic-bus-with-interrupt-and-reset:PCA9672
> > > > --
> > > > _______________________________________________
> > > > meta-freescale mailing list
> > > > meta-freescale@yoctoproject.org
> > > > https://lists.yoctoproject.org/listinfo/meta-freescale
> --
> _______________________________________________
> meta-freescale mailing list
> meta-freescale@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-freescale
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2016-03-10 9:45 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-03-07 13:24 [meta-fsl-ppc]: Enable gpio expander for p2041? Nora Björklund
2016-03-09 9:52 ` Zhenhua Luo
2016-03-09 12:34 ` Nora Björklund
2016-03-10 8:26 ` Zhenhua Luo
2016-03-10 9:29 ` Zhenhua Luo
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.