Re: [PATCH v2] drm/bridge: Fix assignment of the of_node of the parent to aux bridge

2024-11-01 Thread Laurent Pinchart
On Fri, Nov 01, 2024 at 12:27:15PM +0200, Dmitry Baryshkov wrote: > On Fri, 1 Nov 2024 at 11:20, Laurent Pinchart wrote: > > On Fri, Nov 01, 2024 at 11:49:07AM +0800, Sui Jingfeng wrote: > > > On 2024/11/1 00:23, Johan Hovold wrote: > > > > On Thu, Oct 31, 2024 at 11:06:38PM +0800, Sui Jingfeng wro

Re: [PATCH v2] drm/bridge: Fix assignment of the of_node of the parent to aux bridge

2024-11-01 Thread Dmitry Baryshkov
On Fri, 1 Nov 2024 at 11:20, Laurent Pinchart wrote: > > On Fri, Nov 01, 2024 at 11:49:07AM +0800, Sui Jingfeng wrote: > > > > On 2024/11/1 00:23, Johan Hovold wrote: > > > On Thu, Oct 31, 2024 at 11:06:38PM +0800, Sui Jingfeng wrote: > > > > > >> But I think Johan do need more times to understand

Re: [PATCH v2] drm/bridge: Fix assignment of the of_node of the parent to aux bridge

2024-11-01 Thread Abel Vesa
On 24-10-31 17:33:35, Johan Hovold wrote: > On Thu, Oct 31, 2024 at 06:13:45PM +0200, Abel Vesa wrote: > > On 24-10-31 15:05:52, Johan Hovold wrote: > > > On Mon, Oct 21, 2024 at 09:23:24AM +0200, Johan Hovold wrote: > > > > On Fri, Oct 18, 2024 at 03:49:34PM +0300, Abel Vesa wrote: > > > > > > Cc

Re: [PATCH v2] drm/bridge: Fix assignment of the of_node of the parent to aux bridge

2024-11-01 Thread Laurent Pinchart
On Fri, Nov 01, 2024 at 11:49:07AM +0800, Sui Jingfeng wrote: > > On 2024/11/1 00:23, Johan Hovold wrote: > > On Thu, Oct 31, 2024 at 11:06:38PM +0800, Sui Jingfeng wrote: > > > >> But I think Johan do need more times to understand what exactly > >> the real problem is. We do need times to investi

Re: [PATCH v2] drm/bridge: Fix assignment of the of_node of the parent to aux bridge

2024-11-01 Thread Johan Hovold
On Fri, Nov 01, 2024 at 11:49:07AM +0800, Sui Jingfeng wrote: > On 2024/11/1 00:23, Johan Hovold wrote: > > On Thu, Oct 31, 2024 at 11:06:38PM +0800, Sui Jingfeng wrote: > > > >> But I think Johan do need more times to understand what exactly > >> the real problem is. We do need times to investigat

Re: [PATCH v2] drm/bridge: Fix assignment of the of_node of the parent to aux bridge

2024-10-31 Thread Sui Jingfeng
On 2024/10/31 20:31, Neil Armstrong wrote: On 30/10/2024 15:49, Sui Jingfeng wrote: Hi, On 2024/10/21 21:08, Neil Armstrong wrote: Hi, On Fri, 18 Oct 2024 15:49:34 +0300, Abel Vesa wrote: The assignment of the of_node to the aux bridge needs to mark the of_node as reused as well, otherwise

Re: [PATCH v2] drm/bridge: Fix assignment of the of_node of the parent to aux bridge

2024-10-31 Thread Sui Jingfeng
On 2024/11/1 00:23, Johan Hovold wrote: On Thu, Oct 31, 2024 at 11:06:38PM +0800, Sui Jingfeng wrote: But I think Johan do need more times to understand what exactly the real problem is. We do need times to investigate new method. No, I know perfectly well what the (immediate) problem is her

Re: [PATCH v2] drm/bridge: Fix assignment of the of_node of the parent to aux bridge

