From mboxrd@z Thu Jan 1 00:00:00 1970 From: Maxime Ripard Subject: Re: [PATCH v3 02/19] clk: sunxi: Add display and TCON0 clocks driver Date: Thu, 21 Apr 2016 14:01:15 +0200 Message-ID: <20160421120115.GN13045@lukather> References: <1458751122-23976-1-git-send-email-maxime.ripard@free-electrons.com> <1458751122-23976-3-git-send-email-maxime.ripard@free-electrons.com> <20160415223410.GS14441@codeaurora.org> 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="V7BlxAaPrdhzdIM1" Return-path: Sender: linux-sunxi-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Content-Disposition: inline In-Reply-To: <20160415223410.GS14441-sgV2jX0FEOL9JmXXK+q4OQ@public.gmane.org> List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , To: Stephen Boyd Cc: Mike Turquette , David Airlie , Thierry Reding , Rob Herring , Chen-Yu Tsai , Daniel Vetter , devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org, linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, dri-devel-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org, linux-sunxi-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org, Laurent Pinchart , Hans de Goede , Alexander Kaplan , Boris Brezillon , Thomas Petazzoni , Rob Clark List-Id: devicetree@vger.kernel.org --V7BlxAaPrdhzdIM1 Content-Type: text/plain; charset=UTF-8 Content-Disposition: inline Hi Stephen, On Fri, Apr 15, 2016 at 03:34:10PM -0700, Stephen Boyd wrote: > > +static int sun4i_a10_display_reset_xlate(struct reset_controller_dev *rcdev, > > + const struct of_phandle_args *spec) > > +{ > > + /* We only have a single reset signal */ > > + return 0; > > +} > > Is there a default function for this case in the reset framework? No, the reset bindings assumes that you have a cell size of 1, and it's the only case that's supported by the reset framework default xlate. I adressed the rest of your comments. Thanks! Maxime -- Maxime Ripard, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com --V7BlxAaPrdhzdIM1--