All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH V3 0/7] serial: Configure {big,native}-endian MMIO accesses via DT
@ 2014-11-24 23:36 Kevin Cernekee
  2014-11-24 23:36 ` [PATCH V3 1/7] of: Add helper function to check MMIO register endianness Kevin Cernekee
                   ` (9 more replies)
  0 siblings, 10 replies; 59+ messages in thread
From: Kevin Cernekee @ 2014-11-24 23:36 UTC (permalink / raw)
  To: gregkh, jslaby, robh, grant.likely
  Cc: arnd, f.fainelli, linux-serial, devicetree, linux-mips

My last submission attempted to work around serial driver coexistence
problems on multiplatform kernels.  Since there are still questions
surrounding the best way to solve that problem, this patch series
will focus on the narrower topic of big endian MMIO support on serial.


V2->V3:

 - Document the new DT properties.

 - Add libfdt-based wrapper, to complement the "struct device_node" based
   version.

 - Restructure early_init_dt_scan_chosen_serial() changes to use a
   temporary variable, so it is easy to add more of_setup_earlycon()
   properties later.

 - Make of_serial and serial8250 honor the new "big-endian" property.


This series applies cleanly to:

git://git.kernel.org/pub/scm/linux/kernel/git/glikely/linux.git devicetree/next-overlay

but was tested on the mips-for-linux-next branch because my BE platform
isn't supported in mainline yet.


Kevin Cernekee (7):
  of: Add helper function to check MMIO register endianness
  of/fdt: Add endianness helper function for early init code
  of: Document {little,big,native}-endian bindings
  serial: core: Add big-endian iotype
  serial: earlycon: Set UPIO_MEM32BE based on DT properties
  serial: of_serial: Support big-endian register accesses
  serial: 8250: Add support for big-endian MMIO accesses

 .../devicetree/bindings/common-properties.txt      | 60 ++++++++++++++++++++++
 drivers/of/base.c                                  | 23 +++++++++
 drivers/of/fdt.c                                   | 26 +++++++++-
 drivers/tty/serial/8250/8250_core.c                | 20 ++++++++
 drivers/tty/serial/8250/8250_early.c               |  5 ++
 drivers/tty/serial/earlycon.c                      |  4 +-
 drivers/tty/serial/of_serial.c                     |  3 +-
 drivers/tty/serial/serial_core.c                   |  2 +
 include/linux/of.h                                 |  6 +++
 include/linux/of_fdt.h                             |  2 +
 include/linux/serial_core.h                        | 15 +++---
 11 files changed, 155 insertions(+), 11 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/common-properties.txt

-- 
2.1.0

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

end of thread, other threads:[~2015-04-08 17:56 UTC | newest]

Thread overview: 59+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-11-24 23:36 [PATCH V3 0/7] serial: Configure {big,native}-endian MMIO accesses via DT Kevin Cernekee
2014-11-24 23:36 ` [PATCH V3 1/7] of: Add helper function to check MMIO register endianness Kevin Cernekee
2014-11-24 23:36 ` [PATCH V3 2/7] of/fdt: Add endianness helper function for early init code Kevin Cernekee
2014-11-24 23:36 ` [PATCH V3 3/7] of: Document {little,big,native}-endian bindings Kevin Cernekee
2015-03-02 13:14   ` Peter Hurley
2015-03-02 13:14     ` Peter Hurley
2015-03-02 14:56     ` Kevin Cernekee
2015-03-02 14:56       ` Kevin Cernekee
2015-03-02 16:08       ` Peter Hurley
2015-03-02 16:08         ` Peter Hurley
2015-03-02 16:28         ` Kevin Cernekee
2015-03-02 16:28           ` Kevin Cernekee
2015-03-02 17:45           ` Peter Hurley
2015-03-02 17:45             ` Peter Hurley
2015-03-02 18:57             ` Kevin Cernekee
2015-03-02 18:57               ` Kevin Cernekee
2015-03-20 23:48               ` Grant Likely
2015-03-20 23:48                 ` Grant Likely
2014-11-24 23:36 ` [PATCH V3 4/7] serial: core: Add big-endian iotype Kevin Cernekee
2014-11-24 23:36 ` [PATCH V3 5/7] serial: earlycon: Set UPIO_MEM32BE based on DT properties Kevin Cernekee
2014-11-24 23:36   ` Kevin Cernekee
2015-03-01 22:23   ` Peter Hurley
2015-03-01 22:23     ` Peter Hurley
2015-03-28  1:36     ` Grant Likely
2015-03-28  1:36       ` Grant Likely
2015-03-28 17:01       ` Peter Hurley
2015-03-28 17:01         ` Peter Hurley
2015-03-28 19:28         ` Kevin Cernekee
2015-03-28 19:28           ` Kevin Cernekee
2015-04-02 15:36           ` Peter Hurley
2015-04-02 15:36             ` Peter Hurley
2015-04-08 17:56             ` Peter Hurley
2015-04-08 17:56               ` Peter Hurley
2015-04-02 16:15           ` Peter Hurley
2015-04-02 16:15             ` Peter Hurley
2015-04-02 13:32         ` Grant Likely
2015-04-02 13:32           ` Grant Likely
2015-04-02 15:33           ` Peter Hurley
2015-04-02 15:33             ` Peter Hurley
2015-04-02 13:46         ` Rob Herring
2015-04-02 13:46           ` Rob Herring
2015-04-02 15:35           ` Peter Hurley
2015-04-02 15:35             ` Peter Hurley
2015-04-06 17:36             ` Peter Hurley
2015-04-06 17:36               ` Peter Hurley
2015-04-06 21:07               ` Rob Herring
2015-04-06 21:07                 ` Rob Herring
2014-11-24 23:36 ` [PATCH V3 6/7] serial: of_serial: Support big-endian register accesses Kevin Cernekee
2014-11-24 23:36 ` [PATCH V3 7/7] serial: 8250: Add support for big-endian MMIO accesses Kevin Cernekee
2014-11-24 23:55 ` [PATCH V3 0/7] serial: Configure {big,native}-endian MMIO accesses via DT Florian Fainelli
2014-11-25 10:21 ` Arnd Bergmann
2014-11-25 15:10 ` Grant Likely
2014-11-25 17:38   ` Greg KH
2014-11-25 21:11     ` Greg KH
2014-11-26 13:14       ` Grant Likely
2015-02-21 20:53         ` Kevin Cernekee
2015-02-21 20:53           ` Kevin Cernekee
2015-02-21 22:18           ` Rob Herring
2015-02-21 22:18             ` 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.