diff options
author | Geert Uytterhoeven <geert+renesas@glider.be> | 2016-05-27 11:56:53 +0200 |
---|---|---|
committer | Geert Uytterhoeven <geert+renesas@glider.be> | 2016-11-02 20:43:07 +0100 |
commit | 527c02f66d263d2eeff237a2326c3278cfc03d3b (patch) | |
tree | e75cda08981b8d80659e7fab95d8cac03ca56161 /drivers/soc/renesas/Makefile | |
parent | 362922a1a5345d17a9d4ad7e3f848aa4fdf79d75 (diff) | |
download | linux-stable-527c02f66d263d2eeff237a2326c3278cfc03d3b.tar.gz linux-stable-527c02f66d263d2eeff237a2326c3278cfc03d3b.tar.bz2 linux-stable-527c02f66d263d2eeff237a2326c3278cfc03d3b.zip |
soc: renesas: Add R-Car RST driver
Add a driver for the Renesas R-Car Gen1 RESET/WDT and R-Car Gen2/Gen3
and RZ/G RST module.
For now this driver just provides an API to obtain the state of the mode
pins, as latched at reset time. As this is typically called from the
probe function of a clock driver, which can run much earlier than any
initcall, calling rcar_rst_read_mode_pins() just forces an early
initialization of the driver.
Despite the current simple and almost identical handling for all
supported SoCs, the driver matches against SoC-specific compatible
values, as the features provided by the hardware module differ a lot
across the various SoC families and members.
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Acked-by: Dirk Behme <dirk.behme@de.bosch.com>
Diffstat (limited to 'drivers/soc/renesas/Makefile')
-rw-r--r-- | drivers/soc/renesas/Makefile | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/soc/renesas/Makefile b/drivers/soc/renesas/Makefile index 623039c3514c..86cc78cd1962 100644 --- a/drivers/soc/renesas/Makefile +++ b/drivers/soc/renesas/Makefile @@ -1,3 +1,8 @@ +obj-$(CONFIG_ARCH_RCAR_GEN1) += rcar-rst.o +obj-$(CONFIG_ARCH_RCAR_GEN2) += rcar-rst.o +obj-$(CONFIG_ARCH_R8A7795) += rcar-rst.o +obj-$(CONFIG_ARCH_R8A7796) += rcar-rst.o + obj-$(CONFIG_ARCH_R8A7779) += rcar-sysc.o r8a7779-sysc.o obj-$(CONFIG_ARCH_R8A7790) += rcar-sysc.o r8a7790-sysc.o obj-$(CONFIG_ARCH_R8A7791) += rcar-sysc.o r8a7791-sysc.o |