Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp5631474rwb; Mon, 5 Dec 2022 01:43:33 -0800 (PST) X-Google-Smtp-Source: AA0mqf6IB7kAKhGYtWoSoHyOnmvwB5pLwi0ioAxrKNnjQBPN0pknibK0ZE22G7cJzu/SaC85IqxS X-Received: by 2002:a17:907:a801:b0:7c0:e060:e819 with SMTP id vo1-20020a170907a80100b007c0e060e819mr6205365ejc.763.1670233412792; Mon, 05 Dec 2022 01:43:32 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1670233412; cv=none; d=google.com; s=arc-20160816; b=QFHdTp8vREOJfa+h3lrOc6gGEBcCltu6ugV/G4FSKlbaV8TBrlxHf/SqHu8UKAa0Jt su1CI0+cYja42+6BM63TEgcPSm+tUB6iiYhvEJlFyvAjODczab+ISWDur9FdsyZbdqcD l2huufBorY8kPrW6lI5fEP3bcoyKO98w2xuTt0vcsmtVjV1kcoOrbpfYQl2vhJORYDst fCPQQLrBt7X2+LSE9wRim9PiGLzIcsOlaxVDfPYkGSX8KlyVNvboKd8Z7N2ySRAoZHBs hJu7HsdVhxbhdbIEMpWvdPhvPsbGtbCIUYphxeT+QhhVxvO7hkulLLgrVB+CPfEWQOAb DeNg== 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=5T6NmsZ+bsZwZx6HXSWcyweaWEIG/DHH5DoB1xB3g6U=; b=meDoQXaIfAfPfxGRhJC02QC4xAIyF9jreoeWM1LSTnjxDR45QSCf026MISfO48FiLT 9C6tYyk+t0CHqbPNr6ahhYgfNzGXnYZ/rqYdIfTHz2BriwvCKNdcLyN0ZlouGCCgN4GH pYHd0INXi5YZ1+DbhA0+9Oa4Pl/335t+uNBYbz+zu0RH8dZ6QcYdUlyfRtX/OSO3bp/f Ij1azEqApaSn4qBxLHnvnVjn8fe+EzYZfi0m8Uq3m0rw1/jCr2zMkeA23yHRq8tuvjzd 31GlC2MN3FFRkQFgPEW/HfZsuRm/LHcDE13Z5XvICNtbFqite5L7GC5FfTSaIu66YdVz x0nw== 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id o9-20020a170906974900b007c0b22a5328si9703089ejy.385.2022.12.05.01.43.12; Mon, 05 Dec 2022 01:43:32 -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 S232425AbiLEIzU (ORCPT + 82 others); Mon, 5 Dec 2022 03:55:20 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45298 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232354AbiLEIyn (ORCPT ); Mon, 5 Dec 2022 03:54:43 -0500 Received: from maillog.nuvoton.com (maillog.nuvoton.com [202.39.227.15]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id CDC5E64C1; Mon, 5 Dec 2022 00:54:01 -0800 (PST) Received: from NTHCCAS01.nuvoton.com (NTHCCAS01.nuvoton.com [10.1.8.28]) by maillog.nuvoton.com (Postfix) with ESMTP id 454FC1C8128E; Mon, 5 Dec 2022 16:53:59 +0800 (CST) Received: from NTHCML01A.nuvoton.com (10.1.8.177) by NTHCCAS01.nuvoton.com (10.1.8.28) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.7; Mon, 5 Dec 2022 16:53:59 +0800 Received: from NTHCCAS01.nuvoton.com (10.1.8.28) by NTHCML01A.nuvoton.com (10.1.8.177) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2176.2; Mon, 5 Dec 2022 16:53:58 +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; Mon, 5 Dec 2022 16:53:58 +0800 Received: by taln60.nuvoton.co.il (Postfix, from userid 10070) id AAE45637C4; Mon, 5 Dec 2022 10:53:57 +0200 (IST) From: Tomer Maimon To: , , , , , , , , , , , , , , , CC: , , , , Tomer Maimon Subject: [PATCH v2 0/2] MMC: add NPCM SDHCI driver support Date: Mon, 5 Dec 2022 10:53:49 +0200 Message-ID: <20221205085351.27566-1-tmaimon77@gmail.com> X-Mailer: git-send-email 2.33.0 MIME-Version: 1.0 Content-Transfer-Encoding: 7BIT Content-Type: text/plain; charset=US-ASCII X-Spam-Status: No, score=0.4 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 This patch set adds SDHCI support for the Nuvoton NPCM Baseboard Management Controller (BMC). The NPCM SDHCI driver tested on NPCM750 and NPCM845 EVB. Addressed comments from: - Rob Herring : https://www.spinics.net/lists/devicetree/msg556099.html - Andy Shevchenko : https://www.spinics.net/lists/devicetree/msg555247.html - Adrian Hunter : https://www.spinics.net/lists/devicetree/msg555583.html Changes since version 1: - Use correct spaces in the dt-bindings. - Drop unused labels from dt-bindings. - Order by module name in the make a configuration. - Remove unnecessary blank lines. - Using devm_clk_get_optional instead of devm_clk_get. 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 | 45 ++++++++++ drivers/mmc/host/Kconfig | 8 ++ drivers/mmc/host/Makefile | 1 + drivers/mmc/host/sdhci-npcm.c | 84 +++++++++++++++++++ 4 files changed, 138 insertions(+) create mode 100644 Documentation/devicetree/bindings/mmc/npcm,sdhci.yaml create mode 100644 drivers/mmc/host/sdhci-npcm.c -- 2.33.0