pinctrl: sh-pfc: r8a7791: Group USB PWEN and OVC pins together
This groups USB PWEN and OVC pins together on R8A7791 SoC, the same way it's done on R8A7790, since both are needed for a USB device. Signed-off-by: Valentine Barshak <valentine.barshak@cogentembedded.com> Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
This commit is contained in:
parent
646ae3ef7e
commit
5e5a298cdb
@ -2649,33 +2649,21 @@ static const unsigned int sdhi2_wp_mux[] = {
|
|||||||
SD2_WP_MARK,
|
SD2_WP_MARK,
|
||||||
};
|
};
|
||||||
/* - USB0 ------------------------------------------------------------------- */
|
/* - USB0 ------------------------------------------------------------------- */
|
||||||
static const unsigned int usb0_pwen_pins[] = {
|
static const unsigned int usb0_pins[] = {
|
||||||
/* PWEN */
|
RCAR_GP_PIN(7, 23), /* PWEN */
|
||||||
RCAR_GP_PIN(7, 23),
|
RCAR_GP_PIN(7, 24), /* OVC */
|
||||||
};
|
};
|
||||||
static const unsigned int usb0_pwen_mux[] = {
|
static const unsigned int usb0_mux[] = {
|
||||||
USB0_PWEN_MARK,
|
USB0_PWEN_MARK,
|
||||||
};
|
|
||||||
static const unsigned int usb0_ovc_pins[] = {
|
|
||||||
/* OVC */
|
|
||||||
RCAR_GP_PIN(7, 24),
|
|
||||||
};
|
|
||||||
static const unsigned int usb0_ovc_mux[] = {
|
|
||||||
USB0_OVC_MARK,
|
USB0_OVC_MARK,
|
||||||
};
|
};
|
||||||
/* - USB1 ------------------------------------------------------------------- */
|
/* - USB1 ------------------------------------------------------------------- */
|
||||||
static const unsigned int usb1_pwen_pins[] = {
|
static const unsigned int usb1_pins[] = {
|
||||||
/* PWEN */
|
RCAR_GP_PIN(7, 25), /* PWEN */
|
||||||
RCAR_GP_PIN(7, 25),
|
RCAR_GP_PIN(6, 30), /* OVC */
|
||||||
};
|
};
|
||||||
static const unsigned int usb1_pwen_mux[] = {
|
static const unsigned int usb1_mux[] = {
|
||||||
USB1_PWEN_MARK,
|
USB1_PWEN_MARK,
|
||||||
};
|
|
||||||
static const unsigned int usb1_ovc_pins[] = {
|
|
||||||
/* OVC */
|
|
||||||
RCAR_GP_PIN(6, 30),
|
|
||||||
};
|
|
||||||
static const unsigned int usb1_ovc_mux[] = {
|
|
||||||
USB1_OVC_MARK,
|
USB1_OVC_MARK,
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -2810,10 +2798,8 @@ static const struct sh_pfc_pin_group pinmux_groups[] = {
|
|||||||
SH_PFC_PIN_GROUP(sdhi2_ctrl),
|
SH_PFC_PIN_GROUP(sdhi2_ctrl),
|
||||||
SH_PFC_PIN_GROUP(sdhi2_cd),
|
SH_PFC_PIN_GROUP(sdhi2_cd),
|
||||||
SH_PFC_PIN_GROUP(sdhi2_wp),
|
SH_PFC_PIN_GROUP(sdhi2_wp),
|
||||||
SH_PFC_PIN_GROUP(usb0_pwen),
|
SH_PFC_PIN_GROUP(usb0),
|
||||||
SH_PFC_PIN_GROUP(usb0_ovc),
|
SH_PFC_PIN_GROUP(usb1),
|
||||||
SH_PFC_PIN_GROUP(usb1_pwen),
|
|
||||||
SH_PFC_PIN_GROUP(usb1_ovc),
|
|
||||||
};
|
};
|
||||||
|
|
||||||
static const char * const du_groups[] = {
|
static const char * const du_groups[] = {
|
||||||
@ -3016,12 +3002,10 @@ static const char * const sdhi2_groups[] = {
|
|||||||
};
|
};
|
||||||
|
|
||||||
static const char * const usb0_groups[] = {
|
static const char * const usb0_groups[] = {
|
||||||
"usb0_pwen",
|
"usb0",
|
||||||
"usb0_ovc",
|
|
||||||
};
|
};
|
||||||
static const char * const usb1_groups[] = {
|
static const char * const usb1_groups[] = {
|
||||||
"usb1_pwen",
|
"usb1",
|
||||||
"usb1_ovc",
|
|
||||||
};
|
};
|
||||||
|
|
||||||
static const struct sh_pfc_function pinmux_functions[] = {
|
static const struct sh_pfc_function pinmux_functions[] = {
|
||||||
|
Loading…
Reference in New Issue
Block a user