[PATCH v2 1/2] regulator: act8945a: add regulator driver for ACT8945A
Peter Korsgaard
peter at korsgaard.com
Wed Jan 13 23:27:45 PST 2016
>>>>> "Yang," == Yang, Wenyou <Wenyou.Yang at atmel.com> writes:
>> Isn't the regulator part of the act8945a identical to act8865? Can't we just use the
>> existing act8865-regulator.c driver? (E.G. support 8865 variant in the mfd driver,
>> but only register the regulator sub device?)
> Yes, the regulator part of the act8945a is identical to act8865.
> But the act8865-regulator driver is a struct i2c_driver, and the mfd
> sub-device driver is a platform_driver driver, it is not easy to use
> it.
But the mfd driver could support the act8865 variant as well (by only
registering the regulator mfd cell).
--
Venlig hilsen,
Peter Korsgaard
More information about the linux-arm-kernel
mailing list