Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755104AbcKJK0X (ORCPT ); Thu, 10 Nov 2016 05:26:23 -0500 Received: from mail-db5eur01on0040.outbound.protection.outlook.com ([104.47.2.40]:19040 "EHLO EUR01-DB5-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1754806AbcKJK0T (ORCPT ); Thu, 10 Nov 2016 05:26:19 -0500 From: "Y.B. Lu" To: Scott Wood , Ulf Hansson CC: linux-mmc , Arnd Bergmann , "linuxppc-dev@lists.ozlabs.org" , "devicetree@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" , "linux-kernel@vger.kernel.org" , linux-clk , "iommu@lists.linux-foundation.org" , "netdev@vger.kernel.org" , Greg Kroah-Hartman , Mark Rutland , "Rob Herring" , Russell King , "Jochen Friedrich" , Joerg Roedel , Claudiu Manoil , Bhupesh Sharma , Qiang Zhao , Kumar Gala , Leo Li , "X.B. Xie" , "M.H. Lian" Subject: RE: [v16, 0/7] Fix eSDHC host version register bug Thread-Topic: [v16, 0/7] Fix eSDHC host version register bug Thread-Index: AQHSOjksSPo72PlHEUe0rgBS+XbosKDQ+X6AgACeiwCAAAJSsA== Date: Thu, 10 Nov 2016 04:06:05 +0000 Message-ID: References: <1478661252-42439-1-git-send-email-yangbo.lu@nxp.com> <1478750114.21746.4.camel@buserror.net> In-Reply-To: <1478750114.21746.4.camel@buserror.net> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=yangbo.lu@nxp.com; x-originating-ip: [199.59.226.141] x-ms-office365-filtering-correlation-id: 11b52d1c-c2da-4912-0ae6-08d4091ee4d2 x-microsoft-exchange-diagnostics: 1;HE1PR04MB1193;7:b01xy1UNvEvcbdFRKhQeOwXbuPcZDVXSTbN0ifkhcNqIt+PoimWjo1r5MvfGCwiT4DMSTjhRYehZiRa2R6Z9JhKyJfKutRIPgNllCjIubb0/tSn4EBJY4rVdb4WovbDVrQ9bxfJ1klHLWniwRYjkn8F4S8s5xHrnt56pjdx8F8F7kYU43RyZxDDfFQdYQ22FAqh84oesttJXxWT2Wznb3e2LbriK5ub7x328wktYTnxFILT/KlZSU7PHxoZXjmuGC0BoBIn2oSqxJRVEoaIEDDlEWw8wymmZRI3h2AIab6V7/S9xeq19XTa4dRtjnZdCaZ9/qWk81PYU/act9eIhKZnDvJq6Qmd9H5n66s+9lc4=;23:7H/PS72E1TgZbcCE1dE9AzC8rD5y8cIFVTpd/pRMoRs6RP6rl0OxNPXjYuHW6uvuYoJ11f3QgKnyA+RCJQACvlwovOgNrdWa41j2e9LKFVK+bpw1EfrwfGaAIxUt0QDi3VcZDxFJEdronTVxTFvjX+WokUuyLYrwUtc4o6vv+fDkEI1InxTE0+nb0iuIRGkt x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:HE1PR04MB1193; x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(9452136761055)(65623756079841)(185117386973197)(258649278758335)(84791874153150); x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(6045074)(6060229)(6040176)(601004)(2401047)(8121501046)(5005006)(3002001)(10201501046)(6055026)(6061226)(6046074);SRVR:HE1PR04MB1193;BCL:0;PCL:0;RULEID:;SRVR:HE1PR04MB1193; x-forefront-prvs: 01221E3973 x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(6009001)(7916002)(189002)(377454003)(199003)(13464003)(24454002)(377424004)(5660300001)(33656002)(3846002)(7696004)(102836003)(6116002)(68736007)(66066001)(586003)(8936002)(2906002)(9686002)(229853002)(74316002)(3280700002)(87936001)(7736002)(76576001)(77096005)(3660700001)(305945005)(2900100001)(92566002)(189998001)(86362001)(50986999)(76176999)(106356001)(106116001)(122556002)(7846002)(2950100002)(8676002)(97736004)(81156014)(81166006)(105586002)(7416002)(4326007)(101416001)(5001770100001)(54356999)(422495003);DIR:OUT;SFP:1101;SCL:1;SRVR:HE1PR04MB1193;H:DB6PR0401MB2536.eurprd04.prod.outlook.com;FPR:;SPF:None;PTR:InfoNoRecords;MX:1;A:1;LANG:en; spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 X-MS-Exchange-CrossTenant-originalarrivaltime: 10 Nov 2016 04:06:05.7901 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: HE1PR04MB1193 X-OriginatorOrg: nxp.com Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from base64 to 8bit by mail.home.local id uAAAQR56022215 Content-Length: 5676 Lines: 121 > -----Original Message----- > From: linux-mmc-owner@vger.kernel.org [mailto:linux-mmc- > owner@vger.kernel.org] On Behalf Of Scott Wood > Sent: Thursday, November 10, 2016 11:55 AM > To: Ulf Hansson; Y.B. Lu > Cc: linux-mmc; Arnd Bergmann; linuxppc-dev@lists.ozlabs.org; > devicetree@vger.kernel.org; linux-arm-kernel@lists.infradead.org; linux- > kernel@vger.kernel.org; linux-clk; iommu@lists.linux-foundation.org; > netdev@vger.kernel.org; Greg Kroah-Hartman; Mark Rutland; Rob Herring; > Russell King; Jochen Friedrich; Joerg Roedel; Claudiu Manoil; Bhupesh > Sharma; Qiang Zhao; Kumar Gala; Leo Li; X.B. Xie; M.H. Lian > Subject: Re: [v16, 0/7] Fix eSDHC host version register bug > > On Wed, 2016-11-09 at 19:27 +0100, Ulf Hansson wrote: > > - i2c-list > > > > On 9 November 2016 at 04:14, Yangbo Lu wrote: > > > > > > This patchset is used to fix a host version register bug in the > > > T4240- > > > R1.0-R2.0 > > > eSDHC controller. To match the SoC version and revision, 15 previous > > > version patchsets had tried many methods but all of them were > > > rejected by reviewers. > > > Such as > > >         - dts compatible method > > >         - syscon method > > >         - ifdef PPC method > > >         - GUTS driver getting SVR method Anrd suggested a > > > soc_device_match method in v10, and this is the only available > > > method left now. This v11 patchset introduces the soc_device_match > > > interface in soc driver. > > > > > > The first four patches of Yangbo are to add the GUTS driver. This is > > > used to register a soc device which contain soc version and revision > > > information. > > > The other three patches introduce the soc_device_match method in soc > > > driver and apply it on esdhc driver to fix this bug. > > > > > > --- > > > Changes for v15: > > >         - Dropped patch 'dt: bindings: update Freescale DCFG > compatible' > > >           since the work had been done by below patch on ShawnGuo's > > > linux tree. > > >           'dt-bindings: fsl: add LS1043A/LS1046A/LS2080A compatible > > > for SCFG > > >            and DCFG' > > >         - Fixed error code issue in guts driver Changes for v16: > > >         - Dropped patch 'powerpc/fsl: move mpc85xx.h to > include/linux/fsl' > > >         - Added a bug-fix patch from Geert > > > --- > > > > > > Arnd Bergmann (1): > > >   base: soc: introduce soc_device_match() interface > > > > > > Geert Uytterhoeven (1): > > >   base: soc: Check for NULL SoC device attributes > > > > > > Yangbo Lu (5): > > >   ARM64: dts: ls2080a: add device configuration node > > >   dt: bindings: move guts devicetree doc out of powerpc directory > > >   soc: fsl: add GUTS driver for QorIQ platforms > > >   MAINTAINERS: add entry for Freescale SoC drivers > > >   mmc: sdhci-of-esdhc: fix host version for T4240-R1.0-R2.0 > > > > > >  .../bindings/{powerpc => soc}/fsl/guts.txt         |   3 + > > >  MAINTAINERS                                        |  11 +- > > >  arch/arm64/boot/dts/freescale/fsl-ls2080a.dtsi     |   6 + > > >  drivers/base/Kconfig                               |   1 + > > >  drivers/base/soc.c                                 |  70 ++++++ > > >  drivers/mmc/host/Kconfig                           |   1 + > > >  drivers/mmc/host/sdhci-of-esdhc.c                  |  20 ++ > > >  drivers/soc/Kconfig                                |   3 +- > > >  drivers/soc/fsl/Kconfig                            |  18 ++ > > >  drivers/soc/fsl/Makefile                           |   1 + > > >  drivers/soc/fsl/guts.c                             | 236 > > > +++++++++++++++++++++ > > >  include/linux/fsl/guts.h                           | 125 > > > ++++++----- > > >  include/linux/sys_soc.h                            |   3 + > > >  13 files changed, 447 insertions(+), 51 deletions(-) > > >  rename Documentation/devicetree/bindings/{powerpc => > > > soc}/fsl/guts.txt > > > (91%) > > >  create mode 100644 drivers/soc/fsl/Kconfig > > >  create mode 100644 drivers/soc/fsl/guts.c > > > > > > -- > > > 2.1.0.27.g96db324 > > > > > Thanks, applied on my mmc tree for next! > > > > I noticed that some DT compatibles weren't documented, according to > > checkpatch. Please fix that asap! > > They are documented, in fsl/guts.txt (the file moved in patch 2/7): > >  - compatible : Should define the compatible device type for > >    global-utilities. > >    Possible compatibles: > >         "fsl,qoriq-device-config-1.0" > >         "fsl,qoriq-device-config-2.0" > >         "fsl,-device-config" > >         "fsl,-guts" > > Checkpatch doesn't understand compatibles defined in such a way. [Lu Yangbo-B47093] You're right, Scott. I dropped DT patch 'dt: bindings: update Freescale DCFG compatible ' which fixed un-doc issue since Shaohui had done this on Shawn Guo's tree. https://git.kernel.org/cgit/linux/kernel/git/shawnguo/linux.git/commit/?h=imx/dt64&id=981034a2bfcaff5c95dafde24d7abfe7f9025c19 Thanks. > > -Scott > > -- > To unsubscribe from this list: send the line "unsubscribe linux-mmc" in > the body of a message to majordomo@vger.kernel.org More majordomo info at > http://vger.kernel.org/majordomo-info.html