Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751629AbaDAUGx (ORCPT ); Tue, 1 Apr 2014 16:06:53 -0400 Received: from [207.46.100.133] ([207.46.100.133]:24767 "EHLO na01-by2-obe.outbound.protection.outlook.com" rhost-flags-FAIL-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1751354AbaDAUGu convert rfc822-to-8bit (ORCPT ); Tue, 1 Apr 2014 16:06:50 -0400 X-Greylist: delayed 79353 seconds by postgrey-1.27 at vger.kernel.org; Tue, 01 Apr 2014 16:06:49 EDT Message-ID: <1396383101.20336.6.camel@dinh-ubuntu> Subject: Re: [PATCH 1/2] dts: socfpga: Add bindings for Altera SoC SDRAM controller From: Thor Thayer - Sendmail To: Steffen Trumtrar CC: , , , , , , , , , , , Date: Tue, 1 Apr 2014 15:11:41 -0500 In-Reply-To: <20140401052807.GN5052@pengutronix.de> References: <1396303627-29198-1-git-send-email-tthayer@altera.com> <1396303627-29198-2-git-send-email-tthayer@altera.com> <20140401052807.GN5052@pengutronix.de> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8BIT X-Mailer: Evolution 3.2.3-0ubuntu6 MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-Forefront-Antispam-Report: =?utf-8?B?Q0lQOjY2LjM1LjIzNi4yMzI7Q1RSWTpVUztJUFY6TkxJO0VGVjpOTEk7U0ZW?= =?utf-8?B?Ok5TUE07U0ZTOigxMDAxOTAwMSkoNjAwOTAwMSkoNDU4MDAxKSgxOTkwMDIp?= =?utf-8?B?KDUxOTE0MDAzKSgyNDQ1NDAwMikoMTg5MDAyKSg1MTcwNDAwNSkoMzc3NDI0?= =?utf-8?B?MDA0KSg4MTM0MjAwMSkoNzcwOTYwMDEpKDc2NDgyMDAxKSg2Mjk2NjAwMiko?= =?utf-8?B?MzM3MTYwMDEpKDc0NTAyMDAxKSgzMzY0NjAwMSkoOTI3MjYwMDEpKDE2Nzk2?= =?utf-8?B?MDAyKSg2Mz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TM5NjAw?= =?utf-8?B?Mik7RElSOk9VVDtTRlA6MTEwMjtTQ0w6MTtTUlZSOkJOMUJGRk8xMUhVQjA1?= =?utf-8?B?MztIOlNKLUlURVhFREdFMDIuYWx0ZXJhLnByaXYuYWx0ZXJhLmNvbTtGUFI6?= =?utf-8?B?RTNGMkY0MUUuQUYzMEEyMjUuQ0ZENzdGOTMuODhENkMyMzguMjAyNkQ7TUxW?= =?utf-8?B?OnNmdjtQVFI6SW5mb0RvbWFpbk5vbmV4aXN0ZW50O0E6MTtNWDoxO0xBTkc6?= =?utf-8?Q?en;?= X-OriginatorOrg: altera.onmicrosoft.com X-Forefront-PRVS: 016885DD9B Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 2014-04-01 at 07:28 +0200, Steffen Trumtrar wrote: > Hi! > > On Mon, Mar 31, 2014 at 05:07:06PM -0500, tthayer@altera.com wrote: > > From: Thor Thayer > > > > Addition of the Altera SDRAM controller bindings and device > > tree changes to the Altera SoC project. > > > > diff --git a/Documentation/devicetree/bindings/arm/altera/socfpga-sdram.txt b/Documentation/devicetree/bindings/arm/altera/socfpga-sdram.txt > > new file mode 100644 > > index 0000000..351ab7b > > --- /dev/null > > +++ b/Documentation/devicetree/bindings/arm/altera/socfpga-sdram.txt > > @@ -0,0 +1,14 @@ > > +Altera SOCFPGA SDRAM Controller > > + > > +Required properties: > > +- compatible : "altr,sdr-ctl", "syscon"; > > + Note that syscon is invoked for this device to support the FPGA > > + bridge driver and possibly other devices in the future. See > > + also Documentation/devicetree/bindings/mfd/syscon.txt > > This note is really linux specific (and specific to some vendor kernel driver > for that matter). I think you should remove that. Hi Steffen. Are you asking for the path to syscon.txt to be removed or the entire note? The note is explaining why the "syscon" tag is used for this Altera IP block (registers shared between multiple drivers). Thanks for the clarification. > > > +- reg : Should contain 1 register ranges(address and length) > > + > > +Example: > > + sdrctl@0xffc25000 { > > + compatible = "altr,sdr-ctl", "syscon"; > > + reg = <0xffc25000 0x1000>; > > + }; > > diff --git a/arch/arm/boot/dts/socfpga.dtsi b/arch/arm/boot/dts/socfpga.dtsi > > index 9e78c1d..3634de7 100644 > > --- a/arch/arm/boot/dts/socfpga.dtsi > > +++ b/arch/arm/boot/dts/socfpga.dtsi > > @@ -528,6 +528,11 @@ > > reg-io-width = <4>; > > }; > > > > + sdrctl@0xffc25000 { > > + compatible = "altr,sdr-ctl", "syscon"; > > + reg = <0xffc25000 0x1000>; > > + }; > > + > > rstmgr@ffd05000 { > > compatible = "altr,rst-mgr"; > > reg = <0xffd05000 0x1000>; > > Regards, > Steffen > -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/