freebsd-dev/sys/arm/freescale/vybrid
Marcin Wojtas 1e6005d807 Introduce VF610 I2C controller support.
NXP LS1046A contains I2C controller compatible with Vybrid VF610.
Existing Vybrid MVF600 driver can be used to support it. For that purpose
declare driver as ofw_iicbus and add methods associated with ofw_iicbus.

For VF610 add dynamic clock prescaler calculation using clock information
from clock driver and clock frequency requested in device tree.

On the occasion add detach function and add additional error handling
in i2c_attach function.

Submitted by: Dawid Gorecki <dgr@semihalf.com>
Reviewed by: manu
Obtained from: Semihalf
Sponsored by: Alstom Group
Differential Revision: https://reviews.freebsd.org/D24361
2020-05-25 15:21:38 +00:00
..
files.vybrid arm: Add kern_clocksource.c directly in files.arm 2019-04-16 20:04:22 +00:00
std.vybrid Make kernel option KERNVIRTADDR optional, remove it from std.<platform> 2017-12-30 00:20:49 +00:00
vf_adc.c
vf_adc.h
vf_anadig.c sys/arm: further adoption of SPDX licensing ID tags. 2017-11-27 15:04:10 +00:00
vf_ccm.c Clean up OF_getprop_alloc API 2018-04-08 22:59:34 +00:00
vf_common.h sys/arm: further adoption of SPDX licensing ID tags. 2017-11-27 15:04:10 +00:00
vf_dcu4.c sys/arm: further adoption of SPDX licensing ID tags. 2017-11-27 15:04:10 +00:00
vf_dmamux.c sys/arm: further adoption of SPDX licensing ID tags. 2017-11-27 15:04:10 +00:00
vf_dmamux.h sys/arm: further adoption of SPDX licensing ID tags. 2017-11-27 15:04:10 +00:00
vf_edma.c sys/arm: further adoption of SPDX licensing ID tags. 2017-11-27 15:04:10 +00:00
vf_edma.h sys/arm: further adoption of SPDX licensing ID tags. 2017-11-27 15:04:10 +00:00
vf_ehci.c Add a missing call to usb_bus_mem_free_all() when detaching. 2018-07-05 15:52:26 +00:00
vf_gpio.c sys/arm: further adoption of SPDX licensing ID tags. 2017-11-27 15:04:10 +00:00
vf_i2c.c Introduce VF610 I2C controller support. 2020-05-25 15:21:38 +00:00
vf_iomuxc.c Switch users of fdt_is_enabled to use ofw_bus_node_status_okay. These are 2018-04-03 11:01:50 +00:00
vf_iomuxc.h sys/arm: further adoption of SPDX licensing ID tags. 2017-11-27 15:04:10 +00:00
vf_machdep.c [ofw] fix errneous checks for OF_finddevice(9) return value 2018-03-20 00:03:49 +00:00
vf_mscm.c sys/arm: further adoption of SPDX licensing ID tags. 2017-11-27 15:04:10 +00:00
vf_port.c sys/arm: further adoption of SPDX licensing ID tags. 2017-11-27 15:04:10 +00:00
vf_port.h sys/arm: further adoption of SPDX licensing ID tags. 2017-11-27 15:04:10 +00:00
vf_sai.c sys/arm: further adoption of SPDX licensing ID tags. 2017-11-27 15:04:10 +00:00
vf_spi.c
vf_src.c sys/arm: further adoption of SPDX licensing ID tags. 2017-11-27 15:04:10 +00:00
vf_src.h sys/arm: further adoption of SPDX licensing ID tags. 2017-11-27 15:04:10 +00:00
vf_tcon.c sys/arm: further adoption of SPDX licensing ID tags. 2017-11-27 15:04:10 +00:00
vf_uart.c sys/arm: further adoption of SPDX licensing ID tags. 2017-11-27 15:04:10 +00:00