Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp1629539rwi; Thu, 27 Oct 2022 19:10:36 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5hyGBMVj5nRtRzIVqi3pg7+4oK5qoN8Cv58erUd2ItCQ9iYaVqeLKvynWsYri1BI+0gXnn X-Received: by 2002:a05:6402:1394:b0:456:97cd:e9d4 with SMTP id b20-20020a056402139400b0045697cde9d4mr50057706edv.174.1666923035835; Thu, 27 Oct 2022 19:10:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666923035; cv=none; d=google.com; s=arc-20160816; b=IhJKvFjpOyRohtFeiNmXdpVGmU8/E2ET3Wtz156GBuHM4rgl08O25sqlCIRcmictoV GgOMVHimgZwWmfVy5aFGc24HoSZSv9zcV1LYrryIRGklBtxks2ZfqbfYgwOcEQaoI7CT wbc6+IkqsxrUM4SV1QuK7I/Y5vALTBikEjj9IvSXqT3JdFBkfUm9l5ZvGzojDNNYuJ5C ypLPbjnCKC0SZXGMMb7+1EwQ+E5jYTFgVI82Zxc1YdWYTXE+IKkHjWzmfmCQXp5ebhWe kcTC6T470c/xdYTUC5kA8ZuLUASDPkysjQUGgJ8BfBUrmPWOiPCLAGvFYF8Hbyut/vqt YV6g== 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=5yy8TNI0iIOeZCtVjRMbf3TjP3tDO+JbDFQL1ZgVllA=; b=Rti2psOpm9HERxyhkPCStKwD7ltKSXK4hpU4Wq7azdaljggPzd8zTtyCl9M+2+j9M9 QEhOSWFH49lWqH/oQtZY1UMpwgk8tpq8KwFS8eraw/DxYDhbxFIWlkfyNI/eHAXHbwC4 bG4ydbCeuVR8xe+oCBhq9sSyRT1hNNFlRIEcxXk7qJSTPgLhzkNrSTjwUp5hK7Cf+E5O IbbEN6XuJyPkB+hlrtAa1tqVIPMkL4r6OwGCCdIwDUkSnmmAFNgC/A7AL51bGKhmd+Ed nEWMUZoacX7GHix1ZbIbog8z2NN9vDABzZWR0qp9n1esyXAsOjFX+O5dp1X+BgyaqfXf FXQg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=a3FXlBy9; 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 w25-20020a1709064a1900b0078356aaeb61si2513489eju.286.2022.10.27.19.10.10; Thu, 27 Oct 2022 19:10:35 -0700 (PDT) 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=a3FXlBy9; 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 S234965AbiJ1Bwr (ORCPT + 99 others); Thu, 27 Oct 2022 21:52:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60142 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234030AbiJ1Bwp (ORCPT ); Thu, 27 Oct 2022 21:52:45 -0400 Received: from mail-qt1-x835.google.com (mail-qt1-x835.google.com [IPv6:2607:f8b0:4864:20::835]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C1B3FAD995 for ; Thu, 27 Oct 2022 18:52:44 -0700 (PDT) Received: by mail-qt1-x835.google.com with SMTP id c23so2710399qtw.8 for ; Thu, 27 Oct 2022 18:52:44 -0700 (PDT) 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=5yy8TNI0iIOeZCtVjRMbf3TjP3tDO+JbDFQL1ZgVllA=; b=a3FXlBy9z5wu0caeZP7ZvrhebVK+PYnk00GobO2x2JsYEYo6lDsjLMrxx3+zPvgOUr kIfZCU8Oc0DUut1EB/qYk+9yb5PEHjJ2bPyqM9Ma8d5wnK+27sjWztJckFuS+CavwBD8 sNu1A3xaMBa7QzbQNK4L9vCXvbiHbB3qEDaEZspK8KcVs93O2rn1SA6rFm7gpC7eU4bG IJoQdtDHs0AW8FuxA0s+kua7zfawRxYfdBl+F3g+uRxiE4aJ6W3ol/kj4apeZnrD13W0 1l7oBAFn3XhDPWdx/lUBN1LCn1k37pLQ+OOvjJzDoZmGuEqA2TUY568OPpk+UGH0WnDz i0gA== 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=5yy8TNI0iIOeZCtVjRMbf3TjP3tDO+JbDFQL1ZgVllA=; b=Y6qXIT6oXZC7F7HwR8GcjpXA5v4Gg1nSXgP/wE1FUW6Ds3itogKxQjTM9mhRvPuS5j mWGYpj9hAyBbM+jjGLGadZU7Hd/2DVETujM1cPzb6ccbeUl00ztkLatZ4E6mw6hCyIyj 8ZQW3W/cMvsZ/YI+6eDt5i07GZtMn5wqqosv3o876qPHvObEyTVtczqKwHOaRKKnkueF AuOnRmPF53rznHXfb/uCyX8AL+FhkDN8twCU2oALNO9xiVb+BQCJX3VKY3lk03xYU4RL a9rKCM3A0RgUkqEnCMt74eAuqe4/jPJz/w2wqWA72jnkVv1DX89x7PE1EbR+6xZ1KUtL /iMw== X-Gm-Message-State: ACrzQf3S9zD1E+OSP26fHaO1hWo6WJj+pnivmtZ2t7eK9dCEGKb/8sxg vh2Fp3Ltq8XkH455X1t9V1e0F2SrP14jag== X-Received: by 2002:a05:622a:15c7:b0:39b:2791:cd44 with SMTP id d7-20020a05622a15c700b0039b2791cd44mr43752425qty.676.1666921953238; Thu, 27 Oct 2022 18:52:33 -0700 (PDT) Received: from [192.168.1.11] ([64.57.193.93]) by smtp.gmail.com with ESMTPSA id r9-20020a05620a298900b006b61b2cb1d2sm2102295qkp.46.2022.10.27.18.52.31 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 27 Oct 2022 18:52:32 -0700 (PDT) Message-ID: <31d129a4-50a5-dc5d-4d69-cddd7e1bca21@linaro.org> Date: Thu, 27 Oct 2022 21:52:30 -0400 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.4.0 Subject: Re: [PATCH v5 1/2] dt-bindings: it6505: add properties to restrict output bandwidth Content-Language: en-US To: Pin-yen Lin , allen Cc: Jau-Chih Tseng , Hermes Wu , Kenneth Hung , Andrzej Hajda , Neil Armstrong , Robert Foss , Laurent Pinchart , Jonas Karlman , Jernej Skrabec , David Airlie , Daniel Vetter , Krzysztof Kozlowski , "open list:DRM DRIVERS" , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , open list , Rob Herring References: <20221019093215.8204-1-allen.chen@ite.com.tw> <20221019093215.8204-2-allen.chen@ite.com.tw> <20221024163748.GA1874793-robh@kernel.org> From: Krzysztof Kozlowski In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.1 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=ham 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 26/10/2022 00:03, Pin-yen Lin wrote: >>> + - minItems: 4 >>> + maxItems: 4 >>> + uniqueItems: true >>> + items: >>> + enum: >>> + - 0 >>> + - 1 >>> + - 2 >>> + - 3 >>> + description: For four lanes operation. >> >> I would do just: >> >> data-lanes: >> minItems: 1 >> items: >> - enum: [ 0, 1 ] >> - const: 1 >> - const: 2 >> - const: 3 > > I believe we also want a `uniqueItems: true` to prevent duplicate > items like `<1 1>`. ... and are <1 1> passing with Rob's proposal? Best regards, Krzysztof