[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20181103190547.GD31179@amd>
Date: Sat, 3 Nov 2018 20:05:47 +0100
From: Pavel Machek <pavel@....cz>
To: Lubomir Rintel <lkundrak@...sk>
Cc: linux-kernel@...r.kernel.org, linux-arm-kernel@...ts.infradead.org,
devicetree@...r.kernel.org, Eric Miao <eric.y.miao@...il.com>,
Haojian Zhuang <haojian.zhuang@...il.com>,
Rob Herring <robh+dt@...nel.org>,
Mark Rutland <mark.rutland@....com>
Subject: Re: [PATCH 2/2] DT: marvell,mmp2: add more TWSI controllers
On Mon 2018-09-17 13:39:47, Lubomir Rintel wrote:
> I've gotten the base addresses, clocks and interrupts from an rusty and old
> out-of-tree driver. I haven't actually checked against the datasheet, since
> that one is reserved for the Marvell inner circle.
>
> Tested with an accelerometer on TWSI6 on an OLPC XO 1.75 machine.
>
> Cc: Eric Miao <eric.y.miao@...il.com>
> Cc: Haojian Zhuang <haojian.zhuang@...il.com>
> Cc: Rob Herring <robh+dt@...nel.org>
> Cc: Mark Rutland <mark.rutland@....com>
> Signed-off-by: Lubomir Rintel <lkundrak@...sk>
Acked-by: Pavel Machek <pavel@....cz>
> ---
> arch/arm/boot/dts/mmp2.dtsi | 49 +++++++++++++++++++++++++++++++++++++
> 1 file changed, 49 insertions(+)
>
> diff --git a/arch/arm/boot/dts/mmp2.dtsi b/arch/arm/boot/dts/mmp2.dtsi
> index 47e5b63339d1..2bd4e94501ce 100644
> --- a/arch/arm/boot/dts/mmp2.dtsi
> +++ b/arch/arm/boot/dts/mmp2.dtsi
> @@ -232,6 +232,55 @@
> status = "disabled";
> };
>
> + twsi3: i2c@...32000 {
> + compatible = "mrvl,mmp-twsi";
> + reg = <0xd4032000 0x1000>;
> + interrupt-parent = <&intcmux17>;
> + interrupts = <1>;
> + clocks = <&soc_clocks MMP2_CLK_TWSI2>;
> + resets = <&soc_clocks MMP2_CLK_TWSI2>;
> + #address-cells = <1>;
> + #size-cells = <0>;
> + status = "disabled";
> + };
> +
> + twsi4: i2c@...33000 {
> + compatible = "mrvl,mmp-twsi";
> + reg = <0xd4033000 0x1000>;
> + interrupt-parent = <&intcmux17>;
> + interrupts = <2>;
> + clocks = <&soc_clocks MMP2_CLK_TWSI3>;
> + resets = <&soc_clocks MMP2_CLK_TWSI3>;
> + #address-cells = <1>;
> + #size-cells = <0>;
> + status = "disabled";
> + };
> +
> +
> + twsi5: i2c@...33800 {
> + compatible = "mrvl,mmp-twsi";
> + reg = <0xd4033800 0x1000>;
> + interrupt-parent = <&intcmux17>;
> + interrupts = <3>;
> + clocks = <&soc_clocks MMP2_CLK_TWSI4>;
> + resets = <&soc_clocks MMP2_CLK_TWSI4>;
> + #address-cells = <1>;
> + #size-cells = <0>;
> + status = "disabled";
> + };
> +
> + twsi6: i2c@...34000 {
> + compatible = "mrvl,mmp-twsi";
> + reg = <0xd4034000 0x1000>;
> + interrupt-parent = <&intcmux17>;
> + interrupts = <4>;
> + clocks = <&soc_clocks MMP2_CLK_TWSI5>;
> + resets = <&soc_clocks MMP2_CLK_TWSI5>;
> + #address-cells = <1>;
> + #size-cells = <0>;
> + status = "disabled";
> + };
> +
> rtc: rtc@...10000 {
> compatible = "mrvl,mmp-rtc";
> reg = <0xd4010000 0x1000>;
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
Download attachment "signature.asc" of type "application/pgp-signature" (182 bytes)
Powered by blists - more mailing lists