sh-pfc: r8a7791: fix typo in MLB_CLK
Subsystems (3)
PATCH 1/2 sh-pfc: r8a7791: fix typo in MLB_CLK
The R8A7791 manual sometimes calls the signal MLB_CLK and sometimes MLB_CK; the latter can only be encountered in the PFC section and is probably just a typo (this signal is always called MLB_CLK in the R8A7790 manual). Fix occurences of MLB_CK throughout the R8A7791 PFC driver.
Based on original patch by Andrey Gusakov <[email protected]>.
---
The patch is against the 'devel' branch of Linus W.'s 'linux-pinctrl.git' repo.
drivers/pinctrl/sh-pfc/pfc-r8a7791.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)
drivers/pinctrl/sh-pfc/pfc-r8a7791.c +4 -4
@@ -378,7 +378,7 @@ enum {/* IPSR16 */ FN_HRX1 ,FN_SCIFB1_RXD ,FN_VI1_R0_B ,FN_GLO_SDATA_C ,FN_VI1_DATA6_C ,FN_HTX1 ,FN_SCIFB1_TXD ,FN_VI1_R1_B ,FN_GLO_SS_C ,FN_VI1_DATA7_C , -FN_HSCK1 ,FN_SCIFB1_SCK ,FN_MLB_CK ,FN_GLO_RFON_C , +FN_HSCK1 ,FN_SCIFB1_SCK ,FN_MLB_CLK ,FN_GLO_RFON_C ,FN_HCTS1_N ,FN_SCIFB1_CTS_N ,FN_MLB_SIG ,FN_CAN1_TX_B , FN_HRTS1_N, FN_SCIFB1_RTS_N, FN_MLB_DAT, FN_CAN1_RX_B,
@@ -764,7 +764,7 @@ enum {GLO_SDATA_C_MARK ,VI1_DATA6_C_MARK ,HTX1_MARK ,SCIFB1_TXD_MARK ,VI1_R1_B_MARK ,GLO_SS_C_MARK ,VI1_DATA7_C_MARK , -HSCK1_MARK ,SCIFB1_SCK_MARK ,MLB_CK_MARK ,GLO_RFON_C_MARK , +HSCK1_MARK ,SCIFB1_SCK_MARK ,MLB_CLK_MARK ,GLO_RFON_C_MARK ,HCTS1_N_MARK ,SCIFB1_CTS_N_MARK ,MLB_SIG_MARK ,CAN1_TX_B_MARK ,HRTS1_N_MARK ,SCIFB1_RTS_N_MARK ,MLB_DAT_MARK ,CAN1_RX_B_MARK , PINMUX_MARK_END,
@@ -1664,7 +1664,7 @@ static const u16 pinmux_data[] = {PINMUX_IPSR_MODSEL_DATA (IP16_5_3 ,VI1_DATA7_C ,SEL_VI1_2 ),PINMUX_IPSR_MODSEL_DATA (IP16_7_6 ,HSCK1 ,SEL_HSCIF1_0 ),PINMUX_IPSR_MODSEL_DATA (IP16_7_6 ,SCIFB1_SCK ,SEL_SCIFB1_0 ), -PINMUX_IPSR_DATA (IP16_7_6 ,MLB_CK ), +PINMUX_IPSR_DATA (IP16_7_6 ,MLB_CLK ),PINMUX_IPSR_MODSEL_DATA (IP16_7_6 ,GLO_RFON_C ,SEL_GPS_2 ),PINMUX_IPSR_MODSEL_DATA (IP16_9_8 ,HCTS1_N ,SEL_HSCIF1_0 ), PINMUX_IPSR_DATA(IP16_9_8, SCIFB1_CTS_N),
@@ -5974,7 +5974,7 @@ static const struct pinmux_cfg_reg pinmu/* IP16_9_8 [2] */ FN_HCTS1_N ,FN_SCIFB1_CTS_N ,FN_MLB_SIG ,FN_CAN1_TX_B ,/* IP16_7_6 [2] */ -FN_HSCK1 ,FN_SCIFB1_SCK ,FN_MLB_CK ,FN_GLO_RFON_C , +FN_HSCK1 ,FN_SCIFB1_SCK ,FN_MLB_CLK ,FN_GLO_RFON_C ,/* IP16_5_3 [3] */ FN_HTX1 ,FN_SCIFB1_TXD ,FN_VI1_R1_B , FN_GLO_SS_C, FN_VI1_DATA7_C,
Quoted 8 lines · Sergei Shtylyov
The R8A7791 manual sometimes calls the signal
MLB_CLKand sometimesMLB_CK; the latter can only be encountered in the PFC section and is probably just a typo (this signal is always calledMLB_CLKin the R8A7790 manual). Fix occurences ofMLB_CKthroughout the R8A7791 PFC driver.Based on original patch by Andrey Gusakov <[email protected]>.
Signed-off-by Sergei Shtylyov <[email protected]>
Thanks, looks OK to me.
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected]
In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
Hi Sergei,
Thank you for the patch.
Quoted 9 lines · On Saturday 10 January 2015 21:21:46 Sergei Shtylyov wrote:
The R8A7791 manual sometimes calls the signal
MLB_CLKand sometimesMLB_CK; the latter can only be encountered in the PFC section and is probably just a typo (this signal is always calledMLB_CLKin the R8A7790 manual). Fix occurences ofMLB_CKthroughout the R8A7791 PFC driver.Based on original patch by Andrey Gusakov
<[email protected]>.Signed-off-by Sergei Shtylyov <[email protected]>
Quoted 48 lines
---
The patch is against the 'devel' branch of Linus W.'s 'linux-pinctrl.git' repo.drivers/pinctrl/sh-pfc/pfc-r8a7791.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)Index:
linux-pinctrl/drivers/pinctrl/sh-pfc/pfc-r8a7791.c
===================================================================drivers/pinctrl/sh-pfc/pfc-r8a7791.c +4
-4@@ -378,7 +378,7 @@ enum {/* IPSR16 */ FN_HRX1 ,FN_SCIFB1_RXD ,FN_VI1_R0_B ,FN_GLO_SDATA_C ,FN_VI1_DATA6_C ,FN_HTX1 ,FN_SCIFB1_TXD ,FN_VI1_R1_B ,FN_GLO_SS_C ,FN_VI1_DATA7_C , -FN_HSCK1 ,FN_SCIFB1_SCK ,FN_MLB_CK ,FN_GLO_RFON_C , +FN_HSCK1 ,FN_SCIFB1_SCK ,FN_MLB_CLK ,FN_GLO_RFON_C ,FN_HCTS1_N ,FN_SCIFB1_CTS_N ,FN_MLB_SIG ,FN_CAN1_TX_B , FN_HRTS1_N, FN_SCIFB1_RTS_N, FN_MLB_DAT, FN_CAN1_RX_B,@@ -764,7 +764,7 @@ enum {GLO_SDATA_C_MARK ,VI1_DATA6_C_MARK ,HTX1_MARK ,SCIFB1_TXD_MARK ,VI1_R1_B_MARK ,GLO_SS_C_MARK ,VI1_DATA7_C_MARK , -HSCK1_MARK ,SCIFB1_SCK_MARK ,MLB_CK_MARK ,GLO_RFON_C_MARK , +HSCK1_MARK ,SCIFB1_SCK_MARK ,MLB_CLK_MARK ,GLO_RFON_C_MARK ,HCTS1_N_MARK ,SCIFB1_CTS_N_MARK ,MLB_SIG_MARK ,CAN1_TX_B_MARK ,HRTS1_N_MARK ,SCIFB1_RTS_N_MARK ,MLB_DAT_MARK ,CAN1_RX_B_MARK , PINMUX_MARK_END,@@ -1664,7 +1664,7 @@ static const u16 pinmux_data[] = {PINMUX_IPSR_MODSEL_DATA (IP16_5_3 ,VI1_DATA7_C ,SEL_VI1_2 ),PINMUX_IPSR_MODSEL_DATA (IP16_7_6 ,HSCK1 ,SEL_HSCIF1_0 ),PINMUX_IPSR_MODSEL_DATA (IP16_7_6 ,SCIFB1_SCK ,SEL_SCIFB1_0 ), -PINMUX_IPSR_DATA (IP16_7_6 ,MLB_CK ), +PINMUX_IPSR_DATA (IP16_7_6 ,MLB_CLK ),PINMUX_IPSR_MODSEL_DATA (IP16_7_6 ,GLO_RFON_C ,SEL_GPS_2 ),PINMUX_IPSR_MODSEL_DATA (IP16_9_8 ,HCTS1_N ,SEL_HSCIF1_0 ), PINMUX_IPSR_DATA(IP16_9_8, SCIFB1_CTS_N),@@ -5974,7 +5974,7 @@ static const struct pinmux_cfg_reg pinmu/* IP16_9_8 [2] */ FN_HCTS1_N ,FN_SCIFB1_CTS_N ,FN_MLB_SIG ,FN_CAN1_TX_B ,/* IP16_7_6 [2] */ -FN_HSCK1 ,FN_SCIFB1_SCK ,FN_MLB_CK ,FN_GLO_RFON_C , +FN_HSCK1 ,FN_SCIFB1_SCK ,FN_MLB_CLK ,FN_GLO_RFON_C ,/* IP16_5_3 [3] */ FN_HTX1 ,FN_SCIFB1_TXD ,FN_VI1_R1_B , FN_GLO_SS_C, FN_VI1_DATA7_C,
Signature · 3 lines
Regards, Laurent Pinchart
Quoted 8 lines · Sergei Shtylyov
The R8A7791 manual sometimes calls the signal
MLB_CLKand sometimesMLB_CK; the latter can only be encountered in the PFC section and is probably just a typo (this signal is always calledMLB_CLKin the R8A7790 manual). Fix occurences ofMLB_CKthroughout the R8A7791 PFC driver.Based on original patch by Andrey Gusakov <[email protected]>.
Signed-off-by Sergei Shtylyov <[email protected]>
Patch applied with the ACKs.
Yours,
Linus Walleij
Hello.
Quoted 10 lines · Linus Walleij
Quoted 8 lines
The R8A7791 manual sometimes calls the signal
MLB_CLKand sometimesMLB_CK; the latter can only be encountered in the PFC section and is probably just a typo (this signal is always calledMLB_CLKin the R8A7790 manual). Fix occurences ofMLB_CKthroughout the R8A7791 PFC driver.Based on original patch by Andrey Gusakov <[email protected]>.
Signed-off-by Sergei Shtylyov <[email protected]>Patch applied with the ACKs.
Thanks. But to which tree/branch? I'm not seeing it anywhere...
Quoted 2 lines
Yours,
Linus Walleij
WBR, Sergei
Quoted 5 lines · Sergei Shtylyov
Quoted 1 line · Linus Walleij
Patch applied with the ACKs.
Thanks. But to which tree/branch? I'm not seeing it anywhere...
Russians have no patience :D
OK pushed my GIT trees now...
Yours,
Linus Walleij
Hello.
Quoted 5 lines · Linus Walleij
Quoted 3 lines
Quoted 1 line
Patch applied with the ACKs.
Thanks. But to which tree/branch? I'm not seeing it anywhere...
Russians have no patience :D
Sorry, I thought you'd already pushed.
Quoted 1 line
OK pushed my GIT trees now...
I thought that maybe I'm looking at the wrong repo (linux-pinctrl.git is
still not mentioned in MAINTAINERS).
Quoted 2 lines
Yours,
Linus Walleij
WBR, Sergei
Quoted 2 lines · Sergei Shtylyov
I thought that maybe I'm looking at the wrong repo (linux-pinctrl.git is
still not mentioned inMAINTAINERS).
Ooops sloppy of me, sent a patch for it now.
Yours,
Linus Walleij