diff options
-rw-r--r-- | drivers/mfd/intel_soc_pmic_bxtwc.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/drivers/mfd/intel_soc_pmic_bxtwc.c b/drivers/mfd/intel_soc_pmic_bxtwc.c index 43e54b7e908f..f9a8c5203873 100644 --- a/drivers/mfd/intel_soc_pmic_bxtwc.c +++ b/drivers/mfd/intel_soc_pmic_bxtwc.c | |||
@@ -86,6 +86,7 @@ enum bxtwc_irqs_level2 { | |||
86 | BXTWC_THRM2_IRQ, | 86 | BXTWC_THRM2_IRQ, |
87 | BXTWC_BCU_IRQ, | 87 | BXTWC_BCU_IRQ, |
88 | BXTWC_ADC_IRQ, | 88 | BXTWC_ADC_IRQ, |
89 | BXTWC_USBC_IRQ, | ||
89 | BXTWC_CHGR0_IRQ, | 90 | BXTWC_CHGR0_IRQ, |
90 | BXTWC_CHGR1_IRQ, | 91 | BXTWC_CHGR1_IRQ, |
91 | BXTWC_GPIO0_IRQ, | 92 | BXTWC_GPIO0_IRQ, |
@@ -111,7 +112,8 @@ static const struct regmap_irq bxtwc_regmap_irqs_level2[] = { | |||
111 | REGMAP_IRQ_REG(BXTWC_THRM2_IRQ, 2, 0xff), | 112 | REGMAP_IRQ_REG(BXTWC_THRM2_IRQ, 2, 0xff), |
112 | REGMAP_IRQ_REG(BXTWC_BCU_IRQ, 3, 0x1f), | 113 | REGMAP_IRQ_REG(BXTWC_BCU_IRQ, 3, 0x1f), |
113 | REGMAP_IRQ_REG(BXTWC_ADC_IRQ, 4, 0xff), | 114 | REGMAP_IRQ_REG(BXTWC_ADC_IRQ, 4, 0xff), |
114 | REGMAP_IRQ_REG(BXTWC_CHGR0_IRQ, 5, 0x3f), | 115 | REGMAP_IRQ_REG(BXTWC_USBC_IRQ, 5, BIT(5)), |
116 | REGMAP_IRQ_REG(BXTWC_CHGR0_IRQ, 5, 0x1f), | ||
115 | REGMAP_IRQ_REG(BXTWC_CHGR1_IRQ, 6, 0x1f), | 117 | REGMAP_IRQ_REG(BXTWC_CHGR1_IRQ, 6, 0x1f), |
116 | REGMAP_IRQ_REG(BXTWC_GPIO0_IRQ, 7, 0xff), | 118 | REGMAP_IRQ_REG(BXTWC_GPIO0_IRQ, 7, 0xff), |
117 | REGMAP_IRQ_REG(BXTWC_GPIO1_IRQ, 8, 0x3f), | 119 | REGMAP_IRQ_REG(BXTWC_GPIO1_IRQ, 8, 0x3f), |
@@ -146,7 +148,7 @@ static struct resource adc_resources[] = { | |||
146 | }; | 148 | }; |
147 | 149 | ||
148 | static struct resource usbc_resources[] = { | 150 | static struct resource usbc_resources[] = { |
149 | DEFINE_RES_IRQ_NAMED(BXTWC_CHGR0_IRQ, "USBC"), | 151 | DEFINE_RES_IRQ(BXTWC_USBC_IRQ), |
150 | }; | 152 | }; |
151 | 153 | ||
152 | static struct resource charger_resources[] = { | 154 | static struct resource charger_resources[] = { |