From patchwork Tue Mar 7 02:46:44 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: William Qiu X-Patchwork-Id: 6208 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:5915:0:0:0:0:0 with SMTP id v21csp2209007wrd; Mon, 6 Mar 2023 19:05:38 -0800 (PST) X-Google-Smtp-Source: AK7set+sb8Zx72fMQJLSrBB3hzO6lhd9yLiQvlm+vQMrszOiWgRP+ZgnyiPyFpWS2T79qZsp1OmZ X-Received: by 2002:a17:90b:4b49:b0:234:b2a:8251 with SMTP id mi9-20020a17090b4b4900b002340b2a8251mr13814545pjb.0.1678158338643; Mon, 06 Mar 2023 19:05:38 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1678158338; cv=none; d=google.com; s=arc-20160816; b=VZekuIsOFmDXWsHDFq4yOuJvw4YZVaQkTa9u77QDs+7kpBoweeq58kbatV5qn0pA0r CjZasqYpNyUNDH+ufRJ8ZlyXyIovrpvqE4NUwdNRs9KZtVDLy3yEMx+ntoE8h8qw4KFE PQT7ckYI+0re4SDjqlkmf0d/1r/H+olaz07RcfER+TEvnzcVX9J+oZOlNkbiZ3NZpiU2 9s5otOJFa3rzrDIttFq/cZxeIWNaYSALqddjbP+ryxEAJfZnnh9uecXiQqUrw9RERquD giWQtNk3d2/IngtDA8K57N/g68pdRj2p4r08JwqNL4dSl8jLZ3CAaRy6pQ1KAtfV4/GI xrIw== 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=t914Rz6K8iLEoIHgss/XCNoutGqcufGz+Pg62+sDFOg=; b=CAnj2lfCNA2oIVbiyHzKFU8fnctppISuqqXiJ78dnWsvZDCGaqkg+b4Z8tzpiUKkk0 x3PK2T7ts+VytvZF0rNJx4rrO4MajX0M4Hrv3sv5MsRI4oW74GDhmKA6zxiQJ5p1ULIy NJR/cXJvF2sD0VrJg2suzcCML8OxLnupyUyn81JZCa9rw3zodpYa65p5hRQjxb6n+9eH EGJtm1MwSz/TH9lPW2ZzZEN62TMBAe7qvUQvzTjpPPyxkyaxIntjWpGgBJ6SucEIJbyA Pf7lQusy8w0llHfElrybkPSYoBfoh5R9U1CRjr0SDl8HPoiIhOSe7DDgc3M3azeJgcTY Vanw== 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 v19-20020a17090abb9300b002377ed22060si10386487pjr.178.2023.03.06.19.05.26; Mon, 06 Mar 2023 19:05:38 -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 S230123AbjCGCq6 convert rfc822-to-8bit (ORCPT + 99 others); Mon, 6 Mar 2023 21:46:58 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49866 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229559AbjCGCqx (ORCPT ); Mon, 6 Mar 2023 21:46:53 -0500 Received: from ex01.ufhost.com (ex01.ufhost.com [61.152.239.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3D2D065465; Mon, 6 Mar 2023 18:46:51 -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 ex01.ufhost.com (Postfix) with ESMTP id 0121E24E236; Tue, 7 Mar 2023 10:46:48 +0800 (CST) Received: from EXMBX068.cuchost.com (172.16.6.68) by EXMBX165.cuchost.com (172.16.6.75) with Microsoft SMTP Server (TLS) id 15.0.1497.42; Tue, 7 Mar 2023 10:46:48 +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; Tue, 7 Mar 2023 10:46:47 +0800 From: William Qiu To: , , CC: Rob Herring , Krzysztof Kozlowski , Jaehoon Chung , Ulf Hansson , William Qiu , Conor Dooley , Subject: [PATCH v5 0/2] StarFive's SDIO/eMMC driver support Date: Tue, 7 Mar 2023 10:46:44 +0800 Message-ID: <20230307024646.10216-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,SPF_HELO_NONE, 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?1759676558406601157?= X-GMAIL-MSGID: =?utf-8?q?1759676558406601157?= 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. 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.1. William Qiu (2): dt-bindings: syscon: Add StarFive syscon doc mmc: starfive: Add initialization of prev_err .../bindings/soc/starfive/jh7110-syscon.yaml | 41 +++++++++++++++++++ MAINTAINERS | 5 +++ drivers/mmc/host/dw_mmc-starfive.c | 2 +- 3 files changed, 47 insertions(+), 1 deletion(-) create mode 100644 Documentation/devicetree/bindings/soc/starfive/jh7110-syscon.yaml --- 2.34.1