kernel_optimize_test/drivers/misc/eeprom
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
..
at24.c misc: eeprom: at24: use device_property_*() functions instead of of_get_property() 2017-02-11 21:23:43 +01:00
at25.c
digsy_mtc_eeprom.c
eeprom_93cx6.c
eeprom_93xx46.c misc: eeprom_93xx46: Simplify the usage of gpiod API 2017-08-28 16:55:47 +02:00
eeprom.c MISC: add const to bin_attribute structures 2017-08-28 16:55:48 +02:00
idt_89hpesx.c eeprom: idt_89hpesx: Support both ACPI and OF probing 2017-08-31 18:49:41 +02:00
Kconfig eeprom: Add IDT 89HPESx EEPROM/CSR driver 2017-01-19 11:39:57 +01:00
Makefile eeprom: Add IDT 89HPESx EEPROM/CSR driver 2017-01-19 11:39:57 +01:00
max6875.c MISC: add const to bin_attribute structures 2017-08-28 16:55:48 +02:00