Re: [PATCH v4 3/3] ARM: berlin: add an ADC node for the BG2Q

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 17.05.2015 13:40, Jonathan Cameron wrote:
On 11/05/15 11:18, Antoine Tenart wrote:
This patch adds the ADC node for the Berlin BG2Q, using the newly added
Berlin IIO ADC driver.

Signed-off-by: Antoine Tenart <antoine.tenart@xxxxxxxxxxxxxxxxxx>

The driver support will be working it's way through to mainline in the
next merge window.  Obviously I 'could' take this through IIO, but not
without an appropriate Ack.

Hence I'll assume it's going through the arm-soc tree.

The node patch just fits right on top of the branch that reworks
the existing nodes of chip/system control nodes, i.e. where the
adc belongs to.

I'll pick the dts patch and will send it as part of the PR later
this week. As you already applied the driver and binding doc, this
is rather independent anyway.

Sebastian

---
  arch/arm/boot/dts/berlin2q.dtsi | 7 +++++++
  1 file changed, 7 insertions(+)

diff --git a/arch/arm/boot/dts/berlin2q.dtsi b/arch/arm/boot/dts/berlin2q.dtsi
index 187d056f7ad2..97c7e19e3ec6 100644
--- a/arch/arm/boot/dts/berlin2q.dtsi
+++ b/arch/arm/boot/dts/berlin2q.dtsi
@@ -565,6 +565,13 @@
  						function = "twsi3";
  					};
  				};
+
+				adc: adc {
+					compatible = "marvell,berlin2-adc";
+					interrupt-parent = <&sic>;
+					interrupts = <12>, <14>;
+					interrupt-names = "adc", "tsen";
+				};
  			};

  			sic: interrupt-controller@e000 {



--
To unsubscribe from this list: send the line "unsubscribe linux-iio" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Input]     [Linux Kernel]     [Linux SCSI]     [X.org]

  Powered by Linux