Received: by 2002:a05:6358:16cc:b0:ea:6187:17c9 with SMTP id r12csp2089660rwl; Fri, 6 Jan 2023 01:34:30 -0800 (PST) X-Google-Smtp-Source: AMrXdXu5ATmL7rIPzkgrQ63588XmLdMJpZim2N9eqHoMBcSqqQhln5FmJ3QQVXPQf5B2A39Bk7Nt X-Received: by 2002:a05:6a20:4c85:b0:af:a896:850e with SMTP id fq5-20020a056a204c8500b000afa896850emr61577254pzb.58.1672997670010; Fri, 06 Jan 2023 01:34:30 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1672997669; cv=none; d=google.com; s=arc-20160816; b=T/29jM+KhT4dDHj8IXqMazCfDO24oB+hVikcu4N37lWikGezUxaMsPJAW7MhZYMv7C PGPWopC/DoS17mvwT8KsI/XvRETH06Y8fLew8kJ4uB5AD3Clan+CER0dlWni+Mt6wq+g e9ngBJawd5dTC29iFPiOjFx5vse0QZo1ZmU8ygen37mCs5Q0yt892T6m/xZpEr8w1wfL 3zTogT+qlMK/5y5haw+AfDxAIi334B9IBxt2rnLdQ0It/IlrIQMXR6X7VFwVmD8BZwO3 FkYKNn+ue/pvLQtX/zsrDmUdw7raxR5TbuLDuIx5jRVhc5EUeX8/WkfKIx6eOuzTK0Xr ztXA== 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 :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id; bh=P6ic06OlqsetPQO/RDMD4x8VdPrcLl4QUR+0kRgPGf8=; b=VhOOrdmu3QiGrJmAz/9JJVST0zO2nEkjtMsrUJaRGAOQuPhYWw52hAGaxJyUHcsuXa 2tg/o/q39PWwx1pvixk1Gaz7EAy++13LLywmI2OJpBmk0RBElZAY4BgrjznIcd8N480J GmmmucbfWD8O+pY8TaRL2N0lC877plmym63b35L6ZJCao1mulc3DK8jBct3tKRMS8jRc tis5ufj3kBNoXxea1fw5eaEkuVr7fpBzLGo1+Ut3VoUboXGh3QctN2T4cg0UnPhFgfiH WCgn1sXqKac45pnyUEAWXSOJoiWRE7OKMpuWs/+p73ybspx8IrzaD+K98HjkGJqHp8UW oQ6g== 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 q11-20020a65494b000000b00478e7f82dd3si996550pgs.543.2023.01.06.01.34.19; Fri, 06 Jan 2023 01:34:29 -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 S231741AbjAFIoN (ORCPT + 54 others); Fri, 6 Jan 2023 03:44:13 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54942 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229478AbjAFIoK (ORCPT ); Fri, 6 Jan 2023 03:44:10 -0500 Received: from fd01.gateway.ufhost.com (fd01.gateway.ufhost.com [61.152.239.71]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 930464166B; Fri, 6 Jan 2023 00:44:09 -0800 (PST) Received: from EXMBX166.cuchost.com (unknown [175.102.18.54]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "EXMBX166", Issuer "EXMBX166" (not verified)) by fd01.gateway.ufhost.com (Postfix) with ESMTP id 73D6924E292; Fri, 6 Jan 2023 16:44:07 +0800 (CST) Received: from EXMBX168.cuchost.com (172.16.6.78) by EXMBX166.cuchost.com (172.16.6.76) with Microsoft SMTP Server (TLS) id 15.0.1497.42; Fri, 6 Jan 2023 16:44:07 +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, 6 Jan 2023 16:44:06 +0800 Message-ID: Date: Fri, 6 Jan 2023 16:44:05 +0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.6.1 Subject: Re: [PATCH v2 0/3] StarFive's SDIO/eMMC driver support Content-Language: en-US To: , , CC: Rob Herring , Krzysztof Kozlowski , Jaehoon Chung , Ulf Hansson , References: <20221227122227.460921-1-william.qiu@starfivetech.com> From: William Qiu In-Reply-To: <20221227122227.460921-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: EXCAS061.cuchost.com (172.16.6.21) To EXMBX168.cuchost.com (172.16.6.78) X-YovoleRuleAgent: yovoleflag X-Spam-Status: No, score=-4.8 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/27 20:22, 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 2 board. The main purpose of adding > this driver is to accommodate the ultra-high speed mode of eMMC. > > The last patch should be applied after the patchset [1]: > [1] https://lore.kernel.org/all/20221118011714.70877-1-hal.feng@starfivetech.com/ > > Changes since v1: > - Renamed the dt-binding 'starfive,jh7110-sdio.yaml' to 'starfive,jh7110-mmc.yaml'. > - Changed the type of 'starfive,syscon' and modify its description. > - Deleted unused head files like '#include '. > - Added comment for the 'rise_point' and 'fall_point'. > - Changed the API 'num_caps' to 'common_caps'. > - Changed the node name 'sys_syscon' to 'syscon'. > - Changed the node name 'sdio' to 'mmc'. > > The patch series is based on v6.1-rc5. > > 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-mmc.yaml | 72 +++++++ > 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 | 185 ++++++++++++++++++ > 7 files changed, 337 insertions(+) > create mode 100644 Documentation/devicetree/bindings/mmc/starfive,jh7110-mmc.yaml > create mode 100644 drivers/mmc/host/dw_mmc-starfive.c > > -- > 2.34.1 > Hi Rob/Jaehoon, Could you please help to review and provide comments on this patch series? Thank you in advance. Best regards, William Qiu