|
@@ -6,6 +6,7 @@
|
|
*/
|
|
*/
|
|
|
|
|
|
#include <linux/clk-provider.h>
|
|
#include <linux/clk-provider.h>
|
|
|
|
+#include <linux/reset-controller.h>
|
|
#include <linux/clk.h>
|
|
#include <linux/clk.h>
|
|
#include <linux/clkdev.h>
|
|
#include <linux/clkdev.h>
|
|
#include <linux/init.h>
|
|
#include <linux/init.h>
|
|
@@ -66,8 +67,14 @@ LPSC_CLKDEV3(ecap_clkdev, "fck", "ecap.0",
|
|
"fck", "ecap.1",
|
|
"fck", "ecap.1",
|
|
"fck", "ecap.2");
|
|
"fck", "ecap.2");
|
|
|
|
|
|
|
|
+static struct reset_control_lookup da850_psc0_reset_lookup_table[] = {
|
|
|
|
+ RESET_LOOKUP("da850-psc0", 15, "davinci-rproc.0", NULL),
|
|
|
|
+};
|
|
|
|
+
|
|
static int da850_psc0_init(struct device *dev, void __iomem *base)
|
|
static int da850_psc0_init(struct device *dev, void __iomem *base)
|
|
{
|
|
{
|
|
|
|
+ reset_controller_add_lookup(da850_psc0_reset_lookup_table,
|
|
|
|
+ ARRAY_SIZE(da850_psc0_reset_lookup_table));
|
|
return davinci_psc_register_clocks(dev, da850_psc0_info, 16, base);
|
|
return davinci_psc_register_clocks(dev, da850_psc0_info, 16, base);
|
|
}
|
|
}
|
|
|
|
|