[PATCH] hwmon: (gpio-fan) allow to use alarm support alone from DT

Guenter Roeck linux at roeck-us.net
Wed Feb 25 06:52:27 PST 2015


On 02/25/2015 06:29 AM, Simon Guinot wrote:
> On Wed, Feb 25, 2015 at 02:50:15PM +0100, Andrew Lunn wrote:
>>> Handle the GPIO fan alarm feature from the fan controller driver don't
>>> look good either to me. This alarm mechanism is not a part of the fan
>>> controller itself but rather something apart. Also I am afraid that the
>>> result would really look like a hack.
>>
>> Hi Simon
>>
>> It sounds like you need to extract the alarm code from gpio-fan into a
>> little library. Then put a wrapper around it to make a gpio-fan-alarm
>> driver.
>
> Hi Andrew,
>
> Yes, I am working on that. I'll come back with some patches based on
> this approach.
>
I have not seen your patches, but from the context it sounds like a NACK.

Guenter





More information about the linux-arm-kernel mailing list