Received: by 2002:ab2:6816:0:b0:1f9:5764:f03e with SMTP id t22csp2428849lqo; Mon, 20 May 2024 05:55:50 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWJnukqadvkIMr299+R73zCRyFbtgcYeLDefGnlrpIHHa9ewkhKfo7ShsKtRVtCiZfnnBLIusjghiCBPTEwjMumSOHqknXs7HJrmeRYdA== X-Google-Smtp-Source: AGHT+IEGZOb9cBKVOl3/w0qSiSgNNgKDt9FMMRyiAVtY/ZftUxe1yXz2S1M6r76CFzB+aFv7hBMH X-Received: by 2002:a50:d645:0:b0:573:1ee9:bf21 with SMTP id 4fb4d7f45d1cf-5734d6dc377mr18663490a12.36.1716209750758; Mon, 20 May 2024 05:55:50 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716209750; cv=pass; d=google.com; s=arc-20160816; b=GDBV+Rx2bqqtuTNMJP7SD8Dw/+TOt2YgWQBdCIotx/IKj46js+iiWowe0TDsaBtDIa T0TNd5EKLEMmm9ZYfFnzDcPKu6kW/1sutOSsu8/wcspn5SCp7gK3il/D9bt5Dv6TxdfO YAgIg5XANoVURRS+QvhrYq2q1xGi2T7hrWefgVlwO0K+BGe7oIwoVfFMeI0//uK1mmka Kp1DAjJ3TLTETxGU70W1x+DIKFjYIir7SbRaHkXJQK+I3+Om6SNNsKfyNqmA2vHGqYEN VEWpU0PYDiI0b6BYaqwauQdvk7CEIg3HNkPJOWyc8OBELhr7tJIfSFrUd6NUqq07twnB elBw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:mail-followup-to :message-id:subject:cc:to:from:date:dkim-signature; bh=pLsjZjTY6shiYbPLd9UX27x4QYpBXfEabovTtItiuUM=; fh=LiTcGvaMRu5cMCDR/25evzpBa5rBVYrEkpDnuYlNU40=; b=S8rWBWR+3wQU6xa3Jt+prBWifGHxNZrw4eWeXYxNuthp4/+nFsrYPfT/FEx6VICmOO WPX/C4jZQzB5E2co63GdVdOBaocpZLWIUyj6NE+pqfnzNKPsXWu3QKfnbiutEtcvjY++ AlNeYGOzXdkQajlKNOQepxxlaMkcRKGU9AVcBK/puhhBfXnbQw44o+uE9E3sxZxp22iF V3IsF1WIR6oscRs+VeFlS+Mn8ZCF3X1lGt1RQjsgArDfhzI7cPRms3shZGmfaq0a0eJS BO+DOhqF7VQIbkEJyjBZCbgyUEuYDfCS/DGs+7454+YEHU/R1Dfw4m2lHI65ARNhefrw WzqQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@xff.cz header.s=mail header.b=NvDy0I0d; arc=pass (i=1 spf=pass spfdomain=xff.cz dkim=pass dkdomain=xff.cz dmarc=pass fromdomain=xff.cz); spf=pass (google.com: domain of linux-kernel+bounces-183767-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-183767-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=xff.cz Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id 4fb4d7f45d1cf-574ed758c7asi6785964a12.14.2024.05.20.05.55.50 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 20 May 2024 05:55:50 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-183767-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@xff.cz header.s=mail header.b=NvDy0I0d; arc=pass (i=1 spf=pass spfdomain=xff.cz dkim=pass dkdomain=xff.cz dmarc=pass fromdomain=xff.cz); spf=pass (google.com: domain of linux-kernel+bounces-183767-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-183767-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=xff.cz Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 7B7881F22A95 for ; Mon, 20 May 2024 12:55:50 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 7068413440C; Mon, 20 May 2024 12:55:40 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=xff.cz header.i=@xff.cz header.b="NvDy0I0d" Received: from vps.xff.cz (vps.xff.cz [195.181.215.36]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id CFF34367; Mon, 20 May 2024 12:55:35 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=195.181.215.36 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716209739; cv=none; b=cKFwHkIk+Z6aHCWLpDb8z40whcAVXPj7hetEfg0N3/g3WF7W0n9DTjFCpwPBdyV6DT39jll91dlQtjkH1E8vJa1seyABXDY0mGukl7L/XQ01KIgj5EHNL6dKfWOKF+YzKYbalTn18yUSS3vB0Q3NCkW9XcOn4jJa1uWgq0+nTjA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716209739; c=relaxed/simple; bh=RkEW/qbThbxloaQdnfCPOuT+HvXWKt7cGTbZ0e4p5Es=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=jfNwKEGnlCYjLomy6/TpGtV3IwTAI3OcDdj3gZD6BqEw24q3tKJGfxO4/P8h803ot5XG3y/+7o3NhlMi//ekjyCIDbAYzUD7pKFBAuI/smooSaiqx1xSpqgSbVRBMguFUTITrAcJQvg2sid5JKGuzN+4Sxv3JzfwD35ZBAmgdnQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=xff.cz; spf=pass smtp.mailfrom=xff.cz; dkim=pass (1024-bit key) header.d=xff.cz header.i=@xff.cz header.b=NvDy0I0d; arc=none smtp.client-ip=195.181.215.36 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=xff.cz Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=xff.cz DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=xff.cz; s=mail; t=1716209728; bh=RkEW/qbThbxloaQdnfCPOuT+HvXWKt7cGTbZ0e4p5Es=; h=Date:From:To:Cc:Subject:References:From; b=NvDy0I0dmTuWkDCWHhVKBamMN6q/XI8ucdAAQJIAvZ39M4cAmV4cIls6DnzFC2Ic7 3ENO7rd6b18r8UZIEug4Z4v2lstWLksnrSVYEmTjFd2v84m8lC3GktbA2DG/+pzwYo S3QDAx+RbbWkBDAwbNSbbqNiKIadwjQZjTbDVGnU= Date: Mon, 20 May 2024 14:55:26 +0200 From: =?utf-8?Q?Ond=C5=99ej?= Jirman To: Sakari Ailus Cc: git@luigi311.com, linux-media@vger.kernel.org, dave.stevenson@raspberrypi.com, jacopo.mondi@ideasonboard.com, mchehab@kernel.org, robh@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, shawnguo@kernel.org, s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com, devicetree@vger.kernel.org, imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, pavel@ucw.cz, phone-devel@vger.kernel.org, Krzysztof Kozlowski Subject: Re: [PATCH v5 21/25] dt-bindings: media: imx258: Add binding for powerdown-gpio Message-ID: Mail-Followup-To: =?utf-8?Q?Ond=C5=99ej?= Jirman , Sakari Ailus , git@luigi311.com, linux-media@vger.kernel.org, dave.stevenson@raspberrypi.com, jacopo.mondi@ideasonboard.com, mchehab@kernel.org, robh@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, shawnguo@kernel.org, s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com, devicetree@vger.kernel.org, imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, pavel@ucw.cz, phone-devel@vger.kernel.org, Krzysztof Kozlowski References: <20240501152442.1072627-1-git@luigi311.com> <20240501152442.1072627-22-git@luigi311.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: On Fri, May 17, 2024 at 08:31:35AM GMT, Sakari Ailus wrote: > Hi Luis, > > On Wed, May 01, 2024 at 09:24:38AM -0600, git@luigi311.com wrote: > > From: Ondrej Jirman > > > > Add powerdown-gpio binding as it is required for some boards. > > I thought the conclusion was that this wasn't a property of the sensor? If > it needs to be controlled, then this should take place somewhere else than > in the sensor driver. It's a property of the sensor modules. It's just optional on some, eg. (pin 8): https://assets-global.website-files.com/63b65bd4974577341e1fe194/654290d4d0fb173e87f754ed_IMX_258_FF_drawing.png Where else should it be so that the module is described properly in the DT and the powerdown signal can be used as part of powerup/down sequence of the sensor? regards, o. > > > > Signed-off-by: Ondrej Jirman > > Signed-off-by: Luis Garcia > > Reviewed-by: Krzysztof Kozlowski > > Reviewed-by: Pavel Machek > > --- > > Documentation/devicetree/bindings/media/i2c/sony,imx258.yaml | 4 ++++ > > 1 file changed, 4 insertions(+) > > > > diff --git a/Documentation/devicetree/bindings/media/i2c/sony,imx258.yaml b/Documentation/devicetree/bindings/media/i2c/sony,imx258.yaml > > index c978abc0cdb3..33338139e6e8 100644 > > --- a/Documentation/devicetree/bindings/media/i2c/sony,imx258.yaml > > +++ b/Documentation/devicetree/bindings/media/i2c/sony,imx258.yaml > > @@ -36,6 +36,10 @@ properties: > > reg: > > maxItems: 1 > > > > + powerdown-gpios: > > + description: > > + Reference to the GPIO connected to the PWDN pin, if any. > > + > > reset-gpios: > > description: |- > > Reference to the GPIO connected to the XCLR pin, if any. > > -- > Regards, > > Sakari Ailus