Received: by 2002:a05:7412:251c:b0:e2:908c:2ebd with SMTP id w28csp984711rda; Sun, 22 Oct 2023 20:33:03 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHkR65izkldkzkVqBQxIDqS+KFOym6StXw3REKEj6NXmEV5WuMclMcaF2lPekMGq5rLqnWs X-Received: by 2002:a17:903:244a:b0:1c0:b84d:3f73 with SMTP id l10-20020a170903244a00b001c0b84d3f73mr7596386pls.53.1698031982639; Sun, 22 Oct 2023 20:33:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698031982; cv=none; d=google.com; s=arc-20160816; b=r1hX9NjHPN2QzKN+kYtFDe7GBVYQVnVJN0YYQZYlId4XZlHbE1bK5tTDAhAGvHXIBG bTrsUwGMQM5m7pmaPdZaiBnc69zolHwaFnfBAiJlKt+2GawaJk0nrISEkcc3tcagEnS/ PfMdxNRoyXG1qrSFlG6AQxSVIXUGoj07nAjjs7RD2AGs15k5k1jl9Rjo032TbJjLtMgx xI/KUS7DMyV5bE2hcHi8zpyS8tZz0EPyzADZXTxGHLq+cHwWWHFXiiqGlQXXDOBuNCEr QwdUwOoIl5lXfTQXyaZiK6IlTVsk0VGKIxffqx7y2RK1PNeVcjcqFRFvsHziu0VYOU7I a8VQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :content-language:accept-language:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:cc:to:from; bh=gObkUVVY6P8UmG+ZD9Ew5CVjOgXeP7KShYjb27GMlbw=; fh=LaVo7AUcgXYu1bqgE89qamjuMIuO9HqhzUQTm4RyOjM=; b=smRo5D8zWoGOANUC8xyh+VjViBCPiRDTDNYPjsqrSmbTW08nlkL9rG2di61Y8zzYgb XBIH8wNiLi2owAg+89skcSTPidv1Zr3gYITiv21OuNQ3VWuCwFTBzdXUgeU82YpPhCdg MKYIq6kj1g73qTB/i4jGoSuJh2/GbzT2C8Jexw/4CwWdUUCq9ew+TaqWf33EFIQyLE3n 19UMEQUes1Dozz3KhtZXMeqMlGqvuApBY7rkooww1MAdImOye3w9EJ50G7WUBkSKi4ai WIGMpCXOU1LhLSbT9nz+WgMsanCpFEWHVaXAYWLg3ezFoBe4T1PkAgwKix6WfRPNvAa8 YkZA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from groat.vger.email (groat.vger.email. [23.128.96.35]) by mx.google.com with ESMTPS id k10-20020a170902c40a00b001bbfbe6bf3esi5967326plk.504.2023.10.22.20.33.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 22 Oct 2023 20:33:02 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) client-ip=23.128.96.35; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id D980F807C857; Sun, 22 Oct 2023 20:32:59 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233289AbjJWDcr convert rfc822-to-8bit (ORCPT + 99 others); Sun, 22 Oct 2023 23:32:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51962 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229511AbjJWDcp (ORCPT ); Sun, 22 Oct 2023 23:32:45 -0400 Received: from rtits2.realtek.com.tw (rtits2.realtek.com [211.75.126.72]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8A6F6D51; Sun, 22 Oct 2023 20:32:40 -0700 (PDT) X-SpamFilter-By: ArmorX SpamTrap 5.78 with qID 39N3VOPf82742393, This message is accepted by code: ctloc85258 Received: from mail.realtek.com (rtexh36506.realtek.com.tw[172.21.6.27]) by rtits2.realtek.com.tw (8.15.2/2.93/5.92) with ESMTPS id 39N3VOPf82742393 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 23 Oct 2023 11:31:25 +0800 Received: from RTEXMBS04.realtek.com.tw (172.21.6.97) by RTEXH36506.realtek.com.tw (172.21.6.27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.17; Mon, 23 Oct 2023 11:31:25 +0800 Received: from RTEXMBS01.realtek.com.tw (172.21.6.94) by RTEXMBS04.realtek.com.tw (172.21.6.97) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.7; Mon, 23 Oct 2023 11:31:24 +0800 Received: from RTEXMBS01.realtek.com.tw ([fe80::9cb8:8d5:b6b3:213b]) by RTEXMBS01.realtek.com.tw ([fe80::9cb8:8d5:b6b3:213b%5]) with mapi id 15.01.2375.007; Mon, 23 Oct 2023 11:31:24 +0800 From: Ricky WU To: "gregkh@linuxfoundation.org" CC: "arnd@arndb.de" , "linux-kernel@vger.kernel.org" , "ulf.hansson@linaro.org" , "frank.li@vivo.com" , "u.kleine-koenig@pengutronix.de" , "yangyingliang@huawei.com" , "linux-mmc@vger.kernel.org" Subject: RE: [PATCH v3 1/2] misc: rtsx: add to support new card reader rts5264 Thread-Topic: [PATCH v3 1/2] misc: rtsx: add to support new card reader rts5264 Thread-Index: AQHaAynsmhTs26pH702PHG8h5layhrBUNdwAgAJ4IRA= Date: Mon, 23 Oct 2023 03:31:24 +0000 Message-ID: References: <121ced554a9e4f4791018e8f6a72d586@realtek.com> <2023102153-paramedic-washboard-29e3@gregkh> In-Reply-To: <2023102153-paramedic-washboard-29e3@gregkh> Accept-Language: zh-TW, en-US Content-Language: zh-TW x-originating-ip: [172.22.81.100] x-kse-serverinfo: RTEXMBS04.realtek.com.tw, 9 x-kse-antispam-interceptor-info: fallback x-kse-antivirus-interceptor-info: fallback Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 8BIT MIME-Version: 1.0 X-KSE-AntiSpam-Interceptor-Info: fallback X-Spam-Status: No, score=-0.8 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on groat.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (groat.vger.email [0.0.0.0]); Sun, 22 Oct 2023 20:33:00 -0700 (PDT) > > In order to support new chip rts5264, the definitions of some internal > > registers and workflow have to be modified. > > That is fine, but that should be a single patch, right? > Sorry maybe about misunderstand, The modifications mentioned here, it talk about some judgment expressions add "PID 5264" to make judgement in rtsx_pcr.c, so only about 30 line modified in rtsx_pcr.c > > Added rts5264.c rts5264.h for independent functions of the new chip rts5264 > > And then add new support in a new patch, this is still too big as one > patch to attempt to review it properly. Would you like to review this > as-is? > Yes, thank you Because rts5264.c rts5264.h only for rts5264 (new chip). The past architecture of this driver was like this, and it will good for us to maintain the driver different chip maybe has different functions and register definitions we used to separate different .c .h > thanks, > > greg k-h