mirror of
https://xff.cz/git/u-boot/
synced 2025-09-02 09:12:08 +02:00
pinctrl: renesas: Add R8A77980 V3H PFC tables
Import R8A77980 V3H PFC tables from Linux 5.2.7 , commit 5697a9d3d55f. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Cc: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
This commit is contained in:
@@ -97,6 +97,16 @@ config PINCTRL_PFC_R8A77970
|
|||||||
the GPIO definitions and pin control functions for each available
|
the GPIO definitions and pin control functions for each available
|
||||||
multiplex function.
|
multiplex function.
|
||||||
|
|
||||||
|
config PINCTRL_PFC_R8A77980
|
||||||
|
bool "Renesas RCar Gen3 R8A77980 pin control driver"
|
||||||
|
depends on PINCTRL_PFC
|
||||||
|
help
|
||||||
|
Support pin multiplexing control on Renesas RCar Gen3 R8A77980 SoCs.
|
||||||
|
|
||||||
|
The driver is controlled by a device tree node which contains both
|
||||||
|
the GPIO definitions and pin control functions for each available
|
||||||
|
multiplex function.
|
||||||
|
|
||||||
config PINCTRL_PFC_R8A77990
|
config PINCTRL_PFC_R8A77990
|
||||||
bool "Renesas RCar Gen3 R8A77990 pin control driver"
|
bool "Renesas RCar Gen3 R8A77990 pin control driver"
|
||||||
depends on PINCTRL_PFC
|
depends on PINCTRL_PFC
|
||||||
|
@@ -8,6 +8,7 @@ obj-$(CONFIG_PINCTRL_PFC_R8A7795) += pfc-r8a7795.o
|
|||||||
obj-$(CONFIG_PINCTRL_PFC_R8A7796) += pfc-r8a7796.o
|
obj-$(CONFIG_PINCTRL_PFC_R8A7796) += pfc-r8a7796.o
|
||||||
obj-$(CONFIG_PINCTRL_PFC_R8A77965) += pfc-r8a77965.o
|
obj-$(CONFIG_PINCTRL_PFC_R8A77965) += pfc-r8a77965.o
|
||||||
obj-$(CONFIG_PINCTRL_PFC_R8A77970) += pfc-r8a77970.o
|
obj-$(CONFIG_PINCTRL_PFC_R8A77970) += pfc-r8a77970.o
|
||||||
|
obj-$(CONFIG_PINCTRL_PFC_R8A77980) += pfc-r8a77980.o
|
||||||
obj-$(CONFIG_PINCTRL_PFC_R8A77990) += pfc-r8a77990.o
|
obj-$(CONFIG_PINCTRL_PFC_R8A77990) += pfc-r8a77990.o
|
||||||
obj-$(CONFIG_PINCTRL_PFC_R8A77995) += pfc-r8a77995.o
|
obj-$(CONFIG_PINCTRL_PFC_R8A77995) += pfc-r8a77995.o
|
||||||
obj-$(CONFIG_PINCTRL_PFC_R7S72100) += pfc-r7s72100.o
|
obj-$(CONFIG_PINCTRL_PFC_R7S72100) += pfc-r7s72100.o
|
||||||
|
2897
drivers/pinctrl/renesas/pfc-r8a77980.c
Normal file
2897
drivers/pinctrl/renesas/pfc-r8a77980.c
Normal file
File diff suppressed because it is too large
Load Diff
@@ -30,6 +30,7 @@ enum sh_pfc_model {
|
|||||||
SH_PFC_R8A7796,
|
SH_PFC_R8A7796,
|
||||||
SH_PFC_R8A77965,
|
SH_PFC_R8A77965,
|
||||||
SH_PFC_R8A77970,
|
SH_PFC_R8A77970,
|
||||||
|
SH_PFC_R8A77980,
|
||||||
SH_PFC_R8A77990,
|
SH_PFC_R8A77990,
|
||||||
SH_PFC_R8A77995,
|
SH_PFC_R8A77995,
|
||||||
};
|
};
|
||||||
@@ -856,6 +857,10 @@ static int sh_pfc_pinctrl_probe(struct udevice *dev)
|
|||||||
if (model == SH_PFC_R8A77970)
|
if (model == SH_PFC_R8A77970)
|
||||||
priv->pfc.info = &r8a77970_pinmux_info;
|
priv->pfc.info = &r8a77970_pinmux_info;
|
||||||
#endif
|
#endif
|
||||||
|
#ifdef CONFIG_PINCTRL_PFC_R8A77980
|
||||||
|
if (model == SH_PFC_R8A77980)
|
||||||
|
priv->pfc.info = &r8a77980_pinmux_info;
|
||||||
|
#endif
|
||||||
#ifdef CONFIG_PINCTRL_PFC_R8A77990
|
#ifdef CONFIG_PINCTRL_PFC_R8A77990
|
||||||
if (model == SH_PFC_R8A77990)
|
if (model == SH_PFC_R8A77990)
|
||||||
priv->pfc.info = &r8a77990_pinmux_info;
|
priv->pfc.info = &r8a77990_pinmux_info;
|
||||||
@@ -927,6 +932,12 @@ static const struct udevice_id sh_pfc_pinctrl_ids[] = {
|
|||||||
.data = SH_PFC_R8A77970,
|
.data = SH_PFC_R8A77970,
|
||||||
},
|
},
|
||||||
#endif
|
#endif
|
||||||
|
#ifdef CONFIG_PINCTRL_PFC_R8A77980
|
||||||
|
{
|
||||||
|
.compatible = "renesas,pfc-r8a77980",
|
||||||
|
.data = SH_PFC_R8A77980,
|
||||||
|
},
|
||||||
|
#endif
|
||||||
#ifdef CONFIG_PINCTRL_PFC_R8A77990
|
#ifdef CONFIG_PINCTRL_PFC_R8A77990
|
||||||
{
|
{
|
||||||
.compatible = "renesas,pfc-r8a77990",
|
.compatible = "renesas,pfc-r8a77990",
|
||||||
|
@@ -302,6 +302,7 @@ extern const struct sh_pfc_soc_info r8a7795_pinmux_info;
|
|||||||
extern const struct sh_pfc_soc_info r8a7796_pinmux_info;
|
extern const struct sh_pfc_soc_info r8a7796_pinmux_info;
|
||||||
extern const struct sh_pfc_soc_info r8a77965_pinmux_info;
|
extern const struct sh_pfc_soc_info r8a77965_pinmux_info;
|
||||||
extern const struct sh_pfc_soc_info r8a77970_pinmux_info;
|
extern const struct sh_pfc_soc_info r8a77970_pinmux_info;
|
||||||
|
extern const struct sh_pfc_soc_info r8a77980_pinmux_info;
|
||||||
extern const struct sh_pfc_soc_info r8a77990_pinmux_info;
|
extern const struct sh_pfc_soc_info r8a77990_pinmux_info;
|
||||||
extern const struct sh_pfc_soc_info r8a77995_pinmux_info;
|
extern const struct sh_pfc_soc_info r8a77995_pinmux_info;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user