zephyr/include/drivers
Peter Bigot cabbd916cf drivers: move eeprom_slave driver to tests directory
This device isn't an actual hardware driver: it's a virtual EEPROM
that stores data in an instance-specific RAM buffer, with the data
exposed on an I2C bus as a I2C follower (slave) device that can be
controlled by another device acting as a leader (master) on that same
bus.

As such it's a reasonable example of how to write an I2C follower
driver, but it's not clear that it has a real use in applications.  A
Zephyr application that needs to emulate an EEPROM in a real-world
system would be unlikely to provide its data from a RAM buffer.

The sole in-tree reference is in the i2c_slave_api test, so move the
driver implementation into that test.

The Kconfig and hierarchy are being left in place until it is more
clear how this functionality should be selectable within Zephyr.  The
I2C_SLAVE symbol has been converted from menuconfig to config to
eliminate a Kconfig style diagnostic.

Signed-off-by: Peter Bigot <peter.bigot@nordicsemi.no>
2020-08-13 11:49:12 +02:00
..
adc zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
bluetooth bluetooth: controller: Add BT_QUIRK_NO_AUTO_DLE for BT_LL_SW_SPLIT 2020-08-10 12:14:49 +02:00
clock_control drivers: clock_control: lpc11u6x: Add support for clock controller 2020-07-29 20:12:24 +02:00
console device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
gpio zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
ieee802154 zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
interrupt_controller x86: apic: use device MMIO APIs 2020-07-17 11:38:18 +02:00
led zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
pcie device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
rtc zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
sensor zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
timer zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
uart usb: cdc_acm: add a DTE rate changed callback 2020-07-22 13:24:37 +02:00
usb drivers: usb: unify endpoint helper macros 2020-07-10 11:45:46 +02:00
adc.h device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
can.h device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
clock_control.h device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
counter.h device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
dac.h device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
display.h device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
dma.h device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
eeprom.h device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
entropy.h device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
espi.h device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
flash.h device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
gna.h device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
gpio.h device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
hwinfo.h zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
i2c.h device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
i2s.h device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
ipm.h device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
kscan.h device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
led_strip.h device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
led.h device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
lora.h device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
peci.h device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
pinmux.h device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
ps2.h device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
pwm.h device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
sensor.h device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
spi.h device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
uart.h device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
video-controls.h drivers: Add video API 2019-10-25 15:13:53 -05:00
video.h device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
watchdog.h device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00