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

2024-04-25 Thread Andy Shevchenko
On Thu, Apr 25, 2024 at 09:42:53PM +0800, Sui Jingfeng wrote: > On 2024/4/25 00:44, Andy Shevchenko wrote: > > On Wed, Apr 24, 2024 at 07:34:54PM +0300, Dmitry Baryshkov wrote: > > > On Wed, Apr 24, 2024 at 05:52:03PM +0300, Andy Shevchenko wrote: > > > > On Wed, Apr 24, 2024 at 04:34:39PM +0300,

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

2024-04-25 Thread Sui Jingfeng
On 2024/4/25 00:44, Andy Shevchenko wrote: On Wed, Apr 24, 2024 at 07:34:54PM +0300, Dmitry Baryshkov wrote: On Wed, Apr 24, 2024 at 05:52:03PM +0300, Andy Shevchenko wrote: On Wed, Apr 24, 2024 at 04:34:39PM +0300, Dmitry Baryshkov wrote: On Wed, 24 Apr 2024 at 16:11, Andy Shevchenko

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

2024-04-24 Thread Dmitry Baryshkov
On Wed, 24 Apr 2024 at 19:45, Andy Shevchenko wrote: > > On Wed, Apr 24, 2024 at 07:34:54PM +0300, Dmitry Baryshkov wrote: > > On Wed, Apr 24, 2024 at 05:52:03PM +0300, Andy Shevchenko wrote: > > > On Wed, Apr 24, 2024 at 04:34:39PM +0300, Dmitry Baryshkov wrote: > > > > On Wed, 24 Apr 2024 at

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

2024-04-24 Thread Sui Jingfeng
Hi, On 2024/4/25 00:34, Dmitry Baryshkov wrote: On Wed, Apr 24, 2024 at 05:52:03PM +0300, Andy Shevchenko wrote: On Wed, Apr 24, 2024 at 04:34:39PM +0300, Dmitry Baryshkov wrote: On Wed, 24 Apr 2024 at 16:11, Andy Shevchenko wrote: On Wed, Apr 24, 2024 at 12:37:16AM +0300, Dmitry Baryshkov

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

2024-04-24 Thread Andy Shevchenko
On Wed, Apr 24, 2024 at 07:34:54PM +0300, Dmitry Baryshkov wrote: > On Wed, Apr 24, 2024 at 05:52:03PM +0300, Andy Shevchenko wrote: > > On Wed, Apr 24, 2024 at 04:34:39PM +0300, Dmitry Baryshkov wrote: > > > On Wed, 24 Apr 2024 at 16:11, Andy Shevchenko > > > wrote: > > > > On Wed, Apr 24, 2024

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

2024-04-24 Thread Dmitry Baryshkov
On Wed, Apr 24, 2024 at 05:52:03PM +0300, Andy Shevchenko wrote: > On Wed, Apr 24, 2024 at 04:34:39PM +0300, Dmitry Baryshkov wrote: > > On Wed, 24 Apr 2024 at 16:11, Andy Shevchenko > > wrote: > > > > > > On Wed, Apr 24, 2024 at 12:37:16AM +0300, Dmitry Baryshkov wrote: > > > > On Wed, Apr 24,

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

2024-04-24 Thread Andy Shevchenko
On Wed, Apr 24, 2024 at 04:34:39PM +0300, Dmitry Baryshkov wrote: > On Wed, 24 Apr 2024 at 16:11, Andy Shevchenko > wrote: > > > > On Wed, Apr 24, 2024 at 12:37:16AM +0300, Dmitry Baryshkov wrote: > > > On Wed, Apr 24, 2024 at 12:49:18AM +0800, Sui Jingfeng wrote: > > > > On 2024/4/23 21:28, Andy

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

2024-04-24 Thread Dmitry Baryshkov
On Wed, 24 Apr 2024 at 16:11, Andy Shevchenko wrote: > > On Wed, Apr 24, 2024 at 12:37:16AM +0300, Dmitry Baryshkov wrote: > > On Wed, Apr 24, 2024 at 12:49:18AM +0800, Sui Jingfeng wrote: > > > On 2024/4/23 21:28, Andy Shevchenko wrote: > > > > On Tue, Apr 23, 2024 at 12:46:58AM +0800, Sui

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

2024-04-24 Thread Andy Shevchenko
On Wed, Apr 24, 2024 at 12:37:16AM +0300, Dmitry Baryshkov wrote: > On Wed, Apr 24, 2024 at 12:49:18AM +0800, Sui Jingfeng wrote: > > On 2024/4/23 21:28, Andy Shevchenko wrote: > > > On Tue, Apr 23, 2024 at 12:46:58AM +0800, Sui Jingfeng wrote: ... > But let me throw an argument why this patch

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

2024-04-24 Thread Sui Jingfeng
Hi, On 2024/4/24 16:39, Dmitry Baryshkov wrote: Sui, if that fits your purpose, That doesn't fits my purpose, please stop the recommendation, thanks. please make sure that with your patch (or the next iteration of it) you can get driver_data from the matched platform_device_id. No, that's

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

2024-04-24 Thread Sui Jingfeng
Hi, On 2024/4/24 16:39, Dmitry Baryshkov wrote: Ok, what is the_bug_ that is being fixed by this patch? I didn't have a way to use that driver under non DT environment, this is the bug. Note: I demanding full features. Both st7735r.c and repaper.c requires additional device property. -

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

2024-04-24 Thread Dmitry Baryshkov
On Wed, 24 Apr 2024 at 08:09, Sui Jingfeng wrote: > > Hi, > > > On 2024/4/24 05:37, Dmitry Baryshkov wrote: > > On Wed, Apr 24, 2024 at 12:49:18AM +0800, Sui Jingfeng wrote: > >> Hi, > >> > >> Thanks a for you reviewing my patch. > >> > >> > >> On 2024/4/23 21:28, Andy Shevchenko wrote: > >>> On

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

2024-04-23 Thread Sui Jingfeng
Hi, On 2024/4/24 05:37, Dmitry Baryshkov wrote: On Wed, Apr 24, 2024 at 12:49:18AM +0800, Sui Jingfeng wrote: Hi, Thanks a for you reviewing my patch. On 2024/4/23 21:28, Andy Shevchenko wrote: On Tue, Apr 23, 2024 at 12:46:58AM +0800, Sui Jingfeng wrote: Because the software node

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

2024-04-23 Thread Dmitry Baryshkov
On Wed, Apr 24, 2024 at 12:49:18AM +0800, Sui Jingfeng wrote: > Hi, > > Thanks a for you reviewing my patch. > > > On 2024/4/23 21:28, Andy Shevchenko wrote: > > On Tue, Apr 23, 2024 at 12:46:58AM +0800, Sui Jingfeng wrote: > > > Because the software node backend of the fwnode API framework

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

2024-04-23 Thread Sui Jingfeng
Hi, Thanks a for you reviewing my patch. On 2024/4/23 21:28, Andy Shevchenko wrote: On Tue, Apr 23, 2024 at 12:46:58AM +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

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

2024-04-23 Thread Andy Shevchenko
On Tue, Apr 23, 2024 at 12:46:58AM +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 Missing space

[PATCH v2] software node: Implement device_get_match_data fwnode callback

2024-04-22 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