1# SPDX-License-Identifier: GPL-2.0
2obj-$(CONFIG_PINCTRL_SH_PFC)		+= core.o pinctrl.o
3obj-$(CONFIG_PINCTRL_SH_PFC_GPIO)	+= gpio.o
4obj-$(CONFIG_PINCTRL_PFC_EMEV2)		+= pfc-emev2.o
5obj-$(CONFIG_PINCTRL_PFC_R8A73A4)	+= pfc-r8a73a4.o
6obj-$(CONFIG_PINCTRL_PFC_R8A7740)	+= pfc-r8a7740.o
7obj-$(CONFIG_PINCTRL_PFC_R8A7742)	+= pfc-r8a7790.o
8obj-$(CONFIG_PINCTRL_PFC_R8A7743)	+= pfc-r8a7791.o
9obj-$(CONFIG_PINCTRL_PFC_R8A7744)	+= pfc-r8a7791.o
10obj-$(CONFIG_PINCTRL_PFC_R8A7745)	+= pfc-r8a7794.o
11obj-$(CONFIG_PINCTRL_PFC_R8A77470)	+= pfc-r8a77470.o
12obj-$(CONFIG_PINCTRL_PFC_R8A774A1)	+= pfc-r8a7796.o
13obj-$(CONFIG_PINCTRL_PFC_R8A774B1)	+= pfc-r8a77965.o
14obj-$(CONFIG_PINCTRL_PFC_R8A774C0)	+= pfc-r8a77990.o
15obj-$(CONFIG_PINCTRL_PFC_R8A774E1)	+= pfc-r8a77951.o
16obj-$(CONFIG_PINCTRL_PFC_R8A7778)	+= pfc-r8a7778.o
17obj-$(CONFIG_PINCTRL_PFC_R8A7779)	+= pfc-r8a7779.o
18obj-$(CONFIG_PINCTRL_PFC_R8A7790)	+= pfc-r8a7790.o
19obj-$(CONFIG_PINCTRL_PFC_R8A7791)	+= pfc-r8a7791.o
20obj-$(CONFIG_PINCTRL_PFC_R8A7792)	+= pfc-r8a7792.o
21obj-$(CONFIG_PINCTRL_PFC_R8A7793)	+= pfc-r8a7791.o
22obj-$(CONFIG_PINCTRL_PFC_R8A7794)	+= pfc-r8a7794.o
23obj-$(CONFIG_PINCTRL_PFC_R8A77950)	+= pfc-r8a77950.o
24obj-$(CONFIG_PINCTRL_PFC_R8A77951)	+= pfc-r8a77951.o
25obj-$(CONFIG_PINCTRL_PFC_R8A77960)	+= pfc-r8a7796.o
26obj-$(CONFIG_PINCTRL_PFC_R8A77961)	+= pfc-r8a7796.o
27obj-$(CONFIG_PINCTRL_PFC_R8A77965)	+= pfc-r8a77965.o
28obj-$(CONFIG_PINCTRL_PFC_R8A77970)	+= pfc-r8a77970.o
29obj-$(CONFIG_PINCTRL_PFC_R8A77980)	+= pfc-r8a77980.o
30obj-$(CONFIG_PINCTRL_PFC_R8A77990)	+= pfc-r8a77990.o
31obj-$(CONFIG_PINCTRL_PFC_R8A77995)	+= pfc-r8a77995.o
32obj-$(CONFIG_PINCTRL_PFC_R8A779A0)	+= pfc-r8a779a0.o
33obj-$(CONFIG_PINCTRL_PFC_SH7203)	+= pfc-sh7203.o
34obj-$(CONFIG_PINCTRL_PFC_SH7264)	+= pfc-sh7264.o
35obj-$(CONFIG_PINCTRL_PFC_SH7269)	+= pfc-sh7269.o
36obj-$(CONFIG_PINCTRL_PFC_SH73A0)	+= pfc-sh73a0.o
37obj-$(CONFIG_PINCTRL_PFC_SH7720)	+= pfc-sh7720.o
38obj-$(CONFIG_PINCTRL_PFC_SH7722)	+= pfc-sh7722.o
39obj-$(CONFIG_PINCTRL_PFC_SH7723)	+= pfc-sh7723.o
40obj-$(CONFIG_PINCTRL_PFC_SH7724)	+= pfc-sh7724.o
41obj-$(CONFIG_PINCTRL_PFC_SH7734)	+= pfc-sh7734.o
42obj-$(CONFIG_PINCTRL_PFC_SH7757)	+= pfc-sh7757.o
43obj-$(CONFIG_PINCTRL_PFC_SH7785)	+= pfc-sh7785.o
44obj-$(CONFIG_PINCTRL_PFC_SH7786)	+= pfc-sh7786.o
45obj-$(CONFIG_PINCTRL_PFC_SHX3)		+= pfc-shx3.o
46
47obj-$(CONFIG_PINCTRL_RZA1)	+= pinctrl-rza1.o
48obj-$(CONFIG_PINCTRL_RZA2)	+= pinctrl-rza2.o
49obj-$(CONFIG_PINCTRL_RZG2L)	+= pinctrl-rzg2l.o
50obj-$(CONFIG_PINCTRL_RZN1)	+= pinctrl-rzn1.o
51
52ifeq ($(CONFIG_COMPILE_TEST),y)
53CFLAGS_pfc-sh7203.o	+= -I$(srctree)/arch/sh/include/cpu-sh2a
54CFLAGS_pfc-sh7264.o	+= -I$(srctree)/arch/sh/include/cpu-sh2a
55CFLAGS_pfc-sh7269.o	+= -I$(srctree)/arch/sh/include/cpu-sh2a
56CFLAGS_pfc-sh7720.o	+= -I$(srctree)/arch/sh/include/cpu-sh3
57CFLAGS_pfc-sh7722.o	+= -I$(srctree)/arch/sh/include/cpu-sh4
58CFLAGS_pfc-sh7723.o	+= -I$(srctree)/arch/sh/include/cpu-sh4
59CFLAGS_pfc-sh7724.o	+= -I$(srctree)/arch/sh/include/cpu-sh4
60CFLAGS_pfc-sh7734.o	+= -I$(srctree)/arch/sh/include/cpu-sh4
61CFLAGS_pfc-sh7757.o	+= -I$(srctree)/arch/sh/include/cpu-sh4
62CFLAGS_pfc-sh7785.o	+= -I$(srctree)/arch/sh/include/cpu-sh4
63CFLAGS_pfc-sh7786.o	+= -I$(srctree)/arch/sh/include/cpu-sh4
64CFLAGS_pfc-shx3.o	+= -I$(srctree)/arch/sh/include/cpu-sh4
65endif
66