From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rob Herring Subject: Re: [PATCH 2/5] drivers: mmc: sunxi: limit A64 MMC2 to 8K DMA buffer Date: Wed, 4 Jan 2017 08:07:50 -0600 Message-ID: <20170104140750.7qs4pvggwjdj5cma@rob-hp-laptop> References: <1483398226-29321-1-git-send-email-andre.przywara@arm.com> <1483398226-29321-3-git-send-email-andre.przywara@arm.com> Reply-To: robh-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Return-path: Sender: linux-sunxi-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Content-Disposition: inline In-Reply-To: <1483398226-29321-3-git-send-email-andre.przywara-5wv7dgnIgG8@public.gmane.org> List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , To: Andre Przywara Cc: Maxime Ripard , Ulf Hansson , Chen-Yu Tsai , Hans De Goede , Icenowy Zheng , Mark Rutland , devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-mmc-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org, linux-sunxi-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org, linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-Id: devicetree@vger.kernel.org On Mon, Jan 02, 2017 at 11:03:43PM +0000, Andre Przywara wrote: > From: Maxime Ripard > > Unlike the A64 user manual reports, the third MMC controller on the > A64 (and the only one capable of 8-bit HS400 eMMC transfers) has a > DMA buffer size limit of 8KB (much like the very old Allwinner SoCs). > This does not affect the other two controllers, so introduce a new > DT compatible string to let the driver use different settings for that > particular device. This will also help to enable the high-speed transfer > modes of that controller later. > > Signed-off-by: Maxime Ripard > Signed-off-by: Andre Przywara > --- > Documentation/devicetree/bindings/mmc/sunxi-mmc.txt | 1 + > drivers/mmc/host/sunxi-mmc.c | 7 +++++++ > 2 files changed, 8 insertions(+) Acked-by: Rob Herring