linux-serial.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 00/16] sh-sci: Remove unnecessary fields from platform data
@ 2013-11-28 21:43 Laurent Pinchart
  2013-11-28 21:43 ` [PATCH 01/16] serial: sh-sci: Move overrun_bit and error_mask fields out of pdata Laurent Pinchart
                   ` (16 more replies)
  0 siblings, 17 replies; 18+ messages in thread
From: Laurent Pinchart @ 2013-11-28 21:43 UTC (permalink / raw)
  To: linux-sh; +Cc: linux-serial

Hello,

This patch set removes or replaces unneeded fields from the sh-sci platform
data structure. Fields are simply removed when unused (gpios), moved to the
sci_port structure when used by the driver but not by board code (overrun_bit
and error_mask), or replaced by a more explicit field with a default value
computed in the driver for most cases (scbrr_algo_id).

The patches are based on top of the sh-sci DT patch series previously posted
to the mailing lists.

Laurent Pinchart (16):
  serial: sh-sci: Move overrun_bit and error_mask fields out of pdata
  serial: sh-sci: Remove unused GPIO request code
  serial: sh-sci: Compute overrun_bit without using baud rate algo
  serial: sh-sci: Rework baud rate calculation
  ARM: shmobile: sh7372: Don't set plat_sci_port scbrr_algo_id field
  ARM: shmobile: sh73a0: Don't set plat_sci_port scbrr_algo_id field
  ARM: shmobile: r7s72100: Don't set plat_sci_port scbrr_algo_id field
  ARM: shmobile: r8a73a4: Don't set plat_sci_port scbrr_algo_id field
  ARM: shmobile: r8a7740: Don't set plat_sci_port scbrr_algo_id field
  ARM: shmobile: r8a7778: Don't set plat_sci_port scbrr_algo_id field
  ARM: shmobile: r8a7779: Don't set plat_sci_port scbrr_algo_id field
  ARM: shmobile: r8a7790: Don't set plat_sci_port scbrr_algo_id field
  ARM: shmobile: r8a7791: Don't set plat_sci_port scbrr_algo_id field
  sh: sh772[34]: Set serial port sampling rate to 8 for SCIFA ports
  sh: Don't set plat_sci_port scbrr_algo_id field
  serial: sh-sci: Remove platform data scbrr_algo_id field

 arch/arm/mach-shmobile/setup-r7s72100.c |   1 -
 arch/arm/mach-shmobile/setup-r8a73a4.c  |   1 -
 arch/arm/mach-shmobile/setup-r8a7740.c  |   1 -
 arch/arm/mach-shmobile/setup-r8a7778.c  |   1 -
 arch/arm/mach-shmobile/setup-r8a7779.c  |   1 -
 arch/arm/mach-shmobile/setup-r8a7790.c  |  11 +--
 arch/arm/mach-shmobile/setup-r8a7791.c  |   9 +-
 arch/arm/mach-shmobile/setup-sh7372.c   |   1 -
 arch/arm/mach-shmobile/setup-sh73a0.c   |   1 -
 arch/sh/kernel/cpu/sh2/setup-sh7619.c   |   3 -
 arch/sh/kernel/cpu/sh2a/setup-mxg.c     |   1 -
 arch/sh/kernel/cpu/sh2a/setup-sh7201.c  |   8 --
 arch/sh/kernel/cpu/sh2a/setup-sh7203.c  |   4 -
 arch/sh/kernel/cpu/sh2a/setup-sh7206.c  |   4 -
 arch/sh/kernel/cpu/sh2a/setup-sh7264.c  |   8 --
 arch/sh/kernel/cpu/sh2a/setup-sh7269.c  |   8 --
 arch/sh/kernel/cpu/sh3/setup-sh7705.c   |   2 -
 arch/sh/kernel/cpu/sh3/setup-sh770x.c   |   3 -
 arch/sh/kernel/cpu/sh3/setup-sh7710.c   |   2 -
 arch/sh/kernel/cpu/sh3/setup-sh7720.c   |   2 -
 arch/sh/kernel/cpu/sh4/setup-sh4-202.c  |   1 -
 arch/sh/kernel/cpu/sh4/setup-sh7750.c   |   2 -
 arch/sh/kernel/cpu/sh4/setup-sh7760.c   |   4 -
 arch/sh/kernel/cpu/sh4a/setup-sh7343.c  |   4 -
 arch/sh/kernel/cpu/sh4a/setup-sh7366.c  |   1 -
 arch/sh/kernel/cpu/sh4a/setup-sh7722.c  |   3 -
 arch/sh/kernel/cpu/sh4a/setup-sh7723.c  |   9 +-
 arch/sh/kernel/cpu/sh4a/setup-sh7724.c  |   9 +-
 arch/sh/kernel/cpu/sh4a/setup-sh7734.c  |   6 --
 arch/sh/kernel/cpu/sh4a/setup-sh7757.c  |   3 -
 arch/sh/kernel/cpu/sh4a/setup-sh7763.c  |   3 -
 arch/sh/kernel/cpu/sh4a/setup-sh7770.c  |  10 --
 arch/sh/kernel/cpu/sh4a/setup-sh7780.c  |   4 -
 arch/sh/kernel/cpu/sh4a/setup-sh7785.c  |   6 --
 arch/sh/kernel/cpu/sh4a/setup-sh7786.c  |   6 --
 arch/sh/kernel/cpu/sh4a/setup-shx3.c    |   3 -
 arch/sh/kernel/cpu/sh5/setup-sh5.c      |   1 -
 drivers/tty/serial/sh-sci.c             | 170 ++++++++++----------------------
 drivers/tty/serial/sh-sci.h             |   2 +-
 include/linux/serial_sci.h              |  25 +----
 40 files changed, 68 insertions(+), 276 deletions(-)

