Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp1304042pxk; Mon, 31 Aug 2020 15:50:43 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxzHV32Nw/UDJYMFxWfG5XrsRREqgGs4RqOUTvNr7AHG8gq+rG9JajQL4KuS4zqgHnztKHi X-Received: by 2002:aa7:cc92:: with SMTP id p18mr3143712edt.253.1598914243810; Mon, 31 Aug 2020 15:50:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1598914243; cv=none; d=google.com; s=arc-20160816; b=j/OzwI+YGGz0qv8uBP0wDF0fSmr+/My1ee3smy8ch4vBYf59TT3wsYwNmzFYxP5DXD NVPuZ5/K/BtAzFIwXmo9j/guqK91Tnx1O1SZsF4yFyjg+D0bWasC7HrT3UZmRWEf6OgS qo1l6NgbzvC8E5yBmyrzOVdTJz3WxFKfKdaBXuVc2/iFeUea82i0eNDJUQ9TEwSD34wE COLco4OMSdbCa/7/h3SJc8JAVRHTWFmnz+ZsC+uQEd5TArvjg9ulp04DtWkgdtvXvu4j Xd3TktM6RZPJ3PcJJxNKOeAfso9mjEIa/wNjLapDljpSPrT9kJGD2Hkr5WP8hF4ehl1S r92g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=cKvOgforNo5HXo+knPn5ZFxsah0MKHTLCVC+T+6vPls=; b=lH26D10bmKMN/oYklJE4CjnMQSsaX45qHuhofdKmDNHebVXVsUMnWVuMxaeF/UDpyJ zodM+XybYiicQwCG3fNTuGmmVG5YNqvI5MWOJTylUCUtJXO2SuwUayHlWrx6a3NCWLLZ DvBDho4kHhIBJN1IBkoM126Wo0a8UbfxnuyVPhWV/uYO44uLo/yjsYwGJE2cNz39/RPY 3ZDNRXmwhMYmu6fYWe73JGW/TI4jtCbYZQiGG0VUN0YwBCuG61A1MAlAxg49ccC+WD9x jEuEOpSjKk+ixiWyuJh3UAziCn9C8KU+Fo4XxKW0ZOcwWeSQkIP1eqz6vTxWy9j2tSnL Q7sA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id rk18si1630601ejb.599.2020.08.31.15.50.21; Mon, 31 Aug 2020 15:50:43 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729938AbgHaUSQ (ORCPT + 99 others); Mon, 31 Aug 2020 16:18:16 -0400 Received: from retiisi.org.uk ([95.216.213.190]:34418 "EHLO hillosipuli.retiisi.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728129AbgHaUSQ (ORCPT ); Mon, 31 Aug 2020 16:18:16 -0400 Received: from valkosipuli.localdomain (valkosipuli.retiisi.org.uk [IPv6:2a01:4f9:c010:4572::80:2]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by hillosipuli.retiisi.org.uk (Postfix) with ESMTPS id E8FD8634C87; Mon, 31 Aug 2020 23:17:57 +0300 (EEST) Received: from sailus by valkosipuli.localdomain with local (Exim 4.92) (envelope-from ) id 1kCqFZ-0000z4-RL; Mon, 31 Aug 2020 23:17:57 +0300 Date: Mon, 31 Aug 2020 23:17:57 +0300 From: Sakari Ailus To: Sowjanya Komatineni Cc: thierry.reding@gmail.com, jonathanh@nvidia.com, hverkuil@xs4all.nl, luca@lucaceresoli.net, leonl@leopardimaging.com, robh+dt@kernel.org, lgirdwood@gmail.com, broonie@kernel.org, linux-media@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v4 3/4] dt-bindings: media: imx274: Move clock and supplies to required properties Message-ID: <20200831201757.GC844@valkosipuli.retiisi.org.uk> References: <1598903558-9691-1-git-send-email-skomatineni@nvidia.com> <1598903558-9691-4-git-send-email-skomatineni@nvidia.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1598903558-9691-4-git-send-email-skomatineni@nvidia.com> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Sowjanya, On Mon, Aug 31, 2020 at 12:52:37PM -0700, Sowjanya Komatineni wrote: > Clock and supplies are external to IMX274 sensor and are dependent > on camera module design. > > So, this patch moves them to required properties. > > Signed-off-by: Sowjanya Komatineni > --- > Documentation/devicetree/bindings/media/i2c/imx274.txt | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) > > diff --git a/Documentation/devicetree/bindings/media/i2c/imx274.txt b/Documentation/devicetree/bindings/media/i2c/imx274.txt > index d0a5c899..b43bed6 100644 > --- a/Documentation/devicetree/bindings/media/i2c/imx274.txt > +++ b/Documentation/devicetree/bindings/media/i2c/imx274.txt > @@ -10,15 +10,15 @@ at 1440 Mbps. > Required Properties: > - compatible: value should be "sony,imx274" for imx274 sensor > - reg: I2C bus address of the device > - > -Optional Properties: > -- reset-gpios: Sensor reset GPIO > - clocks: Reference to the input clock. > - clock-names: Should be "inck". > - vana-supply: Sensor 2.8v analog supply. > - vdig-supply: Sensor 1.8v digital core supply. > - vddl-supply: Sensor digital IO 1.2v supply. If these have been optional in the past I don't think we can start requiring them now. The framework will just give the driver a dummy regulator if one isn't found. > > +Optional Properties: > +- reset-gpios: Sensor reset GPIO > + > The imx274 device node should contain one 'port' child node with > an 'endpoint' subnode. For further reading on port node refer to > Documentation/devicetree/bindings/media/video-interfaces.txt. -- Kind regards, Sakari Ailus