All of lore.kernel.org
 help / color / mirror / Atom feed
From: shawnguo@kernel.org (Shawn Guo)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v2 2/2] ARM64: dts: add LS1043a-QDS board support
Date: Sun, 28 Feb 2016 10:38:18 +0800	[thread overview]
Message-ID: <20160228023818.GB22051@tiger> (raw)
In-Reply-To: <HE1PR04MB0906707F686591B374AA364F84A00@HE1PR04MB0906.eurprd04.prod.outlook.com>

On Fri, Feb 19, 2016 at 10:10:04AM +0000, Zhiqiang Hou wrote:

<snip>

> > > +	pca9547 at 77 {
> > > +		compatible = "philips,pca9547";
> > 
> > I cannot find this compatible string in either binding docs or driver code.
> > 
> 
> See the file below.
> ./drivers/i2c/muxes/i2c-mux-pca954x.c:115:	{ "pca9547", pca_9547 },
> Perhaps the vender name should be updated to nxp.

Yes, if you look at Documentation/devicetree/bindings/i2c/i2c-mux-pca954x.txt,
"nxp,pca9547" is the one you should use here.

<snip>

> > > +			eeprom at 56 {
> > > +				compatible = "at24,24c512";
> > 
> > Unsupported/undocumented compatible?
> 
> Will change it to "atmel, 24c512".

Yes, but without the space in the middle.

> 
> > 
> > > +				reg = <0x56>;
> > > +			};
> > > +
> > > +			eeprom at 57 {
> > > +				compatible = "at24,24c512";
> > > +				reg = <0x57>;
> > > +			};
> > > +
> > > +			adt7461a at 4c {
> > 
> > temp-sensor should be a better node name, if I understand the device correctly.
> > 
> 
> I didn't find a reference in kernel, so what name should be better, do you have any advice?

"temp-sensor" is what I see from the example in
Documentation/devicetree/bindings/hwmon/lm90.txt.

Shawn

WARNING: multiple messages have this Message-ID (diff)
From: Shawn Guo <shawnguo-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>
To: Zhiqiang Hou <zhiqiang.hou-3arQi8VN3Tc@public.gmane.org>
Cc: Zhiqiang Hou
	<Zhiqiang.Hou-KZfg59tc24xl57MIdRCFDg@public.gmane.org>,
	"mark.rutland-5wv7dgnIgG8@public.gmane.org"
	<mark.rutland-5wv7dgnIgG8@public.gmane.org>,
	"devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org"
	<devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>,
	"Shaohui.Xie-KZfg59tc24xl57MIdRCFDg@public.gmane.org"
	<Shaohui.Xie-KZfg59tc24xl57MIdRCFDg@public.gmane.org>,
	"pawel.moll-5wv7dgnIgG8@public.gmane.org"
	<pawel.moll-5wv7dgnIgG8@public.gmane.org>,
	"ijc+devicetree-KcIKpvwj1kUDXYZnReoRVg@public.gmane.org"
	<ijc+devicetree-KcIKpvwj1kUDXYZnReoRVg@public.gmane.org>,
	"catalin.marinas-5wv7dgnIgG8@public.gmane.org"
	<catalin.marinas-5wv7dgnIgG8@public.gmane.org>,
	"will.deacon-5wv7dgnIgG8@public.gmane.org"
	<will.deacon-5wv7dgnIgG8@public.gmane.org>,
	"robh+dt-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org"
	<robh+dt-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>,
	"galak-sgV2jX0FEOL9JmXXK+q4OQ@public.gmane.org"
	<galak-sgV2jX0FEOL9JmXXK+q4OQ@public.gmane.org>,
	"scottwood-KZfg59tc24xl57MIdRCFDg@public.gmane.org"
	<scottwood-KZfg59tc24xl57MIdRCFDg@public.gmane.org>,
	"Mingkai.Hu-KZfg59tc24xl57MIdRCFDg@public.gmane.org"
	<Mingkai.Hu-KZfg59tc24xl57MIdRCFDg@public.gmane.org>,
	"linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org"
	<linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org>
Subject: Re: [PATCH v2 2/2] ARM64: dts: add LS1043a-QDS board support
Date: Sun, 28 Feb 2016 10:38:18 +0800	[thread overview]
Message-ID: <20160228023818.GB22051@tiger> (raw)
In-Reply-To: <HE1PR04MB0906707F686591B374AA364F84A00-6LN7OEpIatWBkn9woE/rDM9NdZoXdze2vxpqHgZTriW3zl9H0oFU5g@public.gmane.org>

On Fri, Feb 19, 2016 at 10:10:04AM +0000, Zhiqiang Hou wrote:

<snip>

> > > +	pca9547@77 {
> > > +		compatible = "philips,pca9547";
> > 
> > I cannot find this compatible string in either binding docs or driver code.
> > 
> 
> See the file below.
> ./drivers/i2c/muxes/i2c-mux-pca954x.c:115:	{ "pca9547", pca_9547 },
> Perhaps the vender name should be updated to nxp.

Yes, if you look at Documentation/devicetree/bindings/i2c/i2c-mux-pca954x.txt,
"nxp,pca9547" is the one you should use here.

<snip>

> > > +			eeprom@56 {
> > > +				compatible = "at24,24c512";
> > 
> > Unsupported/undocumented compatible?
> 
> Will change it to "atmel, 24c512".

Yes, but without the space in the middle.

> 
> > 
> > > +				reg = <0x56>;
> > > +			};
> > > +
> > > +			eeprom@57 {
> > > +				compatible = "at24,24c512";
> > > +				reg = <0x57>;
> > > +			};
> > > +
> > > +			adt7461a@4c {
> > 
> > temp-sensor should be a better node name, if I understand the device correctly.
> > 
> 
> I didn't find a reference in kernel, so what name should be better, do you have any advice?

"temp-sensor" is what I see from the example in
Documentation/devicetree/bindings/hwmon/lm90.txt.

Shawn
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

  reply	other threads:[~2016-02-28  2:38 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-12-24  9:11 [PATCH v2 1/2] Documentation: DT: Add entry for Freescale LS1043a-QDS board Zhiqiang Hou
2015-12-24  9:11 ` Zhiqiang Hou
2015-12-24  9:11 ` [PATCH v2 2/2] ARM64: dts: add LS1043a-QDS board support Zhiqiang Hou
2015-12-24  9:11   ` Zhiqiang Hou
2016-01-18  3:46   ` Hou Zhiqiang
2016-01-18  3:46     ` Hou Zhiqiang
2016-02-19  3:28   ` Shawn Guo
2016-02-19  3:28     ` Shawn Guo
2016-02-19 10:10     ` Zhiqiang Hou
2016-02-19 10:10       ` Zhiqiang Hou
2016-02-28  2:38       ` Shawn Guo [this message]
2016-02-28  2:38         ` Shawn Guo
2016-03-01  2:42         ` Zhiqiang Hou
2016-03-01  2:42           ` Zhiqiang Hou
2016-03-03 20:28           ` Li Yang
2016-03-03 20:28             ` Li Yang
2016-03-04  3:38             ` Zhiqiang Hou
2016-03-04  3:38               ` Zhiqiang Hou
2015-12-29 18:35 ` [PATCH v2 1/2] Documentation: DT: Add entry for Freescale LS1043a-QDS board Rob Herring
2015-12-29 18:35   ` Rob Herring

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=20160228023818.GB22051@tiger \
    --to=shawnguo@kernel.org \
    --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.