Skip to content

Commit d184b5f

Browse files
Bartosz Golaszewskilinusw
authored andcommitted
pinctrl: meson: extend build coverage with COMPILE_TEST=y
We currently only build these drivers on ARM but there's nothing that should stop us from building it with allmodconfig on other architectures. Extend the build coverage for all meson drivers. Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com> Reviewed-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com> Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org> Signed-off-by: Linus Walleij <linusw@kernel.org>
1 parent 940e9b8 commit d184b5f

1 file changed

Lines changed: 11 additions & 11 deletions

File tree

drivers/pinctrl/meson/Kconfig

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -15,25 +15,25 @@ if PINCTRL_MESON
1515

1616
config PINCTRL_MESON8
1717
bool "Meson 8 SoC pinctrl driver"
18-
depends on ARM
18+
depends on ARM || COMPILE_TEST
1919
select PINCTRL_MESON8_PMX
2020
default ARCH_MESON
2121

2222
config PINCTRL_MESON8B
2323
bool "Meson 8b SoC pinctrl driver"
24-
depends on ARM
24+
depends on ARM || COMPILE_TEST
2525
select PINCTRL_MESON8_PMX
2626
default ARCH_MESON
2727

2828
config PINCTRL_MESON_GXBB
2929
tristate "Meson gxbb SoC pinctrl driver"
30-
depends on ARM64
30+
depends on ARM64 || COMPILE_TEST
3131
select PINCTRL_MESON8_PMX
3232
default ARCH_MESON
3333

3434
config PINCTRL_MESON_GXL
3535
tristate "Meson gxl SoC pinctrl driver"
36-
depends on ARM64
36+
depends on ARM64 || COMPILE_TEST
3737
select PINCTRL_MESON8_PMX
3838
default ARCH_MESON
3939

@@ -42,7 +42,7 @@ config PINCTRL_MESON8_PMX
4242

4343
config PINCTRL_MESON_AXG
4444
tristate "Meson axg Soc pinctrl driver"
45-
depends on ARM64
45+
depends on ARM64 || COMPILE_TEST
4646
select PINCTRL_MESON_AXG_PMX
4747
default ARCH_MESON
4848

@@ -51,25 +51,25 @@ config PINCTRL_MESON_AXG_PMX
5151

5252
config PINCTRL_MESON_G12A
5353
tristate "Meson g12a Soc pinctrl driver"
54-
depends on ARM64
54+
depends on ARM64 || COMPILE_TEST
5555
select PINCTRL_MESON_AXG_PMX
5656
default ARCH_MESON
5757

5858
config PINCTRL_MESON_A1
5959
tristate "Meson a1 Soc pinctrl driver"
60-
depends on ARM64
60+
depends on ARM64 || COMPILE_TEST
6161
select PINCTRL_MESON_AXG_PMX
6262
default ARCH_MESON
6363

6464
config PINCTRL_MESON_S4
6565
tristate "Meson s4 Soc pinctrl driver"
66-
depends on ARM64
66+
depends on ARM64 || COMPILE_TEST
6767
select PINCTRL_MESON_AXG_PMX
6868
default ARCH_MESON
6969

7070
config PINCTRL_AMLOGIC_A4
7171
bool "AMLOGIC pincontrol"
72-
depends on ARM64
72+
depends on ARM64 || COMPILE_TEST
7373
default ARCH_MESON
7474
help
7575
This is the driver for the pin controller found on Amlogic SoCs.
@@ -80,13 +80,13 @@ config PINCTRL_AMLOGIC_A4
8080

8181
config PINCTRL_AMLOGIC_C3
8282
tristate "Amlogic C3 SoC pinctrl driver"
83-
depends on ARM64
83+
depends on ARM64 || COMPILE_TEST
8484
select PINCTRL_MESON_AXG_PMX
8585
default ARCH_MESON
8686

8787
config PINCTRL_AMLOGIC_T7
8888
tristate "Amlogic T7 SoC pinctrl driver"
89-
depends on ARM64
89+
depends on ARM64 || COMPILE_TEST
9090
select PINCTRL_MESON_AXG_PMX
9191
default ARCH_MESON
9292

0 commit comments

Comments
 (0)