Commit 765b5003 authored by Ulrich Hecht's avatar Ulrich Hecht Committed by Simon Horman

ARM: shmobile: gose: enable R-Car Gen2 regulator quirk

Regulator setup seems identical to Koelsch.
Signed-off-by: default avatarUlrich Hecht <ulrich.hecht+renesas@gmail.com>
Acked-by: default avatarGeert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: default avatarSimon Horman <horms+renesas@verge.net.au>
parent ec60d95b
...@@ -83,6 +83,7 @@ config ARCH_R8A7791 ...@@ -83,6 +83,7 @@ config ARCH_R8A7791
config ARCH_R8A7793 config ARCH_R8A7793
bool "R-Car M2-N (R8A7793)" bool "R-Car M2-N (R8A7793)"
select ARCH_RCAR_GEN2 select ARCH_RCAR_GEN2
select I2C
config ARCH_R8A7794 config ARCH_R8A7794
bool "R-Car E2 (R8A77940)" bool "R-Car E2 (R8A77940)"
......
...@@ -35,6 +35,7 @@ obj-$(CONFIG_ARCH_RCAR_GEN2) += setup-rcar-gen2.o platsmp-apmu.o $(cpu-y) ...@@ -35,6 +35,7 @@ obj-$(CONFIG_ARCH_RCAR_GEN2) += setup-rcar-gen2.o platsmp-apmu.o $(cpu-y)
CFLAGS_setup-rcar-gen2.o += -march=armv7-a CFLAGS_setup-rcar-gen2.o += -march=armv7-a
obj-$(CONFIG_ARCH_R8A7790) += regulator-quirk-rcar-gen2.o obj-$(CONFIG_ARCH_R8A7790) += regulator-quirk-rcar-gen2.o
obj-$(CONFIG_ARCH_R8A7791) += regulator-quirk-rcar-gen2.o obj-$(CONFIG_ARCH_R8A7791) += regulator-quirk-rcar-gen2.o
obj-$(CONFIG_ARCH_R8A7793) += regulator-quirk-rcar-gen2.o
# SMP objects # SMP objects
smp-y := $(cpu-y) smp-y := $(cpu-y)
......
...@@ -123,7 +123,8 @@ static int __init rcar_gen2_regulator_quirk(void) ...@@ -123,7 +123,8 @@ static int __init rcar_gen2_regulator_quirk(void)
u32 mon; u32 mon;
if (!of_machine_is_compatible("renesas,koelsch") && if (!of_machine_is_compatible("renesas,koelsch") &&
!of_machine_is_compatible("renesas,lager")) !of_machine_is_compatible("renesas,lager") &&
!of_machine_is_compatible("renesas,gose"))
return -ENODEV; return -ENODEV;
irqc = ioremap(IRQC_BASE, PAGE_SIZE); irqc = ioremap(IRQC_BASE, PAGE_SIZE);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment