Received: by 2002:a05:6358:a55:b0:ec:fcf4:3ecf with SMTP id 21csp5136311rwb; Tue, 17 Jan 2023 09:35:26 -0800 (PST) X-Google-Smtp-Source: AMrXdXt9ajRWNq4JExdWHqE0mRcKafj9i69vYX5KfqvHpUHNXRhm5bd8ZFQ5UKbwokA/LgCaukOj X-Received: by 2002:a17:90a:8b92:b0:226:9ee5:9f2c with SMTP id z18-20020a17090a8b9200b002269ee59f2cmr3928358pjn.11.1673976926415; Tue, 17 Jan 2023 09:35:26 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673976926; cv=none; d=google.com; s=arc-20160816; b=Izp/xcWGf9pWLBbS+iVJumCBi9E+v80/hbBq8MguFSbUGj2Zb6yYqhmr3/LD3ijC3d N+shM/IOBw5JzhRp4gauH7Pz+6kSDkUydwC/4rqNtyNShXofTaGJDaEgBJt9VOU7ktjI r6HH2fX0GRUMcvNe8jCZJQ2leTnhw3FTuJzY07QQ5BVVU+LIK1HNiDfTy8NutoMuoxhf 2nmDJjHbJwrSI55NSJ4abZM6nm514Ab4p/YNp3XlyW0bEyi8AYWe5dYh54EcRZFzXcrK GDGaT8RXxETBm+dCzm7T99wO+q7A3Ym6RPElaDD2iE7+cNAOKkCrvqlkHcHiZai90YeD cxKQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=iaIoioiiiOEumFM+lAmLzxpgsDICsGiz+IvsgBagPfE=; b=LnQEJ7O1OmVto0fbX2zF/l33sRXh0BRKnTRqv8RT3kwq3Fe9iWkY89i0JAB5G+/eDN EjCj+oBt5JmQRlq3i/f7aaBOw6/AtzrurueYKNxLvDfq6MlQOqaggyu+zVSB/CcXRxuU WzmVJ2QqDlGMInU8i9RatjVZoDG61SyqzLtEKS+GX0lxehpEQPfkajric4T0l7HkY4gG sN7v/AEULFDVF79C+s2B/UGxUBu9w+NwdyjyxzF/rpqqjy9EWFza1jcVF37QYlcpO/pl +wgwpnT6zwDEpwxBFSFDwacF57XvWORtDYJGmCO2eVUqLjzS0GkJGsMWQT4pfZ4oOYTJ 2iYA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=m7Aw4OnF; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ob6-20020a17090b390600b00228e80888c9si20451185pjb.14.2023.01.17.09.35.19; Tue, 17 Jan 2023 09:35:26 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=m7Aw4OnF; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232927AbjAQRBt (ORCPT + 48 others); Tue, 17 Jan 2023 12:01:49 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36684 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233784AbjAQRBd (ORCPT ); Tue, 17 Jan 2023 12:01:33 -0500 Received: from mail-wr1-x434.google.com (mail-wr1-x434.google.com [IPv6:2a00:1450:4864:20::434]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BBC313A58C for ; Tue, 17 Jan 2023 09:01:31 -0800 (PST) Received: by mail-wr1-x434.google.com with SMTP id t5so26874177wrq.1 for ; Tue, 17 Jan 2023 09:01:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=iaIoioiiiOEumFM+lAmLzxpgsDICsGiz+IvsgBagPfE=; b=m7Aw4OnFYBmkQyAKBqodVwzbRj81+GA4XBfM9/X1sPkgZ1YcurwQRlUWZ85dtEH9I7 9ROrmzUWksXod52FrFR1U/R07NyVEkfrEM+uuLoxY+LJ/MNmNuqmBCljltcZVq0VlPx/ rqRgi9rx7wf2huNwhZzb5TQr/QvNK34xTvw/LhU+vkQNFbzLgx2GX/7X9/1zNBHN8QQ7 wBx/u4wzI0N/fwNjgwohzyy1VNZ3kJGbk3q3VSZny0DdkTxUzg0q/S5/04b0qYBHSBb3 2uJKQE/YA2VbY2T0e4CzvaEwGULUsx3JbyxUN9dXIDuy9JOhw9Q9hIe6tVvI/ta/V5LM p3+w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=iaIoioiiiOEumFM+lAmLzxpgsDICsGiz+IvsgBagPfE=; b=Yxq4Y80UCWUNQDXEccItB1X2EWIDqlUI+mKuDXXqnWagKGRO4MocruGC158sBjgPr2 NFRKC3HGlWYXbWzQpfRTN9ypKh/nptuzO52GWqJA1U5xqFfuK4hGD/NTbWJUPtEKVros xf8ROe6g9Xen72Ny3Dz4mcKNB57DWH1eJLX0LUNUxOIq1xUvCsfqIUUIulvNjgnSqwM8 nmul9GDDgvNx96cPkgR8lUqfgsa/FeuxE6XKiUDYVlHNoxmRAw7zUJ/vgp0yd/T1uAiL K+0is655Vq9Ga3tFrw7G0Pnn8EgZLTww5T5pMeOKu07/RmJnL5c5D3qNCYPZys2BG/ED n2uQ== X-Gm-Message-State: AFqh2kpZELyVwKMBoly8w6LiaC+lJwBk9tdKWO4nxuYSEk/scwPSdHcm Be3Clv1m2DIY9jNMTxtaklWmfg== X-Received: by 2002:a5d:522d:0:b0:2bd:ff91:7e1e with SMTP id i13-20020a5d522d000000b002bdff917e1emr3155288wra.57.1673974890353; Tue, 17 Jan 2023 09:01:30 -0800 (PST) Received: from [192.168.1.109] ([178.197.216.144]) by smtp.gmail.com with ESMTPSA id l14-20020a5d526e000000b0028e55b44a99sm11576376wrc.17.2023.01.17.09.01.28 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 17 Jan 2023 09:01:29 -0800 (PST) Message-ID: Date: Tue, 17 Jan 2023 18:01:27 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.6.1 Subject: Re: [PATCH v5 1/6] dt-bindings: media: platform: visconti: Add Toshiba Visconti Video Input Interface bindings Content-Language: en-US To: Laurent Pinchart Cc: Yuji Ishikawa , Hans Verkuil , Mauro Carvalho Chehab , Nobuhiro Iwamatsu , Rob Herring , Krzysztof Kozlowski , "Rafael J . Wysocki" , Mark Brown , linux-media@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org References: <20230111022433.25950-1-yuji2.ishikawa@toshiba.co.jp> <20230111022433.25950-2-yuji2.ishikawa@toshiba.co.jp> From: Krzysztof Kozlowski In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.2 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 17/01/2023 16:58, Laurent Pinchart wrote: > Hi Krzysztof, > > On Tue, Jan 17, 2023 at 04:42:51PM +0100, Krzysztof Kozlowski wrote: >> On 17/01/2023 16:26, Laurent Pinchart wrote: >>> >>>> + >>>> + clock-lanes: >>>> + description: VIIF supports 1 clock line >>> >>> s/line/lane/ >>> >>>> + const: 0 >>> >>> I would also add >>> >>> clock-noncontinuous: true >>> link-frequencies: true >>> >>> to indicate that the above two properties are used by this device. >> >> No, these are coming from other schema and there is never need to >> mention some property to indicate it is more used than other case. None >> of the bindings are created such way, so this should not be exception. > > There are some bindings that do so, but that may not be a good enough > reason, as there's a chance I wrote those myself :-) > > I would have sworn that at some point in the past the schema wouldn't > have validated the example with this omitted. I'm not sure if something > changed or if I got this wrong. You probably think about case when using additionalProperties:false, where one has to explicitly list all valid properties. But not for unevaluatedProperties:false. > > video-interfaces.yaml defines lots of properties applicable to > endpoints. For a given device, those properties should be required required: - foo > (easy, that's defined in the bindings), optional, by default (with unevaluatedProperties:false) or explicitly mention "foo: true (with additionalProperties:false) > or forbidden. How do foo: false (with unevaluatedProperties:false) or by default (with additionalProperties:false) > we differentiate between the latter two cases ? Best regards, Krzysztof