From mboxrd@z Thu Jan 1 00:00:00 1970 From: Maxime Ripard Subject: Re: [PATCH 3/6] pinctrl: sunxi: Add H3 PIO controller support Date: Wed, 6 May 2015 14:23:02 +0200 Message-ID: <20150506122302.GF11057@lukather> References: <1430904693-1404-1-git-send-email-jenskuske@gmail.com> <1430904693-1404-4-git-send-email-jenskuske@gmail.com> <20150506101137.GB11057@lukather> <5549EE36.4060603@gmail.com> Reply-To: maxime.ripard-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="IvGM3kKqwtniy32b" Return-path: Content-Disposition: inline In-Reply-To: <5549EE36.4060603-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , To: Jens Kuske Cc: Emilio =?iso-8859-1?Q?L=F3pez?= , Mike Turquette , Linus Walleij , Vinod Koul , Rob Herring , Chen-Yu Tsai , devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org, linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-sunxi-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org List-Id: devicetree@vger.kernel.org --IvGM3kKqwtniy32b Content-Type: text/plain; charset=UTF-8 Content-Disposition: inline On Wed, May 06, 2015 at 12:34:30PM +0200, Jens Kuske wrote: > >> + SUNXI_PIN(SUNXI_PINCTRL_PIN(A, 6), > >> + SUNXI_FUNCTION(0x0, "gpio_in"), > >> + SUNXI_FUNCTION(0x1, "gpio_out"), > >> + SUNXI_FUNCTION(0x2, "scr"), /* PWREN */ > > > > The datasheet uses "SIM" for this, why have you changed the name here? > > Thought I had changed that back. I first used scr because the > responsible module is called scr everywhere else (clocks, memory map). > Looks like I messed it up now and called the clocks "sim" instead... > > I think I should also redo the dtsi and use scr for the clock again, to > stay compatible with how it was called in Manual and earlier sunxi SoCs. It seems reasonable :) Thanks, Maxime -- Maxime Ripard, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com --IvGM3kKqwtniy32b--