Re: gpiolib of_node removal

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Mar 08, 2023 at 05:17:40PM -0800, Dipen Patel wrote:
> Hi Andy, Bartosz,
> 
> I see that 6.3-rc1 has https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/include/linux/gpio/driver.h?id=70d0fc4288dabd65025fde7774b4f9262afa9034
> commit which removes of_node data member as it was deemed unused. Incidentally, I actually am using that member in ongoing patch series
> https://patchwork.kernel.org/project/timestamp/patch/20230214115553.10416-3-dipenp@xxxxxxxxxx/ and specifically in tegra_get_gpiochip_from_of_node function.
> 
> Should I revert that patch and add it in my next patch series or is there any other way to retrieve gpio_chip?

I don't know what you are doing exactly, but either use parent device for GPIO
chip or supply a custom fwnode. The OF node won't be resurrected.

-- 
With Best Regards,
Andy Shevchenko





[Index of Archives]     [Linux SPI]     [Linux Kernel]     [Linux ARM (vger)]     [Linux ARM MSM]     [Linux Omap]     [Linux Arm]     [Linux Tegra]     [Fedora ARM]     [Linux for Samsung SOC]     [eCos]     [Linux Fastboot]     [Gcc Help]     [Git]     [DCCP]     [IETF Announce]     [Security]     [Linux MIPS]     [Yosemite Campsites]

  Powered by Linux