diff options
author | Ulf Hansson <ulf.hansson@stericsson.com> | 2012-11-20 08:57:25 -0500 |
---|---|---|
committer | Lee Jones <lee.jones@linaro.org> | 2013-03-06 23:29:15 -0500 |
commit | 9ee17676a5a36621db020c596e766fec24aae959 (patch) | |
tree | 30597737072b4e63c2f902e35b0af48378f26de3 /drivers/mfd | |
parent | 971480f520a5ed9e54443a9b2b5711eedf51c77a (diff) |
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: Ulf Hansson <ulf.hansson@stericsson.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Reviewed-by: Philippe LANGLAIS <philippe.langlais@stericsson.com>
Reviewed-by: Patrice CHOTARD <patrice.chotard@stericsson.com>
Reviewed-by: Gabriel FERNANDEZ <gabriel.fernandez@stericsson.com>
Reviewed-by: Philippe BEGNIC <philippe.begnic@stericsson.com>
Acked-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'drivers/mfd')
-rw-r--r-- | drivers/mfd/ab8500-core.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/drivers/mfd/ab8500-core.c b/drivers/mfd/ab8500-core.c index a4120edbccf2..caab1fd3a03f 100644 --- a/drivers/mfd/ab8500-core.c +++ b/drivers/mfd/ab8500-core.c | |||
@@ -1189,6 +1189,10 @@ static struct mfd_cell ab9540_devs[] = { | |||
1189 | .name = "ab8500-regulator", | 1189 | .name = "ab8500-regulator", |
1190 | }, | 1190 | }, |
1191 | { | 1191 | { |
1192 | .name = "abx500-clk", | ||
1193 | .of_compatible = "stericsson,abx500-clk", | ||
1194 | }, | ||
1195 | { | ||
1192 | .name = "ab8500-gpadc", | 1196 | .name = "ab8500-gpadc", |
1193 | .of_compatible = "stericsson,ab8500-gpadc", | 1197 | .of_compatible = "stericsson,ab8500-gpadc", |
1194 | .num_resources = ARRAY_SIZE(ab8500_gpadc_resources), | 1198 | .num_resources = ARRAY_SIZE(ab8500_gpadc_resources), |
@@ -1256,6 +1260,10 @@ static struct mfd_cell ab8505_devs[] = { | |||
1256 | .name = "ab8500-regulator", | 1260 | .name = "ab8500-regulator", |
1257 | }, | 1261 | }, |
1258 | { | 1262 | { |
1263 | .name = "abx500-clk", | ||
1264 | .of_compatible = "stericsson,abx500-clk", | ||
1265 | }, | ||
1266 | { | ||
1259 | .name = "ab8500-gpadc", | 1267 | .name = "ab8500-gpadc", |
1260 | .num_resources = ARRAY_SIZE(ab8505_gpadc_resources), | 1268 | .num_resources = ARRAY_SIZE(ab8505_gpadc_resources), |
1261 | .resources = ab8505_gpadc_resources, | 1269 | .resources = ab8505_gpadc_resources, |
@@ -1315,6 +1323,10 @@ static struct mfd_cell ab8540_devs[] = { | |||
1315 | .name = "ab8500-regulator", | 1323 | .name = "ab8500-regulator", |
1316 | }, | 1324 | }, |
1317 | { | 1325 | { |
1326 | .name = "abx500-clk", | ||
1327 | .of_compatible = "stericsson,abx500-clk", | ||
1328 | }, | ||
1329 | { | ||
1318 | .name = "ab8500-gpadc", | 1330 | .name = "ab8500-gpadc", |
1319 | .num_resources = ARRAY_SIZE(ab8505_gpadc_resources), | 1331 | .num_resources = ARRAY_SIZE(ab8505_gpadc_resources), |
1320 | .resources = ab8505_gpadc_resources, | 1332 | .resources = ab8505_gpadc_resources, |