blob: d9828c5c56a16256d8cf100018924e3c51b2e544 [file] [log] [blame]
David Collinsed930492013-01-23 13:57:09 -08001#
2# BIF framework and drivers
3#
4menuconfig 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 Collins5fa19932013-01-23 14:10:28 -080013
14if BIF
15config 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
26endif