Christophe Ricard
dfa8070d7f
nfc: st21nfca: Add support for acpi probing for i2c device.
...
Add support for acpi probing.
SMO2100 is used for st21nfca
It has been tested with the following acpi node on Minnowboard Max:
Note: Remove uicc-present or ese-present Package if one them is not
supported.
Device (NFC1)
{
Name (_ADR, Zero) // _ADR: Address
Name (_HID, "SMO2100") // _HID: Hardware ID
Name (_CID, "SMO2100") // _CID: Compatible ID
Name (_DDN, "SMO NFC") // _DDN: DOS Device Name
Name (_UID, One) // _UID: Unique ID
Name (_DSD, Package (0x02)
{
/* Device Properties for _DSD */
ToUUID ("daffd814-6eba-4d8c-8a91-bc9bbf4aa301"),
Package (0x02)
{
Package (0x02) { "uicc-present", 1 },
Package (0x02) { "ese-present", 1 }
}
})
Method (_CRS, 0, NotSerialized) // _CRS: Current Resource Settings
{
Name (SBUF, ResourceTemplate ()
{
I2cSerialBus (0x0001, ControllerInitiated, 400000,
AddressingMode7Bit, "\\_SB.I2C7",
0x00, ResourceConsumer, ,)
GpioInt (Edge, ActiveHigh, ExclusiveAndWake, PullNone, 0x0000,
"\\_SB.GPO2", 0x00, ResourceConsumer, ,)
{ // Pin list
0x0001
}
GpioIo (Exclusive, PullDefault, 0x0000, 0x0000, IoRestrictionOutputOnly,
"\\_SB.GPO2", 0x00, ResourceConsumer, ,)
{ // Pin list
0x0002,
}
})
Return (SBUF) /* \_SB_.I2C7.NFC1._CRS.SBUF */
}
Method (_STA, 0, NotSerialized) // _STA: Status
{
Return (0x0F)
}
}
Signed-off-by: Christophe Ricard <christophe-h.ricard@st.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
2015-12-29 19:06:17 +01:00
..
2015-11-12 11:50:33 -08:00
2015-11-13 20:35:54 -08:00
2015-11-12 11:50:33 -08:00
2015-11-13 09:24:40 -08:00
2015-11-10 18:11:41 -08:00
2015-11-10 15:00:03 -08:00
2015-11-12 20:38:04 +11:00
2015-11-12 15:26:39 -08:00
2015-11-15 09:10:53 -08:00
2015-11-06 17:50:42 -08:00
2015-11-12 11:50:33 -08:00
2015-11-17 09:40:05 -08:00
2015-11-10 10:05:17 -08:00
2015-10-30 01:16:16 -04:00
2015-11-06 14:22:15 -08:00
2015-11-11 10:21:34 -08:00
2015-11-10 15:00:03 -08:00
2015-10-29 15:20:25 -07:00
2015-11-06 14:22:15 -08:00
2015-11-13 09:12:38 -08:00
2015-11-07 12:49:27 -08:00
2015-10-30 16:10:40 +01:00
2015-11-04 16:24:33 +01:00
2015-11-10 15:00:03 -08:00
2015-11-13 20:04:17 -08:00
2015-11-10 11:58:25 -08:00
2015-11-06 17:50:42 -08:00
2015-11-05 13:15:12 -08:00
2015-11-13 20:35:54 -08:00
2015-11-13 21:41:14 -08:00
2015-11-06 17:50:42 -08:00
2015-11-15 09:10:53 -08:00
2015-11-04 21:35:12 -08:00
2015-11-05 13:15:12 -08:00
2015-11-07 10:40:46 -07:00
2015-11-04 14:03:04 +05:30
2015-10-29 09:02:16 +09:00
2015-11-10 17:23:49 -08:00
2015-11-10 16:32:11 -08:00
2015-11-10 15:00:03 -08:00
2015-11-12 07:06:18 -05:00
2015-11-06 14:22:15 -08:00
2015-11-13 20:04:17 -08:00
2015-11-05 13:15:12 -08:00
2015-11-10 16:35:06 -08:00
2015-11-17 13:52:59 -08:00
2015-12-29 19:06:17 +01:00
2015-11-08 16:24:43 -05:00
2015-11-12 09:55:23 -08:00
2015-11-11 09:36:57 -07:00
2015-11-12 11:50:33 -08:00
2015-11-10 16:32:11 -08:00
2015-11-12 11:50:33 -08:00
2015-11-04 14:47:13 -08:00
2015-11-09 17:44:24 -05:00
2015-11-02 12:59:12 -08:00
2015-11-13 21:53:18 -08:00
2015-11-06 10:23:50 -08:00
2015-11-11 09:16:10 -08:00
2015-11-05 13:15:12 -08:00
2015-11-10 10:01:21 -08:00
2015-11-07 10:40:46 -07:00
2015-11-13 20:35:54 -08:00
2015-11-10 15:00:03 -08:00
2015-11-04 11:02:16 +00:00
2015-11-04 22:15:15 -08:00
2015-10-28 21:05:21 +02:00
2015-11-10 17:23:49 -08:00
2015-11-13 20:35:54 -08:00
2015-11-11 19:52:39 -08:00
2015-11-06 14:22:15 -08:00
2015-11-13 20:35:54 -08:00
2015-11-04 21:50:37 -08:00
2015-11-13 17:05:32 -08:00
2015-11-13 20:04:17 -08:00
2015-11-10 10:00:09 -08:00
2015-11-04 22:15:15 -08:00
2015-11-05 12:28:15 -08:00
2015-11-10 10:11:12 -08:00
2015-11-13 20:04:17 -08:00
2015-11-04 22:15:15 -08:00
2015-11-04 22:15:15 -08:00