Message ID | 1383740303-10956-2-git-send-email-ldewangan@nvidia.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
On Wed, 06 Nov 2013, Laxman Dewangan wrote: > Device ams AS3722 supports the one 32KHz clock output. The clock > control support is provided through clock driver. > > Add clock driver as mfd sub device to probe the clock driver. > > Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com> > --- > Changes from V1: > - Move the DT doc change to separate change. > > drivers/mfd/as3722.c | 3 +++ > 1 files changed, 3 insertions(+), 0 deletions(-) > > diff --git a/drivers/mfd/as3722.c b/drivers/mfd/as3722.c > index f161f2e..1d3415c 100644 > --- a/drivers/mfd/as3722.c > +++ b/drivers/mfd/as3722.c > @@ -72,6 +72,9 @@ static struct mfd_cell as3722_devs[] = { > .resources = as3722_adc_resource, > }, > { > + .name = "as3722-clk", > + }, > + { > .name = "as3722-power-off", > }, > }; Acked-by: Lee Jones <lee.jones@linaro.org>
diff --git a/drivers/mfd/as3722.c b/drivers/mfd/as3722.c index f161f2e..1d3415c 100644 --- a/drivers/mfd/as3722.c +++ b/drivers/mfd/as3722.c @@ -72,6 +72,9 @@ static struct mfd_cell as3722_devs[] = { .resources = as3722_adc_resource, }, { + .name = "as3722-clk", + }, + { .name = "as3722-power-off", }, };
Device ams AS3722 supports the one 32KHz clock output. The clock control support is provided through clock driver. Add clock driver as mfd sub device to probe the clock driver. Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com> --- Changes from V1: - Move the DT doc change to separate change. drivers/mfd/as3722.c | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-)