|
Revision tags: release/13.4.0-p5, release/13.5.0-p1, release/14.2.0-p3, release/13.5.0, release/14.2.0-p2, release/14.1.0-p8, release/13.4.0-p4, release/14.1.0-p7, release/14.2.0-p1, release/13.4.0-p3, release/14.2.0, release/13.4.0, release/14.1.0, release/13.3.0, release/14.0.0 |
|
| #
685dc743 |
| 16-Aug-2023 |
Warner Losh <[email protected]> |
sys: Remove $FreeBSD$: one-line .c pattern
Remove /^[\s*]*__FBSDID\("\$FreeBSD\$"\);?\s*\n/
|
|
Revision tags: release/13.2.0, release/12.4.0 |
|
| #
63641805 |
| 18-Aug-2022 |
Emmanuel Vadot <[email protected]> |
linuxkpi: unbreak linux_i2cbb
This is a joint work with manu.
- fixed conditions in do_i2c_transfer and i2c_transfer as linux_i2cbb does not set adapter->algo->master_xfer but does set adapter-
linuxkpi: unbreak linux_i2cbb
This is a joint work with manu.
- fixed conditions in do_i2c_transfer and i2c_transfer as linux_i2cbb does not set adapter->algo->master_xfer but does set adapter->algo_data; - fixed parent bus specification for linux_i2cbb driver module; - actually implemented iicbb_transfer method; - added iicbb_pre_xfer and iicbb_post_xfer methods; - removed unnecessary and harmful delays (and other extra logic) from iicbb methods as iicbb driver already has them; - added setting of iicbb speed based on algo_data->udelay, so that iicbb uses correct delays;
PR: 265920 Fixes: 1961a14a4743 linuxkpi: Add i2c support MFC after: 2 weeks Sponsored by: Beckhoff Automation GmbH & Co. KG (manu's work)
show more ...
|
| #
25d21a84 |
| 13-May-2022 |
Emmanuel Vadot <[email protected]> |
linuxkpi: Rework detach function
We need to detach the matching i2c adapter so look for the right one. While here add some locks to protect multiple add/del at the same time.
Fixes: 1961a14a47 ("li
linuxkpi: Rework detach function
We need to detach the matching i2c adapter so look for the right one. While here add some locks to protect multiple add/del at the same time.
Fixes: 1961a14a47 ("linuxkpi: Add i2c support") Sponsored by: Beckhoff Automation GmbH & Co. KG
show more ...
|
|
Revision tags: release/13.1.0 |
|
| #
a65d0774 |
| 06-May-2022 |
John Baldwin <[email protected]> |
linuxkpi: Remove unused devclass arguments to DRIVER_MODULE.
|
| #
8c13dd83 |
| 19-Apr-2022 |
John Baldwin <[email protected]> |
Remove unused iicbb_devclass.
|
| #
58e6719c |
| 05-Apr-2022 |
Warner Losh <[email protected]> |
linuxkpi: Remove write only variable from lkpi_iicbb_reset
Sponsored by: Netflix Reviewed by: hselasky Differential Revision: https://reviews.freebsd.org/D34770
|
|
Revision tags: release/12.3.0 |
|
| #
1961a14a |
| 04-Nov-2021 |
Emmanuel Vadot <[email protected]> |
linuxkpi: Add i2c support
Add i2c support to linuxkpi. This is needed by drm-kmod. For every i2c_adapter added by i2c_add_adapter we add a child to the device named "lkpi_iic". This child handle the
linuxkpi: Add i2c support
Add i2c support to linuxkpi. This is needed by drm-kmod. For every i2c_adapter added by i2c_add_adapter we add a child to the device named "lkpi_iic". This child handle the conversion between Linux i2c_msgs to FreeBSD iic_msgs. For every i2c_adapter added by i2c_bit_add_bus we add a child to the device named "lkpi_iicbb". This child handle the conversion between Linux i2c_msgs to FreeBSD iic_msgs. With the help of iic(4), this expose the i2c controller to userspace allowing a user to query DDC information from a monitor. e.g.: i2c -f /dev/iic0 -a 0x28 -c 128 -d r will query the standard EDID from the monitor if plugged.
The bitbang part (lkpi_iicbb) isn't tested at all for now as I don't have compatible hardware (all my hardware have native i2c controller).
Tested on: Intel (SandyBridge, Skylake, ApolloLake) Tested on: AMD (Picasso, Polaris (amd64 and arm64))
MFC after: 1 month Reviewed by: hselasky Sponsored by: Beckhoff Automation GmbH & Co. KG Differential Revision: https://reviews.freebsd.org/D33053
show more ...
|