Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 3F2D4C61DA4 for ; Wed, 15 Mar 2023 06:52:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:Subject:Cc:To:From:Date:References: In-Reply-To:Message-Id:Mime-Version:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=7jhhkmPObAb0fgdiYUyZB0n8htjq9QxD2GCYGnrp93k=; b=Y7l1kooiru8YT7 g/q75ygNKw4j/TGJeCdfafQR+wTVF/7Y3REDS89ArgNdSj3cMcSg0mVu5NxuGAybCE1L2WbJYL6/+ 4w6hvMtnVap88ZJOBE4ZE9yzhvfiZNXJV1a/rAtd9sMcNcpcqEcFrpOtSUzJs8QugIRuAcjTjeXW7 F/TCOBn0Bfm//7TRF9aD4f3seMqv6AQ3Z84slmqbjdYYwQziuv33epIG6J1fr87j5goukQ99D7yxJ fewXhZWwfyFZnq2POrpyODBFDc59erG2KE1z/IrI/E2BMC9maFvVtea0D/4zdQdV4hD2XSHb2wAmJ 34aKU2j8YfnK7tunxS8g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1pcKyQ-00Ca8U-2N; Wed, 15 Mar 2023 06:50:58 +0000 Received: from wnew1-smtp.messagingengine.com ([64.147.123.26]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1pcKyN-00Ca7d-2w for linux-arm-kernel@lists.infradead.org; Wed, 15 Mar 2023 06:50:57 +0000 Received: from compute6.internal (compute6.nyi.internal [10.202.2.47]) by mailnew.west.internal (Postfix) with ESMTP id CD97C2B06874; Wed, 15 Mar 2023 02:50:50 -0400 (EDT) Received: from imap51 ([10.202.2.101]) by compute6.internal (MEProxy); Wed, 15 Mar 2023 02:50:52 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=arndb.de; h=cc :cc:content-type:content-type:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:sender :subject:subject:to:to; s=fm1; t=1678863050; x=1678870250; bh=34 HZu+QxANz64sdbgwEEpIKdNrBPFX/SLnskCihCx9g=; b=unXcXrb2R6W7Z/T5+H tMkGplkj2HQfMVCWlZ4qdsD6UMCC8j6hbZ86GSAyx9JV1oe9yh+Xi0uTRv34ZFUF yAZ1M3xXUsa48KQyWcU3jhGmuJayYagKJT1Pjjpy89OfwZ1y0ua62Zn6cgUAQYDj VmEveQlSrd84prvEaadeJpixg1ckgmYiCc+L8YySuyuEhe1NC22kq4HH3xFJEhpB Sp9jh16UMtCsy/yflnuj/72bHoNm0cg3SEA0F5fDPqMOjG0q0Gmsrh3KgQguS8q4 HuVI0nP+MO1x5XDO2J4gsoGPSDurJCucxOWtAVcBShEvLgssnJi7e8nTyT6fgGvO fz+w== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:sender:subject :subject:to:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm2; t=1678863050; x=1678870250; bh=34HZu+QxANz64 sdbgwEEpIKdNrBPFX/SLnskCihCx9g=; b=KkfnFcijOHmLiTuw04qroNmj+oREf eVpdL51Swqq29NElAH2GOqsRliSE7KHrMchxo38l+c+htILMuPgkx/HGR04okJQl qs9pPz8bWzo474r17cYW1mMpLWbp7ydjgFui3iAQQUGQ8X2g812XhXjW28LNKh8K rDgoKsQM6++W5sU+h8AZua5eylDHSmM52KM7uRIUZbWE3QzHci1IYiDYXn46RA6u a5zbVPhD5aw9f9QwtS6apjj6oPTALlkN9XjhfApltzEKXLxrIP6SzdFdhx6sSSIr MbVcLe+ntGML5bRJHICQ+yNCcm9mEBNKwgbUIqDZhFpaDyxemFTl38sfw== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrvddvjedgleekucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepofgfggfkjghffffhvfevufgtsehttdertderredtnecuhfhrohhmpedftehr nhguuceuvghrghhmrghnnhdfuceorghrnhgusegrrhhnuggsrdguvgeqnecuggftrfgrth htvghrnhepffehueegteeihfegtefhjefgtdeugfegjeelheejueethfefgeeghfektdek teffnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomheprg hrnhgusegrrhhnuggsrdguvg X-ME-Proxy: Feedback-ID: i56a14606:Fastmail Received: by mailuser.nyi.internal (Postfix, from userid 501) id 5987FB60086; Wed, 15 Mar 2023 02:50:49 -0400 (EDT) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.9.0-alpha0-221-gec32977366-fm-20230306.001-gec329773 Mime-Version: 1.0 Message-Id: In-Reply-To: <57c42604-38b0-61ce-2fc4-2284fbb9d708@linaro.org> References: <20230314163201.955689-1-arnd@kernel.org> <4ac809d2-3924-3839-479f-0b4be9f18a1f@linaro.org> <57c42604-38b0-61ce-2fc4-2284fbb9d708@linaro.org> Date: Wed, 15 Mar 2023 07:50:28 +0100 From: "Arnd Bergmann" To: "Krzysztof Kozlowski" , "Arnd Bergmann" , "Christian Lamparter" , "Kalle Valo" Cc: "Linus Walleij" , "Bartosz Golaszewski" , "open list:GPIO SUBSYSTEM" , Linux-OMAP , "Tony Lindgren" , "Aaro Koskinen" , "Felipe Balbi" , "David S . Miller" , "Eric Dumazet" , "Jakub Kicinski" , "Paolo Abeni" , "Rob Herring" , "Krzysztof Kozlowski" , =?UTF-8?Q?Beno=C3=AEt_Cousson?= , "Russell King" , "Dmitry Torokhov" , "Johannes Berg" , linux-wireless@vger.kernel.org, Netdev , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH] p54spi: convert to devicetree X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230314_235055_986418_C685AFA8 X-CRM114-Status: GOOD ( 13.58 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Wed, Mar 15, 2023, at 07:32, Krzysztof Kozlowski wrote: > On 14/03/2023 22:40, Arnd Bergmann wrote: > >>>> + >>>> + power-gpios: >>> >>> If this is GPIO driving some power pin, then it should be >>> "powerdown-gpios" (like in /bindings/gpio/gpio-consumer-common.yaml) >> >> As far as I can tell, it's the opposite: the gpio turns the power on >> in 'high' state. I could make it GPIO_ACTIVE_LOW and call it powerdown, >> if you think that's better, but I don't think that is how it was >> meant. > > Whether this is active low or high, I think does not matter. If this is > pin responsible to control the power, then we use the name > "powerdown-gpios". Effectively powerup GPIO is the same as powerdown, > just reversed. Ok, so should I make this GPIO_ACTIVE_LOW and adapt the patch to call it powerdown in both the code and dt for consistency? Arnd _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel