[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <aBh0K2YGhgxk6ipv@valkosipuli.retiisi.eu>
Date: Mon, 5 May 2025 08:17:47 +0000
From: Sakari Ailus <sakari.ailus@....fi>
To: Andy Shevchenko <andriy.shevchenko@...ux.intel.com>
Cc: Tomi Valkeinen <tomi.valkeinen@...asonboard.com>,
linux-media@...r.kernel.org, linux-kernel@...r.kernel.org,
Mauro Carvalho Chehab <mchehab@...nel.org>
Subject: Re: [PATCH v1 1/1] media: i2c: ds90ub9x3: Remove unneeded
of_gpio_n_cells assignment
Hi Andy, Tomi,
On Thu, Apr 03, 2025 at 01:58:10PM +0300, Andy Shevchenko wrote:
> On Thu, Apr 03, 2025 at 11:07:40AM +0300, Tomi Valkeinen wrote:
> > On 31/03/2025 10:02, Andy Shevchenko wrote:
> > > The default for of_gpio_n_cells is 2, no need to assign the same
> > > in the user.
> >
> > Where is this documented? I'm also having trouble finding the
> > implementation.
>
> The idea was introduced back in 391c970c0dd1 ("of/gpio: add default of_xlate
> function if device has a node pointer"). But now I realised that it was never
> assumed that default is 2 for the cases when the ->of_xlate() explicitly
> provided. So, this is wrong patch, thanks for the review!
Does the same conclusion apply to the similar max96717 patch as well?
--
Sakari Ailus
Powered by blists - more mailing lists