Received: by 2002:a05:6358:53a8:b0:117:f937:c515 with SMTP id z40csp1865236rwe; Sat, 15 Apr 2023 07:20:33 -0700 (PDT) X-Google-Smtp-Source: AKy350ZWVx4nLAiui9oj2D7tn+K3taR3mv69izWc2x1Ff2KHAWMnM1xLKAbsdOUCrdy+Kvoa98vK X-Received: by 2002:a05:6a20:331a:b0:cb:f5ab:3bd0 with SMTP id h26-20020a056a20331a00b000cbf5ab3bd0mr9460112pzd.59.1681568433282; Sat, 15 Apr 2023 07:20:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681568433; cv=none; d=google.com; s=arc-20160816; b=Ew0k/1b+CjG9Hd3vszMan/3etVidPyWAALVxG2tdIQQ8+iTi48CncZnxZVBA3P8IUE ab+BJKt5QqtZq+ctckgmwMP6YbMDnruL5Jm84QKvM/wRSPdhTs6DLiql7Qp5IGgCD9V/ qrb2lofiXabC7/UOOG3DhJefDhHUkGv880+9QH5OSKoQJH60UnCIKW6KtFygPuA6CY97 r5kG1xMASviuCQsCkmKvTwdYSqv8HuPyLI1QGQBjW5FivpdFJsZ6UW2QXYYpB9oAauKI kioq0qmKIIaIunz2VP8Y/ZPL5SYQOncVKmzZOQMR82ktpxOj0Q5EAJYtZnRlbOquE4sY Ux6Q== 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=Svp+m9w4RJNpzK3KOhaluHaURNrfk6Le0twwonKxAAY=; b=ZWG5hkvh7YRDejmHHxtmycPLpGu0JgzeuGXwnqlKDVYWtVUedyOpmv89l58BZTcS0C QEQXgWuHG4tjag9H6HuFeW2ihbsESldumEm7itRIhV0wUzqstLXn8Z62YJ4EO0pUtnJ3 KflX525g7J60LzfNknZ2kU0ec7V1Wzv031R+4+g1vu9g7MuZ2m7YA3BK2+J6aF0iguQC n6EM/kDm5AiV/1SIylMuaIwVMcsBu7E9ciQ8b5Qm4hkL29niSyoI38bFech4TxplfQco uva2S4dhP7h1xfMBZX8Gc/6fGx9UUUt70Yi2WvFQZErgWzQoSR/HLtlsaEPSUimz+m64 4tBQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=fffqcVMJ; 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 t191-20020a6381c8000000b0051b25fca82bsi7814661pgd.492.2023.04.15.07.20.21; Sat, 15 Apr 2023 07:20:33 -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=fffqcVMJ; 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 S229776AbjDOOTA (ORCPT + 99 others); Sat, 15 Apr 2023 10:19:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42512 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229468AbjDOOS6 (ORCPT ); Sat, 15 Apr 2023 10:18:58 -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 8773344BA; Sat, 15 Apr 2023 07:18:57 -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 23BFE60C96; Sat, 15 Apr 2023 14:18:57 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPS id 7E6E2C433D2; Sat, 15 Apr 2023 14:18:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1681568336; bh=NU2bCHBCBu/FVM8V5ZxWORQ+XnnJ/22QxWvmPvYrkQw=; h=From:Subject:Date:To:Cc:Reply-To:From; b=fffqcVMJ3eOkgOZGMvowotNdRuGMPBN6BMQT+DmIxWkiJ8kwLFPk+64f6m1pgO2DQ DtAQa3rq964WruOoZeh6xRHkR/bD5GAW73+YiH5hWXxcdeSk/ElExzGPx1ibKQE9Y8 zOe0+saqLQNES9mfpAFJ5+VOel1kY/VHV+ckXjxqfcThL8uUhiWHvg3c+flbLu6vmj YXzo0kCT7JvbrfkGIQtQBQlyUMNq8/zhY64SRA2OzZfg+QZPTFTnm1y8ovgUpea2RS jn9WZyzNFy+Emx7xNGY/xqdFWkDvzfl8B032gOUwEAPPZHSuJ63x/j3nFfYwclPV5F uIj1p5j/sDDSQ== 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 57880C77B70; Sat, 15 Apr 2023 14:18:56 +0000 (UTC) From: Yang Xiwen via B4 Relay Subject: [PATCH RFC 0/3] mmc: add support for the dw-mmc controller on Hi3798MV200 Date: Sat, 15 Apr 2023 22:18:43 +0800 Message-Id: <20230415-mmc-hi3798mv200-v1-0-db5b91d939d4@outlook.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-B4-Tracking: v=1; b=H4sIAEOyOmQC/x2NQQrCMBAAv1L2bCBJbWy8Cj6gV/GQxNXsIVF2S xFK/27qcRiGWUGQCQXO3QqMCwm9awNz6CDlUF+o6NEYrLa9PppBlZJUpv7kx7JYrVVCM6CP3o3 OQatiEFSRQ01570qQGXkXH8Ynff+rG0zXC9y37Qd+CibYfwAAAA== To: Ulf Hansson , Jaehoon Chung , Rob Herring , Krzysztof Kozlowski , Yang Xiwen Cc: 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=1681568331; l=1144; i=forbidden405@outlook.com; s=20230415; h=from:subject:message-id; bh=NU2bCHBCBu/FVM8V5ZxWORQ+XnnJ/22QxWvmPvYrkQw=; b=3xDF9NiFLIw4XcXlfHospvvBjb4Bhkt3ICZkU3monaSgRKpk0SYnAOCP83Nip5dD4fK9lOTlj pz/WjDjUWCACfbtinZekZdg/c7PNTyeth7SCAwKXNcxsbcz7a2UHwgN 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 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. Unfortunately, DDR52 is not supported yet. Signed-off-by: Yang Xiwen --- Yang Xiwen (3): mmc: dw_mmc-hi3798cv200: rename to dw_mmc-histb mmc: dw_mmc-histb: add support for hi3798mv200 binding: mmc: hi3798cv200-dw-mshc: convert to YAML and rename to histb-dw-mshc, add compatible of hi3798mv200 .../bindings/mmc/hi3798cv200-dw-mshc.txt | 40 --- .../devicetree/bindings/mmc/histb-dw-mshc.yaml | 90 ++++++ 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 | 336 +++++++++++++++++++++ 6 files changed, 431 insertions(+), 251 deletions(-) --- base-commit: 76f598ba7d8e2bfb4855b5298caedd5af0c374a8 change-id: 20230415-mmc-hi3798mv200-ce15e9b96866 Best regards, -- Yang Xiwen