Re: [PATCH 0/2] qcom_battmgr: Add batteryless DC-adapter MAINS support

From: Rakesh Kota

Date: Thu Jul 30 2026 - 09:51:02 EST


On Wed, Jul 22, 2026 at 05:04:00PM +0300, Dmitry Baryshkov wrote:
> On Thu, Jul 16, 2026 at 06:54:36PM -0500, Bjorn Andersson wrote:
> > On Thu, Jul 16, 2026 at 02:18:50PM +0530, Rakesh Kota wrote:
> >
> > I think this is similar to if we had a discrete charger block that we
> > describe in DeviceTree, we would somehow have to describe the
> > "configuration" of that component.
> >
> > But I don't think you considered those other use cases. Perhaps this
> > should be an optional qcom,battmgr-interfaces = "ac", "usb" ...; taking
> > the list of interfaces that is actually implemented.
>
> I like this idea.
>

Thanks, Dmitry and Bjorn.

Krzysztof, could you please share your suggestion on adding this as a
new optional DT property (qcom,battmgr-interfaces = "ac", "usb",...;)
listing the interfaces actually implemented on a given platform?

regards
Rakesh Kota

> --
> With best wishes
> Dmitry