<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/sys/dev/ichiic, branch releng/12.2</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src/atom?h=releng%2F12.2</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src/atom?h=releng%2F12.2'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/'/>
<updated>2020-05-22T12:01:29Z</updated>
<entry>
<title>MFC r360499: ig4iic_acpi_probe: remove set but unused variable</title>
<updated>2020-05-22T12:01:29Z</updated>
<author>
<name>Andriy Gapon</name>
<email>avg@FreeBSD.org</email>
</author>
<published>2020-05-22T12:01:29Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=80a719e360c91829790774295fbfb838aa356fd7'/>
<id>urn:sha1:80a719e360c91829790774295fbfb838aa356fd7</id>
<content type='text'>
</content>
</entry>
<entry>
<title>MFC r360241: ig4: ensure that drivers always attach in correct order</title>
<updated>2020-05-22T11:55:54Z</updated>
<author>
<name>Andriy Gapon</name>
<email>avg@FreeBSD.org</email>
</author>
<published>2020-05-22T11:55:54Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=5657f2c48fb50c703ad46a6850714f53a84436a6'/>
<id>urn:sha1:5657f2c48fb50c703ad46a6850714f53a84436a6</id>
<content type='text'>
Use DRIVER_MODULE_ORDERED(SI_ORDER_ANY) so that ig4's ACPI attachment
happens after iicbus and acpi_iicbus drivers are registered.
</content>
</entry>
<entry>
<title>MFC r360355:</title>
<updated>2020-05-03T23:40:16Z</updated>
<author>
<name>Vladimir Kondratyev</name>
<email>wulf@FreeBSD.org</email>
</author>
<published>2020-05-03T23:40:16Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=8d3574891db50bb7f9f4791494fd1e2b2ea9a74a'/>
<id>urn:sha1:8d3574891db50bb7f9f4791494fd1e2b2ea9a74a</id>
<content type='text'>
ig4(4): Add PCI IDs for Intel Bay Trail I2C controllers.

PR:		245654
Reported by:	&lt;xspbe3ho3p5uac@protonmail.com&gt;
</content>
</entry>
<entry>
<title>MFC r358818:</title>
<updated>2020-03-29T23:38:55Z</updated>
<author>
<name>Vladimir Kondratyev</name>
<email>wulf@FreeBSD.org</email>
</author>
<published>2020-03-29T23:38:55Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=38dacaa7e9e1e28e32e950d04191e80f51c2fe3d'/>
<id>urn:sha1:38dacaa7e9e1e28e32e950d04191e80f51c2fe3d</id>
<content type='text'>
acpi: Fix stalled value returned by acpi_get_device() after device deletion

Newbus device reference attached to ACPI handle is not cleared when newbus
device is deleted with devctl(8) delete command. Fix that with calling of
AcpiDetachData() from "child_deleted" bus method like acpi_pci driver does.

MFC r358819:

acpi: Export functions required by upcoming acpi_iicbus driver.

MFC r358820:

iicbus(4): Add support for ACPI-based children enumeration

When iicbus is attached as child of Designware I2C controller it scans all
ACPI nodes for "I2C Serial Bus Connection Resource Descriptor" described
in section 19.6.57 of ACPI specs.
If such a descriptor is found, I2C child is added to iicbus, it's I2C
address, IRQ resource and ACPI handle are added to ivars. Existing
ACPI bus-hosted child is deleted afterwards.

The driver also installs so called "I2C address space handler" which is
disabled by default as nontested.
Set hw.iicbus.enable_acpi_space_handler loader tunable to 1 to enable it.

Reviewed by:		markj
Differential Revision:	https://reviews.freebsd.org/D22901
</content>
</entry>
<entry>
<title>MFC r354291 - r354322, r354327, r355596</title>
<updated>2019-12-22T00:46:07Z</updated>
<author>
<name>Vladimir Kondratyev</name>
<email>wulf@FreeBSD.org</email>
</author>
<published>2019-12-22T00:46:07Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=347454c0d2f5dee6bb00a64ebae6310fee41a1b1'/>
<id>urn:sha1:347454c0d2f5dee6bb00a64ebae6310fee41a1b1</id>
<content type='text'>
r354291:
[ig4] Give common name to PCI and ACPI device drivers

r354292:
[ig4] Handle controller startup errors

Obtained from:	DragonflyBSD (509820b)

r354293:
[ig4] Only enable interrupts when we want them. Otherwise keep mask at 0.

Obtained from:	DragonflyBSD (d7c8555)

r354294:
[ig4] Drop driver's internal RX FIFO

r354295:
[ig4] Do not wait for interrupts in set_controller() routine

r354296:
[ig4] Reduce scope of io_lock

r354297:
[ig4] Ignore stray interrupts

r354298:
[ig4] We actually need to set the Rx threshold register one smaller.

Obtained from:	DragonflyBSD (02f0bf2)

r354299:

[ig4] Stop I2C controller after checking that it's kind of functional.

Obtained from:	DragonfliBSD (0b3eedb)

r354300:
[ig4] disable controller before initialization of clock counters

r354301:
[ig4] Add support for polled mode

r354302:
[ig4] Allow enabling of polled mode from iicbus allocation callback

r354303:
[ig4] Do not wait until interrupts are enabled at attach stage

r354304:
[cyapa] Postpone start of the polling thread until sleep is available

r354305:
[ig4] dump IG4_REG_COMP_PARAM1 and IG4_REG_COMP_VER registers unconditionally

