[prev in list] [next in list] [prev in thread] [next in thread]
List: linux-rtc
Subject: Re: [PATCH] rtc: ds1374: Add trickle charger device tree binding
From: Moritz Fischer <mdf () kernel ! org>
Date: 2017-04-24 21:28:35
Message-ID: 20170424212835.GA24096 () tyrael ! amer ! corp ! natinst ! com
[Download RAW message or body]
Hi Alex,
On Mon, Apr 24, 2017 at 07:16:39PM +0200, Alexandre Belloni wrote:
> I think I would do something with MFD as you were suggesting on IRC. You
> can have a look at the flexcom driver (atmel-flexcom.c) which is simply
> selecting a mode and then using whatever IP driver already existed
> (UART, I2C or SPI).
That's an interesting approach, so the idea is to basically use the MFD
to switch an existing driver one way or another via pdata? That could work.
>
> I didn't have a close look but maybe that fits. Then, as you are
> concerned wtih backward compatibility, you could enforce the mode from
> the MFD driver, depending on the CONFIG_RTC_DRV_DS1374_WDT value.
This is where I'm currently at:
https://git.kernel.org/pub/scm/linux/kernel/git/mdf/linux.git/log/?h=wip/mfd-ds1374-rfc
Still a WIP, maybe can get out a patchset by the end of the week ...
Thanks,
Moritz
--
You received this message because you are subscribed to "rtc-linux".
Membership options at http://groups.google.com/group/rtc-linux .
Please read http://groups.google.com/group/rtc-linux/web/checklist
before submitting a driver.
---
You received this message because you are subscribed to the Google Groups "rtc-linux" \
group. To unsubscribe from this group and stop receiving emails from it, send an \
email to rtc-linux+unsubscribe@googlegroups.com. For more options, visit \
https://groups.google.com/d/optout.
["signature.asc" (application/pgp-signature)]
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic