Re: Requesting as a GPIO a pin already used through pinctrl

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

 



On Wed, Oct 26, 2016 at 5:49 PM, Maxime Ripard
<maxime.ripard@xxxxxxxxxxxxxxxxxx> wrote:

> In order not to break the DT, we looked at the code of pin_request
> (which is the one using the strict flag), and went to the conclusion
> that it needs to be amended to check the owner based on the device
> structure pointer.
(...)
> Which means that in order to avoid removing one property from a DT to
> fix an actual bug that can cause real stability issues to Linux, we
> end up reworking the gpiolib API and fixing all the users.

DT backward compatibility is for one case: when devices are shipped
with a DT burnt into ROM/flash. Is that happening?

If Allwinner or their subvendors are not shipping devcie trees - i.e. if
this a community-only effort and you're just building and booting the
DT+kernel on all these devices, by all means break the ABI if it
makes sense. Noone is going to complain.

Then we can discuss backward compatibility the day Allwinner start
shipping device trees, not now.

Yours,
Linus Walleij
--
To unsubscribe from this list: send the line "unsubscribe linux-gpio" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[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