Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp7973817rwb; Mon, 12 Dec 2022 23:49:02 -0800 (PST) X-Google-Smtp-Source: AA0mqf7y2VZ+J+LZsJL5C9Bput03Wf4outEJ1lDfOfYmb3czQ/0MKpAJDP+T25R81qnQo6IvNr/Q X-Received: by 2002:a17:906:81d3:b0:7c1:515:a0ec with SMTP id e19-20020a17090681d300b007c10515a0ecmr11231171ejx.63.1670917741973; Mon, 12 Dec 2022 23:49:01 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1670917741; cv=none; d=google.com; s=arc-20160816; b=fyXed41KlZFzqRCHFNb3NTtvUWqqkSOsE35EDuBCW36QVkaJAVNDSZJzs6Z8WXG50u BFIE3fTNtdpaYiHKT78LsWQL5ZQ5CyLE+KPPMJl15gSrEqf4eBad9qC9OsHDnl8AbU+W 4YGEJ/JySNrP0jkbq0oz1t8E+jxcFxyYsctakPNPgbXRZUFWb/VATvbe3mKtsXoQmmqA G9C4i3Uu+De7jYapM9HRD68/ydG+kXMLwVHFBHbkfHZsqqhLrK96B5sLtmxpu6i3ghSe MFZBHlXYDorTrc5dk5oxSO4yOHy3tMZlf4EdpbVEi/bSbGNexUjYaIGTbKmdMQnBg+a9 OUTQ== 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=a4bnruwG3upa7iGuO81Nhznlu/JAznfEtH4V8xPfXJQ=; b=TMhtZeT2Z2bY/8TKNqMwWJMkW4yOtwCCLrULs6OApK2uxVoHeNCwar/XurUFdJHbGQ oDLbBswavWWHQoEHslsmqM6eXOmWOgzT2nwMtA02+KGwqWF/SSTQCNOxFEEAErKWTTcH iNxF9Ch3l9/xUEzJNwF/kNq8AvPFVV55kbPjiACLeIlSKPvq3kOF8tioMhsu6IEMTZSz rhIvaeO1iBYmunBJYD2rR+Q4ePZvFO5UoZnF6yo77zGw9G1zDFhid3j8Od8NhOqANaxd w/UR6FUmq6Rir/13kgYcG2wzhORool7Ue9mt/XE1qnOgzBOJwOccMzdT8uPNrIaLNlAj sUCw== 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 dr11-20020a170907720b00b0078def5c29e3si701000ejc.596.2022.12.12.23.48.43; Mon, 12 Dec 2022 23:49:01 -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 S234691AbiLMHia convert rfc822-to-8bit (ORCPT + 74 others); Tue, 13 Dec 2022 02:38:30 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54402 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234703AbiLMHiY (ORCPT ); Tue, 13 Dec 2022 02:38:24 -0500 Received: from ex01.ufhost.com (ex01.ufhost.com [61.152.239.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E120E1C10E; Mon, 12 Dec 2022 23:38:19 -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 CF47D24E023; Tue, 13 Dec 2022 15:38:17 +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, 13 Dec 2022 15:38:17 +0800 Received: from [192.168.120.55] (171.223.208.138) by EXMBX068.cuchost.com (172.16.6.68) with Microsoft SMTP Server (TLS) id 15.0.1497.42; Tue, 13 Dec 2022 15:38:16 +0800 Message-ID: <4c2ae045-9ece-3245-7203-2db21f604ac8@starfivetech.com> Date: Tue, 13 Dec 2022 15:38:16 +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 2/3] mmc: starfive: Add sdio/emmc driver support Content-Language: en-US To: Shawn Lin CC: Rob Herring , Krzysztof Kozlowski , Jaehoon Chung , Ulf Hansson , , , , References: <20221207131731.1291517-1-william.qiu@starfivetech.com> <20221207131731.1291517-3-william.qiu@starfivetech.com> <26e9c3eb-aaeb-8cbd-dda0-20f28331dbeb@starfivetech.com> From: William Qiu In-Reply-To: Content-Type: text/plain; charset="UTF-8" X-Originating-IP: [171.223.208.138] X-ClientProxiedBy: EXCAS062.cuchost.com (172.16.6.22) To EXMBX068.cuchost.com (172.16.6.68) X-YovoleRuleAgent: yovoleflag Content-Transfer-Encoding: 8BIT X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,NICE_REPLY_A, 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 On 2022/12/13 15:33, Shawn Lin wrote: > Hi > > On 2022/12/13 15:21, William Qiu wrote: >> >> >> On 2022/12/13 10:24, Shawn Lin wrote: >>> Hi >> >>> use ".common_caps = MMC_CAP_CMD23" instead. >>> >> >> Hi Shawn, >> >> Thank you for taking time to review. >> The .common_caps is not defined in dw_mci_drv_data. >> And .num_caps is also used in dw_mci-rockchip.c. >> > > That means your patch is based on old upstream kernel which hasn't > been updated for at least one year.:) > Sorry about that. I just check the code on 5.15. I will update it in next version. Thank you any way. >> Best regards, >> William Qiu >>>> +    .set_ios = dw_mci_starfive_set_ios, >>>> +    .parse_dt = dw_mci_starfive_parse_dt, >>>> +    .execute_tuning = dw_mci_starfive_execute_tuning, >>>> +}; >>>> + >>>> +static const struct of_device_id dw_mci_starfive_match[] = { >>>