Re: [PATCH v6 2/4] pps: descriptor-based gpio, capture-clear addition

From: Richard Cochran
Date: Tue Nov 13 2018 - 10:14:49 EST


On Tue, Nov 13, 2018 at 02:40:05PM +1100, Tom Burkart wrote:
> The change from integer based GPIO API to the descriptor based API
> breaks backward compatibility for the devicetree. This is due to
> the descriptor based API appending "-gpio" or "-gpios" (see
> Documentation/gpio/base.txt.)

Device tree is a user space facing ABI, and so you must continue to
support the legacy binding as well.

Thanks,
Richard