From: Tom Warren Date: Wed, 4 Jan 2017 15:35:11 +0000 Subject: [U-Boot] [PATCH v3 0/6] arm: tegra: apalis-tk1, mmc and ext clock loopback In-Reply-To: References: <20161222042610.4952-1-marcel@ziswiler.com> <75d56013b4064d47b82e1a4753f59ed8@HQMAIL103.nvidia.com> Message-ID: <00b2c0ff16894a40b568ee4ff5dffcc1@HQMAIL103.nvidia.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Mashiro, > -----Original Message----- > From: Masahiro Yamada [mailto:yamada.masahiro at socionext.com] > Sent: Wednesday, January 04, 2017 3:07 AM > To: Tom Warren ; Marcel Ziswiler > ; Marcel Ziswiler > Cc: u-boot at lists.denx.de; Lucas Stach ; Joe Hershberger > ; Max Krummenacher > ; Jagan Teki ; > Stefan Roese ; Stephen Warren ; Ian > Campbell ; tomcwarren3959 at gmail.com; Stefan Agner > ; Hans de Goede ; > Albert Aribaud ; Alban Bedel > ; Jaehoon Chung > Subject: Re: [U-Boot] [PATCH v3 0/6] arm: tegra: apalis-tk1, mmc and ext clock > loopback > > 2017-01-04 4:40 GMT+09:00 Tom Warren : > > Marcel, > > > >> -----Original Message----- > >> From: Marcel Ziswiler [mailto:marcel at ziswiler.com] > >> Sent: Wednesday, December 21, 2016 9:26 PM > >> To: u-boot at lists.denx.de > >> Cc: Max Krummenacher ; Stefan Agner > >> ; Marcel Ziswiler > >> ; York Sun ; > >> Peter.Chubb at data61.csiro.au; Lokesh Vutla ; > >> Jaehoon Chung ; Hans de Goede > >> ; Heiko Schocher ; Albert Aribaud > >> ; Prabhakar Kushwaha > >> ; Stephen Warren ; > >> Jagan Teki ; Alexander Graf ; Tom > >> Warren ; Joe Hershberger > >> ; Lucas Stach ; Allen Martin > >> ; Stefan Roese ; Alban Bedel > >> ; Simon Glass ; > >> Masahiro Yamada ; Ian Campbell > >> > >> Subject: [PATCH v3 0/6] arm: tegra: apalis-tk1, mmc and ext clock > >> loopback > >> > >> From: Marcel Ziswiler > >> > >> > >> This series adds support for the Toradex Apalis TK1 as well as moves > >> the CONFIG_TEGRA_MMC to Kconfig and introduces a new option to > >> disable the external clock loopback on SDMMC3. > >> > >> The whole series is also available here: > >> > >> http://git.toradex.com/cgit/u-boot-toradex.git/log/?h=for-next > >> > >> Changes in v3: > >> - My recent fresh install of Fedora 25 was missing an aarch64 toolchain > >> which made moveconfig.py not properly handle the 6 newer Tegras. I now > >> re-run moveconfig.py after installing an aarch64 toolchain and it all > >> looks sane. Sorry about that, Tom. > > With Mashiro's recent 'mmc: move more driver config options to Kconfig' > patchset (which is in TOT U-Boot now), your v3 patchset no longer applies > cleanly. > > > > I'll rebase u-boot-tegra/master against u-boot/master and push a new repo to > Denx so you can get your Apalis-TK1 patchset to work w/all of the recent > changes. > > > > Thanks, and sorry for the extra work! > > > > (Sorry, the previous mail had been sent before I completed it) > > Marcel, > > Sorry, I did not notice you were moving CONFIG_TEGRA_MMC. > > > Moreover, I am moving CONFIG_TEGRA_MMC and renaming in the following > patch: > > http://patchwork.ozlabs.org/patch/710054/ > > > My goal is all MMC driver options prefixed with CONFIG_MMC_. > (and SDHCI variants with CONFIG_MMC_SDHCI_, DesignWare variants with > CONFIG_MMC_DW_ ) > > > Here is a question about the Tegra MMC driver. > > From the compatible strings in drivers/mmc/tegra-mmc.c, I suspect this driver > is based on SDHCI and in Linux, the option name is > CONFIG_MMC_SDHCI_TEGRA. > > Why doesn't the driver re-use driver/mmc/sdhci.c ? I created the tegra_mmc.c driver for Seaboard/Tegra20 way back in May of 2011 (commit 21ef6a1). I don't remember what I based it on - I assume another extant U-Boot mmc driver like mmc.c from Andy Fleming. It looks like Lei Wen created the sdhci.c driver in June of 2011 (commit af62a557), so it wasn't available when I created tegra_mmc.c. It's unlikely that we'll take a working driver and rewrite it based on sdhci.c. If someone else wants to shoulder that burden, and does adequate testing to prove its fully compatible across all Tegra chipsets (including owning any future work), I won't object. Tom -- nvpublic > > > > -- > Best Regards > Masahiro Yamada