Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp2107809rwb; Wed, 30 Nov 2022 02:24:04 -0800 (PST) X-Google-Smtp-Source: AA0mqf4ZIxmY5PukdhNVeSuFzc835WtqT4ZuG65LoSXoJjvxPLhCS682Z7N3T97VeCVwCCSUK15A X-Received: by 2002:a17:906:76c9:b0:7bb:2867:7a92 with SMTP id q9-20020a17090676c900b007bb28677a92mr27570791ejn.441.1669803843911; Wed, 30 Nov 2022 02:24:03 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669803843; cv=none; d=google.com; s=arc-20160816; b=x48P62DhGv2fpxhf+QFUkLio9CGTgRgocuY5KGCedytCIPbCyp99+EaD6+h+Kte2OZ ax3Lj6RyxAFEH9sBCzlAn7DiggTWCQS+I+cB5CjRlW1jAqDZ8HpOAePLw5rOeTkQtxXt xeC6iVp0RHyjTypfipMidEtb8DU3ylQEoRXhpJsb6pwplvU7cCgfWAuyoLr06I3o/9pH Z9eyMde2J1PMz6CMzDAZA3z23Loy+z+C7B/6yQhRu3Sxa5X0usC//MAX6dkP4xs4+jL8 ixbYlqQafnk/yeEEqvW7vLgOliqC6yV3/qf4sb/FlZ/USs+h0vQ5DpiGjhsDFl1oMu5x QlSg== 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:date :message-id:subject:references:in-reply-to:cc:to:from; bh=XpQvp+5soQwNfWHi0sOcc83kuvA4g2kyt5wHAeqkTwo=; b=VRWu5L8RjU7r65n62Dq6qYcLFMy/43PXOP8KoaG50LEL1ixSSxdQWEdQvRWM2QO3K8 3IrgBd/BmgjULdvjeDsH4svGYZ1zjhi5SI3mMZX2U5nFpcO1g/EoKPAhC0jehNuviQBv Pw1OVMT/wBEkz5BW+xZ50flsb8AAn2kOuHiT01ep3tIcfr+k/u+inb6wvQx1cxScOgn5 sPn4JcX74bqL6bknUuHrnIbgHxDtJQa7XyNR1ui37gjYymVxqoeTrcNjcf+N1qm1aqoz glzpUBs+8TY0lzKYNd5TOi8aQUkbSlDvH/DfTqHiEvL1CywSOTmV9TA38P9S4u/IvUeI 7AOg== 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id dn14-20020a17090794ce00b007c0999c0e31si1127874ejc.257.2022.11.30.02.23.43; Wed, 30 Nov 2022 02:24:03 -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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233761AbiK3Jci (ORCPT + 84 others); Wed, 30 Nov 2022 04:32:38 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33670 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234213AbiK3Jbz (ORCPT ); Wed, 30 Nov 2022 04:31:55 -0500 Received: from gandalf.ozlabs.org (gandalf.ozlabs.org [150.107.74.76]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1F3DB5915A for ; Wed, 30 Nov 2022 01:31:37 -0800 (PST) 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 Cc: linux-kernel@vger.kernel.org, linuxppc-dev@lists.ozlabs.org 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-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_PASS, SPF_PASS 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 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