Message ID | 20201230205139.1812366-1-timon.baetz@protonmail.com (mailing list archive) |
---|---|
State | Superseded |
Headers | show |
Series | [v6,1/8] extcon: max8997: Add CHGINS and CHGRM interrupt handling | expand |
On Wed, 30 Dec 2020 20:51:53 +0000, Timon Baetz wrote: > This allows the MAX8997 charger to set the current limit depending on > the detected extcon charger type. Applied, thanks! [7/8] ARM: dts: exynos: Fix charging regulator voltage and current for I9100 commit: 4a928b3b7c0f8a2ae382c3db3a78898877567786 Best regards,
On Wed, 30 Dec 2020 20:51:53 +0000, Timon Baetz wrote: > This allows the MAX8997 charger to set the current limit depending on > the detected extcon charger type. Applied, thanks! [8/8] ARM: dts: exynos: Add top-off charging regulator node for I9100 commit: 3803f461bd28c1c817281348509399778633e82f Best regards,
On Thu, Dec 31, 2020 at 5:54 AM Timon Baetz <timon.baetz@protonmail.com> wrote: > > This allows the MAX8997 charger to set the current limit depending on > the detected extcon charger type. > > Signed-off-by: Timon Baetz <timon.baetz@protonmail.com> > --- > v6: No change. > v5: No change. > v4: No change. > v3: No change. > v2: Remove empty line. > > drivers/extcon/extcon-max8997.c | 4 ++++ > 1 file changed, 4 insertions(+) > > diff --git a/drivers/extcon/extcon-max8997.c b/drivers/extcon/extcon-max8997.c > index 337b0eea4e62..e1408075ef7d 100644 > --- a/drivers/extcon/extcon-max8997.c > +++ b/drivers/extcon/extcon-max8997.c > @@ -44,6 +44,8 @@ static struct max8997_muic_irq muic_irqs[] = { > { MAX8997_MUICIRQ_ChgDetRun, "muic-CHGDETRUN" }, > { MAX8997_MUICIRQ_ChgTyp, "muic-CHGTYP" }, > { MAX8997_MUICIRQ_OVP, "muic-OVP" }, > + { MAX8997_PMICIRQ_CHGINS, "pmic-CHGINS" }, > + { MAX8997_PMICIRQ_CHGRM, "pmic-CHGRM" }, > }; > > /* Define supported cable type */ > @@ -538,6 +540,8 @@ static void max8997_muic_irq_work(struct work_struct *work) > case MAX8997_MUICIRQ_DCDTmr: > case MAX8997_MUICIRQ_ChgDetRun: > case MAX8997_MUICIRQ_ChgTyp: > + case MAX8997_PMICIRQ_CHGINS: > + case MAX8997_PMICIRQ_CHGRM: > /* Handle charger cable */ > ret = max8997_muic_chg_handler(info); > break; > -- > 2.25.1 > > Applied it. Thans.
diff --git a/drivers/extcon/extcon-max8997.c b/drivers/extcon/extcon-max8997.c index 337b0eea4e62..e1408075ef7d 100644 --- a/drivers/extcon/extcon-max8997.c +++ b/drivers/extcon/extcon-max8997.c @@ -44,6 +44,8 @@ static struct max8997_muic_irq muic_irqs[] = { { MAX8997_MUICIRQ_ChgDetRun, "muic-CHGDETRUN" }, { MAX8997_MUICIRQ_ChgTyp, "muic-CHGTYP" }, { MAX8997_MUICIRQ_OVP, "muic-OVP" }, + { MAX8997_PMICIRQ_CHGINS, "pmic-CHGINS" }, + { MAX8997_PMICIRQ_CHGRM, "pmic-CHGRM" }, }; /* Define supported cable type */ @@ -538,6 +540,8 @@ static void max8997_muic_irq_work(struct work_struct *work) case MAX8997_MUICIRQ_DCDTmr: case MAX8997_MUICIRQ_ChgDetRun: case MAX8997_MUICIRQ_ChgTyp: + case MAX8997_PMICIRQ_CHGINS: + case MAX8997_PMICIRQ_CHGRM: /* Handle charger cable */ ret = max8997_muic_chg_handler(info); break;
This allows the MAX8997 charger to set the current limit depending on the detected extcon charger type. Signed-off-by: Timon Baetz <timon.baetz@protonmail.com> --- v6: No change. v5: No change. v4: No change. v3: No change. v2: Remove empty line. drivers/extcon/extcon-max8997.c | 4 ++++ 1 file changed, 4 insertions(+)