freebsd-dev/sys/dev/iicbus
Emmanuel Vadot 3dd177aa34 twsi: Add interrupt mode
Add the ability to use interrupts for i2c message.
We still use polling for early boot i2c transfer (for PMIC
for example) but as soon as interrupts are available use them.
On Allwinner SoC >A20 is seems that polling mode is broken for some
reason, this is now fixed by using interrupt mode.
For Allwinner also fix the frequency calculation, the one in the code
was for when the APB frequency is at 48Mhz while it is at 24Mhz on most
(all?) Allwinner SoCs. We now support both cases.

While here add more debug info when it's compiled in.

Tested On: A20, H3, A64
MFC after:	1 month
2019-04-05 14:44:23 +00:00
..
twsi twsi: Add interrupt mode 2019-04-05 14:44:23 +00:00
ad7417.c sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
ad7418.c sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
adm1030.c
adt746x.c Clean up OF_getprop_alloc API 2018-04-08 22:59:34 +00:00
ds13rtc.c Oops, fix a paste-o. 2018-03-04 19:25:54 +00:00
ds1307.c Add calls to the new clock_dbgprint_xxx() functions. 2018-03-04 19:20:11 +00:00
ds1307reg.h DS1307: Add the mcp7941x enable bit 2017-11-08 01:28:20 +00:00
ds1631.c sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
ds1672.c Build the ds1672 driver as a module. Add a detach() to unregister the rtc. 2018-03-06 02:30:34 +00:00
ds1775.c sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
ds3231.c Switch to the new bcd_clocktime conversion routines, and add calls to the 2018-03-05 00:15:56 +00:00
ds3231reg.h
icee.c Export the eeprom device size via readonly sysctl. Also export the write 2018-08-13 23:53:11 +00:00
if_ic.c sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
iic_recover_bus.c
iic_recover_bus.h
iic.c sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
iic.h sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
iicbb_if.m
iicbb.c sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
iicbus_if.m Add a default implementation that returns ENODEV for start, repeat_start, 2017-09-11 23:47:49 +00:00
iicbus.c sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
iicbus.h Allow i2c hardware drivers to declare their own relationships to ofw_iicbus 2018-02-18 19:33:28 +00:00
iicoc.c sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
iicoc.h sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
iiconf.c Fix a bug introduced with recursive bus ownership support in r321584. 2018-01-23 23:30:19 +00:00
iiconf.h Fix a bug introduced with recursive bus ownership support in r321584. 2018-01-23 23:30:19 +00:00
iicsmb.c sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
isl12xx.c Switch to the new bcd_clocktime conversion routines, and add calls to the 2018-03-04 23:39:40 +00:00
lm75.c
max6690.c sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
nxprtc.c Add calls to the new clock_dbgprint_xxx() functions. 2018-03-04 19:26:47 +00:00
ofw_iicbus.c Allow i2c hardware drivers to declare their own relationships to ofw_iicbus 2018-02-18 19:33:28 +00:00
rtc8583.c The year is stored in a single byte in sram, in binary format, as a count 2018-03-04 21:58:32 +00:00
s35390a.c Switch to the new bcd_clocktime conversion routines, and add calls to the 2018-03-05 00:43:53 +00:00
sy8106a.c
syr827.c Add Silergy SYR827 PMIC driver 2018-12-01 20:31:49 +00:00