zephyr/include/drivers
Simon Guinot 4f5583bf33 drivers: led: make more API callbacks optional
For the LED controller without any hardware blinking capability this
doesn't really make sense to make the blink callback mandatory. It is
better to let it undefined. This way this will allow the LED API to
fall back to a common software blink implementation.

In addition some controllers with RGB LEDs don't have the capability
to configure the LED brightness but only the channel/color levels.
Their drivers may only implement the set_color callback.

That's why this patch makes the blink and set_brightness LED API
callbacks optional.

Signed-off-by: Simon Guinot <simon.guinot@seagate.com>
2020-08-28 15:04:35 +02:00
..
adc zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
bluetooth guideline: Make explicit fallthrough cases 2020-08-24 20:28:47 -04: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 cdc_acm: fix C++ issues with header and document dependency 2020-08-17 13:42:02 -04: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 drivers: flash: add API to read JEDEC ID from compatible drivers 2020-08-17 13:38:14 -04: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 drivers: i2c: document speed levels 2020-08-24 16:23:43 -05: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 drivers: led: make more API callbacks optional 2020-08-28 15:04:35 +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 drivers: spi: document expectation on spi config parameter 2020-08-26 12:25:06 +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