Commit 9ee17676 authored by Ulf Hansson's avatar Ulf Hansson Committed by Lee Jones

mfd: ab8500-core: Add abx500-clk as an mfd child device

Hierarchically, the abx500-clk shall be considered as a child of the
ab8500 core. The abx500-clk is intiated at arch init and thus the clks
will be available when clients needs them.
Signed-off-by: default avatarUlf Hansson <ulf.hansson@stericsson.com>
Signed-off-by: default avatarLee Jones <lee.jones@linaro.org>
Reviewed-by: default avatarPhilippe LANGLAIS <philippe.langlais@stericsson.com>
Reviewed-by: default avatarPatrice CHOTARD <patrice.chotard@stericsson.com>
Reviewed-by: default avatarGabriel FERNANDEZ <gabriel.fernandez@stericsson.com>
Reviewed-by: default avatarPhilippe BEGNIC <philippe.begnic@stericsson.com>
Acked-by: default avatarSamuel Ortiz <sameo@linux.intel.com>
parent 971480f5
...@@ -1188,6 +1188,10 @@ static struct mfd_cell ab9540_devs[] = { ...@@ -1188,6 +1188,10 @@ static struct mfd_cell ab9540_devs[] = {
{ {
.name = "ab8500-regulator", .name = "ab8500-regulator",
}, },
{
.name = "abx500-clk",
.of_compatible = "stericsson,abx500-clk",
},
{ {
.name = "ab8500-gpadc", .name = "ab8500-gpadc",
.of_compatible = "stericsson,ab8500-gpadc", .of_compatible = "stericsson,ab8500-gpadc",
...@@ -1255,6 +1259,10 @@ static struct mfd_cell ab8505_devs[] = { ...@@ -1255,6 +1259,10 @@ static struct mfd_cell ab8505_devs[] = {
{ {
.name = "ab8500-regulator", .name = "ab8500-regulator",
}, },
{
.name = "abx500-clk",
.of_compatible = "stericsson,abx500-clk",
},
{ {
.name = "ab8500-gpadc", .name = "ab8500-gpadc",
.num_resources = ARRAY_SIZE(ab8505_gpadc_resources), .num_resources = ARRAY_SIZE(ab8505_gpadc_resources),
...@@ -1314,6 +1322,10 @@ static struct mfd_cell ab8540_devs[] = { ...@@ -1314,6 +1322,10 @@ static struct mfd_cell ab8540_devs[] = {
{ {
.name = "ab8500-regulator", .name = "ab8500-regulator",
}, },
{
.name = "abx500-clk",
.of_compatible = "stericsson,abx500-clk",
},
{ {
.name = "ab8500-gpadc", .name = "ab8500-gpadc",
.num_resources = ARRAY_SIZE(ab8505_gpadc_resources), .num_resources = ARRAY_SIZE(ab8505_gpadc_resources),
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment