Re: [PATCH v6 2/8] regulator: dt-bindings: Document max8997-pmic nodes
From: Timon Baetz <hidden>
Date: 2021-01-16 08:04:28
Also in:
linux-devicetree, linux-pm, linux-samsung-soc, lkml
From: Timon Baetz <hidden>
Date: 2021-01-16 08:04:28
Also in:
linux-devicetree, linux-pm, linux-samsung-soc, lkml
On Fri, 15 Jan 2021 13:42:14 +0000, Mark Brown wrote:
On Fri, Jan 15, 2021 at 06:19:28AM +0000, Timon Baetz wrote:quoted
On Fri, 8 Jan 2021 16:16:53 +0000, Mark Brown wrote:quoted
On Fri, Jan 08, 2021 at 03:16:48PM +0000, Timon Baetz wrote:quoted
quoted
quoted
Muic needs a node to be used with extcon_get_edev_by_phandle(). Charger needs a node to reference a regulator.quoted
quoted
The pattern is to use the parent device's node.quoted
So is extcon going to be a self-reference then?I guess, assuming you even need to look this up via the device tree.
I could use extcon_get_extcon_dev("max8997-muic") and basically hard
code the extcon device name in the charger driver. Then I only need
charger-supply in DTS which could be added to the parent device's node.
Would that be acceptable for everyone?
Thanks,
Timon
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel