Huy Duong
db15d73e5f
eeprom: idt_89hpesx: Support both ACPI and OF probing
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2017-08-31 18:49:41 +02:00
..
2015-06-25 17:00:38 -07:00
2017-05-08 17:15:10 -07:00
2017-07-03 23:07:03 +10:00
2014-02-28 14:08:42 -08:00
2017-08-31 18:49:41 +02:00
2017-03-02 08:42:29 +01:00
2017-03-02 08:42:32 +01:00
2017-08-28 16:55:48 +02:00
2017-08-28 11:59:39 +02:00
2017-05-02 23:41:43 +03:00
2017-03-09 11:48:47 -08:00
2017-05-28 10:22:42 -07:00
2017-08-28 16:55:48 +02:00
2017-08-28 16:55:50 +02:00
2015-09-20 19:33:29 -07:00
2015-10-28 10:30:17 +09:00
2016-03-01 16:55:13 -08:00
2017-08-28 16:55:49 +02:00
2017-08-28 16:55:49 +02:00
2017-04-08 17:37:20 +02:00
2017-07-17 17:23:16 +02:00
2015-10-06 12:33:14 +02:00
2016-12-15 12:13:31 +00:00
2017-08-28 16:55:48 +02:00
2014-10-20 16:20:54 +02:00
2017-08-28 16:55:48 +02:00
2017-04-20 12:02:32 +01:00
2017-07-01 16:52:38 -04:00
2017-08-28 16:55:49 +02:00
2017-08-28 16:55:48 +02:00
2017-08-28 16:55:48 +02:00
2015-08-10 08:37:35 +02:00
2017-08-28 16:55:49 +02:00
2017-06-03 19:15:18 +09:00
2017-03-02 08:42:35 +01:00
2015-10-28 10:30:17 +09:00
2017-08-15 12:27:35 -07:00
2017-08-15 12:27:35 -07:00
2017-03-02 08:42:31 +01:00
2016-11-10 15:34:56 +01:00
2017-08-28 17:47:11 +02:00
2016-08-31 13:12:38 +02:00
2017-03-02 08:42:36 +01:00
2017-08-15 12:27:35 -07:00
2017-07-26 14:38:03 -07:00
2017-08-28 16:55:48 +02:00
2017-04-28 10:23:19 -05:00
2016-05-01 14:20:04 -07:00
2015-10-13 22:17:40 -07:00
2017-05-18 17:37:52 +02:00
2017-08-28 16:55:49 +02:00
2017-01-25 11:48:03 +01:00
2015-10-28 10:30:17 +09:00
2017-08-28 16:55:48 +02:00
2017-04-08 18:22:59 +02:00
2017-03-02 08:42:32 +01:00
2015-11-06 17:50:42 -08:00