Thread (6 messages) 6 messages, 4 authors, 2026-01-21

Re: [PATCH] i2c: xiic: add ACPI support

From: Abdurrahman Hussain <abdurrahman@nexthop.ai>
Date: 2026-01-15 19:04:51
Also in: linux-i2c, lkml

On Jan 15, 2026, at 5:02 AM, Wolfram Sang [off-list ref] wrote:

On Thu, Jan 15, 2026 at 12:28:46AM +0000, Abdurrahman Hussain wrote:
quoted
Use generic device property accessors.
Make the clock optional assuming it's managed by firmware.

Signed-off-by: Abdurrahman Hussain <abdurrahman@nexthop.ai>
On which hardware has this been tested?
This was tested on nexthop.ai data-center NH-4010 switch with Xilinx based FPGA.

The following ACPI ASL fragment was used to describe the device:

            Device (I2C2) {
                Name (_HID, "PRP0001")
                Name (_CRS, ResourceTemplate () {
                    Memory32Fixed (ReadWrite, 0x80a40400, 0x00000200)
                    GpioInt (Level, ActiveHigh, Exclusive, PullNone, 0,
                        "\\_SB.PCI0.GPP5.FPGA") { 10 }
                })
                Name (_DSD, Package () {
                    ToUUID ("daffd814-6eba-4d8c-8a91-bc9bbf4aa301"),
                    Package () {
                       Package () { "compatible", "xlnx,axi-iic-2.1" },
                       Package () { "single-master", 1 },
                    }
                })
            }
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help