[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <6ED8E3B22081A4459DAC7699F3695FB7014B253DAD@SW-EX-MBX02.diasemi.com>
Date: Mon, 20 Jul 2015 17:08:00 +0000
From: "Opensource [Steve Twiss]" <stwiss.opensource@...semi.com>
To: Alexandre Belloni <alexandre.belloni@...e-electrons.com>
CC: DEVICETREE <devicetree@...r.kernel.org>,
Ian Campbell <ijc+devicetree@...lion.org.uk>,
Kumar Gala <galak@...eaurora.org>,
LINUXINPUT <linux-input@...r.kernel.org>,
LINUXKERNEL <linux-kernel@...r.kernel.org>,
Mark Rutland <mark.rutland@....com>,
"Pawel Moll" <pawel.moll@....com>,
RTCLINUX <rtc-linux@...glegroups.com>,
Rob Herring <robh+dt@...nel.org>,
Alessandro Zummo <a.zummo@...ertech.it>,
"David Dajun Chen" <david.chen@...semi.com>,
Lee Jones <lee.jones@...aro.org>,
Samuel Ortiz <sameo@...ux.intel.com>,
Support Opensource <Support.Opensource@...semi.com>
Subject: RE: [PATCH RFC V1 3/3] devicetree: da9062: Add device tree bindings
for DA9062 RTC
On 18 July 2015 00:48, Alexandre Belloni wrote:
> On 09/07/2015 at 08:45:54 +0100, S Twiss wrote :
> > From: S Twiss <stwiss.opensource@...semi.com>
> >
> > Add device tree bindings for the DA9062 RTC driver component
> >
> > Signed-off-by: Steve Twiss <stwiss.opensource@...semi.com>
[...]
> > +- rtc : This node defines settings required for the Real-Time Clock associated
> > + with the DA9062. There are currently no entries in this binding, however
> > + compatible = "dlg,da9062-rtc" should be added if a node is created.
[...]
> > @@ -55,6 +60,10 @@ Example:
> > interrupts = <11 IRQ_TYPE_LEVEL_LOW>;
> > interrupt-controller;
> >
> > + rtc {
> > + compatible = "dlg,da9062-rtc";
> > + };
> > +
>
> Are those subnodes even parsed? As the parent node is not compatible
> with "simple-bus" or "simple-mfd", I guess not. You driver is probed
> from the mfd_cells in da9063-core.c
Hi Alexandre,
If I miss out the compatible line for the RTC in the DTSI for DA9062, or is I alter it
so it does not match the string specified in the DA9063 RTC driver, the DA9063 RTC
driver will not be probed for the DA9062 compatibility.
The RTC compatible = "dlg,da9062-rtc" is essential in this case.
[...]
Regards,
Stephen
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists