Re: [PATCH v4 1/4] pwm: pca9685: Switch to atomic API
From: Sven Van Asbroeck
Date: Mon Dec 14 2020 - 11:29:39 EST
Hi Thierry,
On Mon, Dec 14, 2020 at 9:28 AM Thierry Reding <thierry.reding@xxxxxxxxx> wrote:
>
>
> Perhaps Clemens and Sven can shed some light into how this driver is
> being used. There clearly seem to be people interested in this driver,
> so why are there no consumers of this upstream. What's keeping people
> from upstreaming device trees that make use of this?
>
There are many reasons why a driver may not appear in the devicetree.
In my specific case, I backported the PCA9685 driver to a 4.1 Android vendor
kernel. This is too far behind to upstream. Also, the company regards the
devicetree as a trade secret, which it is entitled to do, as devicetrees
tend to be dual-licensed (GPL and MIT).
More generally, I believe that the PCA9685 is quite popular in the Raspberry
Pi world. Raspi devicetrees are not part of mainline, for various reasons
that we don't need to get into here.
Example:
https://learn.adafruit.com/adafruit-16-channel-servo-driver-with-raspberry-pi