Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp279371rwr; Wed, 19 Apr 2023 06:31:11 -0700 (PDT) X-Google-Smtp-Source: AKy350b9uhBPwUNdbf6fdtxV2otmqYhib2tIDKBTcEslXuGkN163MpBUdsYaVdOnVPWckUfgjDU+ X-Received: by 2002:a17:902:ec87:b0:1a6:b012:afb with SMTP id x7-20020a170902ec8700b001a6b0120afbmr6685047plg.48.1681911071212; Wed, 19 Apr 2023 06:31:11 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1681911071; cv=pass; d=google.com; s=arc-20160816; b=BFTOCYG+g6P/u4dbLmL3/ypleJALMqBP/G9N1sSi2uQnruG21fF17JjrOrea7fKVl4 d3VF3SKCQNaMGp6Lq4Nedt8PWm0BQ/ZTsxUEb2tZRyr0/4hJNzcqTI9uKoja1lqzBoYR i0ogTWt6zBWXPN0D4YpjrhsZIubRetFPgT8uhtzbDF8784QGmhT3zDnGLZFNhbW3aLk5 e2JzE/Ri7uo/QeVg5TXOrvhTYbP4kIKtwONF6HDxYWU6tUF577XXUSrKqa1WPHKiJIKx swHHWZtVTx0pQPpiiDvUpzIe5elVIui0Mu7buMlsuElbqIw7xd3cX/XkFGD3Ntx5hvsF x9LA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :in-reply-to:from:content-language:references:cc:to:subject :user-agent:date:message-id:dkim-signature; bh=33GUqICiCnkF6JRlgP5XU19Spt09i0olFYBr0mpwcFA=; b=EiL4NBZZVamkdkR/S/10gMdclWzZ407aHEGXDw5BWVjvw3mjtPqg7qiBo7M4DtwRrs 0JrINyqHtHpYLsw7qx83wnS67ABMbfJmh/ioRLVelc7hu1QXnjRZI8tanG++HeUPpcc1 Z7PEi/2q5ceKXkWuTOzhU2iDjJLVTF1KFE/K0z8i9+xfn/Vq1i3kDK/3B9s0Hk+nqQ32 bf5lDMXRXnMndm5OeQ+HbSLEiSKJLh3YT+3O28AWaqLIImgi3/GJJQkHdvnh+QPC1e4H Pn4kieWm3UbUXvDz6uW+j0mvoo59iYnFQshhNMT91yMivcYnMxrtnRSQqmSgZ8Ua/Hb8 FQ8g== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@outlook.com header.s=selector1 header.b=LenzCRyI; arc=pass (i=1); 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=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=outlook.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id c17-20020a170902d49100b0019e8d4cb8d3si17880986plg.614.2023.04.19.06.30.49; Wed, 19 Apr 2023 06:31:11 -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; dkim=pass header.i=@outlook.com header.s=selector1 header.b=LenzCRyI; arc=pass (i=1); 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=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=outlook.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233473AbjDSN3s (ORCPT + 99 others); Wed, 19 Apr 2023 09:29:48 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37582 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232840AbjDSN3q (ORCPT ); Wed, 19 Apr 2023 09:29:46 -0400 Received: from APC01-SG2-obe.outbound.protection.outlook.com (mail-sgaapc01olkn2052.outbound.protection.outlook.com [40.92.53.52]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 527721544C; Wed, 19 Apr 2023 06:29:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=MwkaxYNHukXj7gbfaBaV2Qh04a+NAZbLgAQcsWP9aDkwCvlpQAsUexhx63DBP+Ul2cW6BD6rRBNSyXKfCU2P4oVFR+Axzx8Gap7lI3yw0gxXr5HuvO25fIL1v9MtKELpxPXXDkIyBapplv3/q4BbYqvkKDrhgnytBUQo3Eknr0RzPAGwgbbveZmJ31h3AGAEmo/VOav/jxZCj6Wv+THTSpKfQ5fPTY/5MGis1yxUA+6E98zfQLTAeoHzXfVDhEVa+B8vTX1zBZO30knGu3O4b1tnxzxcySNmqHc0VrjzN3VQouOTz6+1mcdCsptWiBbpXomWmg2lx8gSJr+7JuLjGw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=33GUqICiCnkF6JRlgP5XU19Spt09i0olFYBr0mpwcFA=; b=iTA0UU0SCMSmHBg3oACh3PG1WA9c47coOTpsjrNRTE9vhOse6RJR73kh/BlZT7NONqp+Lq2FunNtAq3Y+rCv2KBT4af0qQWKjyAjzNuNggri7I4HnaX0KG+vFY4vcmnKAmeu6qpxrFwEM8c8zP82spHsTrrb4dGxJaOkFeEPYlFTNkuAif5htp7HDMNmXVqpDqciEapi82RfEe873qgSh8k8bfFOHzR9CCCLhHgPpj3So60vqzory5AJ0Xfx4qYq0Imt2UJgzSvRfzZMTjtopsAm8NbaG4c/U5utEYFhZR1/BWCHXyr0xJUtYHzgDI0m7GBRFVtkRyntFv7wy9jczA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=outlook.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=33GUqICiCnkF6JRlgP5XU19Spt09i0olFYBr0mpwcFA=; b=LenzCRyItFX1/vGqrvubQDZXRIdUIASGDGGNBSLn0wp9dQrP4ytIjCUhrN/0SiGrg4nQu2opM9Qki4YElIpOeYh3y6bla+/1WbGAswDFd5j4Ytnkrv4kmruA38a8FRf+Chn6yuLNaKQ7JdYY/t+SDOHTbGc8xcgEo/Qs5zbYVNEbrOeRItxRviPG3lgdOfWl47iujsgy44P1Vow+GsRkaAUFgnsg9PFREFXHb6l7ZisHmrcOupfwyEqsU8MKp5ez1e6rgVeILWmHczUi0/HDjx6u7gwxBTFbU8+6kRFJq3Oqaxt1Nn+QChXHnaNX5FZtjOn6rX1PgWsNtHXQh3PliA== Received: from TYZPR04MB6321.apcprd04.prod.outlook.com (2603:1096:400:28a::14) by TYZPR04MB6428.apcprd04.prod.outlook.com (2603:1096:400:28e::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6298.45; Wed, 19 Apr 2023 13:28:37 +0000 Received: from TYZPR04MB6321.apcprd04.prod.outlook.com ([fe80::4705:d219:7cf0:46f4]) by TYZPR04MB6321.apcprd04.prod.outlook.com ([fe80::4705:d219:7cf0:46f4%3]) with mapi id 15.20.6298.045; Wed, 19 Apr 2023 13:28:37 +0000 Message-ID: Date: Wed, 19 Apr 2023 21:28:25 +0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.10.0 Subject: Re: [PATCH RFC v4 0/4] mmc: add support for the dw-mmc controller on Hi3798MV200 To: Ulf Hansson , Jaehoon Chung , Rob Herring , Krzysztof Kozlowski Cc: tianshuliang , Jiancheng Xue , Shawn Guo , David Yang , linux-mmc@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org References: <20230415-mmc-hi3798mv200-v4-0-44096e187f53@outlook.com> Content-Language: en-US From: Yang Xiwen In-Reply-To: <20230415-mmc-hi3798mv200-v4-0-44096e187f53@outlook.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-TMN: [ZwYAkDZUZNeEqZ90XtI4mprkTeL4Yp9tmoR4x4y2bXXXWqMYHCtohU5CNpWAudCe] X-ClientProxiedBy: SJ0PR03CA0208.namprd03.prod.outlook.com (2603:10b6:a03:2ef::33) To TYZPR04MB6321.apcprd04.prod.outlook.com (2603:1096:400:28a::14) X-Microsoft-Original-Message-ID: <3cd40781-fd8b-c9c8-e8e6-ffc6b274a31e@outlook.com> MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: TYZPR04MB6321:EE_|TYZPR04MB6428:EE_ X-MS-Office365-Filtering-Correlation-Id: 39d18946-109b-4b26-d3f4-08db40d9fb85 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: aUcBwpMdV+nT2YNhfEb0z7O5K1ab0zSqcYfBLX7O3N3ySOQnEWRa00ecjANREd6haQHhaLW+CPoKYpcq/7BAfkrBEzdGfZGNYplphurELqvnS9NgcCf6+Ll1TseLZEKn9nq6jouPTFQnH4+1erD8WSx4YjbAcEafyEoKVbVFCnIPpR7MRnpLrOmeE6NYfIYeLX2hBuVP2rkl0WmZeNAtq7wO/vloDcAxLjV2LJZg2h9LN98TOnInsMge8lx64GX96seIuItv8KkushAIMbpdVzKy2+JmHjXPcySD1c/q4ZTjcKu7J9WMWOgNJqULaBj/D3orJZ2i1w2kSQ29fSslt2LK9wiUS8sfggAZhyU9ghLF7aytk2+jnSSh2VzNEukHfPDF3xyFlWOgBDR5KqKxnkkWzAaZt0XL4bwkoSq55/QJZSkVfyTMgd5fyXyeWfxuuZhKX4ysMZaMRiNZIH3ntNR9QdWb4naBbTC+LdlsqU5Op1LLOVzEuLiQMadhCEOCciyRz0BJnKbwkakbE2ewh/BDXAFMkFUMmsDYoIea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ZXUvZExzQjNqRW9wK0hDMEc4c1FPS29IMUNXTDA5Z2VpZzNkZVVuR1hMS1dQ?= =?utf-8?B?RXZEdi9idFgzRFRMZTc3dWorOFh5eCt6eXZ4S3RYUWVEMnVHUVRkcGRlQmxX?= =?utf-8?Q?wo3gTDWHAyoT+JyHdw=3D?= X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 39d18946-109b-4b26-d3f4-08db40d9fb85 X-MS-Exchange-CrossTenant-AuthSource: TYZPR04MB6321.apcprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 19 Apr 2023 13:28:37.8756 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: TYZPR04MB6428 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FORGED_MUA_MOZILLA, FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,NICE_REPLY_A, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_PASS, T_SCC_BODY_TEXT_LINE 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 4/16/2023 5:19 PM, Yang Xiwen via B4 Relay wrote: > The dw-mmc controller found on Hi3798MV200 is like the one found on > Hi3798CV200, but has some tweaks. > Also refreshed the dt-binding and converted it to YAML. > > Signed-off-by: Yang Xiwen > --- > Changes in v4: > - fix license of dt-binding document. > - some other fixes to dt-binding document. > - Link to v3: https://lore.kernel.org/r/20230415-mmc-hi3798mv200-v3-0-00e2368c0709@outlook.com > > Changes in v3: > - split dt-binding commit into 2 parts, one for renaming, the other for > new compatible string. > - some other fixes to dt-binding document. > - Link to v2: https://lore.kernel.org/r/20230415-mmc-hi3798mv200-v2-0-1d274f9b71da@outlook.com > > Changes in v2: > - add DDR52 support > - edit dt-binding, substitude all hi3798cv200 with histb > - send email to more people > - Link to v1: https://lore.kernel.org/r/20230415-mmc-hi3798mv200-v1-0-db5b91d939d4@outlook.com > > --- > Yang Xiwen (4): > mmc: dw_mmc: hi3798cv200: rename to dw_mmc-histb > mmc: dw_mmc: histb: add support for hi3798mv200 > dt-binding: mmc: hi3798cv200-dw-mshc: convert to YAML and rename to histb-dw-mshc > dt-binding: mmc: histb-dw-mshc: Add Hi3798MV200 compatible string > > .../bindings/mmc/hi3798cv200-dw-mshc.txt | 40 --- > .../bindings/mmc/hisilicon,histb-dw-mshc.yaml | 93 ++++++ > drivers/mmc/host/Kconfig | 8 +- > drivers/mmc/host/Makefile | 2 +- > drivers/mmc/host/dw_mmc-hi3798cv200.c | 206 ------------- > drivers/mmc/host/dw_mmc-histb.c | 339 +++++++++++++++++++++ > 6 files changed, 437 insertions(+), 251 deletions(-) > --- > base-commit: 76f598ba7d8e2bfb4855b5298caedd5af0c374a8 > change-id: 20230415-mmc-hi3798mv200-ce15e9b96866 > > Best regards, Sorry for wasting your time, but please don't review this patchset anymore. I decided to rewrite it. -- Best regards, Yang Xiwen