[PATCH v4] gpio: ixp4xx: Handle clock output on pin 14 and 15

Bartosz Golaszewski brgl at bgdev.pl
Fri Dec 1 01:48:56 PST 2023


On Wed, Nov 29, 2023 at 11:37 PM Linus Walleij <linus.walleij at linaro.org> wrote:
>
> This makes it possible to provide basic clock output on pins
> 14 and 15. The clocks are typically used by random electronics,
> not modeled in the device tree, so they just need to be provided
> on request.
>
> In order to not disturb old systems that require that the
> hardware defaults are kept in the clock setting bits, we only
> manipulate these if either device tree property is present.
> Once we know a device needs one of the clocks we can set it
> in the device tree.
>
> Reviewed-by: Andy Shevchenko <andy at kernel.org>
> Signed-off-by: Linus Walleij <linus.walleij at linaro.org>
> ---
> The GPIO block on the very legacy IXP4xx GPIO can provide
> a generated clock output on GPIO 14 and GPIO 15. This
> provides a straight-forward solution with a flag for each
> clock output.
>
> More complicated solutions are thinkable, but I deemed them
> overdesigned for this legacy SoC.
> ---

Applied, thanks!

Bart



More information about the linux-arm-kernel mailing list