diff options
author | Geert Uytterhoeven <geert+renesas@glider.be> | 2016-11-02 20:53:26 +0100 |
---|---|---|
committer | Geert Uytterhoeven <geert+renesas@glider.be> | 2016-11-02 20:53:26 +0100 |
commit | a05de66ea69f300158186c86eceb602fca088c16 (patch) | |
tree | 1e7d5b1f759f96f08592a9ba391d7e32cd9a5c2c /drivers/clk/renesas/rcar-gen3-cpg.c | |
parent | dbdcc4f996df280eb2758095b4774ea62da8a2a7 (diff) | |
parent | 3e91d07bb592895982400002020d510fd7b6e85f (diff) | |
download | linux-stable-a05de66ea69f300158186c86eceb602fca088c16.tar.gz linux-stable-a05de66ea69f300158186c86eceb602fca088c16.tar.bz2 linux-stable-a05de66ea69f300158186c86eceb602fca088c16.zip |
Merge branch 'rcar-rst' into clk-renesas-for-v4.10
soc: renesas: Add R-Car RST driver for obtaining mode pin state
Diffstat (limited to 'drivers/clk/renesas/rcar-gen3-cpg.c')
-rw-r--r-- | drivers/clk/renesas/rcar-gen3-cpg.c | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/drivers/clk/renesas/rcar-gen3-cpg.c b/drivers/clk/renesas/rcar-gen3-cpg.c index 28ddb71545b8..742f6dc7c156 100644 --- a/drivers/clk/renesas/rcar-gen3-cpg.c +++ b/drivers/clk/renesas/rcar-gen3-cpg.c @@ -333,23 +333,6 @@ struct clk * __init rcar_gen3_cpg_clk_register(struct device *dev, __clk_get_name(parent), 0, mult, div); } -/* - * Reset register definitions. - */ -#define MODEMR 0xe6160060 - -u32 __init rcar_gen3_read_mode_pins(void) -{ - void __iomem *modemr = ioremap_nocache(MODEMR, 4); - u32 mode; - - BUG_ON(!modemr); - mode = ioread32(modemr); - iounmap(modemr); - - return mode; -} - int __init rcar_gen3_cpg_init(const struct rcar_gen3_cpg_pll_config *config, unsigned int clk_extalr) { |