diff options
author | Geert Uytterhoeven <geert+renesas@glider.be> | 2016-06-01 14:56:58 +0200 |
---|---|---|
committer | Geert Uytterhoeven <geert+renesas@glider.be> | 2016-11-02 20:43:59 +0100 |
commit | ddab5aed8ecd277bd34b6421736c882fdff2dfe1 (patch) | |
tree | 7ab45b8f22a8505f84d74231989d5303904500ec /drivers/clk/renesas/rcar-gen3-cpg.c | |
parent | 05972d48d23927e9d4932a10c8c172ccee4b1a6d (diff) | |
download | linux-stable-ddab5aed8ecd277bd34b6421736c882fdff2dfe1.tar.gz linux-stable-ddab5aed8ecd277bd34b6421736c882fdff2dfe1.tar.bz2 linux-stable-ddab5aed8ecd277bd34b6421736c882fdff2dfe1.zip |
clk: renesas: rcar-gen3-cpg: Remove obsolete rcar_gen3_read_mode_pins()
All R-Car Gen3 clock drivers now obtain the values of the mode pins from
the R-Car RST driver.
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Acked-by: Dirk Behme <dirk.behme@de.bosch.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
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 bb4f2f9a8c2f..9d76076da494 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) { |