zephyr/drivers/i2c
Piotr Zięcik aa363178d3 drivers: i2c_bitbang: Do not use CONFIG_SYS_CLOCK_HW_CYCLES_PER_SEC
On some SoCs the frequency of the system clock is obtained at run time
as the exact configuration of the hardware is not known at compile time.
On such platforms using CONFIG_SYS_CLOCK_HW_CYCLES_PER_SEC define
directly introduces timing errors.

This commit replaces CONFIG_SYS_CLOCK_HW_CYCLES_PER_SEC by the call to
inline function sys_clock_hw_cycles_per_sec() which always returns
correct frequency of the system clock.

Signed-off-by: Piotr Zięcik <piotr.ziecik@nordicsemi.no>
2019-07-24 15:10:02 +02:00
..
slave cleanup: include/: move misc/util.h to sys/util.h 2019-06-27 22:55:49 -04:00
CMakeLists.txt drivers: add CC13xx / CC26xx I2C driver 2019-05-21 15:37:22 -04:00
i2c_bitbang.c drivers: i2c_bitbang: Do not use CONFIG_SYS_CLOCK_HW_CYCLES_PER_SEC 2019-07-24 15:10:02 +02:00
i2c_bitbang.h drivers: i2c_bitbang: Do not use CONFIG_SYS_CLOCK_HW_CYCLES_PER_SEC 2019-07-24 15:10:02 +02:00
i2c_cc13xx_cc26xx.c cleanup: include/: move i2c.h to drivers/i2c.h 2019-06-27 22:55:49 -04:00
i2c_cc32xx.c cleanup: include/: move i2c.h to drivers/i2c.h 2019-06-27 22:55:49 -04:00
i2c_dw_port_x.h dts: Convert from DT_<COMPAT>_<INSTANCE>_<PROP> to DT_INST... 2019-06-14 08:02:15 -05:00
i2c_dw_registers.h headers: Fix headers across the project 2018-09-17 15:49:26 -04:00
i2c_dw.c cleanup: include/: move misc/util.h to sys/util.h 2019-06-27 22:55:49 -04:00
i2c_dw.h cleanup: include/: move i2c.h to drivers/i2c.h 2019-06-27 22:55:49 -04:00
i2c_esp32.c cleanup: include/: move misc/util.h to sys/util.h 2019-06-27 22:55:49 -04:00
i2c_gecko.c cleanup: include/: move misc/util.h to sys/util.h 2019-06-27 22:55:49 -04:00
i2c_gpio.c cleanup: include/: move i2c.h to drivers/i2c.h 2019-06-27 22:55:49 -04:00
i2c_handlers.c cleanup: include/: move i2c.h to drivers/i2c.h 2019-06-27 22:55:49 -04:00
i2c_imx.c cleanup: include/: move misc/util.h to sys/util.h 2019-06-27 22:55:49 -04:00
i2c_ll_stm32_v1.c cleanup: include/: move misc/util.h to sys/util.h 2019-06-27 22:55:49 -04:00
i2c_ll_stm32_v2.c i2c_ll_stm32_v2: Set slave_attached to false on slave unregister 2019-07-23 10:53:22 +02:00
i2c_ll_stm32.c cleanup: include/: move misc/util.h to sys/util.h 2019-06-27 22:55:49 -04:00
i2c_ll_stm32.h drivers/i2c: stm32: (FIX) add mutex to lock bus 2019-01-16 21:33:49 -05:00
i2c_mchp_xec.c cleanup: include/: move i2c.h to drivers/i2c.h 2019-06-27 22:55:49 -04:00
i2c_mcux_lpi2c.c cleanup: include/: move i2c.h to drivers/i2c.h 2019-06-27 22:55:49 -04:00
i2c_mcux.c cleanup: include/: move misc/util.h to sys/util.h 2019-06-27 22:55:49 -04:00
i2c_nios2.c cleanup: include/: move misc/util.h to sys/util.h 2019-06-27 22:55:49 -04:00
i2c_nrfx_twi.c drivers: nrf: Fix PM for TWI and TWIM in case of multi instance 2019-07-15 12:05:19 +02:00
i2c_nrfx_twim.c drivers: nrf: Fix PM for TWI and TWIM in case of multi instance 2019-07-15 12:05:19 +02:00
i2c_qmsi_ss.c cleanup: include/: move i2c.h to drivers/i2c.h 2019-06-27 22:55:49 -04:00
i2c_qmsi.c cleanup: include/: move i2c.h to drivers/i2c.h 2019-06-27 22:55:49 -04:00
i2c_rv32m1_lpi2c.c cleanup: include/: move i2c.h to drivers/i2c.h 2019-06-27 22:55:49 -04:00
i2c_sam0.c cleanup: include/: move i2c.h to drivers/i2c.h 2019-06-27 22:55:49 -04:00
i2c_sam_twi.c cleanup: include/: move misc/__assert.h to sys/__assert.h 2019-06-27 22:55:49 -04:00
i2c_sam_twihs.c cleanup: include/: move misc/__assert.h to sys/__assert.h 2019-06-27 22:55:49 -04:00
i2c_sbcon.c cleanup: include/: move i2c.h to drivers/i2c.h 2019-06-27 22:55:49 -04:00
i2c_sifive.c cleanup: include/: move i2c.h to drivers/i2c.h 2019-06-27 22:55:49 -04:00
i2c-priv.h cleanup: include/: move i2c.h to drivers/i2c.h 2019-06-27 22:55:49 -04:00
Kconfig docs: fix misspelling across the tree 2019-06-19 15:34:13 -05:00
Kconfig.cc13xx_cc26xx drivers: add CC13xx / CC26xx I2C driver 2019-05-21 15:37:22 -04:00
Kconfig.dw drivers/i2c/i2c_dw.c: rewrite for PCI(e) support 2019-05-21 08:23:22 -04:00
Kconfig.esp32
Kconfig.gpio
Kconfig.nrfx drivers: nrfx: Add Kconfig checks for mutually exclusive peripherals 2019-03-05 13:38:18 -05:00
Kconfig.qmsi drivers: i2c: Select HAS_DTS_I2C in designware and qmsi drivers 2018-09-27 05:54:54 +05:30
Kconfig.sam0 drivers: i2c: Add SAM0 I2C driver 2019-05-07 08:42:24 -04:00
Kconfig.sbcon drivers/i2c: Add missing HAS_DTS_I2C to sbcon 2019-06-18 11:22:23 -04:00
Kconfig.sifive kconfig: Remove blank lines at the beginning/end of files 2019-03-13 07:29:42 -05:00
Kconfig.stm32 drivers: i2c: enable I2C on STM32WB 2019-06-07 11:47:59 -04:00
Kconfig.xec drivers: i2c: mchp: Add I2C driver for MEC family 2019-05-08 15:02:26 -07:00