Received: by 2002:a05:7412:40d:b0:e2:908c:2ebd with SMTP id 13csp247547rdf; Tue, 21 Nov 2023 01:12:48 -0800 (PST) X-Google-Smtp-Source: AGHT+IGALwYdWxrIt4q9YPm1O9aI5DGVfA/uOUWkfkn455x63qSrLRwtqKPQpjDzCjXx1YCfwtZc X-Received: by 2002:a05:6a21:1693:b0:187:ca9:3500 with SMTP id np19-20020a056a21169300b001870ca93500mr8848353pzb.59.1700557968428; Tue, 21 Nov 2023 01:12:48 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700557968; cv=none; d=google.com; s=arc-20160816; b=wY58ffOv8ev5JtvXZVVNUWB+ZOOdrKrqTwrTTJgiSIsGgPNfEfK8frc7NCA5TouFTQ Qu7rfiZVUxt1DBT9qUqSMMhg4ZsS1MwgDb08C0gDcEsVR7dqfsGO03PfB/68vKva6XVI Z/n4T0Z4UMC4ZkNbQgrJz2fIUX2Rpgrb9a9MS2x3As4U8ElCFI/gSbevASUYmrz9C17R jo+B5Q481i9HL0FakJ/wyaX947tsA6ZIIVEaQU4XmRUtjILqoIc6Il/B3PTuu0DL7M01 yeXeZKxgy5E4IB4tVAkKxu8ttVzNUbD3r2BWkhhn6xVs1/1XHI/+sP7SYC9N3nOiTNXy mdVg== 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; bh=t2cRSNTmzdNpk6ybTwLqKgSjq52h4ewL7gXlew4W32o=; fh=Oxw7S9QtMibG5U44dvwJxZ8BsCja/IFQw1TPuNwJu7c=; b=lwKCA4K57cLXrRiBNumOf6Di+IVVOvRebpuwxk5+7CB8vhlCbi+ZhAaCj3P1vYxPEA XA+qz3eUsUKVmqybt51npCGL9L53gXmQOxWZ7OfTNjt67jMLy+U3YCLL4Lp5wveXyM4R HSbPf6deYl/V2mZfEnDsbRLIjBc3XG0SCnTn4Xq07FNkwjH45qbsqf8vnVa2Csj/rMKH u0LPFHKyinChYtmRFFc5rMRLE0pS6pVRf47NZOx1ps4OG6SjsOP0iCETCR3QM+AP6MKm KgPJA+BML2URQqvhlmhT20s6EgkVYcGUE2PjGAoBHXz7Bojcf2O694QAfPXKWKANw8H2 SCaw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from agentk.vger.email (agentk.vger.email. [2620:137:e000::3:2]) by mx.google.com with ESMTPS id l11-20020a170902d34b00b001ca344f46e8si9885592plk.245.2023.11.21.01.12.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 21 Nov 2023 01:12:48 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) client-ip=2620:137:e000::3:2; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id ED7CE80BD511; Tue, 21 Nov 2023 01:12:45 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230126AbjKUJMf (ORCPT + 99 others); Tue, 21 Nov 2023 04:12:35 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59332 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229454AbjKUJMe (ORCPT ); Tue, 21 Nov 2023 04:12:34 -0500 Received: from rtits2.realtek.com.tw (rtits2.realtek.com [211.75.126.72]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DFAF3CA; Tue, 21 Nov 2023 01:12:30 -0800 (PST) X-SpamFilter-By: ArmorX SpamTrap 5.78 with qID 3AL9B3eO41506345, This message is accepted by code: ctloc85258 Received: from mail.realtek.com (rtexh36505.realtek.com.tw[172.21.6.25]) by rtits2.realtek.com.tw (8.15.2/2.95/5.92) with ESMTPS id 3AL9B3eO41506345 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 21 Nov 2023 17:11:03 +0800 Received: from RTEXDAG01.realtek.com.tw (172.21.6.100) by RTEXH36505.realtek.com.tw (172.21.6.25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.32; Tue, 21 Nov 2023 17:11:04 +0800 Received: from RTEXH36506.realtek.com.tw (172.21.6.27) by RTEXDAG01.realtek.com.tw (172.21.6.100) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.7; Tue, 21 Nov 2023 17:11:03 +0800 Received: from localhost.localdomain (172.21.252.101) by RTEXH36506.realtek.com.tw (172.21.6.27) with Microsoft SMTP Server id 15.1.2507.17 via Frontend Transport; Tue, 21 Nov 2023 17:11:03 +0800 From: Jyan Chou To: , , , , , CC: , , , , , , , , , , , , Subject: [PATCH V7][0/4] Add DesignWare Mobile mmc driver Date: Tue, 21 Nov 2023 17:10:57 +0800 Message-ID: <20231121091101.5540-1-jyanchou@realtek.com> X-Mailer: git-send-email 2.42.0 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit X-KSE-ServerInfo: RTEXDAG01.realtek.com.tw, 9 X-KSE-AntiSpam-Interceptor-Info: fallback X-KSE-Antivirus-Interceptor-Info: fallback X-KSE-AntiSpam-Interceptor-Info: fallback X-KSE-ServerInfo: RTEXH36505.realtek.com.tw, 9 X-KSE-AntiSpam-Interceptor-Info: fallback X-KSE-Antivirus-Interceptor-Info: fallback X-KSE-AntiSpam-Interceptor-Info: fallback X-Spam-Status: No, score=-0.8 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on agentk.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (agentk.vger.email [0.0.0.0]); Tue, 21 Nov 2023 01:12:46 -0800 (PST) We added Synopsys DesignWare mmc cmdq driver and also added Realtek mmc driver to make good use of it. Jyan Chou (4): mmc: solve DMA boundary limitation of CQHCI driver mmc: Add Synopsys DesignWare mmc cmdq host driver mmc: Add dw mobile mmc cmdq rtk driver dt-bindings: mmc: Add dt-bindings for realtek mmc driver .../bindings/mmc/realtek,rtd-dw-cqe-emmc.yaml | 153 ++ drivers/mmc/host/Kconfig | 22 + drivers/mmc/host/Makefile | 2 + drivers/mmc/host/cqhci-core.c | 13 +- drivers/mmc/host/cqhci.h | 8 + drivers/mmc/host/dw_mmc_cqe-rtk.c | 768 +++++++++ drivers/mmc/host/dw_mmc_cqe-rtk.h | 160 ++ drivers/mmc/host/dw_mmc_cqe.c | 1467 +++++++++++++++++ drivers/mmc/host/dw_mmc_cqe.h | 456 +++++ 9 files changed, 3046 insertions(+), 3 deletions(-) create mode 100644 Documentation/devicetree/bindings/mmc/realtek,rtd-dw-cqe-emmc.yaml create mode 100644 drivers/mmc/host/dw_mmc_cqe-rtk.c create mode 100644 drivers/mmc/host/dw_mmc_cqe-rtk.h create mode 100644 drivers/mmc/host/dw_mmc_cqe.c create mode 100644 drivers/mmc/host/dw_mmc_cqe.h -- 2.42.0