Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752616AbcDVGvr (ORCPT ); Fri, 22 Apr 2016 02:51:47 -0400 Received: from mail-bn1on0062.outbound.protection.outlook.com ([157.56.110.62]:19414 "EHLO na01-bn1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751338AbcDVGvm (ORCPT ); Fri, 22 Apr 2016 02:51:42 -0400 Authentication-Results: spf=fail (sender IP is 192.88.158.2) smtp.mailfrom=nxp.com; nxp.com; dkim=none (message not signed) header.d=none;nxp.com; dmarc=none action=none header.from=nxp.com; From: Yangbo Lu To: , , , , , , , , CC: , , Rob Herring , Russell King , Jochen Friedrich , Joerg Roedel , Claudiu Manoil , Bhupesh Sharma , Zhao Qiang , "Kumar Gala" , Santosh Shilimkar , , , Yangbo Lu Subject: [v8, 0/7] Fix eSDHC host version register bug Date: Fri, 22 Apr 2016 14:27:37 +0800 Message-ID: <1461306464-19521-1-git-send-email-yangbo.lu@nxp.com> X-Mailer: git-send-email 2.1.0.27.g96db324 X-EOPAttributedMessage: 0 X-Matching-Connectors: 131057806306192571;(91ab9b29-cfa4-454e-5278-08d120cd25b8);() X-Forefront-Antispam-Report: CIP:192.88.158.2;IPV:NLI;CTRY:US;EFV:NLI;SFV:NSPM;SFS:(10009020)(6009001)(2980300002)(1109001)(1110001)(339900001)(199003)(189002)(19580395003)(48376002)(81166005)(50466002)(5008740100001)(104016004)(6806005)(50986999)(33646002)(92566002)(85426001)(4326007)(77096005)(2201001)(86362001)(11100500001)(586003)(2906002)(47776003)(106466001)(105606002)(87936001)(1220700001)(229853001)(36756003)(50226001)(1096002)(5001770100001)(189998001)(5003940100001)(7059030)(2101003);DIR:OUT;SFP:1101;SCL:1;SRVR:BN1PR0301MB0708;H:az84smr01.freescale.net;FPR:;SPF:Fail;MLV:sfv;A:1;MX:1;LANG:en; X-Microsoft-Exchange-Diagnostics: 1;BN1BFFO11FD056;1:q3bMUtat9Hf7W+5ZN7j90UwzcR0LaCvPR4GydGrImYzE+tRdjyVpy+rHljPlDcEuELqSE5UbmRg8oaopdlBTkdZz6VGdmDZaKCBihUV6FIEKhM0s+6cyxw0/1/GGnl120wm2mZO9PxEmOR6PgE5L01VwxmcQHwMR3OMAJMWk0FsPA2u16P/OYN3UHaQsy9i6nUEHNyyn2SxhCBtQvGy/BhKlmQWhyR0jCwul4fG5EKaY0s7x8Eq+FAtDGaywLbMk09TClDVBEmm8dF9AgMj6LW6rBjjMy+kPHJEyOe3+zUcu8RI8+RmEvytLm62QTgRGX3xXSxEA+vvy8dPI3BBpMXbxEh3eo+eqwhLrLFo7CCI4qf1AhalkqvswohyHPaQhPLZPj443Ed9jYdx+ufmsgZSGLWUrIAHUxOl6osbe41VdmCjfzmmoOQNsyUukDJ3Q1q/GjUIubLRB8E+yc95ss4BeArRSceuMCB/0WotWireN2aBNv55keTzosTTtaI3JQTH4ssfr0fgg5guMuLvE2R4GuUCSi6y6dK7GbDf/lguh4PyS6Em+eZSiBz9mdhAVtb3BXVK3RWink3AhikHUMrbtL6Dq1LP6FEzcvKiYNBV2yXW8Y556L7YkHYkd0rhdIRcm9LcCT+LDzxFbXFHi5OgAX3XiD93LZ3cYt8WJeRMss3hbvZHDeT6JV90Yvv8Sh0CGmCfJU/EU4WWWzqYlKr+/m1XyxP7Qz46v/8OWglE= MIME-Version: 1.0 Content-Type: text/plain X-MS-Office365-Filtering-Correlation-Id: e91e1ae1-6229-41b8-21db-08d36a788850 X-Microsoft-Exchange-Diagnostics: 1;BN1PR0301MB0708;2:XSoVccM0iheXHRR9ZT4cBeKLbDy/4st9dqmM4IQqGfYYIMyIXqS3kqmer0oYNNY7CvpgcoWCqGgHaA/9lc2KC2MiN4FDindHwCt8mZoUdiEpdgikq/5kDbHNbIfrfdlTlLI4yWuT2bigxUST8QYrUM995tEQ44Dk3lAJon0rRBkYhjpBd89RI3Am3NUeGhes;3:hDTfR/S9flPdnaCYeaDKLe5pQGHA1X9DPvpkHH9gASFhF6HfbGwfjaYSYOsj42O6XDZ8P6XO1pPr5kNjpN3Ruj263Z8puvR3xGm8jl53bm89qfNFN7e01unsoChUZ3ZqCN3+3OawScl61D2ndggZx65CXGysSmGvHTm5uzA0enuD6SB7djV3cm4L328j8Dw+aJ4pvl2bGKZHVM0WWYjC7QzMuKKz2z4+1aF2CLp+KVI= X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:BN1PR0301MB0708; X-Microsoft-Exchange-Diagnostics: 1;BN1PR0301MB0708;25:eTqDTAA1Oa4sI0L0sDartF9da9cR3U9QW6eUl3J8LOTqMuSSG12mft3BxZ3cLFft+zFyvsgIIXxz1C1yssRHXGQ4GdwcrfeAUe1+p2wFAiODN4Kt5Y3kBWBRukQ1b//fYwetHU0mIFe+FLbsBzdhvtYfZ/u/vVkXu2ILA5VmCNGTa0U7WiGLqhxvWsQZQEb2Eo/IAzKZYOeumFrbtzfFXzbL8TYvHl88dViuueZfFNg+h2YsfNHyHLwm01JSjyYp971oP/nho3bT/03ypyzW9qAoR7waS8n1d+SCbEpBkcqwMLyFDJL14oQFasnLY2kq+wMbOBN7VdGucuLS5wvPDV8eyyK88OxxVN+VE4h8TQbPZYuOzd0aOKefjr03cIjAq62K3Hm7nJ0NWhIoA1ZxlhEIOlkHFHURYKE3pGqoHT0X60jb0AI2N2oyazRJtBbMqFqzgwQ0M0lbROau5iGhbV6U3l2yDfuHiDlGXyo4BJ0p7Yluk68dV9V7qVOMwwqIlE2sOPHo93bM3vRPKM90pukKKPGRQgsLnkn4on5EC6YEi4bg64TJse1+QVZO9pDBPRT8PdX+aSYUB18Kic3Ikp62vep9VNKKRw0YJF8ZGpNdhW0uDVN6gv8MfCTB0KKcfc2MeohBtIrkiAKIxiZWfUpDV64kM/btHB8ZGIirXfU= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(601004)(2401047)(8121501046)(5005006)(13015025)(13018025)(13023025)(13024025)(13017025)(10201501046)(3002001)(6055026);SRVR:BN1PR0301MB0708;BCL:0;PCL:0;RULEID:(400006);SRVR:BN1PR0301MB0708; X-Microsoft-Exchange-Diagnostics: 1;BN1PR0301MB0708;4:LQ7lSQtS4HuUVX3BJAM2tiUZxc8ju8RDkZuUGsjoc0JdW2mRPa/iJ30G3sF08Yi0IWVitrwF2zq1a/wPpXWIC82v66lCGCX/gUj5x8h59rsPflZANO0z0RPObOiNEi2ywMpkhJ2mE7yAAM/EqO9jZJMepICDZFwMCrNMJvLrrJYDj7AbjLMgEMy9KpnnBbFuIZvEf7DcXGkoAp1qw9STNiZd1Mu0mtHOaF7c/sudSnFZgq/sK4P6LRRmAYtXXTZw+PiTdOPfz0kCzSXBc3RA/UbVOmCXyNKtJ38/ukUMdCSghRiXy/TO2AYGVOconJYBbM/4etYKXX6lPXLe+ejbmk5lzFHbpoi7fsQChe/y253hmeWDAwiTZo2o0+3gWdaPt0JVI5E/pAXOIPPfLrKOP3LyEkRX12t6g7dl1rzvF9EnF+llwSANjrEwKDvIWVl6wH2FjD+OMmr9YxPQ3FM1QhqjtM//1DbFkBOGQCeRp8I= X-Forefront-PRVS: 0920602B08 X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1;BN1PR0301MB0708;23:BR4gGO7CWJNW6bnkeYg5fcpA8vOr4pnrwOpDYyo?= =?us-ascii?Q?I2nA497aEe+FOTZRLqv/bntJuQdGfIkDX766mS7oaZEKi3/7kBOvnRQTwKVV?= =?us-ascii?Q?CBA6FuJy0sMk9Q4yWSqohTiqoMJSoRY65KAShX3tiCfHpwHCSjTLdrsRgbZs?= =?us-ascii?Q?uzLSws+JS9+Qwk6GjVlsI9Lkyy6fgnoJ9iZ6VLvK7fA6/jL2yTxJHC4tgPXy?= =?us-ascii?Q?n0FJDXA4vzUaUYOnf7fBejwBVy5ZHYOJ2yNgzAT1qhmhnQsJVXysymn+iEd7?= =?us-ascii?Q?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LVtrLHWov/kIzvykqQdiXtwe+a1/hz+NRYud6hjkTDV573Xrhf0iJ+SCUCMO01GQPDjm+fnOZJPH9MjbiVB9rZ2smO8w==;24:XpZ3vofmrWD1PCEYnPqCtsWj+0gtkHmF+jnBCWIETT0x0nXvRCrFdxz16YbkAzht0i4dMPN1amTFXDEaCkset8SYo/UTwl6gSjopsvIP4pM=;7:018/sN5CNiy5lroZ6nAkKPrr1Wdbrqezkd6no60T4QKpLdvjcJ7Xhbp8dMF2VHGn0zIlRkrT7IJyYl/5xhwfMy7BdM33RifOdSL4jvokW3GGD6lMhYLFHIkOcr5LGc77IDiLt0mHVhLupHL/4VH8e9vMtUFmp0ONoTwJ9mnWAxB5yaMUS2NTU45EnbTKdUBrkVweUfJCHuN4ozizjmKUFLxCtHmADSi9glFKPAXeVi0= SpamDiagnosticOutput: 1:23 SpamDiagnosticMetadata: NSPM X-MS-Exchange-CrossTenant-OriginalArrivalTime: 22 Apr 2016 06:37:10.0888 (UTC) X-MS-Exchange-CrossTenant-Id: 5afe0b00-7697-4969-b663-5eab37d5f47e X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=5afe0b00-7697-4969-b663-5eab37d5f47e;Ip=[192.88.158.2];Helo=[az84smr01.freescale.net] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN1PR0301MB0708 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2209 Lines: 42 This patchset is used to fix a host version register bug in the T4240-R1.0-R2.0 eSDHC controller. To get the SoC version and revision, it's needed to add the GUTS driver to access the global utilities registers. So, the first four patches are to add the GUTS driver. The following patches except the updating MAINTAINERS patch are to enable GUTS driver support to get SVR in eSDHC driver and fix host version for T4240. Yangbo Lu (7): Documentation: DT: update Freescale DCFG compatible ARM64: dts: ls2080a: add device configuration node soc: fsl: add GUTS driver for QorIQ platforms dt: move guts devicetree doc out of powerpc directory powerpc/fsl: move mpc85xx.h to include/linux/fsl MAINTAINERS: add entry for Freescale SoC specific driver mmc: sdhci-of-esdhc: fix host version for T4240-R1.0-R2.0 Documentation/devicetree/bindings/arm/fsl.txt | 2 +- .../bindings/{powerpc => soc}/fsl/guts.txt | 3 + MAINTAINERS | 16 ++- arch/arm64/boot/dts/freescale/fsl-ls2080a.dtsi | 6 + arch/powerpc/kernel/cpu_setup_fsl_booke.S | 2 +- drivers/clk/clk-qoriq.c | 3 +- drivers/i2c/busses/i2c-mpc.c | 2 +- drivers/iommu/fsl_pamu.c | 3 +- drivers/mmc/host/Kconfig | 1 + drivers/mmc/host/sdhci-of-esdhc.c | 23 ++++ drivers/net/ethernet/freescale/gianfar.c | 2 +- drivers/soc/Kconfig | 2 +- drivers/soc/fsl/Kconfig | 8 ++ drivers/soc/fsl/Makefile | 1 + drivers/soc/fsl/guts.c | 119 +++++++++++++++++++ include/linux/fsl/guts.h | 126 +++++++++++++-------- .../asm/mpc85xx.h => include/linux/fsl/svr.h | 4 +- 17 files changed, 263 insertions(+), 60 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 rename arch/powerpc/include/asm/mpc85xx.h => include/linux/fsl/svr.h (97%) -- 2.1.0.27.g96db324