2024-10-31 Thread Johan Hovold
On Thu, Oct 31, 2024 at 11:06:38PM +0800, Sui Jingfeng wrote: > But I think Johan do need more times to understand what exactly > the real problem is. We do need times to investigate new method. No, I know perfectly well what the (immediate) problem is here (I was the one adding support for the o

Re: [PATCH v2] drm/bridge: Fix assignment of the of_node of the parent to aux bridge

2024-10-31 Thread Sui Jingfeng
Hi, Dears maintainers On 2024/10/31 20:31, Neil Armstrong wrote: On 30/10/2024 15:49, Sui Jingfeng wrote: Hi, On 2024/10/21 21:08, Neil Armstrong wrote: Hi, On Fri, 18 Oct 2024 15:49:34 +0300, Abel Vesa wrote: The assignment of the of_node to the aux bridge needs to mark the of_node as reus

Re: [PATCH v2] drm/bridge: Fix assignment of the of_node of the parent to aux bridge

2024-10-31 Thread Johan Hovold
On Thu, Oct 31, 2024 at 05:48:24PM +0200, Dmitry Baryshkov wrote: > On Mon, 21 Oct 2024 at 10:23, Johan Hovold wrote: > > > > On Fri, Oct 18, 2024 at 03:49:34PM +0300, Abel Vesa wrote: > > > The assignment of the of_node to the aux bridge needs to mark the > > > of_node as reused as well, otherwis

Re: [PATCH v2] drm/bridge: Fix assignment of the of_node of the parent to aux bridge

2024-10-31 Thread Johan Hovold
On Thu, Oct 31, 2024 at 06:13:45PM +0200, Abel Vesa wrote: > On 24-10-31 15:05:52, Johan Hovold wrote: > > On Mon, Oct 21, 2024 at 09:23:24AM +0200, Johan Hovold wrote: > > > On Fri, Oct 18, 2024 at 03:49:34PM +0300, Abel Vesa wrote: > > > > Cc: sta...@vger.kernel.org # 6.8 > > > > I assume

Re: [PATCH v2] drm/bridge: Fix assignment of the of_node of the parent to aux bridge

2024-10-31 Thread Abel Vesa
On 24-10-31 15:05:52, Johan Hovold wrote: > On Mon, Oct 21, 2024 at 09:23:24AM +0200, Johan Hovold wrote: > > On Fri, Oct 18, 2024 at 03:49:34PM +0300, Abel Vesa wrote: > > > The assignment of the of_node to the aux bridge needs to mark the > > > of_node as reused as well, otherwise resource provid

Re: [PATCH v2] drm/bridge: Fix assignment of the of_node of the parent to aux bridge

2024-10-31 Thread Dmitry Baryshkov
On Mon, 21 Oct 2024 at 10:23, Johan Hovold wrote: > > On Fri, Oct 18, 2024 at 03:49:34PM +0300, Abel Vesa wrote: > > The assignment of the of_node to the aux bridge needs to mark the > > of_node as reused as well, otherwise resource providers like pinctrl will > > report a gpio as already requeste

Re: [PATCH v2] drm/bridge: Fix assignment of the of_node of the parent to aux bridge

2024-10-31 Thread Sui Jingfeng
Hi, On 2024/10/31 22:02, Johan Hovold wrote: On Thu, Oct 31, 2024 at 01:31:47PM +0100, Neil Armstrong wrote: On 30/10/2024 15:49, Sui Jingfeng wrote: On 2024/10/21 21:08, Neil Armstrong wrote: On Fri, 18 Oct 2024 15:49:34 +0300, Abel Vesa wrote: The assignment of the of_node to the aux bridg

Re: [PATCH v2] drm/bridge: Fix assignment of the of_node of the parent to aux bridge

2024-10-31 Thread Johan Hovold
On Mon, Oct 21, 2024 at 09:23:24AM +0200, Johan Hovold wrote: > On Fri, Oct 18, 2024 at 03:49:34PM +0300, Abel Vesa wrote: > > The assignment of the of_node to the aux bridge needs to mark the > > of_node as reused as well, otherwise resource providers like pinctrl will > > report a gpio as already

Re: [PATCH v2] drm/bridge: Fix assignment of the of_node of the parent to aux bridge

2024-10-31 Thread Johan Hovold
On Thu, Oct 31, 2024 at 01:31:47PM +0100, Neil Armstrong wrote: > On 30/10/2024 15:49, Sui Jingfeng wrote: > > On 2024/10/21 21:08, Neil Armstrong wrote: > >> On Fri, 18 Oct 2024 15:49:34 +0300, Abel Vesa wrote: > >>> The assignment of the of_node to the aux bridge needs to mark the > >>> of_node a

Re: [PATCH v2] drm/bridge: Fix assignment of the of_node of the parent to aux bridge

2024-10-31 Thread Neil Armstrong
On 30/10/2024 15:49, Sui Jingfeng wrote: Hi, On 2024/10/21 21:08, Neil Armstrong wrote: Hi, On Fri, 18 Oct 2024 15:49:34 +0300, Abel Vesa wrote: The assignment of the of_node to the aux bridge needs to mark the of_node as reused as well, otherwise resource providers like pinctrl will report a

Re: [PATCH v2] drm/bridge: Fix assignment of the of_node of the parent to aux bridge

2024-10-31 Thread Neil Armstrong
On 30/10/2024 17:45, Sui Jingfeng wrote: Hi, On 2024/10/18 23:43, Dmitry Baryshkov wrote: On Fri, Oct 18, 2024 at 03:49:34PM +0300, Abel Vesa wrote: The assignment of the of_node to the aux bridge needs to mark the of_node as reused as well, otherwise resource providers like pinctrl will repor

Re: [PATCH v2] drm/bridge: Fix assignment of the of_node of the parent to aux bridge

2024-10-30 Thread Laurent Pinchart
On Thu, Oct 31, 2024 at 12:45:24AM +0800, Sui Jingfeng wrote: > Hi, > > On 2024/10/18 23:43, Dmitry Baryshkov wrote: > > On Fri, Oct 18, 2024 at 03:49:34PM +0300, Abel Vesa wrote: > >> The assignment of the of_node to the aux bridge needs to mark the > >> of_node as reused as well, otherwise resou

Re: [PATCH v2] drm/bridge: Fix assignment of the of_node of the parent to aux bridge

2024-10-30 Thread Sui Jingfeng
Hi, On 2024/10/18 23:43, Dmitry Baryshkov wrote: On Fri, Oct 18, 2024 at 03:49:34PM +0300, Abel Vesa wrote: The assignment of the of_node to the aux bridge needs to mark the of_node as reused as well, otherwise resource providers like pinctrl will report a gpio as already requested by a differe

Re: [PATCH v2] drm/bridge: Fix assignment of the of_node of the parent to aux bridge

2024-10-30 Thread Sui Jingfeng
Hi, On 2024/10/21 21:08, Neil Armstrong wrote: Hi, On Fri, 18 Oct 2024 15:49:34 +0300, Abel Vesa wrote: The assignment of the of_node to the aux bridge needs to mark the of_node as reused as well, otherwise resource providers like pinctrl will report a gpio as already requested by a different

Re: [PATCH v2] drm/bridge: Fix assignment of the of_node of the parent to aux bridge

2024-10-21 Thread Neil Armstrong
Hi, On Fri, 18 Oct 2024 15:49:34 +0300, Abel Vesa wrote: > The assignment of the of_node to the aux bridge needs to mark the > of_node as reused as well, otherwise resource providers like pinctrl will > report a gpio as already requested by a different device when both pinconf > and gpios property

Re: [PATCH v2] drm/bridge: Fix assignment of the of_node of the parent to aux bridge

2024-10-21 Thread Johan Hovold
On Fri, Oct 18, 2024 at 03:49:34PM +0300, Abel Vesa wrote: > The assignment of the of_node to the aux bridge needs to mark the > of_node as reused as well, otherwise resource providers like pinctrl will > report a gpio as already requested by a different device when both pinconf > and gpios propert

Re: [PATCH v2] drm/bridge: Fix assignment of the of_node of the parent to aux bridge

2024-10-21 Thread Neil Armstrong
On 18/10/2024 14:49, Abel Vesa wrote: The assignment of the of_node to the aux bridge needs to mark the of_node as reused as well, otherwise resource providers like pinctrl will report a gpio as already requested by a different device when both pinconf and gpios property are present. Fix that by

Re: [PATCH v2] drm/bridge: Fix assignment of the of_node of the parent to aux bridge

2024-10-18 Thread Dmitry Baryshkov
On Fri, Oct 18, 2024 at 03:49:34PM +0300, Abel Vesa wrote: > The assignment of the of_node to the aux bridge needs to mark the > of_node as reused as well, otherwise resource providers like pinctrl will > report a gpio as already requested by a different device when both pinconf > and gpios propert

[PATCH v2] drm/bridge: Fix assignment of the of_node of the parent to aux bridge

2024-10-18 Thread Abel Vesa
The assignment of the of_node to the aux bridge needs to mark the of_node as reused as well, otherwise resource providers like pinctrl will report a gpio as already requested by a different device when both pinconf and gpios property are present. Fix that by using the device_set_of_node_from_dev()