zephyr/include/drivers
Tim Lin 64b2bd7342 I2C: add a define that can write a specified speed from dts
So far the I2C channel connected to the battery has chosen the option
of Standard-mode 100KHz, but according to the SI(Signal Integrity)
test report, the I2C channel doesn’t meet the tHD;DAT Margin/Threshold
in the SI test. In fact, the timing could be adjusted by changing the
settings in the related timing registers in EC, but unfortunately the
limitation exists due to the fact that the timing registers have been
currently occupied by another channel for the same reason, that is,
adjusting the timing.

However, according to the I2C specification, the Standard-mode (Sm)
has a bit rate up to 100 kbit/s, so far the battery use the option
of standard mode 100KHz in the SMCLK setting register. This SMCLK
setting register also provides standard mode 50KHz for usage.
According to another SI test reports, so far the Standard-mode 50KHz
setting looks good in the SI test.

Therefore, add a #define I2C_SPEED_DT allows the device tree to
write a specified speed without causing i2c_configure() and
i2c_get_config() to return error.

Signed-off-by: Tim Lin <tim2.lin@ite.corp-partner.google.com>
2022-03-22 20:30:38 -04:00
..
adc
bluetooth everywhere: fix typos 2022-03-14 20:22:24 -04:00
can drivers: can: add CAN transceiver device driver API 2022-03-15 14:32:29 -05:00
clock_control include/drivers/clock_control: stm32: Add XXX_ENABLED and XXX_FREQ 2022-03-07 11:36:28 +01:00
console drivers: console: remove @return doc for void functions 2022-01-12 16:02:16 -05:00
dma everywhere: fix typos 2022-03-14 20:22:24 -04:00
ec_host_cmd_periph drivers: ec_host_cmd_periph: remove @return doc for void funcs 2022-01-12 16:02:16 -05:00
flash everywhere: fix typos 2022-03-14 20:22:24 -04:00
gpio everywhere: fix typos 2022-03-14 20:22:24 -04:00
i2c/slave
ieee802154
interrupt_controller ITE drivers/interrupt_controller: add wuc interface 2022-03-21 16:35:03 -07:00
led
misc everywhere: fix typos 2022-03-14 20:22:24 -04:00
mm everywhere: fix typos 2022-03-18 13:24:08 -04:00
modem everywhere: fix typos 2022-03-14 20:22:24 -04:00
pcie everywhere: fix typos 2022-03-18 13:24:08 -04:00
pinctrl drivers: pinctrl: Support pinctrl with GD32VF103 2021-12-20 17:51:30 +01:00
pm_cpu_ops
regulator drivers: pca9420: Added voltage level support for PCA9420 2021-12-08 08:27:44 -05:00
rtc drivers: counter: NXP SNVS rtc: Add support for NXP imx SNVS RTC 2021-12-07 09:45:43 -06:00
sensor everywhere: fix typos 2022-03-14 20:22:24 -04:00
timer soc: arm: nordic_nrf: nrf53: Add Synchronized RTC 2022-01-19 17:46:28 +01:00
uart
usb everywhere: fix typos 2022-03-14 20:22:24 -04:00
usbc everywhere: fix typos 2022-03-18 13:24:08 -04:00
virtualization
adc.h
bbram.h everywhere: fix typos 2022-03-14 20:22:24 -04:00
cache.h drivers: cache: remove @return doc for void functions 2022-01-12 16:02:16 -05:00
can.h drivers: can: add struct device argument to callback functions 2022-03-19 14:31:22 -04:00
clock_control.h drivers: clock_control: use device_is_ready 2022-01-07 10:41:23 -05:00
counter.h drivers: counter: Added get_freq to API 2021-12-09 19:55:17 -05:00
dac.h
disk.h
display.h
dma.h everywhere: fix typos 2022-03-14 20:22:24 -04:00
ec_host_cmd_periph.h
edac.h
eeprom.h
emul.h
entropy.h
espi_emul.h
espi_saf.h everywhere: fix typos 2022-03-14 20:22:24 -04:00
espi.h everywhere: fix typos 2022-03-14 20:22:24 -04:00
flash.h drivers/flash: remove flash_write_protection API 2022-02-01 10:46:28 +01:00
fpga.h
gna.h
gpio.h drivers: gpio: move non-standard dts flags to be soc specific 2022-03-10 13:46:34 -05:00
hwinfo.h hwinfo: Replace ENOTSUP with ENOSYS in documentation 2022-03-16 10:24:32 +01:00
i2c_emul.h i2c: emul: Add get_config function 2021-11-02 16:46:33 +01:00
i2c.h I2C: add a define that can write a specified speed from dts 2022-03-22 20:30:38 -04:00
i2s.h
ipm.h drivers/ipm: Add IPM_CALLBACK_ASYNC mode 2022-03-01 09:59:15 -05:00
kscan.h
led_strip.h
led.h
lora.h doc: Add LoRa PHY and LoRaWAN sections 2022-03-18 10:41:46 -04:00
mbox.h mbox: Enforce callback registration before enabling the channel 2021-12-23 12:38:21 +01:00
mdio.h
peci.h
pinctrl.h all: Deprecate UTIL_LISTIFY and replace with LISTIFY 2022-03-08 11:03:30 +01:00
pinmux.h
pm_cpu_ops.h
ps2.h
ptp_clock.h net: gptp: convert clock sync ratio from float to double 2022-02-11 10:03:05 -06:00
pwm.h
regulator.h
sensor.h everywhere: fix typos 2022-03-14 20:22:24 -04:00
spi_emul.h everywhere: fix typos 2022-03-14 20:22:24 -04:00
spi.h api: move a devicetree.h layering violation to drivers/spi.h 2022-01-26 16:08:18 +01:00
syscon.h
uart.h drivers: uart: remove uart_device_config 2022-02-21 22:02:23 -05:00
video-controls.h
video.h everywhere: fix typos 2022-03-14 20:22:24 -04:00
watchdog.h