Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp7971322rwb; Mon, 12 Dec 2022 23:46:11 -0800 (PST) X-Google-Smtp-Source: AA0mqf4+0eozustfgURJ/x1rC40p70t5L0kaLSTmVRasP7frPROvkqncia8G6ghUsjT9mbDSoybL X-Received: by 2002:a05:6a00:1c89:b0:576:e33e:cd63 with SMTP id y9-20020a056a001c8900b00576e33ecd63mr17749060pfw.30.1670917570844; Mon, 12 Dec 2022 23:46:10 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1670917570; cv=none; d=google.com; s=arc-20160816; b=EpCbPMtA3hDf5QTRM5+e37WtEsDkrdMQaxZt30tRWt4yAegp02xmd2+3PjvMbNK5tD SE4M+/Z9z/KBguY0AfpqMTEaOnvwmJnBoKiHjJ5u8H9fAP7XoLwFzfZlxPqa7AV9xvE0 uG9wI8oT0eR7DEPCEjaDMNSNsZMJsHwZYy0X3LIBZWw9PKZol1V3BM+j/cBABG7ISmA1 3h+pYQMe0y9rLQh763XFgoUq4SqtOJ4AN5YzaxFytLWRqQg2z1u9bif6VKLiMqOEQd6w u1gWy0t4jmzrfSeAjbHjlcw/ooGMrfuA6cmXhSONRhSvzZNdKx6Yirckg0cyeOy98FBY T8DQ== 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:to:content-language:subject:cc:user-agent:mime-version :date:message-id; bh=8R+geTq0ojqjnMJa2HxxgXpzwfit6XYjV+14EmHudSE=; b=ADp1a+gzwC/S1oPUKzTzXdOCvtDFgCZiiFssqEqWNcabKusjhFPskG8o8NJ4ZypUKh kDBum8op0sl89KvU6EX1K7pkXqem72mP6ylolVJlLpOllrwSvkxCFVQyrkUiFiMWa3mN 9VufT4UCfQrNP0eZYPzIQFr5xOlL2nkS4OirL3pHjkO5jOX+d8wB0GGbr+p2Ki//S+gM tiW9ydbrDuGduXeaAZEo1bjaxlIYlR/8rnC0TiWiSpLsdmaxZ3DzGcMv5oMa0OOzT6LH tvIp+8s4h4EBG+qwHVPK9+sGfXpQCczRTjkli0q8BmZZiS7py+1kIqFUKqO8v+75j+Pm 9gDA== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=rock-chips.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id cn15-20020a056a00340f00b00572899f993fsi11402162pfb.306.2022.12.12.23.45.59; Mon, 12 Dec 2022 23:46:10 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=rock-chips.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234673AbiLMHdp (ORCPT + 74 others); Tue, 13 Dec 2022 02:33:45 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52740 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234671AbiLMHdm (ORCPT ); Tue, 13 Dec 2022 02:33:42 -0500 Received: from mail-m11880.qiye.163.com (mail-m11880.qiye.163.com [115.236.118.80]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 16DF311A1E; Mon, 12 Dec 2022 23:33:38 -0800 (PST) Received: from [172.16.12.69] (unknown [58.22.7.114]) by mail-m11880.qiye.163.com (Hmail) with ESMTPA id E0491201C6; Tue, 13 Dec 2022 15:33:34 +0800 (CST) Message-ID: Date: Tue, 13 Dec 2022 15:33:35 +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 Cc: shawn.lin@rock-chips.com, Rob Herring , Krzysztof Kozlowski , Jaehoon Chung , Ulf Hansson , linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-mmc@vger.kernel.org, linux-riscv@lists.infradead.org Subject: Re: [PATCH v1 2/3] mmc: starfive: Add sdio/emmc driver support Content-Language: en-GB To: William Qiu References: <20221207131731.1291517-1-william.qiu@starfivetech.com> <20221207131731.1291517-3-william.qiu@starfivetech.com> <26e9c3eb-aaeb-8cbd-dda0-20f28331dbeb@starfivetech.com> From: Shawn Lin In-Reply-To: <26e9c3eb-aaeb-8cbd-dda0-20f28331dbeb@starfivetech.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-HM-Spam-Status: e1kfGhgUHx5ZQUpXWQgPGg8OCBgUHx5ZQUlOS1dZFg8aDwILHllBWSg2Ly tZV1koWUFJSktLSjdXWS1ZQUlXWQ8JGhUIEh9ZQVkaTR0eVh5DGUlMTR4aTUxIGVUTARMWGhIXJB QOD1lXWRgSC1lBWU5DVUlJVUxVSkpPWVdZFhoPEhUdFFlBWU9LSFVKSktISkxVSktLVUtZBg++ X-HM-Sender-Digest: e1kMHhlZQR0aFwgeV1kSHx4VD1lBWUc6MEk6EQw*DD0jOE0rIzoZQjAt NTkKCzJVSlVKTUxLQkpNQ0pOTU9CVTMWGhIXVQgTGgwVVRcSFTsJFBgQVhgTEgsIVRgUFkVZV1kS C1lBWU5DVUlJVUxVSkpPWVdZCAFZQUlDSkM3Bg++ X-HM-Tid: 0a850a67395a2eb6kusne0491201c6 X-Spam-Status: No, score=-0.4 required=5.0 tests=BAYES_00,NICE_REPLY_A, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,RCVD_IN_SORBS_WEB,SPF_HELO_NONE, SPF_PASS autolearn=no 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 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.:) > 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[] = { >>