nuttx/drivers/i2c
Masayuki Ishikawa d87f350831 arch, boards, drivers, include, sched, wireless: Change spinlock APIs.
Summary:
- This commit changes spinlock APIs (spin_lock_irqsave/spin_unlock_irqrestore)
- In the previous implementation, the global spinlock (i.e. g_irq_spin) was used.
- This commit allows to use caller specific spinlock but also supports to use
  g_irq_spin for backword compatibility (In this case, NULL must be specified)

Impact:
- None

Testing:
- Tested with the following configurations
- spresnse:wifi, spresense:wifi_smp
- esp32-devkitc:smp (QEMU), sabre6-quad:smp (QEMU)
- maxi-bit:smp (QEMU), sim:smp
- stm32f4discovery:wifi

Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2021-02-07 21:28:56 -08:00
..
i2c_bitbang.c arch, boards, drivers, include, sched, wireless: Change spinlock APIs. 2021-02-07 21:28:56 -08:00
i2c_driver.c drivers/i2c/i2c_driver.c: Fix a syslog format 2020-11-20 22:22:53 -08:00
i2c_read.c drivers/i2c: fixed nxstyle warnings 2020-04-01 08:03:50 +02:00
i2c_write.c drivers/i2c: fixed nxstyle warnings 2020-04-01 08:03:50 +02:00
i2c_writeread.c drivers/i2c: fixed nxstyle warnings 2020-04-01 08:03:50 +02:00
Kconfig drivers: add generic i2c bitbang driver 2021-01-24 19:03:56 -08:00
Make.defs drivers: add generic i2c bitbang driver 2021-01-24 19:03:56 -08:00
pca9540bdp.c drivers/i2c: fixed nxstyle warnings 2020-04-01 08:03:50 +02:00
pca9540bdp.h drivers/i2c: fixed nxstyle warnings 2020-04-01 08:03:50 +02:00