Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp260012pxk; Tue, 1 Sep 2020 23:53:51 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwpzpDGOaqx/Zn+o0YS41wzGCG9tRXjaK16JwAJ0b35x+FE4V8D8tDn+Azm++A6sUG+TI6v X-Received: by 2002:a17:906:bb0e:: with SMTP id jz14mr5173200ejb.525.1599029630969; Tue, 01 Sep 2020 23:53:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1599029630; cv=none; d=google.com; s=arc-20160816; b=UYYz6bWpqe6CtJgAuXsYT/weM2V2X54OGih1q3CxL4/sVRDkF+jeeEvDaFJ5jvNrtt OlXhoEaOSnzf7YoIufYLrFum00Jfl+kNGiAEtYgEPyjEJ5kKu4H/FU+Aeh4TjyQPyM2C g47COWbmlczGIX91slvhABHndSxto0fzY5/ytC9xD0gC3RruYOvagiqU9GYZULvW4Hjj kikRG7wXyDFtfC0tfPY4MKP+BLjwi8eTmpMLWjImNbIwgdCbQ55RGCeYMbSzQUQWeGSq HdA5CIKAuLOXZ5MWtDtuzLsTRX+/tYfLuZUUoSEJRiChnivlOirPJPaAelVaBYewFZQP 07Pw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:references:cc:to:from:subject; bh=nEXQp9tNqKvblgqKMlcuIXZUwGcjT7Sv+P9CTWyhxas=; b=yVaZHkidP97KUKEbeTQAFOp/wxi63T1gYvudNDj9K5LrBuD1mIbN+cSo0Y8gVJWKVv Tu5nMjxuItRxLfIa/NhvF/NI8G6wcD1duZdGk4QlAiB3RyE4GJ1Zu1TNVgikfj6s+qqz FTJSBAIuJTCWGgo3m3tGh7ov71UhhDvd0FpTeoB3VPOWVw6u6E4Qgwprq6OWwpSpPJpU /c5khgh4RYoBpMKFmuJFLdFF+zqiOiUeKyGxy1AlwZ5ViqJAprbEoiODw9JiKEjcTBqa nmixRvxMZDxbzWF05PLWapKY/eZi+g05Awo4TiB96zWKXhTXmvFr7+RmXDmo9HAfTGh/ w68g== 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 d15si2155031ejr.178.2020.09.01.23.53.27; Tue, 01 Sep 2020 23:53:50 -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 S1726657AbgIBGw1 (ORCPT + 99 others); Wed, 2 Sep 2020 02:52:27 -0400 Received: from hostingweb31-40.netsons.net ([89.40.174.40]:59917 "EHLO hostingweb31-40.netsons.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726144AbgIBGwZ (ORCPT ); Wed, 2 Sep 2020 02:52:25 -0400 Received: from [88.147.20.154] (port=44912 helo=[192.168.77.66]) by hostingweb31.netsons.net with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.93) (envelope-from ) id 1kDMd5-000Com-EF; Wed, 02 Sep 2020 08:52:23 +0200 Subject: Re: [PATCH v5 2/3] dt-bindings: media: imx274: Add optional input clock and supplies From: Luca Ceresoli To: Sowjanya Komatineni , thierry.reding@gmail.com, jonathanh@nvidia.com, sakari.ailus@iki.fi, hverkuil@xs4all.nl, jacopo+renesas@jmondi.org, leonl@leopardimaging.com, robh+dt@kernel.org, lgirdwood@gmail.com, broonie@kernel.org Cc: linux-media@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org References: <1599012278-10203-1-git-send-email-skomatineni@nvidia.com> <1599012278-10203-3-git-send-email-skomatineni@nvidia.com> <7ce6003c-a27d-5831-66a1-832db0114188@lucaceresoli.net> Message-ID: <09270110-39ca-7232-0848-c5c338de8552@lucaceresoli.net> Date: Wed, 2 Sep 2020 08:52:19 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: <7ce6003c-a27d-5831-66a1-832db0114188@lucaceresoli.net> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - hostingweb31.netsons.net X-AntiAbuse: Original Domain - vger.kernel.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - lucaceresoli.net X-Get-Message-Sender-Via: hostingweb31.netsons.net: authenticated_id: luca@lucaceresoli.net X-Authenticated-Sender: hostingweb31.netsons.net: luca@lucaceresoli.net X-Source: X-Source-Args: X-Source-Dir: Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi again... On 02/09/20 08:46, Luca Ceresoli wrote: > Hi Sowjanya, > > On 02/09/20 04:04, Sowjanya Komatineni wrote: >> This patch adds IMX274 optional external clock input and voltage >> supplies to device tree bindings. >> >> Reviewed-by: Luca Ceresoli >> Signed-off-by: Sowjanya Komatineni >> --- >> .../devicetree/bindings/media/i2c/sony,imx274.yaml | 21 +++++++++++++++++++++ >> 1 file changed, 21 insertions(+) >> >> diff --git a/Documentation/devicetree/bindings/media/i2c/sony,imx274.yaml b/Documentation/devicetree/bindings/media/i2c/sony,imx274.yaml >> index 7ae47a6..57e7176 100644 >> --- a/Documentation/devicetree/bindings/media/i2c/sony,imx274.yaml >> +++ b/Documentation/devicetree/bindings/media/i2c/sony,imx274.yaml >> @@ -25,6 +25,27 @@ properties: >> reset-gpios: >> maxItems: 1 >> >> + clocks: >> + maxItems: 1 >> + description: Reference to the sensor input clock >> + >> + clock-names: >> + maxItems: 1 >> + items: >> + - const: inck > > I think this can be simpler: > > clock-names: > maxItems: 1 > items: > - const: inck Which is equal to the original... copy-paste-and-forgot. Here's the simplified form, for real: clocks: maxItems: 1 clock-names: const: inck As in: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/Documentation/devicetree/bindings/clock/idt,versaclock5.yaml?h=v5.9-rc3#n90 -- Luca