kernel: add wt6670 macro definition to control i2c nack
charging qc3+ wt6670 add wt6670 macro definition to control i2c nack Change-Id: I1fe0c47b88e31f640320a2a0f6033b7ad05f5b7f Signed-off-by: huaqin87 <huaqin87@motorola.com> Reviewed-on: https://gerrit.mot.com/2138663 SLTApproved: Slta Waiver SME-Granted: SME Approvals Granted Tested-by: Jira Key Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com> Submit-Approved: Jira Key
This commit is contained in:
1 parent
2c45a41a87
commit
12e83dba09
3 files changed
+14
-1
No files matched your search
@@ -16,3 +16,5 @@
|
||||
#CONFIG_DEVMEM is not set
|
||||
CONFIG_REGMAP_ALLOW_WRITE_DEBUGFS=y
|
||||
CONFIG_SUSPEND_DEBUG=y
|
||||
CONFIG_QCOM_I2C_NACK_ERR_WA_FAC=y
|
||||
|
||||
@@ -150,6 +150,15 @@ config QCOM_I2C_NACK_ERR_WA
|
||||
debug messages to the system log. Select this if you are having
|
||||
a problem with I2C support and want to see more of what is going
|
||||
on.
|
||||
config QCOM_I2C_NACK_ERR_WA_FAC
|
||||
bool "I2C Bus nack err for fac"
|
||||
depends on QCOM_I2C_NACK_ERR_WA
|
||||
default 'n'
|
||||
help
|
||||
Say Y here if you want the I2C bus drivers to produce a bunch of
|
||||
debug messages to the system log. Select this if you are having
|
||||
a problem with I2C support and want to see more of what is going
|
||||
on.
|
||||
endif # I2C
|
||||
|
||||
endmenu
|
||||
@@ -18,6 +18,8 @@ obj-$(CONFIG_I2C_STUB) += i2c-stub.o
|
||||
obj-$(CONFIG_I2C_SLAVE_EEPROM) += i2c-slave-eeprom.o
|
||||
|
||||
ccflags-$(CONFIG_I2C_DEBUG_CORE) := -DDEBUG
|
||||
ifeq ($(CONFIG_QCOM_I2C_NACK_ERR_WA), y)
|
||||
|
||||
ifeq ($(CONFIG_QCOM_I2C_NACK_ERR_WA_FAC), y)
|
||||
subdir-ccflags-y += -DQCOM_I2C_NACK_ERR_WA
|
||||
endif
|
||||
|
||||
Reference in new issue
Block a user