Re: [PATCH 2/5] drm/bridge: simple-bridge: Extend match support for non-DT based systems

2024-03-20 Thread Andy Shevchenko
On Tue, Jan 23, 2024 at 12:32:17AM +0800, Sui Jingfeng wrote: > Which is intended to be used on non-DT environment, where the simple-bridge > platform device is created by either the display controller driver side or > platform firmware subsystem. To avoid duplication and to keep consistent, > we c

Re: [PATCH 2/5] drm/bridge: simple-bridge: Extend match support for non-DT based systems

2024-01-23 Thread Laurent Pinchart
On Tue, Jan 23, 2024 at 04:20:04PM +0800, Sui Jingfeng wrote: > On 2024/1/23 09:21, Laurent Pinchart wrote: > > On Tue, Jan 23, 2024 at 12:32:17AM +0800, Sui Jingfeng wrote: > >> Which is intended to be used on non-DT environment, where the simple-bridge > >> platform device is created by either th

Re: [PATCH 2/5] drm/bridge: simple-bridge: Extend match support for non-DT based systems

2024-01-23 Thread Sui Jingfeng
Hi, On 2024/1/23 09:21, Laurent Pinchart wrote: static int simple_bridge_probe(struct platform_device *pdev) { struct simple_bridge *sbridge; @@ -176,7 +194,10 @@ static int simple_bridge_probe(struct platform_device *pdev) return -ENOMEM; platform_set_drvda

Re: [PATCH 2/5] drm/bridge: simple-bridge: Extend match support for non-DT based systems

2024-01-23 Thread Sui Jingfeng
Hi, On 2024/1/23 09:21, Laurent Pinchart wrote: On Tue, Jan 23, 2024 at 12:32:17AM +0800, Sui Jingfeng wrote: Which is intended to be used on non-DT environment, where the simple-bridge platform device is created by either the display controller driver side or platform firmware subsystem. Cou

Re: [PATCH 2/5] drm/bridge: simple-bridge: Extend match support for non-DT based systems

2024-01-22 Thread Laurent Pinchart
On Tue, Jan 23, 2024 at 12:32:17AM +0800, Sui Jingfeng wrote: > Which is intended to be used on non-DT environment, where the simple-bridge > platform device is created by either the display controller driver side or > platform firmware subsystem. Could you give an example of a platform where you

[PATCH 2/5] drm/bridge: simple-bridge: Extend match support for non-DT based systems

2024-01-22 Thread Sui Jingfeng
Which is intended to be used on non-DT environment, where the simple-bridge platform device is created by either the display controller driver side or platform firmware subsystem. To avoid duplication and to keep consistent, we choose to reuse the OF match tables. Because the potentional user may n