r354306:
[ig4] Set clock registers based on controller model

r354307:
[ig4] Implement burst mode for data reads

r354308:
[ig4] Add suspend/resume support

PR:		238037

r354309:
[ig4] Remove dead code inherited from DragonflyBSD

r354310:
[ig4] Rewrite ig4iic_write routine to use TX_EMPTY status flag

r354311:
[ig4] Convert last remaining usage of TX_NOTFULL status to TX_EMPTY

r354312:
[ig4] Use interrupts for waiting for empty TX FIFO

r354313:
[ig4] Convert polling loop from status-based to interrupt-based

r354314:
[ig4] Improve error detection

r354315:
[ig4] Set STOP condition and flush TX/RX FIFOs on error

r354316:
[ig4] On SkyLake controllers issue reset on attach unconditionally.

r354317:
[ig4] wait for bus stop condition after stop command issued

r354318:
[ig4] Minor improvement of write pipelining

r354319:
[ig4] Add generic resource methods to bus interface

r354320:
[ig4] Add support for CannonLake controllers

PR:		240485
Submitted by:	Neel Chauhan &lt;neel@neelc.org&gt;

r354321:
[ig4] Enable additional registers support on Appolo Lake controllers

r354322:
[ig4] Convert ithread interrupt handler to filter based one.

r354327:
[ig4] Try to workaround MIPS namespace pollution issue

r355596:
[ig4] Remove unused methods from bus interface

Suggested by:	jhb

Reviewed by:		imp (previous version)
Differential Revision:	https://reviews.freebsd.org/D22016
</content>
</entry>
<entry>
<title>ig4(4): Fix SDA HOLD time set too low on Skylake controllers</title>
<updated>2019-09-15T19:16:42Z</updated>
<author>
<name>Vladimir Kondratyev</name>
<email>wulf@FreeBSD.org</email>
</author>
<published>2019-09-15T19:16:42Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=746cae52fed43f00c2cb427e4f636db18a8b38e6'/>
<id>urn:sha1:746cae52fed43f00c2cb427e4f636db18a8b38e6</id>
<content type='text'>
Execution of "Soft reset" command (IG4_REG_RESETS_SKL) at controller init
stage sets SDA_HOLD register value to 0x0001 which is often too low for
normal operation.

Set SDA_HOLD back to 28 after reset to restore controller functionality.

PR:		240339
Reported by:	imp, GregV, et al.
</content>
</entry>
<entry>
<title>[ig4] style(9) clean-up</title>
<updated>2018-10-04T19:54:47Z</updated>
<author>
<name>Oleksandr Tymoshenko</name>
<email>gonzo@FreeBSD.org</email>
</author>
<published>2018-10-04T19:54:47Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=627e5af85abad768ecca222b082a36ed8840ae8f'/>
<id>urn:sha1:627e5af85abad768ecca222b082a36ed8840ae8f</id>
<content type='text'>
Submitted by:	Rajesh Kumar &lt;rajfbsd@gmail.com&gt;
Approved by:	re (gjb, kib)
</content>
</entry>
<entry>
<title>[ig4] Fix device description for Kaby Lake systems</title>
<updated>2018-09-16T21:44:36Z</updated>
<author>
<name>Oleksandr Tymoshenko</name>
<email>gonzo@FreeBSD.org</email>
</author>
<published>2018-09-16T21:44:36Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=234afdb9cccb60d9efa7ad9cddebbd1dbe364d18'/>
<id>urn:sha1:234afdb9cccb60d9efa7ad9cddebbd1dbe364d18</id>
<content type='text'>
Kaby Lake I2C controller is Intel Sunrise Point-H not Intel Sunrise Point-LP.

Submitted by:	Dmitry Luhtionov
Approved by:	re (kib)
</content>
</entry>
<entry>
<title>[ig4] Add PCI IDs for I2C controller on Intel Kaby Lake systems</title>
<updated>2018-09-13T17:36:55Z</updated>
<author>
<name>Oleksandr Tymoshenko</name>
<email>gonzo@FreeBSD.org</email>
</author>
<published>2018-09-13T17:36:55Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=6fb3c89473e6bfa056db3ce45d83df289f4e5489'/>
<id>urn:sha1:6fb3c89473e6bfa056db3ce45d83df289f4e5489</id>
<content type='text'>
PR:	221777
Approved by:	re (kib)
Submitted by:	marc.priggemeyer@gmail.com
</content>
</entry>
<entry>
<title>[ig4] Fix I/O timeout issue with Designware I2C controller on AMD platforms</title>
<updated>2018-08-22T22:56:01Z</updated>
<author>
<name>Oleksandr Tymoshenko</name>
<email>gonzo@FreeBSD.org</email>
</author>
<published>2018-08-22T22:56:01Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=ad4c75f74ae4a9335016697e3ac2b906d8320c1b'/>
<id>urn:sha1:ad4c75f74ae4a9335016697e3ac2b906d8320c1b</id>
<content type='text'>
Due to hardware limitation AMD I2C controller can't trigger pending
interrupt if interrupt status has been changed after clearing
interrupt status bits.  So, I2C will lose the interrupt and IO will be
timed out. Implements a workaround to disable I2C controller interrupt
and re-enable I2C interrupt before existing interrupt handler.

Submitted by:	rajfbsd@gmail.com
MFC after:	2 weeks
Differential Revision:	https://reviews.freebsd.org/D16720
</content>
</entry>
</feed>
