From: Greg KH <gregkh@linuxfoundation.org>
To: quochuybk2010@gmail.com
Cc: fancer.lancer@gmail.com, linux-kernel@vger.kernel.org,
Huy Duong <qhuyduong@hotmail.com>
Subject: Re: [PATCH v2] eeprom: idt_89hpesx: Support both ACPI and OF probing
Date: Mon, 28 Aug 2017 17:35:30 +0200 [thread overview]
Message-ID: <20170828153530.GA25019@kroah.com> (raw)
In-Reply-To: <1502248126-18177-1-git-send-email-quochuybk2010@gmail.com>
On Wed, Aug 09, 2017 at 10:08:46AM +0700, quochuybk2010@gmail.com wrote:
> From: Huy Duong <qhuyduong@hotmail.com>
>
> Allow the idt_89hpesx driver to get information from child nodes from
> both OF and ACPI by using more generic fwnode_property_read*() functions.
>
> Below is an example of instantiating idt_89hpesx driver via ACPI Table:
>
> Device(IDT0) {
> Name(_HID, "PRP0001")
> Name(_CID, "PRP0001")
> Name(_CCA, ONE)
> Name(_STR, Unicode("IDT SW I2C Slave"))
> Name(_CRS, ResourceTemplate () {
> I2cSerialBus (0x74, ControllerInitiated, 1000,
> AddressingMode7Bit, "\\_SB.I2CS",
> 0x00, ResourceConsumer, ,
> )
> })
> Name (_DSD, Package () {
> ToUUID("daffd814-6eba-4d8c-8a91-bc9bbf4aa301"),
> Package () {
> Package () {"compatible", "idt,89hpes32nt8ag2"},
> },
> })
> Device (EPR0) {
> Name (_DSD, Package () {
> ToUUID("daffd814-6eba-4d8c-8a91-bc9bbf4aa301"),
> Package () {
> Package () {"compatible", "onsemi,24c64"},
> Package () {"reg", 0x50},
> }
> })
> }
> }
>
> Signed-off-by: Huy Duong <qhuyduong@hotmail.com>
> Acked-by: Serge Semin <fancer.lancer@gmail.com>
> ---
> Changes in v2:
> * Replace <linux/of.h> with <linux/property.h>
> * Change eeprom_addr to u32 to avoid type casting
Doesn't apply to my tree at all. Can you rebase it against
char-misc.git on the char-misc-next branch and resend?
thanks,
greg k-h
prev parent reply other threads:[~2017-08-28 15:35 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <SINPR03MB22560F43B4EA64BD0E7FCF32ADBE0@SINPR03MB2256.apcprd03.prod.outlook.com>
2017-07-27 12:13 ` [PATCH] eeprom: idt_89hpesx: Support both ACPI and OF probing quochuybk2010
2017-07-27 12:16 ` quochuybk2010
2017-08-08 11:57 ` Serge Semin
2017-08-09 3:08 ` [PATCH v2] " quochuybk2010
2017-08-09 8:28 ` Serge Semin
2017-08-28 15:35 ` Greg KH [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=20170828153530.GA25019@kroah.com \
--to=gregkh@linuxfoundation.org \
--cc=fancer.lancer@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=qhuyduong@hotmail.com \
--cc=quochuybk2010@gmail.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