From patchwork Mon Feb 27 18:31:45 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Piyush Malgujar X-Patchwork-Id: 5904 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:5915:0:0:0:0:0 with SMTP id v21csp2580880wrd; Mon, 27 Feb 2023 10:39:23 -0800 (PST) X-Google-Smtp-Source: AK7set9YniLdaqYhzY2uqjWM9UdW+2pdW3t/NB0p64n3DgcaDSDFpV6pgTVhRKwJH46aakdg41PK X-Received: by 2002:a05:6402:416:b0:4ac:b95b:f1d7 with SMTP id q22-20020a056402041600b004acb95bf1d7mr635011edv.15.1677523163218; Mon, 27 Feb 2023 10:39:23 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1677523163; cv=none; d=google.com; s=arc-20160816; b=bPN1bOWhYHwENH/3iEliZHJ489kkPUf6dzHNc+k5VmGzzq9hvjz8WgcGsbGnq8uE6I Vbp7nQJft7POITjr/InFmLXw0pUIVHJosme/zG1/nIgX7BHGwD3LZXKjaukwO0NCYF4X 4q5NAwX9a8SfcIZWAXDpaCC1raMhkJCeoJrEq/6aF548xgd4FwfL8yFhwGUYqG9G5AzI esZxpUG+EhAABncxac7IwHzC9FKSXQ+NOTt2B4j0H6NTiv09xyPGpHkADoe5ZbQNC4AE Sit5FLwfntFTt5Ctx9ZOu28+Ab0r9IgeW46rZXiiVJJ8F5evplM34dx91eK4pfvTo9M/ H7PQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=bs6HtfivYcfDfYf+aM4nf9Z30SsUvpyNNdqsmXdmkpo=; b=Mc+2W3GQgfj1vcVEgjPYPl25A7z75FVPnHdCr435O0GUvkDf4eS17I20cYwL4QX7V8 gRCb5ZqIEbcUd6KxpbfwJDWhCbGoIIlMu6PZnPg+1LemNFBoodl6iCH4OFKftwK48+fS 6kBbRxsCt/9rmmuuG+sSXUjiFa3JA1e/cYHru0RW+KeLwSRZwFQr+j8J7w/kjOGUu6oY 8szIJ42yYzXi4swCRWD2kqjvLHLTIpQveJ3cbCWbtmyuX627j6rnZZlAcPPLfE/GBoGm mwIG9Nl9IBGb63fzv5jIZ9gFk6kphFkYxHinQVOlIzw8M+PMgbY+Ju4oG7epy9q29Ujw HYhQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@marvell.com header.s=pfpt0220 header.b=LafiWXkI; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=REJECT dis=NONE) header.from=marvell.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id gl7-20020a170906e0c700b008c254523c3dsi8143913ejb.56.2023.02.27.10.38.57; Mon, 27 Feb 2023 10:39:23 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@marvell.com header.s=pfpt0220 header.b=LafiWXkI; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=REJECT dis=NONE) header.from=marvell.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229906AbjB0ScQ (ORCPT + 99 others); Mon, 27 Feb 2023 13:32:16 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37708 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229896AbjB0ScO (ORCPT ); Mon, 27 Feb 2023 13:32:14 -0500 Received: from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com [67.231.156.173]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9F0D32128E; Mon, 27 Feb 2023 10:32:12 -0800 (PST) Received: from pps.filterd (m0045851.ppops.net [127.0.0.1]) by mx0b-0016f401.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 31R9tVQm013708; Mon, 27 Feb 2023 10:32:03 -0800 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com; h=from : to : cc : subject : date : message-id : mime-version : content-transfer-encoding : content-type; s=pfpt0220; bh=bs6HtfivYcfDfYf+aM4nf9Z30SsUvpyNNdqsmXdmkpo=; b=LafiWXkImykNW9xH0L7FnLppzKEWTwekAzcQRvp/+K/rWgCK5anaVwaGtl89CKfx2r2v IydvYFP9C8HCQKMaDfFUVgifl6tlMwm6gRZcDUlstPw4uv1ZdQnOkmIPgTENKpiRLKZQ vAMHxw2Y7aFvqWclBIXiDgyBFVESz74g4if5s2cC/+5U+xP/5BweRd2P1eXIbU7/FfTb COKYSmTRz/N+rnoDDKV788cFIAr50U5/nzi9suLSMN0dCBEoY9TVHOEOtrLAFMxUiff3 PUckyhL5UwWI8kbbSPWGyS5167bNgms7zMSSZFoYA+Bi7Yx25z7XlDIeqVb8dEXmQmLJ Tw== Received: from dc5-exch01.marvell.com ([199.233.59.181]) by mx0b-0016f401.pphosted.com (PPS) with ESMTPS id 3nyjqtsbjf-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Mon, 27 Feb 2023 10:32:02 -0800 Received: from DC5-EXCH02.marvell.com (10.69.176.39) by DC5-EXCH01.marvell.com (10.69.176.38) with Microsoft SMTP Server (TLS) id 15.0.1497.42; Mon, 27 Feb 2023 10:32:00 -0800 Received: from maili.marvell.com (10.69.176.80) by DC5-EXCH02.marvell.com (10.69.176.39) with Microsoft SMTP Server id 15.0.1497.42 via Frontend Transport; Mon, 27 Feb 2023 10:32:00 -0800 Received: from localhost.localdomain (unknown [10.110.150.250]) by maili.marvell.com (Postfix) with ESMTP id 686893F7058; Mon, 27 Feb 2023 10:32:00 -0800 (PST) From: Piyush Malgujar To: , , , , , , , CC: , , Piyush Malgujar Subject: [PATCH v3 0/6] mmc: sdhci-cadence: SD6 controller support Date: Mon, 27 Feb 2023 10:31:45 -0800 Message-ID: <20230227183151.27912-1-pmalgujar@marvell.com> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 X-Proofpoint-ORIG-GUID: jDK4LiLnitJuR7NVsvU-Y5Vyr4RRqZPa X-Proofpoint-GUID: jDK4LiLnitJuR7NVsvU-Y5Vyr4RRqZPa X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.219,Aquarius:18.0.930,Hydra:6.0.562,FMLib:17.11.170.22 definitions=2023-02-27_15,2023-02-27_01,2023-02-09_01 X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW,SPF_HELO_NONE, SPF_NONE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1759010528784276848?= X-GMAIL-MSGID: =?utf-8?q?1759010528784276848?= Added changes to support SD6 controller - Restructure and reformat the code. - Add SD6 related operations. - Support added for MMC_SDHCI_IO_ACCESSORS. - Related changes done in dt bindings. - Support for debug option. Changes since V2: - Added separate patches for renaming of functions and restructuring, adding new structures to support SD4/SD6 operations. - Added proper suffixes to properties in dt binding. - Removed unreachable code. - Handled sdhci_cdns_uniphier_pltfm_data similar to sdhci_cdns_sd4_of_data as per the added structured design. - Used dev_dbg instead of DEBUG_DRV in debug patch. Changes since V1: - Added separate patch for reformat/rename changes. - Enabled MMC_SDHCI_IO_ACCESSORS in config MMC_SDHCI_CADENCE. - Used proper properties in dt binding. - Removed patch of config option to change default for sdhci timeout. - Resolved issues reported by: Reported-by: kernel test robot Reported-by: Dan Carpenter Dhananjay Kangude (3): mmc: sdhci-cadence: Rename functions to SD4 specific mmc: sdhci-cadence: Restructure the code mmc: sdhci-cadence: SD6 controller support Jayanthi Annadurai (3): mmc: sdhci-cadence: enable MMC_SDHCI_IO_ACCESSORS dt-bindings: mmc: sdhci-cadence: SD6 support mmc: sdhci-cadence: Add debug option for sdhci-cadence driver .../devicetree/bindings/mmc/cdns,sdhci.yaml | 24 +- drivers/mmc/host/Kconfig | 1 + drivers/mmc/host/sdhci-cadence.c | 1651 ++++++++++++++++- 3 files changed, 1612 insertions(+), 64 deletions(-)