From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752237AbdJSISI (ORCPT ); Thu, 19 Oct 2017 04:18:08 -0400 Received: from hermes.aosc.io ([199.195.250.187]:34764 "EHLO hermes.aosc.io" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751876AbdJSISF (ORCPT ); Thu, 19 Oct 2017 04:18:05 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Date: Thu, 19 Oct 2017 16:18:04 +0800 From: icenowy@aosc.io To: wens@csie.org Cc: =?UTF-8?Q?Joonas_Kylm=C3=A4l=C3=A4?= , Lee Jones , Maxime Ripard , linux-arm-kernel , devicetree , linux-kernel , linux-sunxi , Quentin Schulz Subject: Re: [linux-sunxi] [PATCH v2 6/8] ARM: dts: sun8i: a83t: Move mmc1 pinctrl setting to dtsi file In-Reply-To: References: <20171018083138.14517-1-wens@csie.org> <20171018083138.14517-7-wens@csie.org> Message-ID: <0e934ef6b4254fc94f613d1305c06cde@aosc.io> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 在 2017-10-19 14:48,Chen-Yu Tsai 写道: > On Wed, Oct 18, 2017 at 11:00 PM, Joonas Kylmälä > wrote: >> Hi, >> >> Chen-Yu Tsai: >>> mmc1 only has 1 possible pinmux setting. >> >> What if someone is using the MMC with bus width 1 and then using the >> remaining 3 pins for something else? > > I would very much like to see such a design. Currently the devices > we see all follow Allwinner's reference design, with only minor > modifications. As such, mmc1 is used exclusively for connecting > SDIO-based WiFi modules. > > If such a radical(?) design is done, the vendor can always add > a "mmc1-1bit-pins" setting and override the default. I think this kind of thing happened on A13 -- the MMC2 of A13 is 8-bit, but Lichee Pi One wires it to a SD card slot (4-bit); then the remaining 4 data lines are wired out as GPIO. (Lichee Pi's do not like obeying reference design ;-) ) But I think a MMC/SDIO device under 1-bit mode is too slow that maybe no one will use such a setup. > > ChenYu