-- 
Regards,

Laurent Pinchart


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

end of thread, other threads:[~2013-12-03 18:43 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-11-28 21:43 [PATCH 00/16] sh-sci: Remove unnecessary fields from platform data Laurent Pinchart
2013-11-28 21:43 ` [PATCH 01/16] serial: sh-sci: Move overrun_bit and error_mask fields out of pdata Laurent Pinchart
2013-11-28 21:43 ` [PATCH 02/16] serial: sh-sci: Remove unused GPIO request code Laurent Pinchart
2013-11-28 21:43 ` [PATCH 03/16] serial: sh-sci: Compute overrun_bit without using baud rate algo Laurent Pinchart
2013-11-28 21:43 ` [PATCH 04/16] serial: sh-sci: Rework baud rate calculation Laurent Pinchart
2013-11-28 21:43 ` [PATCH 05/16] ARM: shmobile: sh7372: Don't set plat_sci_port scbrr_algo_id field Laurent Pinchart
2013-11-28 21:43 ` [PATCH 06/16] ARM: shmobile: sh73a0: " Laurent Pinchart
2013-11-28 21:43 ` [PATCH 07/16] ARM: shmobile: r7s72100: " Laurent Pinchart
2013-11-28 21:43 ` [PATCH 08/16] ARM: shmobile: r8a73a4: " Laurent Pinchart
2013-11-28 21:43 ` [PATCH 09/16] ARM: shmobile: r8a7740: " Laurent Pinchart
2013-11-28 21:43 ` [PATCH 10/16] ARM: shmobile: r8a7778: " Laurent Pinchart
2013-11-28 21:43 ` [PATCH 11/16] ARM: shmobile: r8a7779: " Laurent Pinchart
2013-11-28 21:43 ` [PATCH 12/16] ARM: shmobile: r8a7790: " Laurent Pinchart
2013-11-28 21:43 ` [PATCH 13/16] ARM: shmobile: r8a7791: " Laurent Pinchart
2013-11-28 21:43 ` [PATCH 14/16] sh: sh772[34]: Set serial port sampling rate to 8 for SCIFA ports Laurent Pinchart
2013-11-28 21:43 ` [PATCH 15/16] sh: Don't set plat_sci_port scbrr_algo_id field Laurent Pinchart
2013-11-28 21:43 ` [PATCH 16/16] serial: sh-sci: Remove platform data " Laurent Pinchart
2013-12-03 18:44 ` [PATCH 00/16] sh-sci: Remove unnecessary fields from platform data Greg KH

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).