Received: by 2002:a05:7412:d8a:b0:e2:908c:2ebd with SMTP id b10csp179997rdg; Tue, 10 Oct 2023 07:28:48 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGzo6Jn2LXPe9BjJWnwjS+B4jq0CjhFTEJJjuopCxIMbqpt3KPYTs670f8BOeDSHc7PQPY8 X-Received: by 2002:a17:90b:4f8c:b0:26f:f272:144c with SMTP id qe12-20020a17090b4f8c00b0026ff272144cmr15949110pjb.27.1696948127934; Tue, 10 Oct 2023 07:28:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696948127; cv=none; d=google.com; s=arc-20160816; b=vwXQ9MWCgDr9DgbiHNlWyrGOk21MkwMKCKd8tkCCel86VTq1s9Prwclzn6kClc6fY+ uWpmROYNX28NPlc3Zw54LPMi1I7OpEjifT+IltAoxhp/3EbnI2I988wfOIHxUKIELEmY J+iff6DjmyszVs8rCN8odFszBkWfSwg4PZoMJ0D5Jcf1zrFc9uIe11LCsya8KroWs01R r912qYsgrjbOMty7hJeFBns7gjhQtLmQvD5yEfm0lfcrQ9KM6bjjOQGFzp0R57BbEPjU /dRrsWWJouR81tgBZCPkQe0VLbbM/YGGd5Y4KX+z4IunnTyU1Nf7RYqOs9zzSH9M8+/l sKfw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=VieWLMAOeMVC3rl3XsXfYG0X2k/MOxV7sD3CF+kS9Yc=; fh=rio6FqIut1AYNWnabz713/6g93qTsUY6na8vRYHNbzM=; b=ZrKiohogoo8XkfF5e6jvL9MdPYjajLYNSBmcPKI5xczWN2jZuHYS+qFGW7pMWXZROk yxR9OiIVYB1TMSi+ByRMsrHG2N2grrQi+Hi0BS8t5gqyWOo05IHH23FmYJE155+kk0Vk rM6OoHGztvRwLIqk5wecdJ4Pd+XXLp4kxFKrwBFOILrlcuzqpN6WckSC+ekRE1eVy9e5 RuEfowRgl5bOz49ov+S/XFIqv65ztKXheyBD1Xa3/c1l/xudxiB4+J/mKZm1XwJCrvPE BBgZKQFjUcW3FQXe/Eg8hdPwfoP57afibelct8/mDw2tR7otV5+1bKG+GUGxePvBbwEy PYaA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=UiKbVNY5; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lipwig.vger.email (lipwig.vger.email. [23.128.96.33]) by mx.google.com with ESMTPS id mt23-20020a17090b231700b0027769032e57si13565618pjb.52.2023.10.10.07.28.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 10 Oct 2023 07:28:47 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) client-ip=23.128.96.33; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=UiKbVNY5; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id 7D9998026E06; Tue, 10 Oct 2023 07:28:45 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233262AbjJJO2d (ORCPT + 99 others); Tue, 10 Oct 2023 10:28:33 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37138 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233208AbjJJO2W (ORCPT ); Tue, 10 Oct 2023 10:28:22 -0400 Received: from mail-yb1-xb2c.google.com (mail-yb1-xb2c.google.com [IPv6:2607:f8b0:4864:20::b2c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 49B97C6 for ; Tue, 10 Oct 2023 07:28:18 -0700 (PDT) Received: by mail-yb1-xb2c.google.com with SMTP id 3f1490d57ef6-d81dd7d76e0so6650969276.1 for ; Tue, 10 Oct 2023 07:28:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1696948097; x=1697552897; darn=vger.kernel.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=VieWLMAOeMVC3rl3XsXfYG0X2k/MOxV7sD3CF+kS9Yc=; b=UiKbVNY5kR1X7vOoXvQOd0vIPAqzOVn/Y/BfLBEvgPYCAcG/aHC4lp2z+6gF7y1u/F C9tPiwLjVWTbEuAlabTUjp50RTtBMHIDAOBpLzzJmpZ8PKy9WOOy8GwrvBT/ZkHgyxNt dIxRMqoZepzr0XFS5YqmHi7bC+/4CBHNOA8FhhHa/8y2vpLaTr/Tb6hXJUJ1uY3lIwDw Ixy25xNZfXNEkq/aAMbRIEbuDfYoQ/b9OKOUArfJajaWofAKSNhuistgsWVRYTEwAkF8 t5ShV2+CIOgXH55sM2u9Kx1iiEOkjK5EKM/XW/IbHOPpEYxebLxeDvZawCTfHxsx4nxm dNYQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1696948097; x=1697552897; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=VieWLMAOeMVC3rl3XsXfYG0X2k/MOxV7sD3CF+kS9Yc=; b=MtZvGmElGW+FG/Xbo2O2TC3794BoblHIQPp8VUJGdJt6QL4L7jC5gll06kdNFJsVwJ e6hXyTTY0mMtEi6p6dfN6GcK5rnjJJOPOEbVc9n5EPJmLWi+8jgrreNy843/uRYXNsbI TxjvYVq9Q8vViLTP9wBTNm2/lKSlQNHdAMW2VpbIY2AE/8MTEnP0EsuzbC9/b3YcJKlf 3PDr/QO1+YvyrqV/9iy5iYUEeH3ONpHSWNTi8qe6HNddzXznc5TkMjlcyA8epV6EKqZC Tnky5bt61ZH4X9LB8yJ9sKcFNmkKbPIxrdmJ8GINhs2Nbn9x2mjI1FBVdsV7XmV8uOEo jzHw== X-Gm-Message-State: AOJu0YwTcuqJkptjXVWQy1lGCQ4KbU+0d9op+m6scLNbGNc/EOjmi3uB SMuKEO8JUy16h1SdknLBo1gaR7pVlgG1Ht7208dtAA== X-Received: by 2002:a5b:a50:0:b0:d97:213b:4775 with SMTP id z16-20020a5b0a50000000b00d97213b4775mr10319439ybq.34.1696948097328; Tue, 10 Oct 2023 07:28:17 -0700 (PDT) MIME-Version: 1.0 References: <20231002200610.129799-1-tmaimon77@gmail.com> In-Reply-To: <20231002200610.129799-1-tmaimon77@gmail.com> From: Ulf Hansson Date: Tue, 10 Oct 2023 16:27:41 +0200 Message-ID: Subject: Re: [PATCH v5 0/2] add NPCM SDHCI driver support To: Tomer Maimon Cc: avifishman70@gmail.com, tali.perry1@gmail.com, joel@jms.id.au, venture@google.com, yuenn@google.com, benjaminfair@google.com, adrian.hunter@intel.com, skhan@linuxfoundation.org, davidgow@google.com, pbrobinson@gmail.com, gsomlo@gmail.com, briannorris@chromium.org, arnd@arndb.de, krakoczy@antmicro.com, andy.shevchenko@gmail.com, openbmc@lists.ozlabs.org, linux-mmc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=2.7 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, RCVD_IN_SBL_CSS,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 lipwig.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (lipwig.vger.email [0.0.0.0]); Tue, 10 Oct 2023 07:28:45 -0700 (PDT) X-Spam-Level: ** On Mon, 2 Oct 2023 at 22:06, Tomer Maimon wrote: > > This patch set adds SDHCI support for the Nuvoton NPCM Baseboard > Management Controller (BMC). > > Deeply sorry it took that long until sending version three, promise to try > to do better on the next versions (if needed) :-), > > The NPCM SDHCI driver tested on NPCM750 and NPCM845 EVB. > > Addressed comments from: > - Andy Shevchenko : https://www.spinics.net/lists/devicetree/msg638000.html > > Changes since version 4: > - Remove unnecessary clk_disable_unprepare function. > > Changes since version 3: > - Use devm_clk_get_optional_enabled function. > - Add mod_devicetable.h. > - Modify copyright year. > > Changes since version 2: > - Add data to handle architecture-specific SDHCI parameters. > - Change config place in make and kconfig files. > - Calling sdhci_pltfm_free to to avoid a memory leak on error. > > 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 | 94 +++++++++++++++++++ > 4 files changed, 148 insertions(+) > create mode 100644 Documentation/devicetree/bindings/mmc/npcm,sdhci.yaml > create mode 100644 drivers/mmc/host/sdhci-npcm.c > Applied for next (and by amending patch2 to remove some commas), thanks! Kind regards Uffe