Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp1265597rwr; Thu, 20 Apr 2023 12:17:32 -0700 (PDT) X-Google-Smtp-Source: AKy350Y7n4FjFoSCxoPO9YP6372b3JKTlXxlzy77wE7LmPtl2Co+zgEIZ1bIcWKOe7h3MSwcRkxp X-Received: by 2002:a17:90a:ce07:b0:247:529f:92d7 with SMTP id f7-20020a17090ace0700b00247529f92d7mr2725889pju.8.1682018252498; Thu, 20 Apr 2023 12:17:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1682018252; cv=none; d=google.com; s=arc-20160816; b=e7LW7+NjSQx5rNkEcpHBe5ui6rrY6lNx21x0fFmbnjr0a3n3cLII02g2WoQq4o8qXg ZSHiA3QMDvO4LJ9i0niHCWJs5jNzI+Btqu4UGkkxPd0m/BxFjvZ+TY9xs+4diQBA3J0q iUUxcETOnrulTN5X4UiZuaswop4/lijradd0lhINpNujsxuQhZSjt0d1YwpEzakxXIKD QSriHcSWPyVL/phFgZtcwdR5EjKyaWNXr+AHXYkxR1HvqEsMIA2CCIpW3v4uICi66mnw 5tgf/IWYzoxF3jWBFYuNbIV00c1GPH5dLKQ1Bu9648IrZJpgAXqAbead1sKcfkDceZvP OY+A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=TRyyzeUqKdaTnqrBucZ3TkmfveNP8li2ctk9FYv0/ms=; b=KZlecIV4CEDCr8WY5SfOtlmxZO67tL7dsBZPlK7NsX3eyTw326YVUjVNwqhMsOn2vQ ZKAFp415E9kwwrQU3H3H8Udvn+Dft+mOrwO6M+US9fkM/SeVO4oVC29WMpQ1G8KTDExt qQ6KtOO+f+lNLDZzwfhFBDP3VkoqL7zvl0fB7mcjCs0PWJ01SWk8a6GF7Y//AheEvkWv 3Nj9A5JILRjowPEje3XVozsIVaNbEXotbG8QN/w7kPf6b33RCe+Cp27jtQ034jSxfdJ8 cI4TKibHuLwWgjIUHJm9bZ/Ylrv41rgOh6Tpzu2kdcdFAl7ojhGZRGkzOwiFLkeh9uH5 9tZw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@earth.li header.s=the header.b=aF8iWtfV; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id o1-20020a17090aac0100b00240d56569eesi2502091pjq.166.2023.04.20.12.17.19; Thu, 20 Apr 2023 12:17:32 -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=fail header.i=@earth.li header.s=the header.b=aF8iWtfV; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231500AbjDTTNe (ORCPT + 99 others); Thu, 20 Apr 2023 15:13:34 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40366 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229468AbjDTTNd (ORCPT ); Thu, 20 Apr 2023 15:13:33 -0400 Received: from the.earth.li (the.earth.li [IPv6:2a00:1098:86:4d:c0ff:ee:15:900d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 969FC26A5; Thu, 20 Apr 2023 12:13:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=earth.li; s=the; h=In-Reply-To:Content-Type:MIME-Version:References:Message-ID:Subject: Cc:To:From:Date:Sender:Reply-To:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=TRyyzeUqKdaTnqrBucZ3TkmfveNP8li2ctk9FYv0/ms=; b=aF8iWtfV0ZpqH+2RoF9PSmZLZc vRZNwV3F/wGCFBvHyolVlMrdfFSu5Mt1FGWS1sj/9NQE3xe9/YbaGPGWgeiEh/WbWcP6NiWAe2aRn vGVO8z8QX8BWdjt6O2djnE/Y2DUDRV2aDUuAJjxtsoi0XrlG/i5Pi6/BrX9HRrvL//mOr0AXiRyRj dradurzGI01KfKrxqeG7HXwdeHhF/T2fGH0xHTV7hsKNS8PW2hOHj5c9CSOL08pqA5GrVKjacLfsF jF72L7iUj68Fw4xBxPopF9VwXWVHPgv22CjJXywUGOej9N9flst+j/RdWN+En4QfGjbmtzz8SPoX4 v4gj/PBQ==; Received: from noodles by the.earth.li with local (Exim 4.94.2) (envelope-from ) id 1ppZib-002Tk7-TH; Thu, 20 Apr 2023 20:13:21 +0100 Date: Thu, 20 Apr 2023 20:13:21 +0100 From: Jonathan McDowell To: Andre Przywara Cc: Rob Herring , Krzysztof Kozlowski , Chen-Yu Tsai , Jernej Skrabec , Samuel Holland , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-sunxi@lists.linux.dev, linux-kernel@vger.kernel.org Subject: Re: [PATCH 2/3] ARM: dts: sun5i: Add port E pinmux settings for mmc2 Message-ID: References: <00d37ef9bf70785d05fb446ee6d0060c4a8d521a.1681580558.git.noodles@earth.li> <20230416014756.2270af13@slackpad.lan> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230416014756.2270af13@slackpad.lan> X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=ham 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 On Sun, Apr 16, 2023 at 01:47:56AM +0100, Andre Przywara wrote: > On Sat, 15 Apr 2023 18:46:24 +0100 > Jonathan McDowell wrote: > > Hi, > > > These alternate pins for mmc2 are brought out to the 40 pin U14 header > > on the C.H.I.P and can be used to add an external MMC device with a 4 > > bit interface. See > > > > https://byteporter.com/ntc-chip-micro-sd-slot/ > > > > for further details on how. > > > > Signed-off-by: Jonathan McDowell > > --- > > arch/arm/boot/dts/sun5i.dtsi | 8 ++++++++ > > 1 file changed, 8 insertions(+) > > > > diff --git a/arch/arm/boot/dts/sun5i.dtsi b/arch/arm/boot/dts/sun5i.dtsi > > index 250d6b87ab4d..e4922506ce22 100644 > > --- a/arch/arm/boot/dts/sun5i.dtsi > > +++ b/arch/arm/boot/dts/sun5i.dtsi > > @@ -517,6 +517,14 @@ mmc2_4bit_pc_pins: mmc2-4bit-pc-pins { > > bias-pull-up; > > }; > > > > As this seems to be a highly non-standard and rare modification, that > doesn't even get used in the mainline DT, please add a: > /omit-if-no-ref/ > line, so we don't get this into every sun5i board. Neat, will add in v2. > Otherwise looks good, though I don't know if that should belong into > the same DT overlay that is probably used to also enable the MMC2 node. I pondered that, but we already have the mmc2-4bit-pc-pins definition here so it seemed helpful to add the pe-pins too. > > + mmc2_4bit_pe_pins: mmc2-4bit-pe-pins { > > + pins = "PE4", "PE5", "PE6", "PE7", > > + "PE8", "PE9"; > > + function = "mmc2"; > > + drive-strength = <30>; > > + bias-pull-up; > > + }; > > + > > mmc2_8bit_pins: mmc2-8bit-pins { > > pins = "PC6", "PC7", "PC8", "PC9", > > "PC10", "PC11", "PC12", "PC13", > J. -- "Where the f**k is all this | .''`. Debian GNU/Linux Developer water coming from?" -- Captain | : :' : Happy to accept PGP signed of the Titanic | `. `' or encrypted mail - RSA | `- key on the keyservers.