Received: by 2002:a05:6358:53a8:b0:117:f937:c515 with SMTP id z40csp2649224rwe; Sun, 16 Apr 2023 02:21:40 -0700 (PDT) X-Google-Smtp-Source: AKy350agTSEKVKSXHV2j4sY1+Qr/oB0btiMCUdUjBlzbmVdoCFfbhla1PZDBgYptSCxLBFLpXpZI X-Received: by 2002:a05:6a20:7348:b0:ef:3e60:6098 with SMTP id v8-20020a056a20734800b000ef3e606098mr3122460pzc.42.1681636900093; Sun, 16 Apr 2023 02:21:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681636900; cv=none; d=google.com; s=arc-20160816; b=W7G3fUkJOneJJ2SKdspObcCAiMUXdnCU4EN/nHY3NWGtO3dU92a0EpLX4WznamTXhj e9/+UwaHgPc8G7p8Uj94TG3ENo4J3PV0K7E5PEFixDzxqtva6zFo2PScYsIFBiXI2A1f PJf/rzTvaiKZaWhwawZeOS+wkwNo9ANmVuWqxY+XQNX4M3z7oGbAf/aGEtznPDryzzKR QWK1kSpaQ3X8LhtUcRW3WP1X1JGxdS2enM5rY2TAf36tomnfFgerEuI8YtucctQS4jTW nxQTIn9px3Ljbtgk+LJHPC6JbtwaZqmlRujCw6+nEmmUMhz5p9hYaaOIXrydecoVuIkp cC7w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:reply-to:cc:to:content-transfer-encoding :mime-version:message-id:date:subject:from:dkim-signature; bh=LgnBsuCPCKKM/3y2XNi7iu9yK1mx0PUZuUcqDMX9MJI=; b=OrmwJk0HQZJe5WKc9tdt7NiASEU5bnnR9sQUSXHFmT0RyyggOrS74ggCFyGQ8iVkGu hmgU2X4sbOqwhkeTWyE1qrYv0el1whoh1sSnpEkJtMoSWRtT7ZOrhVUoENmt1U5RU8lu h4E844/+ZWN0Hj6MjpOeD12TcmgVnoWJiSPA9OFO4rpOxr2gj2wC1Fsp/97O8PbFqm15 mKvgalvDb7e6c7HttsH1dyWffP0khKQXvyz/FIScCgs/ace8CKcskWK4TiEDK0cruE/q awg/u1Hw96sqsd8AJAU00zQuFZmGP0dzXEs3YDcnuAgOiS/OJpK9kba0Euh6il5TA7bQ 0Eyw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=apCC9c5l; 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=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id w63-20020a638242000000b00513f070aab0si9463429pgd.183.2023.04.16.02.21.26; Sun, 16 Apr 2023 02:21:40 -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=@kernel.org header.s=k20201202 header.b=apCC9c5l; 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=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230408AbjDPJT7 (ORCPT + 99 others); Sun, 16 Apr 2023 05:19:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42816 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229711AbjDPJT4 (ORCPT ); Sun, 16 Apr 2023 05:19:56 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7A4E41BD2; Sun, 16 Apr 2023 02:19:55 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 15E2C60CBA; Sun, 16 Apr 2023 09:19:55 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPS id 58389C433EF; Sun, 16 Apr 2023 09:19:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1681636794; bh=C3B7e70soFXi8WZxufA7WKhVicEU3OSoxaI6T2fcuAc=; h=From:Subject:Date:To:Cc:Reply-To:From; b=apCC9c5lzLTPsL5JA3sEYyUXlsoV1Mg+3CnDFrRCfronJV6Np/x8DYa99BntFDymw 7VFms9S0HXQ74+q6YE/F7PP70nBBhQkrlu/FrZ+Z4F//dFU1xR+Ib3UBYTweEuBbif 3SfZ4a9UaFBodEcCjZwxKApuAEQ55nWiJ+Ckh6bZAG0HwCPtEmdrpreLjBhvdAPZJX XxNJUPdYghiBQczT1CO0Uy0Cb/qwdpKcApEPjG1Clvh+Lt81lVGhkiO5pRU/leghjC eliYK11BtcJ/l3ck1UZD6zAmF22HKIb8jSQ/d9TTTFgFDUDyHLv2ZVIE4u1m3EdhUm YKTiQQIHWhnww== Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 2F443C77B72; Sun, 16 Apr 2023 09:19:54 +0000 (UTC) From: Yang Xiwen via B4 Relay Subject: [PATCH RFC v4 0/4] mmc: add support for the dw-mmc controller on Hi3798MV200 Date: Sun, 16 Apr 2023 17:19:31 +0800 Message-Id: <20230415-mmc-hi3798mv200-v4-0-44096e187f53@outlook.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-B4-Tracking: v=1; b=H4sIAKO9O2QC/4XNS6oCMRAF0K1IxkYqSf/iSBBcgFNxkE9ph/fSk aQNivTejT0TEYe3invugySMDhNZLx4kYnbJhaGEarkgplfDGamzJRMOXEDFauq9ob0Trex85gD UIKtRatl0TUNKS6uEVEc1mP7V8yqNGF+PS8STu81TB7LfbcmxHHuXxhDv83xm8+vrUmYUqNW1l sxKIW21CdfxP4S/lQl+1jL/IfAiMMvb6iR1y6z6FMQPQRQBALloOgMtyHdhmqYneDfUdVIBAAA = To: Ulf Hansson , Jaehoon Chung , Rob Herring , Krzysztof Kozlowski , Yang Xiwen Cc: tianshuliang , Jiancheng Xue , Shawn Guo , David Yang , linux-mmc@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org X-Mailer: b4 0.12.0 X-Developer-Signature: v=1; a=ed25519-sha256; t=1681636790; l=1828; i=forbidden405@outlook.com; s=20230415; h=from:subject:message-id; bh=C3B7e70soFXi8WZxufA7WKhVicEU3OSoxaI6T2fcuAc=; b=GmryrH+KwWWU6nkjqwj8a3ukVx0Ec87ykdWjriMTVhsDrDRMtJxEuyCjRBS4WkpmSQFeXKC9o j5hrj6xVIjRDVzCxNjUBHNQp58agOcAHp+V78Hg93ESTHGduk1YQplv X-Developer-Key: i=forbidden405@outlook.com; a=ed25519; pk=hfdpPU3AXR+t7fdv58tXCD4UzRNq+fop2TMJezFlAhM= X-Endpoint-Received: by B4 Relay for forbidden405@outlook.com/20230415 with auth_id=44 X-Original-From: Yang Xiwen Reply-To: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FORGED_REPLYTO, FREEMAIL_REPLYTO_END_DIGIT,RCVD_IN_DNSWL_MED,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE 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 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, -- Yang Xiwen