Thread (2 messages) 2 messages, 2 authors, 2021-03-24

Re: [PATCH 2/5] ARM: dts: add battery phandle to cpcap_charger

From: <hidden>
Date: 2021-03-24 16:25:39
Also in: linux-omap

I think the patch is also wrong, since the information is already 
described in DT - just the other way around: The battery references 
the charger. This provides all required information to the kernel 
for a 1:1 link. 

-- Sebastian 
I added this so that cpcap_charger may become aware of the battery insertion state by querying the battery driver.
Would you thus recommend that instead of adding this phandle i should amend the series such that cpcap_charger walks the tree looking for a cpcap_battery compatible node and then determines if the charger phandle points to itself? Is there some recommended way performing this reverse search?
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help