提交 726fef09 编写于 作者: L Linus Walleij 提交者: Stephen Boyd

clk: ux500: Drop AB8540/9540 support

The AB8540 was an evolved version of the AB8500, but it was never
mass produced or put into products, only reference designs exist.
The upstream support was never completed and it is unlikely that
this will happen so drop the support for now to simplify
maintenance of the AB8500.

Cc: Loic Pallardy <loic.pallardy@st.com>
Signed-off-by: NLinus Walleij <linus.walleij@linaro.org>
Acked-by: NUlf Hansson <ulf.hansson@linaro.org>
Signed-off-by: NStephen Boyd <sboyd@kernel.org>
上级 7928b2cb
...@@ -10,8 +10,6 @@ obj-y += clk-sysctrl.o ...@@ -10,8 +10,6 @@ obj-y += clk-sysctrl.o
# Clock definitions # Clock definitions
obj-y += u8500_of_clk.o obj-y += u8500_of_clk.o
obj-y += u9540_clk.o
obj-y += u8540_clk.o
# ABX500 clock driver # ABX500 clock driver
obj-y += abx500-clk.o obj-y += abx500-clk.o
...@@ -88,18 +88,6 @@ static int ab8500_reg_clks(struct device *dev) ...@@ -88,18 +88,6 @@ static int ab8500_reg_clks(struct device *dev)
return 0; return 0;
} }
/* Clock definitions for ab8540 */
static int ab8540_reg_clks(struct device *dev)
{
return 0;
}
/* Clock definitions for ab9540 */
static int ab9540_reg_clks(struct device *dev)
{
return 0;
}
static int abx500_clk_probe(struct platform_device *pdev) static int abx500_clk_probe(struct platform_device *pdev)
{ {
struct ab8500 *parent = dev_get_drvdata(pdev->dev.parent); struct ab8500 *parent = dev_get_drvdata(pdev->dev.parent);
...@@ -107,10 +95,6 @@ static int abx500_clk_probe(struct platform_device *pdev) ...@@ -107,10 +95,6 @@ static int abx500_clk_probe(struct platform_device *pdev)
if (is_ab8500(parent) || is_ab8505(parent)) { if (is_ab8500(parent) || is_ab8505(parent)) {
ret = ab8500_reg_clks(&pdev->dev); ret = ab8500_reg_clks(&pdev->dev);
} else if (is_ab8540(parent)) {
ret = ab8540_reg_clks(&pdev->dev);
} else if (is_ab9540(parent)) {
ret = ab9540_reg_clks(&pdev->dev);
} else { } else {
dev_err(&pdev->dev, "non supported plf id\n"); dev_err(&pdev->dev, "non supported plf id\n");
return -ENODEV; return -ENODEV;
......
此差异已折叠。
/*
* Clock definitions for u9540 platform.
*
* Copyright (C) 2012 ST-Ericsson SA
* Author: Ulf Hansson <ulf.hansson@linaro.org>
*
* License terms: GNU General Public License (GPL) version 2
*/
#include <linux/clk-provider.h>
#include <linux/mfd/dbx500-prcmu.h>
#include "clk.h"
static void u9540_clk_init(struct device_node *np)
{
/* register clocks here */
}
CLK_OF_DECLARE(u9540_clks, "stericsson,u9540-clks", u9540_clk_init);
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册