From: "Clément Péron" <peron.clem@gmail.com> To: Maxime Ripard <maxime.ripard@bootlin.com> Cc: Wim Van Sebroeck <wim@linux-watchdog.org>, Guenter Roeck <linux@roeck-us.net>, Rob Herring <robh+dt@kernel.org>, Mark Rutland <mark.rutland@arm.com>, Chen-Yu Tsai <wens@csie.org>, linux-watchdog@vger.kernel.org, devicetree <devicetree@vger.kernel.org>, linux-arm-kernel <linux-arm-kernel@lists.infradead.org>, linux-kernel <linux-kernel@vger.kernel.org> Subject: Re: [PATCH v3 1/4] dt-bindings: watchdog: add Allwinner H6 watchdog Date: Mon, 20 May 2019 17:16:25 +0200 [thread overview] Message-ID: <CAJiuCccUQ0grMo_RC4DN1AfzSPQq14KjUbNpFFvfQ+GBWDvG+w@mail.gmail.com> (raw) In-Reply-To: <20190520144258.eauhvvwfxuhiczie@flea> On Mon, 20 May 2019 at 16:43, Maxime Ripard <maxime.ripard@bootlin.com> wrote: > > On Mon, May 20, 2019 at 10:14:10AM +0200, Clément Péron wrote: > > > > > > > + - "allwinner,sun4i-a10-wdt" > > > > + - "allwinner,sun50i-a64-wdt","allwinner,sun6i-a31-wdt" > > > > + - "allwinner,sun50i-h6-wdt","allwinner,sun50i-a64-wdt", > > > > + "allwinner,sun6i-a31-wdt" > > > > > > Is there a reason to keep the A64 compatible? > > > > Yes, A64 and H6 has the exact same memory mapping looking at the datasheet. > > So if there is an errata or a new feature for the A64, it should be > > also compatible with the H6. > > Which is not the case with A31 (WDT_KEY_FIELD is not preset) > > The thing is, if you use those three compatibles, then you're saying > that it's ok for the OS to use first the H6 driver, then the A64 > driver, and then the A31 driver. > > If the A31 isn't compatible, then it shouldn't be listed there. And if > it is, then you can skip the A64 compatible. Hi Maxime, I'm just supposing that A31 is the version 1.0 of the IP, A64 is the version 1.1 and H6 is 1.2. And if an issue is found for A64 there is more chance that we will have to fix it also for H6. But bindings the driver with : "allwinner,sun50i-h6-wdt","allwinner,sun50i-a31-wdt" is also fine for me. Regards, Clement > > Maxime > > -- > Maxime Ripard, Bootlin > Embedded Linux and Kernel engineering > https://bootlin.com
WARNING: multiple messages have this Message-ID (diff)
From: "Clément Péron" <peron.clem@gmail.com> To: Maxime Ripard <maxime.ripard@bootlin.com> Cc: Mark Rutland <mark.rutland@arm.com>, devicetree <devicetree@vger.kernel.org>, linux-watchdog@vger.kernel.org, linux-kernel <linux-kernel@vger.kernel.org>, Chen-Yu Tsai <wens@csie.org>, Rob Herring <robh+dt@kernel.org>, linux-arm-kernel <linux-arm-kernel@lists.infradead.org>, Wim Van Sebroeck <wim@linux-watchdog.org>, Guenter Roeck <linux@roeck-us.net> Subject: Re: [PATCH v3 1/4] dt-bindings: watchdog: add Allwinner H6 watchdog Date: Mon, 20 May 2019 17:16:25 +0200 [thread overview] Message-ID: <CAJiuCccUQ0grMo_RC4DN1AfzSPQq14KjUbNpFFvfQ+GBWDvG+w@mail.gmail.com> (raw) In-Reply-To: <20190520144258.eauhvvwfxuhiczie@flea> On Mon, 20 May 2019 at 16:43, Maxime Ripard <maxime.ripard@bootlin.com> wrote: > > On Mon, May 20, 2019 at 10:14:10AM +0200, Clément Péron wrote: > > > > > > > + - "allwinner,sun4i-a10-wdt" > > > > + - "allwinner,sun50i-a64-wdt","allwinner,sun6i-a31-wdt" > > > > + - "allwinner,sun50i-h6-wdt","allwinner,sun50i-a64-wdt", > > > > + "allwinner,sun6i-a31-wdt" > > > > > > Is there a reason to keep the A64 compatible? > > > > Yes, A64 and H6 has the exact same memory mapping looking at the datasheet. > > So if there is an errata or a new feature for the A64, it should be > > also compatible with the H6. > > Which is not the case with A31 (WDT_KEY_FIELD is not preset) > > The thing is, if you use those three compatibles, then you're saying > that it's ok for the OS to use first the H6 driver, then the A64 > driver, and then the A31 driver. > > If the A31 isn't compatible, then it shouldn't be listed there. And if > it is, then you can skip the A64 compatible. Hi Maxime, I'm just supposing that A31 is the version 1.0 of the IP, A64 is the version 1.1 and H6 is 1.2. And if an issue is found for A64 there is more chance that we will have to fix it also for H6. But bindings the driver with : "allwinner,sun50i-h6-wdt","allwinner,sun50i-a31-wdt" is also fine for me. Regards, Clement > > Maxime > > -- > Maxime Ripard, Bootlin > Embedded Linux and Kernel engineering > https://bootlin.com _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
next prev parent reply other threads:[~2019-05-20 15:16 UTC|newest] Thread overview: 28+ messages / expand[flat|nested] mbox.gz Atom feed top 2019-05-18 15:23 [PATCH v3 0/4] Allwinner H6 watchdog support Clément Péron 2019-05-18 15:23 ` Clément Péron 2019-05-18 15:23 ` [PATCH v3 1/4] dt-bindings: watchdog: add Allwinner H6 watchdog Clément Péron 2019-05-18 15:23 ` Clément Péron 2019-05-20 7:35 ` Maxime Ripard 2019-05-20 7:35 ` Maxime Ripard 2019-05-20 8:14 ` Clément Péron 2019-05-20 8:14 ` Clément Péron 2019-05-20 14:42 ` Maxime Ripard 2019-05-20 14:42 ` Maxime Ripard 2019-05-20 15:16 ` Clément Péron [this message] 2019-05-20 15:16 ` Clément Péron 2019-05-18 15:23 ` [PATCH v3 2/4] arm64: dts: allwinner: h6: add watchdog node Clément Péron 2019-05-18 15:23 ` Clément Péron 2019-05-20 7:36 ` Maxime Ripard 2019-05-20 7:36 ` Maxime Ripard 2019-05-20 8:21 ` Clément Péron 2019-05-20 8:21 ` Clément Péron 2019-05-20 14:44 ` Maxime Ripard 2019-05-20 14:44 ` Maxime Ripard 2019-05-20 14:57 ` Chen-Yu Tsai 2019-05-20 14:57 ` Chen-Yu Tsai 2019-05-18 15:23 ` [PATCH v3 3/4] arm64: dts: allwinner: h6: add r_watchog node Clément Péron 2019-05-18 15:23 ` Clément Péron 2019-05-20 15:19 ` Clément Péron 2019-05-20 15:19 ` Clément Péron 2019-05-18 15:23 ` [PATCH v3 4/4] arm64: defconfig: enable sunxi watchdog Clément Péron 2019-05-18 15:23 ` Clément Péron
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=CAJiuCccUQ0grMo_RC4DN1AfzSPQq14KjUbNpFFvfQ+GBWDvG+w@mail.gmail.com \ --to=peron.clem@gmail.com \ --cc=devicetree@vger.kernel.org \ --cc=linux-arm-kernel@lists.infradead.org \ --cc=linux-kernel@vger.kernel.org \ --cc=linux-watchdog@vger.kernel.org \ --cc=linux@roeck-us.net \ --cc=mark.rutland@arm.com \ --cc=maxime.ripard@bootlin.com \ --cc=robh+dt@kernel.org \ --cc=wens@csie.org \ --cc=wim@linux-watchdog.org \ /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: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.