> 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?