Re: [PATCH v3] software node: Implement device_get_match_data fwnode callback

2024-06-27 Thread Dmitry Torokhov
On Sun, Jun 23, 2024 at 12:58:25AM -0700, Dmitry Torokhov wrote: > On Sun, Jun 23, 2024 at 03:38:23PM +0800, Sui Jingfeng wrote: > > Hi, > > > > On 6/23/24 03:29, Dmitry Torokhov wrote: > > > > In case of non-OF match (which > > > > > includes the case where you use software nodes) the match data

Re: [PATCH v3] software node: Implement device_get_match_data fwnode callback

2024-06-23 Thread Dmitry Torokhov
On Sun, Jun 23, 2024 at 03:38:23PM +0800, Sui Jingfeng wrote: > Hi, > > On 6/23/24 03:29, Dmitry Torokhov wrote: > > > In case of non-OF match (which > > > > includes the case where you use software nodes) the match data is coming > > > > from matching spi_device_id entry in the driver. > > > >

Re: [PATCH v3] software node: Implement device_get_match_data fwnode callback

2024-06-23 Thread Sui Jingfeng
Hi, On 6/23/24 03:29, Dmitry Torokhov wrote: In case of non-OF match (which includes the case where you use software nodes) the match data is coming from matching spi_device_id entry in the driver. We don't care about much how it is probed now, rather, after the driver probed by a non-OF

Re: [PATCH v3] software node: Implement device_get_match_data fwnode callback

2024-06-22 Thread Dmitry Torokhov
On Sun, Jun 23, 2024 at 02:04:00AM +0800, Sui Jingfeng wrote: > Hi, > > On 6/22/24 03:58, Dmitry Torokhov wrote: > > Hi Sui, > > > > On Sun, Apr 28, 2024 at 04:36:50AM +0800, Sui Jingfeng wrote: > > > Because the software node backend of the fwnode API framework lacks an > > > implementation for

Re: [PATCH v3] software node: Implement device_get_match_data fwnode callback

2024-06-22 Thread Sui Jingfeng
Hi, On 6/22/24 03:58, Dmitry Torokhov wrote: Hi Sui, On Sun, Apr 28, 2024 at 04:36:50AM +0800, Sui Jingfeng wrote: Because the software node backend of the fwnode API framework lacks an implementation for the .device_get_match_data function callback. This makes it difficult to use(and/or

Re: [PATCH v3] software node: Implement device_get_match_data fwnode callback

2024-06-21 Thread Dmitry Torokhov
Hi Sui, On Sun, Apr 28, 2024 at 04:36:50AM +0800, Sui Jingfeng wrote: > Because the software node backend of the fwnode API framework lacks an > implementation for the .device_get_match_data function callback. This > makes it difficult to use(and/or test) a few drivers that originates > from DT

[PATCH v3] software node: Implement device_get_match_data fwnode callback

2024-04-27 Thread Sui Jingfeng
Because the software node backend of the fwnode API framework lacks an implementation for the .device_get_match_data function callback. This makes it difficult to use(and/or test) a few drivers that originates from DT world on the non-DT platform. Implement the .device_get_match_data fwnode