Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp2634352rwd; Wed, 17 May 2023 12:13:58 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7SoJMt3bHVAb7NGI/ARhhCE8Uc+m3LgalOmItVg+DELO1VCozoHXG5s2sPPyjtL2MGMk3w X-Received: by 2002:a05:6a20:7f9d:b0:105:66a1:5d05 with SMTP id d29-20020a056a207f9d00b0010566a15d05mr19356491pzj.55.1684350838475; Wed, 17 May 2023 12:13:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684350838; cv=none; d=google.com; s=arc-20160816; b=tT68WerApcc02QtrJeQIjTLoGZdSC5HFb/bstrlhvJgYP2f6cWRX9W+OFZMosOkS9C +1gLykI/lwwfo1n0jJTsPd91oOsMBT4OLjmsGh0NKUa3M8yndm4Ge6sLnQ0ngLDXHLaa cwKMWGNgBUG0XWtxV5dhdeSkXHs47IaS0YkUOL3EUBj1U105SXkMxzqX6CSnq9f4lzmx Gcl2x8NJpChWCC3woOcNYvMrYsw9Xaba3kt2z4OzUYK1DzJgzhmNT6yFK2LDriXoThHY A8wzY3V/YquKaR8gBQcR3gXwuE7ehgfvt9tAKOzwZkkM6zL2/J+J64eq+XRWpFz+oa0/ L5VA== 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=belPChGY/La7XkZuio4MlHHNDT6JFtoyF+AdNUmOvSE=; b=yrdbvtbRby3jfKVcletxx5bmmUF/lgDKm7PHdHnQpIRDI4fSjtaI0NseBZP9e+j+6O 8TvcrkkTClu32h7G2qjZltM0S1AhTWl2euSTNlugDLDCSu2hN3Oco4JqouT1ctIo7Ped fvXBhkYIWt2VthoR3KnlAcl3tU8AHzXI1nt+QLrLH5ENINArH75ET9mENDIIQCASi6Cl g3NwohHnLCDgWyZvvqKzZuVZBBmKniUwkPzQQBz8SEL5ZJjpVuwJtKV8rs7ROL/li8P5 htRpV0ypFn5PXmd8nBZ6wQ89Fr9MzU98ZPC8jRe2pK/I0gtndVjSH4duSqDcBEEcFDqZ c48w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=Y6p8Nx4G; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id 185-20020a6301c2000000b0053048bd0669si19730803pgb.445.2023.05.17.12.13.36; Wed, 17 May 2023 12:13:58 -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=pass header.i=@gmail.com header.s=20221208 header.b=Y6p8Nx4G; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229943AbjEQTMT (ORCPT + 99 others); Wed, 17 May 2023 15:12:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59820 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229888AbjEQTMS (ORCPT ); Wed, 17 May 2023 15:12:18 -0400 Received: from mail-pj1-x102b.google.com (mail-pj1-x102b.google.com [IPv6:2607:f8b0:4864:20::102b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 01FBBA5D3; Wed, 17 May 2023 12:12:10 -0700 (PDT) Received: by mail-pj1-x102b.google.com with SMTP id 98e67ed59e1d1-24e2b2a27ebso1224864a91.3; Wed, 17 May 2023 12:12:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1684350729; x=1686942729; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=belPChGY/La7XkZuio4MlHHNDT6JFtoyF+AdNUmOvSE=; b=Y6p8Nx4GqfvFrtaGTVMQK/7Dp9vAmEtEXDMpT5L6tZQUjXtmHDgy2cgheNR/vGvIkr UbSZbCuJcF7FVEBDwMv1dXfY258bYy8SVF8J7XqFIEZ2+tMdOn2GX8aLIxurHlZ8npcN TIN1hJKbdBR24rwj8P852JroKawQLl/5yXPhPw5jJ/1Id7woRfFT4y+PX5rkAyXu+cbI Il67x0OVh1C60eIDJ1T1tJcdqyEL7pPoTuZnH6/YQ1CT5aepni237X03kgojUiv5YT/c 6b2vKeoQqLH2UWxQju7I2+MlLGk3Idz5wLFaAst8xS0ydi/nRHk0HXiHg6ugSZl9tK3o wq1Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1684350729; x=1686942729; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=belPChGY/La7XkZuio4MlHHNDT6JFtoyF+AdNUmOvSE=; b=DDcTXeffYN9Cbv2MglPvo/4DlN6uzBtPDRDc73OuXCdIMoHJssuefjHyCkqu0KIw2i 0uKe6fJRS/Gu3ObQIFj25VteL3M5ow0or1JBGVtHtKi6Z3X207oX3/TQU+xbe28BMmwW 1h7KJ67U/hAvqAXXaRGDuwkqMmL3ke8Hba0X/L8w2a4TpxgfEuGqfl6yNEQZohXibXvJ pISRLEiMIksYJm1QwOT0+JDpOdV95/t5kxkC/IijMm+3nFHf8DbCI/c7YFmhqgVjuK/D dbiDYilUHdsK2AhYcAunpRvjZX4qyvW5p0obHtCN/hA3UHNcDrZNpzRWHyK+mUTL6DkD ytDw== X-Gm-Message-State: AC+VfDzSQjoMZtDKSW9V3f2dUj5Uan30/K0znfLYtBubeb5xNJAierPu 2SjKgv4a031uL1IqyvKbIeNUuL4Y62k= X-Received: by 2002:a17:90a:2fcf:b0:24e:1f5:2e05 with SMTP id n15-20020a17090a2fcf00b0024e01f52e05mr721049pjm.13.1684350729404; Wed, 17 May 2023 12:12:09 -0700 (PDT) Received: from google.com ([2620:15c:9d:2:6ecb:b01b:2e2e:6c1]) by smtp.gmail.com with ESMTPSA id u13-20020a17090a890d00b0024dee5cbe29sm1975303pjn.27.2023.05.17.12.12.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 17 May 2023 12:12:08 -0700 (PDT) Date: Wed, 17 May 2023 12:12:05 -0700 From: Dmitry Torokhov To: Sakari Ailus Cc: Arnd Bergmann , Patrice Chotard , Mauro Carvalho Chehab , Arnd Bergmann , Andy Shevchenko , Hans Verkuil , Hugues Fruchet , linux-arm-kernel@lists.infradead.org, linux-media@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] media: c8sectpfe: convert to gpio descriptors Message-ID: References: <20230130131003.668888-1-arnd@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,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 Wed, May 17, 2023 at 09:21:00PM +0300, Sakari Ailus wrote: > Hi Arnd, > > On Mon, Jan 30, 2023 at 02:09:47PM +0100, Arnd Bergmann wrote: > > From: Arnd Bergmann > > > > The gpio usage in the function is fairly straightforward, > > but the normal gpiod_get() interface cannot be used here > > since the gpio is referenced by a child node of the device. > > > > Using devm_fwnode_gpiod_get_index() is the best alternative > > here. > > > > Signed-off-by: Arnd Bergmann > > I've picked > > instead. I hope that's fine. Also cc Dmitry. What do you mean "instead"? This is the exact patch that started this thread, and it is broken (uses wrong name of the GPIO and wrong polarity). I'd much rather you picked up https://lore.kernel.org/all/Y92VLGLQJZ%2FUDRx1@google.com/ Thanks. -- Dmitry