linux-gpio.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/2] gpio: ixp4xx: Handle external clock output
@ 2023-09-22  6:07 Linus Walleij
  2023-09-22  6:07 ` [PATCH v2 1/2] gpio: Rewrite IXP4xx GPIO bindings in schema Linus Walleij
  2023-09-22  6:07 ` [PATCH v2 2/2] gpio: ixp4xx: Handle clock output on pin 14 and 15 Linus Walleij
  0 siblings, 2 replies; 3+ messages in thread
From: Linus Walleij @ 2023-09-22  6:07 UTC (permalink / raw)
  To: Linus Walleij, Imre Kaloz, Krzysztof Halasa, Bartosz Golaszewski,
	Andy Shevchenko, Rob Herring, Krzysztof Kozlowski, Conor Dooley
  Cc: linux-arm-kernel, linux-gpio, devicetree, Linus Walleij,
	Rob Herring

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.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
---
Changes in v2:
- Fixed formatting pipe | in bindings
- Fixed som blank lines in bindings
- When we will just blank out the clock register settings,
  don't spend time reading the initial value.
- Link to v1: https://lore.kernel.org/r/20230921-ixp4xx-gpio-clocks-v1-0-574942bf944a@linaro.org

---
Linus Walleij (2):
      gpio: Rewrite IXP4xx GPIO bindings in schema
      gpio: ixp4xx: Handle clock output on pin 14 and 15

 .../devicetree/bindings/gpio/intel,ixp4xx-gpio.txt | 38 -----------
 .../bindings/gpio/intel,ixp4xx-gpio.yaml           | 73 ++++++++++++++++++++++
 MAINTAINERS                                        |  2 +-
 drivers/gpio/gpio-ixp4xx.c                         | 40 +++++++++++-
 4 files changed, 112 insertions(+), 41 deletions(-)
---
base-commit: 0bb80ecc33a8fb5a682236443c1e740d5c917d1d
change-id: 20230921-ixp4xx-gpio-clocks-7e82289f4bb3

Best regards,
-- 
Linus Walleij <linus.walleij@linaro.org>


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2023-09-22  6:08 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-09-22  6:07 [PATCH v2 0/2] gpio: ixp4xx: Handle external clock output Linus Walleij
2023-09-22  6:07 ` [PATCH v2 1/2] gpio: Rewrite IXP4xx GPIO bindings in schema Linus Walleij
2023-09-22  6:07 ` [PATCH v2 2/2] gpio: ixp4xx: Handle clock output on pin 14 and 15 Linus Walleij

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).