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

Rakesh Kota <[email protected]>
Newsgroups org.kernel.vger.linux-pm,org.kernel.vger.linux-arm-msm,org.kernel.vger.linux-devicetree,org.kernel.vger.linux-kernel
Message-ID <[email protected]>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.