From: Adam Thomson <Adam.Thomson.Opensource@diasemi.com> To: Marco Felsch <m.felsch@pengutronix.de>, Support Opensource <Support.Opensource@diasemi.com>, "linux@roeck-us.net" <linux@roeck-us.net>, "robh+dt@kernel.org" <robh+dt@kernel.org>, "lee.jones@linaro.org" <lee.jones@linaro.org>, Steve Twiss <stwiss.opensource@diasemi.com>, Adam Thomson <Adam.Thomson.Opensource@diasemi.com> Cc: "linux-watchdog@vger.kernel.org" <linux-watchdog@vger.kernel.org>, "devicetree@vger.kernel.org" <devicetree@vger.kernel.org>, "linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>, "kernel@pengutronix.de" <kernel@pengutronix.de> Subject: RE: [PATCH 1/3] mfd: da9062: fix watchdog compatible string Date: Tue, 14 Jan 2020 16:19:04 +0000 Message-ID: <AM6PR10MB2263E53D89F7EC66C5E3779D80340@AM6PR10MB2263.EURPRD10.PROD.OUTLOOK.COM> (raw) In-Reply-To: <20200108095704.23233-2-m.felsch@pengutronix.de> On 08 January 2020 09:57, Marco Felsch wrote: > The watchdog driver compatible is "dlg,da9062-watchdog" and not > "dlg,da9062-wdt". Therefore the mfd-core can't populate the of_node and > fwnode. As result the watchdog driver can't parse the devicetree. > I do agree there's a mismatch between the documentation and the MFD code. So in your DT are you specifying 'dlg,da9062-watchdog' and not 'dlg,da9062-wdt' hence the issue? Are there any existing users who are using 'dlg,da9062-wdt' in their DT instead? > Fixes: 9b40b030c4ad ("mfd: da9062: Supply core driver") > Signed-off-by: Marco Felsch <m.felsch@pengutronix.de> > --- > drivers/mfd/da9062-core.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/mfd/da9062-core.c b/drivers/mfd/da9062-core.c > index e69626867c26..9143de7b77b8 100644 > --- a/drivers/mfd/da9062-core.c > +++ b/drivers/mfd/da9062-core.c > @@ -248,7 +248,7 @@ static const struct mfd_cell da9062_devs[] = { > .name = "da9062-watchdog", > .num_resources = ARRAY_SIZE(da9062_wdt_resources), > .resources = da9062_wdt_resources, > - .of_compatible = "dlg,da9062-wdt", > + .of_compatible = "dlg,da9062-watchdog", > }, > { > .name = "da9062-thermal", > -- > 2.20.1
next prev parent reply index Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top 2020-01-08 9:57 [PATCH 0/3] Explicit disable da9062 watchdog during suspend Marco Felsch 2020-01-08 9:57 ` [PATCH 1/3] mfd: da9062: fix watchdog compatible string Marco Felsch 2020-01-11 16:47 ` Guenter Roeck 2020-01-14 16:19 ` Adam Thomson [this message] 2020-01-14 16:23 ` Marco Felsch 2020-01-14 16:28 ` Adam Thomson 2020-01-16 13:35 ` Lee Jones 2020-01-08 9:57 ` [PATCH 2/3] dt-bindings: watchdog: da9062: add suspend disable option Marco Felsch 2020-01-14 16:20 ` Adam Thomson 2020-01-15 1:43 ` Rob Herring 2020-01-23 20:50 ` Guenter Roeck 2020-01-08 9:57 ` [PATCH 3/3] watchdog: da9062: add power management ops Marco Felsch 2020-01-14 16:24 ` Adam Thomson 2020-01-23 20:51 ` Guenter Roeck 2020-02-06 9:00 ` Marco Felsch 2020-02-06 14:28 ` Guenter Roeck 2020-02-06 14:45 ` Guenter Roeck 2020-02-07 6:51 ` Marco Felsch 2020-01-08 10:09 ` [PATCH 0/3] Explicit disable da9062 watchdog during suspend Marco Felsch 2020-02-07 6:47 ` Marco Felsch
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=AM6PR10MB2263E53D89F7EC66C5E3779D80340@AM6PR10MB2263.EURPRD10.PROD.OUTLOOK.COM \ --to=adam.thomson.opensource@diasemi.com \ --cc=Support.Opensource@diasemi.com \ --cc=devicetree@vger.kernel.org \ --cc=kernel@pengutronix.de \ --cc=lee.jones@linaro.org \ --cc=linux-kernel@vger.kernel.org \ --cc=linux-watchdog@vger.kernel.org \ --cc=linux@roeck-us.net \ --cc=m.felsch@pengutronix.de \ --cc=robh+dt@kernel.org \ --cc=stwiss.opensource@diasemi.com \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
Linux-Watchdog Archive on lore.kernel.org Archives are clonable: git clone --mirror https://lore.kernel.org/linux-watchdog/0 linux-watchdog/git/0.git # If you have public-inbox 1.1+ installed, you may # initialize and index your mirror using the following commands: public-inbox-init -V2 linux-watchdog linux-watchdog/ https://lore.kernel.org/linux-watchdog \ linux-watchdog@vger.kernel.org public-inbox-index linux-watchdog Example config snippet for mirrors Newsgroup available over NNTP: nntp://nntp.lore.kernel.org/org.kernel.vger.linux-watchdog AGPL code for this site: git clone https://public-inbox.org/public-inbox.git