<div dir="ltr">Hi,<br><br>I am trying to probe slave i2c devices with ACPI running Ubuntu 15.04 and kernel 4.3<br>without success so far.<br><br>I've followed guidance here:<br><a href="http://elinux.org/Minnowboard:MinnowMaxLinuxKernel">http://elinux.org/Minnowboard:MinnowMaxLinuxKernel</a><br><br>but i found no i2c device are probed at boot.<br><br>For example, one default device available in the acpi table is never detected: RTEK node (with ID 10EC5640).<br><br>When adding my own device to I2C7, my device is never detected as well :(.<br><br>For example the complete modified I2C7 is at the end of the message.<br><br>I am compiling the kernel with options:<br>CONFIG_ACPI_CUSTOM_DSDT_FILE="dsdt.hex"<br>CONFIG_ACPI_CUSTOM_DSDT=y<br>CONFIG_ACPI_INITRD_TABLE_OVERRIDE=y<br><br>I am running on Minnowboard firmware 0.83 with default options.<br><br>Best Regards<br>Christophe<br><br>        Device (I2C7)<br>        {<br>            Name (_ADR, Zero)  // _ADR: Address<br>            Name (_HID, "80860F41" /* Intel Baytrail I2C Host Controller */)  // _HID: Hardware ID<br>            Name (_CID, "80860F41" /* Intel Baytrail I2C Host Controller */)  // _CID: Compatible ID<br>            Name (_DDN, "Intel(R) I2C Controller #7 - 80860F47")  // _DDN: DOS Device Name<br>            Name (_UID, 0x07)  // _UID: Unique ID<br>            Name (_DEP, Package (One)  // _DEP: Dependencies<br>            {<br>                PEPD<br>            })<br>            Name (RBUF, ResourceTemplate ()<br>            {<br>                Memory32Fixed (ReadWrite,<br>                    0x00000000,         // Address Base<br>                    0x00001000,         // Address Length<br>                    _Y1F)<br>                Interrupt (ResourceConsumer, Level, ActiveLow, Exclusive, ,, )<br>                {<br>                    0x00000026,<br>                }<br>                FixedDMA (0x001C, 0x0004, Width32bit, )<br>                FixedDMA (0x001D, 0x0005, Width32bit, )<br>            })<br>            Method (SSCN, 0, NotSerialized)<br>            {<br>                Name (PKG, Package (0x03)<br>                {<br>                    0x0200, <br>                    0x0200, <br>                    0x06<br>                })<br>                Return (PKG) /* \_SB_.I2C7.SSCN.PKG_ */<br>            }<br><br>            Method (FMCN, 0, NotSerialized)<br>            {<br>                Name (PKG, Package (0x03)<br>                {<br>                    0x55, <br>                    0x99, <br>                    0x06<br>                })<br>                Return (PKG) /* \_SB_.I2C7.FMCN.PKG_ */<br>            }<br><br>            Method (FPCN, 0, NotSerialized)<br>            {<br>                Name (PKG, Package (0x03)<br>                {<br>                    0x1B, <br>                    0x3A, <br>                    0x06<br>                })<br>                Return (PKG) /* \_SB_.I2C7.FPCN.PKG_ */<br>            }<br><br>            Method (_HRV, 0, NotSerialized)  // _HRV: Hardware Revision<br>            {<br>                Return (SOCS) /* \SOCS */<br>            }<br><br>            Method (_CRS, 0, NotSerialized)  // _CRS: Current Resource Settings<br>            {<br>                CreateDWordField (RBUF, \_SB.I2C7._Y1F._BAS, B0BA)  // _BAS: Base Address<br>                CreateDWordField (RBUF, \_SB.I2C7._Y1F._LEN, B0LN)  // _LEN: Length<br>                B0BA = I70A /* \I70A */<br>                B0LN = I70L /* \I70L */<br>                Return (RBUF) /* \_SB_.I2C7.RBUF */<br>            }<br><br>            Method (_STA, 0, NotSerialized)  // _STA: Status<br>            {<br>                If ((PCIM == One))<br>                {<br>                    Return (Zero)<br>                }<br><br>                If (((I70A == Zero) || (L27D == One)))<br>                {<br>                    Return (Zero)<br>                }<br><br>                Return (0x0F)<br>            }<br><br>            Method (_PS3, 0, NotSerialized)  // _PS3: Power State 3<br>            {<br>                PSAT |= 0x03<br>                PSAT |= Zero<br>            }<br><br>            Method (_PS0, 0, NotSerialized)  // _PS0: Power State 0<br>            {<br>                PSAT &= 0xFFFFFFFC<br>                PSAT |= Zero<br>            }<br><br>            OperationRegion (KEYS, SystemMemory, I71A, 0x0100)<br>            Field (KEYS, DWordAcc, NoLock, WriteAsZeros)<br>            {<br>                Offset (0x84), <br>                PSAT,   32<br>            }<br><br>            Device (NFC1)<br>            {<br>                Name (_ADR, Zero)  // _ADR: Address<br>                Name (_HID, "NXP5441")  // _HID: Hardware ID<br>                Name (_CID, "NXP5441")  // _CID: Compatible ID<br>                Name (_DDN, "NXP NFC")  // _DDN: DOS Device Name<br>                Name (_UID, One)  // _UID: Unique ID<br>                Method (_CRS, 0, NotSerialized)  // _CRS: Current Resource Settings<br>                {<br>                    Name (SBUF, ResourceTemplate ()<br>                    {<br>                        I2cSerialBus (0x0028, ControllerInitiated, 0x00061A80,<br>                            AddressingMode7Bit, "\\_SB.I2C7",<br>                            0x00, ResourceConsumer, ,<br>                            )<br>                        Interrupt (ResourceConsumer, Level, ActiveLow, Exclusive, ,, )<br>                        {<br>                            0x00000047,<br>                        }<br>                        GpioIo (Exclusive, PullDefault, 0x0000, 0x0000, IoRestrictionOutputOnly,<br>                            "\\_SB.GPO2", 0x00, ResourceConsumer, ,<br>                            )<br>                            {   // Pin list<br>                                0x0009<br>                            }<br>                        GpioIo (Exclusive, PullDefault, 0x0000, 0x0000, IoRestrictionOutputOnly,<br>                            "\\_SB.GPO2", 0x00, ResourceConsumer, ,<br>                            )<br>                            {   // Pin list<br>                                0x0008<br>                            }<br>                    })<br>                    Return (SBUF) /* \_SB_.I2C7.NFC1._CRS.SBUF */<br>                }<br><br>                Method (_STA, 0, NotSerialized)  // _STA: Status<br>                {<br>                    If ((NFCS == One))<br>                    {<br>                        Return (0x0F)<br>                    }<br><br>                    Return (Zero)<br>                }<br>            }<br>        }<br><br>        Scope (I2C7)<br>        {<br>        }<br>    }<br></div>