David Collins | ed93049 | 2013-01-23 13:57:09 -0800 | [diff] [blame] | 1 | # |
| 2 | # BIF framework and drivers |
| 3 | # |
| 4 | menuconfig BIF |
| 5 | bool "MIPI-BIF support" |
| 6 | select CRC_CCITT |
| 7 | select BITREVERSE |
| 8 | help |
| 9 | MIPI-BIF (battery interface) is a one-wire serial interface between a |
| 10 | host master device and one or more slave devices which are located in |
| 11 | a battery pack or also on the host. Enabling this option allows for |
| 12 | BIF consumer drivers to issue transactions via BIF controller drivers. |
David Collins | 5fa1993 | 2013-01-23 14:10:28 -0800 | [diff] [blame] | 13 | |
| 14 | if BIF |
| 15 | config BIF_QPNP |
| 16 | depends on SPMI |
| 17 | depends on OF_SPMI |
| 18 | tristate "Qualcomm QPNP BIF support" |
| 19 | help |
| 20 | This driver supports the QPNP BSI peripheral found inside of Qualcomm |
| 21 | QPNP PMIC devices. The BSI peripheral is able to communicate using |
| 22 | the BIF protocol. The QPNP BSI driver hooks into the BIF framework. |
| 23 | Enable this option in order to provide support for BIF communication |
| 24 | on targets which have BSI PMIC peripherals. |
| 25 | |
| 26 | endif |