LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
From: Manish Narani <manish.narani@xilinx.com>
To: <jic23@kernel.org>, <knaack.h@gmx.de>, <lars@metafoo.de>,
	<pmeerw@pmeerw.net>, <robh+dt@kernel.org>, <mark.rutland@arm.com>,
	<michal.simek@xilinx.com>, <manish.narani@xilinx.com>,
	<amit.kucheria@linaro.org>, <sudeep.holla@arm.com>,
	<olof@lixom.net>, <broonie@kernel.org>, <arnaud.pouliquen@st.com>,
	<eugen.hristev@microchip.com>, <linus.walleij@linaro.org>,
	<vilhelm.gray@gmail.com>, <geert@linux-m68k.org>,
	<freeman.liu@spreadtrum.com>, <rdunlap@infradead.org>,
	<tglx@linutronix.de>, <baolin.wang@linaro.org>,
	<gregkh@linuxfoundation.org>, <jdelvare@suse.com>,
	<linux@roeck-us.net>
Cc: <linux-iio@vger.kernel.org>, <devicetree@vger.kernel.org>,
	<linux-arm-kernel@lists.infradead.org>,
	<linux-kernel@vger.kernel.org>, <linux-hwmon@vger.kernel.org>
Subject: [PATCH v3 3/3] arm64: zynqmp: DT: Add Xilinx AMS node
Date: Mon, 29 Oct 2018 17:40:26 +0530	[thread overview]
Message-ID: <1540815026-1012-4-git-send-email-manish.narani@xilinx.com> (raw)
In-Reply-To: <1540815026-1012-1-git-send-email-manish.narani@xilinx.com>

The Xilinx AMS includes an ADC as well as on-chip sensors that can be
used to sample external and monitor on-die operating conditions, such as
temperature and supply voltage levels.

Signed-off-by: Manish Narani <manish.narani@xilinx.com>
---
 arch/arm64/boot/dts/xilinx/zynqmp.dtsi | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

diff --git a/arch/arm64/boot/dts/xilinx/zynqmp.dtsi b/arch/arm64/boot/dts/xilinx/zynqmp.dtsi
index 29ce234..e5facd8 100644
--- a/arch/arm64/boot/dts/xilinx/zynqmp.dtsi
+++ b/arch/arm64/boot/dts/xilinx/zynqmp.dtsi
@@ -617,5 +617,32 @@
 			reg = <0x0 0xfd4d0000 0x0 0x1000>;
 			timeout-sec = <10>;
 		};
+
+		xilinx_ams: ams@ffa50000 {
+			compatible = "xlnx,zynqmp-ams";
+			status = "disabled";
+			interrupt-parent = <&gic>;
+			interrupts = <0 56 4>;
+			interrupt-names = "ams-irq";
+			reg = <0x0 0xffa50000 0x0 0x800>;
+			reg-names = "ams-base";
+			#address-cells = <1>;
+			#size-cells = <1>;
+			#io-channel-cells = <1>;
+			ranges = <0 0 0xffa50800 0x400
+				  1 0 0xffa50c00 0x400>;
+
+			ams_ps: ams_ps@0,0 {
+				compatible = "xlnx,zynqmp-ams-ps";
+				status = "disabled";
+				reg = <0 0x400>;
+			};
+
+			ams_pl: ams_pl@1,0 {
+				compatible = "xlnx,zynqmp-ams-pl";
+				status = "disabled";
+				reg = <0 0x400>;
+			};
+		};
 	};
 };
-- 
2.1.1


      parent reply	other threads:[~2018-10-29 12:11 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-10-29 12:10 [PATCH v3 0/3] Add Xilinx AMS Driver Manish Narani
2018-10-29 12:10 ` [PATCH v3 1/3] dt-bindings: iio: adc: Add Xilinx AMS binding documentation Manish Narani
2018-10-30 20:42   ` Rob Herring
2018-10-29 12:10 ` [PATCH v3 2/3] iio: adc: Add Xilinx AMS driver Manish Narani
2018-11-03 11:50   ` Jonathan Cameron
2018-10-29 12:10 ` Manish Narani [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=1540815026-1012-4-git-send-email-manish.narani@xilinx.com \
    --to=manish.narani@xilinx.com \
    --cc=amit.kucheria@linaro.org \
    --cc=arnaud.pouliquen@st.com \
    --cc=baolin.wang@linaro.org \
    --cc=broonie@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=eugen.hristev@microchip.com \
    --cc=freeman.liu@spreadtrum.com \
    --cc=geert@linux-m68k.org \
    --cc=gregkh@linuxfoundation.org \
    --cc=jdelvare@suse.com \
    --cc=jic23@kernel.org \
    --cc=knaack.h@gmx.de \
    --cc=lars@metafoo.de \
    --cc=linus.walleij@linaro.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-hwmon@vger.kernel.org \
    --cc=linux-iio@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux@roeck-us.net \
    --cc=mark.rutland@arm.com \
    --cc=michal.simek@xilinx.com \
    --cc=olof@lixom.net \
    --cc=pmeerw@pmeerw.net \
    --cc=rdunlap@infradead.org \
    --cc=robh+dt@kernel.org \
    --cc=sudeep.holla@arm.com \
    --cc=tglx@linutronix.de \
    --cc=vilhelm.gray@gmail.com \
    --subject='Re: [PATCH v3 3/3] arm64: zynqmp: DT: Add Xilinx AMS node' \
    /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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).