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 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 2F3BBC77B7D for ; Fri, 19 May 2023 01:06:20 +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:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=FABOAGJtavfWgsvjNoSSwnBdr0n02iOOukgB2hf56ZU=; b=u1SMUiSA7pwyCu +RCYbdKvRTxbA3Tf/I9aJex06WSTWIMxRFoEMNpEZNPoN9h0kcos/f8Uj2K6m+um0mA/FCcHlnSXa aqrFOmK+n5Qu1UOh+lz/MRXhcnReQi4sw+H5mcuHU0Q+vAiWJvshMcBeY+OewxuAVwTIDzwnhgEJb q4v6Zfx5OW27LEIKy8wxLF2pJMRGGSq2G5k5HBVU5J7G3D3mD1pugl3pFqqyq7S7/91e1H88pZ9KO sGFG79TTkWY75xjEZ8i9FZgn94g9a32gXv4W6s9xxT5k8e2Mlh1Y2kLMKeLEDBCh+8LHaSuJHFz5n L/9Q+bJJLErT48MeQiVg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1pzoZB-00EdRy-39; Fri, 19 May 2023 01:05:57 +0000 Received: from mail-pf1-x431.google.com ([2607:f8b0:4864:20::431]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1pzoZ8-00EdQr-2u for linux-arm-kernel@lists.infradead.org; Fri, 19 May 2023 01:05:56 +0000 Received: by mail-pf1-x431.google.com with SMTP id d2e1a72fcca58-643bb9cdd6eso2898736b3a.1 for ; Thu, 18 May 2023 18:05:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1684458353; x=1687050353; 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=pSYVMPQ3qj8a/oGdCfP3ChzUdlIw5oHn6OsEYCKEbhE=; b=Rth35TClksUPImcNts0Hu3FlSVSE3DyrAny65QP0/qp22dd+jsjhO90EsgDrwiesgD FmCMizTGgTRLzipMPmH5vaVxREr9rbehnvQqrO1vFJPzozJcTSC/AosoPU2SaBIypSVP iFYTOSeE1LzAYZUVvg2MviUDaCX6mypvAWOzN6+WTJvW2UjBn1wX1JesMrEuv1V+6G/K snzG7RnVvCC5xvJqDy+gKX1j/2fKele+VuOlxyFfaMAK5OtDnc0QMFIzQfnEswQspucn h1lNDEZuXBLgsEdIIXLx3GVDjw7N1vlgOfKsM0KsefmXyXwYZaeVSUrAIiaR17twwjX0 TOVg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1684458353; x=1687050353; 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=pSYVMPQ3qj8a/oGdCfP3ChzUdlIw5oHn6OsEYCKEbhE=; b=dX0oN4Sqd3xnphnvfF5JfV/9OBqw6XRKVooOOBmVLCQ2m0YLoTOnC1pIYga7jTfVAm C+9XdF1pjG2yRHqyUR1NK25jeE+XN/wkOmnPI9YrRYxW2ha3bptW0/BxNBfBltYNuc8Y URLac/pNPMzs11W/shXfvmmXuTZdZuzBH1cYstS5U6HEiuCeLqHysu/N0RnhW41E4Zoi qwNEdMWmqaK4PZEmy41rerocBqiD8kdZi1kQAQ9MwzNSghdkQXpx3rHYFdiVKFcFzcMV 5EtU5isd3tvlyUMsZRteewk+Pl7It9vaVJ3m/JC/xq00ZmL/uOqD5V8T4ZP5BqDDQEuv ZBjw== X-Gm-Message-State: AC+VfDyxE2SAIoJPE0Dqw35/u29na6qsZFNFmhZe8Iw87vomC3z49Zyd vHmU2poOQhvpWdcsdSntNjwFRYYhoFc= X-Google-Smtp-Source: ACHHUZ6Fl3iXdAwbPHQEfCikSntdgoIoCgedUlJPp7xmBcIxxFF6oDDMbiB3KmzcevopG44y7tL8XA== X-Received: by 2002:a05:6a20:1586:b0:101:73a9:1683 with SMTP id h6-20020a056a20158600b0010173a91683mr339836pzj.33.1684458352611; Thu, 18 May 2023 18:05:52 -0700 (PDT) Received: from google.com ([2620:15c:9d:2:36bb:8bd6:552:c349]) by smtp.gmail.com with ESMTPSA id c23-20020aa78817000000b0064d2d0ff8d5sm445306pfo.163.2023.05.18.18.05.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 18 May 2023 18:05:51 -0700 (PDT) Date: Thu, 18 May 2023 18:05:48 -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-Disposition: inline In-Reply-To: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230518_180554_962091_26BAE81F X-CRM114-Status: GOOD ( 22.89 ) 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, May 17, 2023 at 10:26:17PM +0300, Sakari Ailus wrote: > Hi Dmitry, > > On Wed, May 17, 2023 at 12:12:05PM -0700, Dmitry Torokhov wrote: > > 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. > > Ah, the URL in my e-mail was wrong. I have > , > i.e. the same patch. Ah, I see, thank you. -- Dmitry _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel