Message ID | 20211014143031.1313783-1-Jerome.Pouiller@silabs.com (mailing list archive) |
---|---|
Headers | show
Return-Path: <linux-wireless-owner@kernel.org> X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 87945C433FE for <linux-wireless@archiver.kernel.org>; Thu, 14 Oct 2021 14:31:01 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 67E6961156 for <linux-wireless@archiver.kernel.org>; Thu, 14 Oct 2021 14:31:01 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231687AbhJNOdE (ORCPT <rfc822;linux-wireless@archiver.kernel.org>); Thu, 14 Oct 2021 10:33:04 -0400 Received: from mail-bn7nam10on2065.outbound.protection.outlook.com ([40.107.92.65]:13281 "EHLO NAM10-BN7-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S231640AbhJNOc7 (ORCPT <rfc822;linux-wireless@vger.kernel.org>); Thu, 14 Oct 2021 10:32:59 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=kwKT86D8XR35aBG5P1mWUOnb8ssJocjYlbmQ2vXs07CRg9JPZXRwu9kFpR96LV+AxHCnDPI9JnFIPpAk2D48eF2IcBegpr8sb0pKnpu+YPs8VB3EQ6fjDFs1CE4dw91hJbhhFj4yDoWv3cRQTTRczBLaT1bL0ZOfi2stKqVUy8pTFLJH2rIBe3zPyDEMKFLoqui61D/Z0IJ14AXr3FBYnHSQ60whPPio6vltZJ/puC31CNGaFT1VrvrZ1B32tJV6VGVnZWobwtyLYHZpN55TjY5BoWSdDR0s5w4D3GORPeEUtnJH/QWiHhic5YbTMeCZCdFRm0bNPJbbUuPO/FFuxA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=/fUKTfTAfwy+7eaWpDgFDrxaFUgPQXq/FXSbMTtXJ5g=; b=CZR26VYut8Ywc6vh9ipmf0nLfucF983CwKOq2E/gtAIal944ayB7qhbNbyKCwEg5msZK/ZFQ/OQ//fuc/BEl62chYtwEeTeIhwtq7U7yZCA4TX2HhfJzWIrvAZiz94K8hTEfKy5YEEJVhPxRMLZ0lhXOU8qF8RZUqqFPmfR4ouk92ZIEnomBDz10fyyI4J101zJxMsr7h9iklVFAdJivBtV8bT+to80joLh/nFoz2xh8x3fne0AToMt7Hj5ABGRzBwP27VrgL/ycERKZhklXm0pMdy/GzRM89ToANDpdSu7EUjgsCctyD59kUeATZAUZVrX3BvQBd46RCldT4jtyKw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=silabs.com; dmarc=pass action=none header.from=silabs.com; dkim=pass header.d=silabs.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=silabs.onmicrosoft.com; s=selector2-silabs-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=/fUKTfTAfwy+7eaWpDgFDrxaFUgPQXq/FXSbMTtXJ5g=; b=mjl/n8lFeeXR5yJuoBSczwD2IZnYmfXV3xyoTftKbQ7EHiZntVOuw1Vytf/P2syb7/rZQvKikAAeVuWils5k7n8StDkjYP9nH6RSIqL0qVfCbEpJ5KLCpkMT3DerurjJGETGni8vFEeQ7Y9wdUbaju65K+Aw26HsC81edby66U0= Authentication-Results: linaro.org; dkim=none (message not signed) header.d=none;linaro.org; dmarc=none action=none header.from=silabs.com; Received: from PH0PR11MB5657.namprd11.prod.outlook.com (2603:10b6:510:ee::19) by PH0PR11MB5643.namprd11.prod.outlook.com (2603:10b6:510:d5::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4587.19; Thu, 14 Oct 2021 14:30:52 +0000 Received: from PH0PR11MB5657.namprd11.prod.outlook.com ([fe80::31cb:3b13:b0e8:d8f4]) by PH0PR11MB5657.namprd11.prod.outlook.com ([fe80::31cb:3b13:b0e8:d8f4%9]) with mapi id 15.20.4587.026; Thu, 14 Oct 2021 14:30:52 +0000 From: Jerome Pouiller <Jerome.Pouiller@silabs.com> To: Ulf Hansson <ulf.hansson@linaro.org> Cc: linux-mmc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-wireless@vger.kernel.org, Kalle Valo <kvalo@codeaurora.org>, =?utf-8?b?SsOpcsO0bWUgUG91aWxsZXI=?= <jerome.pouiller@silabs.com> Subject: [RFC PATCH 0/2] mmc: allow to rely on the DT to apply quirks Date: Thu, 14 Oct 2021 16:30:29 +0200 Message-Id: <20211014143031.1313783-1-Jerome.Pouiller@silabs.com> X-Mailer: git-send-email 2.33.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: base64 X-ClientProxiedBy: PAZP264CA0161.FRAP264.PROD.OUTLOOK.COM (2603:10a6:102:1f9::20) To PH0PR11MB5657.namprd11.prod.outlook.com (2603:10b6:510:ee::19) MIME-Version: 1.0 Received: from pc-42.silabs.com (37.71.187.125) by PAZP264CA0161.FRAP264.PROD.OUTLOOK.COM (2603:10a6:102:1f9::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4608.15 via Frontend Transport; Thu, 14 Oct 2021 14:30:50 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: f455f4b6-d4ce-48c8-f763-08d98f1f3985 X-MS-TrafficTypeDiagnostic: PH0PR11MB5643: X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: <PH0PR11MB564300879A3FFEE8517F953F93B89@PH0PR11MB5643.namprd11.prod.outlook.com> X-MS-Oob-TLC-OOBClassifiers: OLM:6108; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: muD8dzqGSMcaoAvGTjvBrVWiCyScCaqzefRNo0OhCICPWGicDuwv3JDqIHNSfQl2mP3u43ToSa1YW7wlMLaxmhwS9FswcDIi8Mgnimvo6noqK8z3I0WpKpD1EULOBE8LvWNpeYdV14yGHN+QAakIZu5UUC7/ENvp2iATlhozrdKnU3wMYGgCk8uuUeWCmNdcx26dDGpUOwup+MqZp8+vcBXMg8XUTB6hg2Is2G4nmliwHASwDzTKd0Z7u6+q5HlbQua+7gnVuOapximqf3TARwEFd3qlcU/E80zDGo9cyVj4mUnPeNu2sAohkEuC6s+YyG10zKWIxMVL+GTnM2/HrIREAyVn4JhD+mELENjR2gSc6OTSmm91klbeTLC8t3FgryC6C6TE+uUd+lUlX6Y3cYjrBn7b4pODz+ZvKe6eGgm+MCJLxtEuBlwdf2lko8RKceO5a8rBSKwU/+qCwzE6EqHhAnoq/Jlx9W6PxxJk8Vi2rpyDarR8A/8invkDKpj22dTND8L65lOU7EzCMDg+YEARq+Bp6ovtTNOJbNovSya/OwTGBe0BFVtJcmyYAxOKC9Q2lv1m9oG7vVyXycagVSpuJnbwVAhHXAuuG1zUwvjsNAj9FDMdt+1gfWI1PCJh+1L7TFPcxq1FOKXjtFjfcjds1z+gJYL+QtX6HAVBLFkIFAmH+84fZl7eQm08q+xDa0uH1LuN3QlEoUerxJ0H113AaHbi6qV+wmRqCpkmIJk/LzpNOYjVi4bJScfY5xl7GdOAzZ4N/j/LxwcIGVbc/A== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:PH0PR11MB5657.namprd11.prod.outlook.com;PTR:;CAT:NONE;SFS:(366004)(6486002)(38350700002)(7696005)(508600001)(186003)(8676002)(316002)(966005)(956004)(38100700002)(6916009)(54906003)(66476007)(2906002)(6666004)(86362001)(36756003)(107886003)(8936002)(4326008)(26005)(66946007)(83380400001)(1076003)(2616005)(4744005)(66556008)(52116002)(5660300002);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?BLP3KnKyt3tdgr5o65p9XzmKxIZr?= =?utf-8?q?sl374yktivhAdEgHEz/wzqP3iRim84ikvdOoc0puxTbpMYMNCtc1HoHdyY+fxo2tZ?= =?utf-8?q?bMI34uKFUleFPBGcOVzU9JlSOnVoYmeLcmN9EZro3c2/WCjxZTPi6A+pXb0QsVPDf?= =?utf-8?q?tIxO15FfNdK70K9DqHmXgFW99pEcwMrf18muAseJxkKJXr82EhubviTOk4mJexiqr?= =?utf-8?q?z+n1LoOaKmXsbfZGeQYCZ25mQRu30A7h9jGFyeKP5T/W3QP0PJo3k3mempjd/ucZu?= =?utf-8?q?vgOQQIGual1ugUptKvJv0vFwSuZfowl2uVjrPpta7ddXerxKVMVrtM+0hnjOndBL3?= =?utf-8?q?EniowrSLgaS92tb2afbSXDnpcXhy03KqX/J/jtbf4a8y81hVtONRBxiVoF0oxftWi?= =?utf-8?q?y+WB9xBeoO7O47SUlhxBW/7yMrk07Fgk5GH0lts87U7SkSe1/8cGV4hrCzeh4zdZW?= =?utf-8?q?xMmcN6eGedloKgG92OZkYfYVWPbNr6KeemsLdBRCHSnQKKVXGVjOVnUmnCXBRbhLk?= =?utf-8?q?38Sc8Wgcgvv0Jmo9JuwAi0tNOFwgZ2BCdbFFtzDJZiCH1X8ICeBfcJwU4ZMCNaAg8?= =?utf-8?q?4aTs9zf3GDw5beXYESaijdzZvEL6GES8La5Unv9UdKlGs2dboBssS36nRJOkDkLml?= =?utf-8?q?MlWlk0SZFJv4LIG/5Fa9oo18Fjl8BAHISDMql37A2p3gt6Cj3OamVAceLEtAf830S?= =?utf-8?q?l/aR5lsaXnVUAFymlLbCtdASY3/JBLwm/mt5GyA3iMDHPUdWoNX6qoKxCeluXZSId?= =?utf-8?q?/heOg7NJa2i/9jDLCQWVrzUsbpV7gqPZoKH0VW/pllUoDpo7P7xPwuvT3lV7BzNOq?= =?utf-8?q?cWy7NZUog+avBdtvm0v0UinNglMFpyNlzTM9ho71cbHcGQ2LnvqdvmHR5pgqThPmW?= =?utf-8?q?7q+Xsr7Dl5xGb++TanuD5tcla3+YbCi83EhyqGzU81Yn1ZFJ03U62PliH2QiSxulc?= =?utf-8?q?lnxcFIV9vY6ys4/PJmU0Mnt/RaXb630FXOaonZtG6NKGKpnFUIHVOJrfV5xFOWkYL?= =?utf-8?q?iAhVA5qL5WG4BI6DQPVCwACj2HovgnSr9HUrbdDAXw5y8g97/MD+f7HS+1EEJ33zg?= =?utf-8?q?9HFN+hCzqRSyzqc7xBKYPYdjmzqtwUqeREppQUTi/sC+cvFWP3ZAKuDSBiiLURenk?= =?utf-8?q?/0J8PWTEq9dd4OHxTZOQk9t6jzVFR3HPTLU8gnyp3KKcC+EBr+ts6l7Z6i1+MG2UA?= =?utf-8?q?Y/DD8FNzjjtpLHzzKc0djeJyklBTnpgmTWfpQ6j0PBJKIjyPiSc+hw/O5oobLxf1i?= =?utf-8?q?7DlQHp7LjZ/CvDSp?= X-OriginatorOrg: silabs.com X-MS-Exchange-CrossTenant-Network-Message-Id: f455f4b6-d4ce-48c8-f763-08d98f1f3985 X-MS-Exchange-CrossTenant-AuthSource: PH0PR11MB5657.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 14 Oct 2021 14:30:52.4372 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 54dbd822-5231-4b20-944d-6f4abcd541fb X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: oUVLcw8rTy8iFdu7zhAzLYu8RJg2w3il0wTWFEqnjktz7uWzoZH5Hnaey64aWhborRfe1EL2Sfs9GmFrbjEHGQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH0PR11MB5643 Precedence: bulk List-ID: <linux-wireless.vger.kernel.org> X-Mailing-List: linux-wireless@vger.kernel.org |
Series |
mmc: allow to rely on the DT to apply quirks
|
expand
|
From: Jérôme Pouiller <jerome.pouiller@silabs.com> Hi Ulf, I try to write a patch to problem discussed here[1]. This patch is not complete. Especially, it does not contains the necessary FIXUP macro in card.h. I would like to have your comment on the concept. [1] https://lore.kernel.org/netdev/CAPDyKFr62Kykg3=9WiXAV8UToqjw8gj4t6bbM7pGQ+iGGQRLmg@mail.gmail.com/ Jérôme Pouiller (2): mmc: rewrite mmc_fixup_device() mmc: allow to match the device tree to apply quirks drivers/mmc/core/card.h | 3 ++ drivers/mmc/core/quirks.h | 59 ++++++++++++++++++++++++++++----------- 2 files changed, 45 insertions(+), 17 deletions(-)