From mboxrd@z Thu Jan 1 00:00:00 1970 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 lists.ozlabs.org (lists.ozlabs.org [112.213.38.117]) (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 CD02AC4321E for ; Wed, 30 Nov 2022 09:39:48 +0000 (UTC) Received: from boromir.ozlabs.org (localhost [IPv6:::1]) by lists.ozlabs.org (Postfix) with ESMTP id 4NMZ1H3frkz3g6B for ; Wed, 30 Nov 2022 20:39:47 +1100 (AEDT) Received: from gandalf.ozlabs.org (gandalf.ozlabs.org [150.107.74.76]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 4NMYqq6sqcz3bbD for ; Wed, 30 Nov 2022 20:31:35 +1100 (AEDT) Received: from authenticated.ozlabs.org (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mail.ozlabs.org (Postfix) with ESMTPSA id 4NMYqq5gTcz4xZl; Wed, 30 Nov 2022 20:31:35 +1100 (AEDT) From: Michael Ellerman To: Nicholas Piggin , Christophe Leroy , Michael Ellerman , Dmitry Torokhov In-Reply-To: References: Subject: Re: [PATCH] powerpc/warp: switch to using gpiod API Message-Id: <166980023651.3017288.11616818512076872736.b4-ty@ellerman.id.au> Date: Wed, 30 Nov 2022 20:23:56 +1100 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit X-BeenThere: linuxppc-dev@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org Errors-To: linuxppc-dev-bounces+linuxppc-dev=archiver.kernel.org@lists.ozlabs.org Sender: "Linuxppc-dev" On Mon, 26 Sep 2022 23:03:25 -0700, Dmitry Torokhov wrote: > This switches PIKA Warp away from legacy gpio API and to newer gpiod > API, so that we can eventually deprecate the former. > > Because LEDs are normally driven by leds-gpio driver, but the > platform code also wants to access the LEDs during thermal shutdown, > and gpiod API does not allow locating GPIO without requesting it, > the platform code is now responsible for locating GPIOs through device > tree and requesting them. It then constructs platform data for > leds-gpio platform device and registers it. This allows platform > code to retain access to LED GPIO descriptors and use them when needed. > > [...] Applied to powerpc/next. [1/1] powerpc/warp: switch to using gpiod API https://git.kernel.org/powerpc/c/1892e87a3e9170146549779622cb844582f1e2bb cheers