lkml.org 
[lkml]   [2018]   [Mar]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH AUTOSEL for 4.15 061/102] pinctrl: sh-pfc: r8a7795-es1: Fix MOD_SEL1 bit[25:24] to 0x3 when using STP_ISEN_1_D
    Date
    From: Takeshi Kihara <takeshi.kihara.df@renesas.com>

    [ Upstream commit b16cd900de7911f96af17327a081a2141a0b763f ]

    This patch fixes the implementation incorrect of MOD_SEL1 bit[25:24]
    value when STP_ISEN_1_D pin function is selected for IPSR16 bit[27:24].

    This is a correction to the incorrect implementation of MOD_SEL register
    pin assignment for R8A7795 SoC specification of R-Car Gen3 Hardware
    User's Manual Rev.0.51E.

    Fixes: 0b0ffc96dbe30fa9 ("pinctrl: sh-pfc: Initial R8A7795 PFC support)
    Signed-off-by: Takeshi Kihara <takeshi.kihara.df@renesas.com>
    Signed-off-by: Yoshihiro Kaneko <ykaneko0929@gmail.com>
    Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
    Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
    ---
    drivers/pinctrl/sh-pfc/pfc-r8a7795-es1.c | 2 +-
    1 file changed, 1 insertion(+), 1 deletion(-)

    diff --git a/drivers/pinctrl/sh-pfc/pfc-r8a7795-es1.c b/drivers/pinctrl/sh-pfc/pfc-r8a7795-es1.c
    index 1d4d84f34d60..292e35d4d2f4 100644
    --- a/drivers/pinctrl/sh-pfc/pfc-r8a7795-es1.c
    +++ b/drivers/pinctrl/sh-pfc/pfc-r8a7795-es1.c
    @@ -1397,7 +1397,7 @@ static const u16 pinmux_data[] = {
    PINMUX_IPSR_MSEL(IP16_27_24, AUDIO_CLKOUT_B, SEL_ADG_1),
    PINMUX_IPSR_MSEL(IP16_27_24, SSI_SCK2_B, SEL_SSI_1),
    PINMUX_IPSR_MSEL(IP16_27_24, TS_SDEN1_D, SEL_TSIF1_3),
    - PINMUX_IPSR_MSEL(IP16_27_24, STP_ISEN_1_D, SEL_SSP1_1_2),
    + PINMUX_IPSR_MSEL(IP16_27_24, STP_ISEN_1_D, SEL_SSP1_1_3),
    PINMUX_IPSR_MSEL(IP16_27_24, STP_OPWM_0_E, SEL_SSP1_0_4),
    PINMUX_IPSR_MSEL(IP16_27_24, RIF3_D0_B, SEL_DRIF3_1),
    PINMUX_IPSR_MSEL(IP16_27_24, TCLK2_B, SEL_TIMER_TMU_1),
    --
    2.14.1
    \
     
     \ /
      Last update: 2018-03-04 01:39    [W:4.200 / U:0.560 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site