From patchwork Wed Mar 15 03:48:51 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: William Qiu X-Patchwork-Id: 6655 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:5915:0:0:0:0:0 with SMTP id v21csp2126712wrd; Tue, 14 Mar 2023 21:07:19 -0700 (PDT) X-Google-Smtp-Source: AK7set8QW6+J5Dx6fQ0Vh95q4NcDNyCX66KmI7vuhQJ8Si/sLzhZmUhImmnhPWdWR+q9/7rrzuuf X-Received: by 2002:aa7:9538:0:b0:622:d84e:846c with SMTP id c24-20020aa79538000000b00622d84e846cmr9426348pfp.10.1678853238905; Tue, 14 Mar 2023 21:07:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1678853238; cv=none; d=google.com; s=arc-20160816; b=UOrHwzlqBeBodRn9ml9AdEUWA2XJtOxY6txWc6zr48f9li3Q4Cupp32qRvPv78Oiu0 9JB7avNkwQfB+Nd+vUdFfnykHYqyFJyj5VlVAmfN0+GLVKjQ7NHnd0ejGX6a32WZrWcd s975Q+n4vzPXDQlHgP4YkPEbQjs7B9I5bDjWhsjzPphXAF+zxSplNaSl/39qzXqocwSs zBbXUdGRfBsQzASAiiaY5biTFjk13ABMG9WdiVjqEldQEBqHzCiYUxnNdtUm2hPf6BCI A9a6y89XT7G3QJsbuWrbwILjgSMwknJz+KvIrHTNppSl/WzLKz+s9BqHFM6UxiyVXnjy Qc+Q== 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=jgEbZgihwJr0OKlcni0ZgvWItriQPeeu6sTCTW/ey48=; b=yD9iOTQStwTuoEGwd4HqeshUwn4M8WcmO2PNT4H/qOU2XvNT2dkJEoVKZzPql/Ghqt 07m2laAPzClF6ZjsdK6R+BmL6xnBZMliUzyflnkB3yYelX18rEz48KNF2wTQJLLjva9q p3b9WAJt8HQ60yT4d6/le41Ia5+YDThyFHvF2Hib2KXWTSrsrzeYyrIF+e863tMBOI4N DuBHnrMp2oxUXQLGfZ8B0O/fksTr64nS2AH4b97VNjImm8v0z9CnPLN8QcyMi4v3w91B AxqLnMoDT0iyfp6dCYvTn/gC08yg7EvoBLnAWz3HZXHtGgCWQ32cr/vIGNw3t+KuDoGI taIg== 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 Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id j9-20020aa78009000000b0058d6a27d641si3792748pfi.234.2023.03.14.21.07.04; Tue, 14 Mar 2023 21:07:18 -0700 (PDT) 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 S229720AbjCODtE convert rfc822-to-8bit (ORCPT + 99 others); Tue, 14 Mar 2023 23:49:04 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34754 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229494AbjCODs7 (ORCPT ); Tue, 14 Mar 2023 23:48:59 -0400 Received: from fd01.gateway.ufhost.com (fd01.gateway.ufhost.com [61.152.239.71]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BE49C2E0E6; Tue, 14 Mar 2023 20:48:56 -0700 (PDT) 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 3CFBB24E31C; Wed, 15 Mar 2023 11:48:55 +0800 (CST) Received: from EXMBX068.cuchost.com (172.16.6.68) by EXMBX166.cuchost.com (172.16.6.76) with Microsoft SMTP Server (TLS) id 15.0.1497.42; Wed, 15 Mar 2023 11:48:55 +0800 Received: from williamqiu-virtual-machine.starfivetech.com (171.223.208.138) by EXMBX068.cuchost.com (172.16.6.68) with Microsoft SMTP Server (TLS) id 15.0.1497.42; Wed, 15 Mar 2023 11:48:54 +0800 From: William Qiu To: , , CC: Rob Herring , Krzysztof Kozlowski , Conor Dooley , "Emil Renner Berthing" , William Qiu Subject: [PATCH v6 0/2] StarFive's SDIO/eMMC driver support Date: Wed, 15 Mar 2023 11:48:51 +0800 Message-ID: <20230315034853.93677-1-william.qiu@starfivetech.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-Originating-IP: [171.223.208.138] X-ClientProxiedBy: EXCAS066.cuchost.com (172.16.6.26) To EXMBX068.cuchost.com (172.16.6.68) X-YovoleRuleAgent: yovoleflag X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1760405213952183388?= X-GMAIL-MSGID: =?utf-8?q?1760405213952183388?= 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 v5->v6: - Rebased to 6.3-rc1. - Changed file name to starfive,jh7110.yaml. - Modified commit description. - Added syscon node dts patch to other dependent modules. Changes v4->v5: - Added a incremental updates to fix a bug that prev_err is uninitialized. - Dropped the merged patches. - Dropped the dts patch. - Sorted compatible alphabetically in yaml. Changes v3->v4: - Added documentation to describe StarFive System Controller Registers. - Added aon_syscon and stg_syscon node. - Fixed some checkpatch errors/warnings. Changes v2->v3: - Wraped commit message according to Linux coding style. - Rephrased the description of the patches. - Changed the description of syscon regsiter. - Dropped redundant properties. Changes v1->v2: - 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.3. William Qiu (2): dt-bindings: soc: starfive: Add StarFive syscon doc riscv: dts: starfive: Add syscon node .../soc/starfive/starfive,jh7110-syscon.yaml | 51 +++++++++++++++++++ MAINTAINERS | 5 ++ arch/riscv/boot/dts/starfive/jh7110.dtsi | 15 ++++++ 3 files changed, 71 insertions(+) create mode 100644 Documentation/devicetree/bindings/soc/starfive/starfive,jh7110-syscon.yaml --- 2.34.1