Received: by 2002:ab2:6816:0:b0:1f9:5764:f03e with SMTP id t22csp2583366lqo; Mon, 20 May 2024 09:57:15 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVLRvc5E90VMNZjMsmuLV127OV2rCfXdzrcy9nzB8449FBr7EdxWF9lsTWc3t3swcL6sLVDTrXNTXIBiaT+x9uKJ32gSJGjW7zttbAHxw== X-Google-Smtp-Source: AGHT+IGP1VDAFHz0cw6R/1XXcV0WV5Vxi0GkNS4U7swI/pEiAn3u0Cnbh+uca8fWY2f6PdfWTE8f X-Received: by 2002:a05:6122:1d55:b0:4d8:79c1:2a21 with SMTP id 71dfb90a1353d-4df882e2417mr30091661e0c.7.1716224235580; Mon, 20 May 2024 09:57:15 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716224235; cv=pass; d=google.com; s=arc-20160816; b=XEcwMtRzvSDc1/jw2/C+yRSwg+Zuy/03Et4sw2wIMwWoy9GMEcS8YCQAhStxkT6rSj LtgwI4WL1xT0A0v9SvjjNeSkEe9P+SUeDIBkCngE1mNeScSuEXuUXBmmfT0fOeYYCfSM iQwQF7lel3lhBdpkuicgZ69jE5u5SmPbj/fiuAgNGvJBpsSu/HYszdaRm8yKX7DtM4QS 8hH/8NJ5ZdjwMSlVdwG6Ex/9fYQgKXtXGbVCN+XcOxK/Pu1EelWBdsh0O0uslZ6QTB6f rn7D/bRBnZYwnUXN9I01S+7iom9ai4cUFBmmH3gkS1Kq5JBz8fs8r95i+6mNzR9HuDHQ ascw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :references:message-id:subject:to:from:date:dkim-signature; bh=baZocbOnKffdv7WeiqKhxP4VWbZ6ORzfmId4l5LP85g=; fh=IN/N2nVpS2LMQd1z3ixA+gvNZkda4/Gai10KqmONEm0=; b=pdJLwfu6uZQfENF7Ael1xVcgZswqtvjzW4qk/Ynl2cJ6riS0jJZvzFEontv/9gDtk3 bg8khugsyfyuU5dVKY6cLc2ExTeUs0hF2BWmOKVPPvYXGR9+0y+MVKhy6UNhL20hycBL VA4Q7aj1zP1M40UpfqXGyBzLK+Gsm8lj3hksgeMEACfINB2GexcBIsnpn7up+piYFEhn DYOzaKyBvW3YqP9atu4M4onW75tOXLzar/6aEZLJG2I/Z9nxungIEGqnvmxNkAcCeYSb XIPJiAK3jiN4dUgP0e/r5Vvlru70vRiwV2j9s4n3gNbx7dSdIWViZiqwFtmEtNdYDgsh 9S7g==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=D5DwRzne; arc=pass (i=1 dkim=pass dkdomain=intel.com dmarc=pass fromdomain=linux.intel.com); spf=pass (google.com: domain of linux-kernel+bounces-183780-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-183780-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id 6a1803df08f44-6a35bca49dcsi117717286d6.611.2024.05.20.09.57.15 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 20 May 2024 09:57:15 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-183780-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=D5DwRzne; arc=pass (i=1 dkim=pass dkdomain=intel.com dmarc=pass fromdomain=linux.intel.com); spf=pass (google.com: domain of linux-kernel+bounces-183780-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-183780-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com 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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 504D01C21448 for ; Mon, 20 May 2024 13:19:59 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id A9B8113664C; Mon, 20 May 2024 13:19:50 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="D5DwRzne" Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.13]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 0B2EC1CD18; Mon, 20 May 2024 13:19:47 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=192.198.163.13 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716211189; cv=none; b=QuPbXys9GI0GJWJ+NmQVl0P4h0PI6H8wvi6bdmBOG6H+o9O3p/pGz2+vE5bYCDzsyxOdD29HmqNi02UAvpKSQJNTOxtd6XgeAwknI60C8WYQLBJkGyKqzzEJdS0UQJzv13KaUfvXTlxGczX8ZJymmIMu/XYkgj4a7WO0N9UnZl4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716211189; c=relaxed/simple; bh=NuEonSsy9BHcGw03XtsY8/+H2cm/AtrmCekQjk+olEY=; h=Date:From:To:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=fNKU34ZUy1BVnwW3TnzMyA4p8qz5AKiYgllUXW4hKCChgXvCcQWbYWvuCBEU/Gvne7/7WatL5A85icjqljNPBVvg1mrXmwl/S/icCYKTAepvLKwgX16PlG1CjC6f7/+sHZoyHqiPs42NkXgrkLIA81mzmn1nJ68Fgzad73iZvqY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.intel.com; spf=none smtp.mailfrom=linux.intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=D5DwRzne; arc=none smtp.client-ip=192.198.163.13 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.intel.com Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=linux.intel.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1716211188; x=1747747188; h=date:from:to:subject:message-id:references:mime-version: content-transfer-encoding:in-reply-to; bh=NuEonSsy9BHcGw03XtsY8/+H2cm/AtrmCekQjk+olEY=; b=D5DwRzne7fetmP2UI6rmdbUsG+9+K1jB5fmJz9DcWqT/lP8biKzVN/QN p8SfYO79z4NcIDK+17eKNmvHJGbt5MuhxbajRMCLUvjBtJgtSL1vAxUyO 545dlcZnRVC/EA/NX7+Lf3lU9Q/eLCl/FsdLNPPi8pJgkwPd/9zB06m+Q aPBQGHoBsE58/DhKRBtwII0/h3uYD0XoyziKMR8Zfd184Gn2YVNRSNNAX rLpOLwo6udwhDNgiqdR2cAGVfTRXxRehPXhRK0M2/p1lmK/D4Y0ihTebT sTRuFSXBQ1iwjLDaaJFQir9upTSTpfzAf+bfBqxK2UTh8F5ahEg72VWZo Q==; X-CSE-ConnectionGUID: KJtdniVvTfONm0krfltTZA== X-CSE-MsgGUID: kJiaBLkhTuGIdhy/OwDfGQ== X-IronPort-AV: E=McAfee;i="6600,9927,11078"; a="15285546" X-IronPort-AV: E=Sophos;i="6.08,175,1712646000"; d="scan'208";a="15285546" Received: from fmviesa008.fm.intel.com ([10.60.135.148]) by fmvoesa107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 20 May 2024 06:19:47 -0700 X-CSE-ConnectionGUID: 6tFvXyVtRRKL8lxX7jfCRQ== X-CSE-MsgGUID: H2tDu6cjS8i01DNr1Lex/Q== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.08,175,1712646000"; d="scan'208";a="32519214" Received: from turnipsi.fi.intel.com (HELO kekkonen.fi.intel.com) ([10.237.72.44]) by fmviesa008-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 20 May 2024 06:19:42 -0700 Received: from kekkonen.localdomain (localhost [127.0.0.1]) by kekkonen.fi.intel.com (Postfix) with ESMTP id B6A0811F855; Mon, 20 May 2024 16:19:40 +0300 (EEST) Date: Mon, 20 May 2024 13:19:40 +0000 From: Sakari Ailus To: =?utf-8?Q?Ond=C5=99ej?= Jirman , 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: 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=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: Hi Ondřej, On Mon, May 20, 2024 at 02:55:26PM +0200, Ondřej Jirman wrote: > 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? That's an interesting case. The document does suggest the PWDN pin isn't connected though. Is this pin used for something? If so, what is it? The sensor doesn't have it and generally the module in this respect just contains wiring. Someone earlier suggested this could have been related to the VCM. -- Regards, Sakari Ailus