All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v5 0/4] serial: 8250_aspeed_vuart: generalized DT properties
@ 2021-04-08  1:16 ` Zev Weiss
  0 siblings, 0 replies; 41+ messages in thread
From: Zev Weiss @ 2021-04-08  1:16 UTC (permalink / raw)
  To: Joel Stanley
  Cc: openbmc, linux-arm-kernel, linux-aspeed, linux-kernel,
	Andrew Jeffery, Zev Weiss, Greg Kroah-Hartman, Jiri Slaby,
	Lubomir Rintel, Rob Herring, devicetree, linux-serial

This series generalizes the aspeed-vuart driver's device tree
properties to cover all the attributes it currently exposes via sysfs.

The aspeed,sirq-polarity-sense property was a bit of a design mistake
in that it ties Aspeed VUART SIRQ polarity to SCU register bits that
aren't really inherently related to it; the first patch in this series
deprecates it (though we hope to eventually remove it).

The rest of the series adds two new properties, aspeed,lpc-io-reg and
aspeed,lpc-interrupts.  The latter allows describing the SIRQ polarity
(along with the interrupt number) directly, providing a simpler
replacement for aspeed,sirq-polarity-sense.


Changes since v4 [3]:
 - fixed commit reference formatting in commit message

Changes since v3 [2]:
 - renamed properties to match aspeed,ast2400-kcs-bmc

Changes since v2 [0]:
 - expanded to also handle sirq number and lpc address in addition to
   sirq polarity
 - added default settings if DT properties not specified
 - refactored existing sysfs code slightly, adding range checks
 - cleaned up 'make dt_binding_check' warnings

Changes since v1 [1]:
 - deprecate and retain aspeed,sirq-polarity-sense instead of removing it
 - drop e3c246d4i dts addition from this series


[0] https://lore.kernel.org/openbmc/20210401005702.28271-1-zev@bewilderbeest.net/
[1] https://lore.kernel.org/openbmc/20210330002338.335-1-zev@bewilderbeest.net/
[2] https://lore.kernel.org/openbmc/20210402004716.15961-1-zev@bewilderbeest.net/
[3] https://lore.kernel.org/openbmc/20210402182724.20848-1-zev@bewilderbeest.net/


Zev Weiss (4):
  dt-bindings: serial: 8250: deprecate aspeed,sirq-polarity-sense
  drivers/tty/serial/8250: refactor sirq and lpc address setting code
  drivers/tty/serial/8250: add aspeed,lpc-io-reg and
    aspeed,lpc-interrupts DT properties
  dt-bindings: serial: 8250: add aspeed,lpc-io-reg and
    aspeed,lpc-interrupts

 .../devicetree/bindings/serial/8250.yaml      | 28 +++++-
 drivers/tty/serial/8250/8250_aspeed_vuart.c   | 95 +++++++++++++++----
 2 files changed, 103 insertions(+), 20 deletions(-)

-- 
2.31.1


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

end of thread, other threads:[~2021-04-09  9:53 UTC | newest]

Thread overview: 41+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-08  1:16 [PATCH v5 0/4] serial: 8250_aspeed_vuart: generalized DT properties Zev Weiss
2021-04-08  1:16 ` Zev Weiss
2021-04-08  1:16 ` Zev Weiss
2021-04-08  1:16 ` [PATCH v5 1/4] dt-bindings: serial: 8250: deprecate aspeed,sirq-polarity-sense Zev Weiss
2021-04-08  1:16   ` [PATCH v5 1/4] dt-bindings: serial: 8250: deprecate aspeed, sirq-polarity-sense Zev Weiss
2021-04-08  1:16   ` Zev Weiss
2021-04-08 15:59   ` Rob Herring
2021-04-08 15:59     ` Rob Herring
2021-04-08 15:59     ` Rob Herring
2021-04-08  1:16 ` [PATCH v5 2/4] drivers/tty/serial/8250: refactor sirq and lpc address setting code Zev Weiss
2021-04-08  1:16   ` Zev Weiss
2021-04-08  1:16   ` Zev Weiss
2021-04-09  5:06   ` Andrew Jeffery
2021-04-09  5:06     ` Andrew Jeffery
2021-04-09  5:06     ` Andrew Jeffery
2021-04-09  7:01     ` Zev Weiss
2021-04-09  7:01       ` Zev Weiss
2021-04-09  7:01       ` Zev Weiss
2021-04-09  7:11       ` Andrew Jeffery
2021-04-09  7:24   ` Andy Shevchenko
2021-04-09  7:38     ` Zev Weiss
2021-04-09  7:38       ` Zev Weiss
2021-04-09  7:38       ` Zev Weiss
2021-04-09  9:51       ` Andy Shevchenko
2021-04-09  9:51         ` Andy Shevchenko
2021-04-09  9:51         ` Andy Shevchenko
2021-04-08  1:16 ` [PATCH v5 3/4] drivers/tty/serial/8250: add aspeed,lpc-io-reg and aspeed,lpc-interrupts DT properties Zev Weiss
2021-04-08  1:16   ` [PATCH v5 3/4] drivers/tty/serial/8250: add aspeed, lpc-io-reg and aspeed, lpc-interrupts " Zev Weiss
2021-04-08  1:16   ` Zev Weiss
2021-04-09  5:14   ` Andrew Jeffery
2021-04-09  5:14     ` Andrew Jeffery
2021-04-09  5:14     ` Andrew Jeffery
2021-04-09  6:35     ` Zev Weiss
2021-04-09  6:35       ` Zev Weiss
2021-04-09  6:35       ` Zev Weiss
2021-04-08  1:16 ` [PATCH v5 4/4] dt-bindings: serial: 8250: add aspeed,lpc-io-reg and aspeed,lpc-interrupts Zev Weiss
2021-04-08  1:16   ` [PATCH v5 4/4] dt-bindings: serial: 8250: add aspeed, lpc-io-reg and aspeed, lpc-interrupts Zev Weiss
2021-04-08  1:16   ` Zev Weiss
2021-04-08 16:00   ` Rob Herring
2021-04-08 16:00     ` Rob Herring
2021-04-08 16:00     ` Rob Herring

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.