From patchwork Wed Nov 30 15:08:55 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tomer Maimon X-Patchwork-Id: 2433 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp990227wrr; Wed, 30 Nov 2022 07:23:19 -0800 (PST) X-Google-Smtp-Source: AA0mqf6/ITKYe1w77omOa65CcdX+6fvRxprrK3jYGp184WNp60H04LNWYDwQOILzWvIf0vtKCkeg X-Received: by 2002:a63:e658:0:b0:476:d785:71 with SMTP id p24-20020a63e658000000b00476d7850071mr38522944pgj.161.1669821799170; Wed, 30 Nov 2022 07:23:19 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669821799; cv=none; d=google.com; s=arc-20160816; b=OehLbI5brRTNmlMMl02Vjj3N0rwK/y84ssyTauQEQgkTZuBFSQxC5KcwolWTpdFlgZ AOYTZrrxSHc2y0pPSzBHCVycws3/q8+4jQlUSoDkOz6L+U9Oyy0Ym4WIK5pM1vTJ7zeV 2A9P9d9hXyoYZxi7MFXyJSRT3MzP1oBhtaacjeuAHRcJe4uINeQoEusDmm2HwhpbvtJn 2NchyF7gOP9w9VAtGf+VxzOvKFt9OVb+5LwpIFv6UWu/Fl2xvQ5B49DJatwFGTQu2xiW rXc8SXKh4ju8o/qUQ/AQOfc9zxGAJOSM/ywb83JXRcn4POK6rzI4QYULbM4FHTDvgKpi iRig== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=gfYFP6zOfEYj187EQ+ATqEWZzk89i6WSZVwtQM5lMYY=; b=dsj2lk21cf4ZT4pewFGJdUnOKY0b+AY2eDrrNyb6WO1kWh8mweGsuL0k0Vt2jzdstp ep3qhlOgCIjgIZqWEeAhkvFZQdyBbR5In7QlxJDNdC4aD4wr8BcUVH9icX3KhK9imMLX bFglSjNHrG7lL3lmYSZurUb+tLFhrpd2iXZAx0nbUR560PMJ9EY+5Z+8Zv/6BWtjd3Vi CPaGHLtjb1IjB9dCvT2qH36pH2T7F+1tN53HdeQoRayUTKtq8i37asHrcoZMCpE54MNI z3mMMGBowv/TKxjvArv9DvJjhXz5c2nEYDvvhKHLYiY0t0Qtjfym7m8hInzkC5B3dIdg ir4A== 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=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id b2-20020a1709027e0200b00188e49e9dddsi1471536plm.52.2022.11.30.07.23.05; Wed, 30 Nov 2022 07:23:19 -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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229846AbiK3PTj (ORCPT + 99 others); Wed, 30 Nov 2022 10:19:39 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43814 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229548AbiK3PTi (ORCPT ); Wed, 30 Nov 2022 10:19:38 -0500 X-Greylist: delayed 633 seconds by postgrey-1.37 at lindbergh.monkeyblade.net; Wed, 30 Nov 2022 07:19:36 PST Received: from maillog.nuvoton.com (maillog.nuvoton.com [202.39.227.15]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 307F637235; Wed, 30 Nov 2022 07:19:36 -0800 (PST) Received: from NTHCCAS04.nuvoton.com (NTHCCAS04.nuvoton.com [10.1.8.29]) by maillog.nuvoton.com (Postfix) with ESMTP id D04391C812A2; Wed, 30 Nov 2022 23:09:00 +0800 (CST) Received: from NTHCCAS01.nuvoton.com (10.1.8.28) by NTHCCAS04.nuvoton.com (10.1.8.29) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2176.2; Wed, 30 Nov 2022 23:09:00 +0800 Received: from taln60.nuvoton.co.il (10.191.1.180) by NTHCCAS01.nuvoton.com (10.1.12.25) with Microsoft SMTP Server id 15.1.2375.7 via Frontend Transport; Wed, 30 Nov 2022 23:09:00 +0800 Received: by taln60.nuvoton.co.il (Postfix, from userid 10070) id 78B7E637C4; Wed, 30 Nov 2022 17:08:59 +0200 (IST) From: Tomer Maimon To: , , , , , , , , , , , , , , , CC: , , , , Tomer Maimon Subject: [PATCH v1 0/2] MMC: add NPCM SDHCI driver support Date: Wed, 30 Nov 2022 17:08:55 +0200 Message-ID: <20221130150857.67113-1-tmaimon77@gmail.com> X-Mailer: git-send-email 2.33.0 MIME-Version: 1.0 X-Spam-Status: No, score=0.3 required=5.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, FORGED_GMAIL_RCVD,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,NML_ADSP_CUSTOM_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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1750935063042829522?= X-GMAIL-MSGID: =?utf-8?q?1750935063042829522?= This patch set adds SDHCI support for the Nuvoton NPCM Baseboard Management Controller (BMC). The NPCM SDHCI driver tested on NPCM750 and NPCM845 EVB. Tomer Maimon (2): dt-bindings: mmc: npcm,sdhci: Document NPCM SDHCI controller mmc: sdhci-npcm: Add NPCM SDHCI driver .../devicetree/bindings/mmc/npcm,sdhci.yaml | 47 +++++++++++ drivers/mmc/host/Kconfig | 8 ++ drivers/mmc/host/Makefile | 1 + drivers/mmc/host/sdhci-npcm.c | 81 +++++++++++++++++++ 4 files changed, 137 insertions(+) create mode 100644 Documentation/devicetree/bindings/mmc/npcm,sdhci.yaml create mode 100644 drivers/mmc/host/sdhci-npcm.c