lkml.org 
[lkml]   [2013]   [Nov]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    From
    Date
    Subject[PATCH 00/03] pinctrl: sh-pfc: r7s72100 SCIF2 support
    pinctrl: sh-pfc: r7s72100 SCIF2 support

    [PATCH 01/03] pinctrl: sh-pfc: r7s72100 SCIF2 port3 support
    [PATCH 02/03] pinctrl: sh-pfc: r7s72100 SCIF2 macro conversion
    [PATCH 03/03] pinctrl: sh-pfc: r7s72100 SCIF2 port4, 6 and 8 support

    Add PINCTL support for one channel of on-chip UART included in the r7s72100
    SoC. This UART is called SCIF2 and happens to be the console port on the
    Genmai board.

    These patches are written in a broken out way to show how the r7s72100
    hardware allows fine grained control of the pins, and proposes code that
    a) allows individual assignment of TxD and RxD signals.
    b) introduces macros to allow less verbose tables
    c) lists single-pin functions with one pin per line

    Basically, just using "clk", "data" and "ctrl" to describe groups is not
    fine grained enough for this SoC. For such fine grained on-chip devices
    there will be single-pin groups, and in the case of the Genmai board the
    groups to enable SCIF2 will be "scif2_txd_p3_0" and "scif2_rxd_p3_2".

    If you prefer me to adjust this code somehow then please let me know.

    Signed-off-by: Magnus Damm <damm@opensource.se>
    ---

    Written against renesas.git tag renesas-devel-v3.13-rc1-20131125 and
    [PATCH] pinctrl: sh-pfc: Initial r7s72100 support

    drivers/pinctrl/sh-pfc/pfc-r7s72100.c | 117 ++++++++++++++++++++++-----------
    1 file changed, 80 insertions(+), 37 deletions(-)


    \
     
     \ /
      Last update: 2013-11-27 09:21    [W:2.864 / U:0.060 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site