From: mark.rutland@arm.com (Mark Rutland)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 2/2] dts/ls2080a: Update DTSI to add support of SP805 WDT
Date: Mon, 16 Nov 2015 14:40:34 +0000 [thread overview]
Message-ID: <20151116144034.GL20696@leverpostej> (raw)
In-Reply-To: <1447683883-6600-3-git-send-email-bhupesh.sharma@freescale.com>
On Mon, Nov 16, 2015 at 07:54:43PM +0530, Bhupesh Sharma wrote:
> This patch updates the LS2080a DTSI (DTS Include) file to add
> support for eight SP805 Watchdog units which can be used to
> reset the eight Cortex-A57 cores available on LS2080A.
>
> Signed-off-by: Bhupesh Sharma <bhupesh.sharma@freescale.com>
> ---
> arch/arm64/boot/dts/freescale/fsl-ls2080a.dtsi | 64 ++++++++++++++++++++++++
> 1 file changed, 64 insertions(+)
>
> diff --git a/arch/arm64/boot/dts/freescale/fsl-ls2080a.dtsi b/arch/arm64/boot/dts/freescale/fsl-ls2080a.dtsi
> index e81cd48..15637ab 100644
> --- a/arch/arm64/boot/dts/freescale/fsl-ls2080a.dtsi
> +++ b/arch/arm64/boot/dts/freescale/fsl-ls2080a.dtsi
> @@ -193,6 +193,70 @@
> interrupts = <0 32 0x4>; /* Level high type */
> };
>
> + cluster1_core0_watchdog: wdt at c000000 {
> + compatible = "arm,sp805-wdt", "arm,primecell";
> + reg = <0x0 0xc000000 0x0 0x1000>;
> + interrupts = <1 12 0x8>; /* PPI, Level low type */
> + clocks = <&clockgen 4 3>;
> + clock-names = "apb_pclk";
> + };
> +
> + cluster1_core1_watchdog: wdt at c010000 {
> + compatible = "arm,sp805-wdt", "arm,primecell";
> + reg = <0x0 0xc010000 0x0 0x1000>;
> + interrupts = <1 12 0x8>; /* PPI, Level low type */
> + clocks = <&clockgen 4 3>;
> + clock-names = "apb_pclk";
> + };
How does this pseudo-banking work?
For one thing as far as I can see, the SP805 driver can't handle PPIs in
mainline.
Additionally, the kernel has no idea which CPU each of these is
associated with, and we effectively need to deal with shared PPIs in
order to use this appropriately in the kernel (if each WDT's interrupt
is wired to a particular core).
Thanks,
Mark.
prev parent reply other threads:[~2015-11-16 14:40 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-11-16 14:24 [PATCH 0/2] ARM64: Enable SP805 WDT support for FSL LS2080A Bhupesh Sharma
2015-11-16 14:24 ` [PATCH 1/2] Documentation: DT: Add entry for ARM SP805-WDT Bhupesh Sharma
2015-11-16 14:45 ` Mark Rutland
2015-11-17 0:14 ` Rob Herring
2015-11-18 14:03 ` Bhupesh SHARMA
2015-11-18 14:19 ` Rob Herring
2015-11-28 21:47 ` Bhupesh SHARMA
2015-11-18 13:51 ` Bhupesh SHARMA
2015-11-28 21:44 ` Bhupesh SHARMA
2015-12-04 12:32 ` Bhupesh SHARMA
2015-11-16 14:24 ` [PATCH 2/2] dts/ls2080a: Update DTSI to add support of SP805 WDT Bhupesh Sharma
2015-11-16 14:40 ` Mark Rutland [this message]
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=20151116144034.GL20696@leverpostej \
--to=mark.rutland@arm.com \
--cc=linux-arm-kernel@lists.infradead.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: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox