Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp2014798rwb; Thu, 15 Dec 2022 18:11:26 -0800 (PST) X-Google-Smtp-Source: AA0mqf5/ubWdnbxtaoNYy13Za5PFCKV4Xje5eyiuy7pCcBAIhUaCRzOmdS6b4HH76JbD/cumq4Vh X-Received: by 2002:a17:902:9691:b0:18f:a27c:fe with SMTP id n17-20020a170902969100b0018fa27c00femr18737175plp.55.1671156686760; Thu, 15 Dec 2022 18:11:26 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1671156686; cv=none; d=google.com; s=arc-20160816; b=btaelBJsmtlaJDZbTAfDCEWxSSWvsmeYJqtyvthJVtOVKQuw8tIhgDtsEXJOdEVQPx M+IryPihJAn46e7xTBACrkuZmcgkRGKmSXAHMwbA9kdZbxTZgUjjmHAkZPd7O/ZNKAW4 fUUoeP7HWN0gBYZ7ozCIGdEdcX7p49MFRd1gwEmuRftWujpKIyLsE4weTdExnpSsxeb7 RWz+3K3ttNbF5o7hLoKndH1eqMbGQRBfEgsSUFufGJcIG0UhnU2Mr4HX3h+y89SEtuJk pSk9V3DaW9kD9WJ9QL0TpAZDVcpv45HM+KsR06SnouD+EceBFfLU69/88BUK7xep8Udr 3kGg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id; bh=OmB/t2xvOYIEFf9JbAHcIsyx1r5P6gvhhX7tyZbtqxE=; b=o0Elb8HuCnbcTDI+/snS+bs1idxdim3dexUi0NL91mvZLp72XN6KJO1JXaTDJUdoqn 21sf+Ni/5z8PpzvnUpv5WC95VxgCWJmeKAk0Ssf4Mnu1OmXcbfjD/FvvIHLQ78yB2b8+ j2GquPHTd/tib6DpjUXaQXOPOMBH+7FWfcNiCcP7pqEiQq9AgBtoz8/++yV2ivcPKDL7 fgSHvfkraVPlGIPWB/pBjdKRzNE4kWEPBUzR5XDA0FIaKQWAp2e8vA1IEfnS2jf9C16g x+E2QTnQPBdM96MPhLuKZnswmfZ9SrI6oFPyUCXfb09ijbHIX02tTllNI6Q3JJ7skp0L F0lw== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id l18-20020a170903121200b001842f465c10si1113899plh.438.2022.12.15.18.11.17; Thu, 15 Dec 2022 18:11:26 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229783AbiLPCCQ (ORCPT + 69 others); Thu, 15 Dec 2022 21:02:16 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53714 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229665AbiLPCCP (ORCPT ); Thu, 15 Dec 2022 21:02:15 -0500 Received: from fd01.gateway.ufhost.com (fd01.gateway.ufhost.com [61.152.239.71]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BCE71389E3; Thu, 15 Dec 2022 18:02:09 -0800 (PST) Received: from EXMBX165.cuchost.com (unknown [175.102.18.54]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "EXMBX165", Issuer "EXMBX165" (not verified)) by fd01.gateway.ufhost.com (Postfix) with ESMTP id 1AD9E24E00A; Fri, 16 Dec 2022 10:02:06 +0800 (CST) Received: from EXMBX168.cuchost.com (172.16.6.78) by EXMBX165.cuchost.com (172.16.6.75) with Microsoft SMTP Server (TLS) id 15.0.1497.42; Fri, 16 Dec 2022 10:02:06 +0800 Received: from [192.168.120.55] (171.223.208.138) by EXMBX168.cuchost.com (172.16.6.78) with Microsoft SMTP Server (TLS) id 15.0.1497.42; Fri, 16 Dec 2022 10:02:05 +0800 Message-ID: <420d067c-665b-b247-b0cd-8ac242c19924@starfivetech.com> Date: Fri, 16 Dec 2022 10:02:05 +0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.5.1 Subject: Re: [PATCH v1 0/3] StarFive's SDIO/eMMC driver support To: , , CC: Rob Herring , Krzysztof Kozlowski , Jaehoon Chung , Ulf Hansson , References: <20221207131731.1291517-1-william.qiu@starfivetech.com> Content-Language: en-US From: William Qiu In-Reply-To: <20221207131731.1291517-1-william.qiu@starfivetech.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Originating-IP: [171.223.208.138] X-ClientProxiedBy: EXCAS063.cuchost.com (172.16.6.23) To EXMBX168.cuchost.com (172.16.6.78) X-YovoleRuleAgent: yovoleflag X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,NICE_REPLY_A, RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_PASS 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 On 2022/12/7 21:17, William Qiu wrote: > Hi, > > This patchset adds initial rudimentary support for the StarFive > designware mobile storage host controller driver. And this driver will > be used in StarFive's visionfive-v2 board. The main purpose of adding > this driver is to accommodate the ultra-high speed mode of eMMC. > > The patch series is based on v6.1-rc5. > > -- William > > William Qiu (3): > dt-bindings: mmc: Add bindings for StarFive > mmc: starfive: Add sdio/emmc driver support > riscv: dts: starfive: Add mmc node > > .../bindings/mmc/starfive,jh7110-sdio.yaml | 71 +++++++ > MAINTAINERS | 6 + > .../jh7110-starfive-visionfive-v2.dts | 25 +++ > arch/riscv/boot/dts/starfive/jh7110.dtsi | 38 ++++ > drivers/mmc/host/Kconfig | 10 + > drivers/mmc/host/Makefile | 1 + > drivers/mmc/host/dw_mmc-starfive.c | 197 ++++++++++++++++++ > 7 files changed, 348 insertions(+) > create mode 100644 Documentation/devicetree/bindings/mmc/starfive,jh7110-sdio.yaml > create mode 100644 drivers/mmc/host/dw_mmc-starfive.c > > -- > 2.34.1 > Hi Jaehoon/Ulf, Could you please help to review and provide comments on this patch series? Thank you in advance. Best regards, William Qiu