Re: [PATCH] typec: tcpm: Provide of_node pointer as part of psy_cfg

2018-05-22 Thread Heikki Krogerus
On Mon, May 21, 2018 at 03:34:53PM +, Adam Thomson wrote: > On 21 May 2018 15:56, Heikki Krogerus wrote: > > > On Mon, May 21, 2018 at 01:58:16PM +, Adam Thomson wrote: > > > Hi Heikki, > > > > > > On 21 May 2018 14:20, Heikki Krogerus wrote: > > > > > > > On Wed, May 16, 2018 at

RE: [PATCH] typec: tcpm: Provide of_node pointer as part of psy_cfg

2018-05-21 Thread Adam Thomson
On 21 May 2018 15:56, Heikki Krogerus wrote: > On Mon, May 21, 2018 at 01:58:16PM +, Adam Thomson wrote: > > Hi Heikki, > > > > On 21 May 2018 14:20, Heikki Krogerus wrote: > > > > > On Wed, May 16, 2018 at 05:00:46PM +0100, Adam Thomson wrote: > > > > For supply registration, provide of_node

Re: [PATCH] typec: tcpm: Provide of_node pointer as part of psy_cfg

2018-05-21 Thread Heikki Krogerus
On Mon, May 21, 2018 at 01:58:16PM +, Adam Thomson wrote: > Hi Heikki, > > On 21 May 2018 14:20, Heikki Krogerus wrote: > > > On Wed, May 16, 2018 at 05:00:46PM +0100, Adam Thomson wrote: > > > For supply registration, provide of_node pointer of the port device, > > > via the

RE: [PATCH] typec: tcpm: Provide of_node pointer as part of psy_cfg

2018-05-21 Thread Adam Thomson
Hi Heikki, On 21 May 2018 14:20, Heikki Krogerus wrote: > On Wed, May 16, 2018 at 05:00:46PM +0100, Adam Thomson wrote: > > For supply registration, provide of_node pointer of the port device, > > via the power_supply_config structure, to allow other psy drivers > > to add us as a supplier using

Re: [PATCH] typec: tcpm: Provide of_node pointer as part of psy_cfg

2018-05-21 Thread Heikki Krogerus
Hi Adam, On Wed, May 16, 2018 at 05:00:46PM +0100, Adam Thomson wrote: > For supply registration, provide of_node pointer of the port device, > via the power_supply_config structure, to allow other psy drivers > to add us as a supplier using the 'power-supplies' DT property. > > Signed-off-by:

[PATCH] typec: tcpm: Provide of_node pointer as part of psy_cfg

2018-05-16 Thread Adam Thomson
For supply registration, provide of_node pointer of the port device, via the power_supply_config structure, to allow other psy drivers to add us as a supplier using the 'power-supplies' DT property. Signed-off-by: Adam Thomson --- drivers/usb/typec/tcpm.c |