From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id B7CF6C77B70 for ; Mon, 17 Apr 2023 07:21:12 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230404AbjDQHVL (ORCPT ); Mon, 17 Apr 2023 03:21:11 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36460 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230408AbjDQHVC (ORCPT ); Mon, 17 Apr 2023 03:21:02 -0400 Received: from mail-lf1-x133.google.com (mail-lf1-x133.google.com [IPv6:2a00:1450:4864:20::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CF6F944B6 for ; Mon, 17 Apr 2023 00:20:34 -0700 (PDT) Received: by mail-lf1-x133.google.com with SMTP id 2adb3069b0e04-4ec817735a7so1188805e87.3 for ; Mon, 17 Apr 2023 00:20:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1681716033; x=1684308033; h=content-transfer-encoding:in-reply-to:from:references:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=23eaV4yrZlv41f+CKNhvw+EBCrhUaHp4FA0RWyDryN0=; b=brrL1QkKtXOzgBfJa/J15xXIyDQ7hn5Ramsb1NyNUFrt9xKV+RafsrwZSVMIi/SOqi 4WlwHdUOu2anKQdKDl8mGXpCtkkfBpjMLvdMfxrBZsFs0p/f2/rhBtMSlasgzrQIleIv fz0lnazxeXtCMYnUPqbrW6XICHV06uBE8QYA4TmObJO2RjyjIPZZaOK7GbK8nwB0EH8N EV8xAQBRXZD5C7BcV24IMP0KRhFDYUf2U1T3uvTlls7Ea0gupaKsPMWNjV+lmBTWj4j3 So/3uP7iv2yokepC2vsq8NbCEQdZOQ52DOxqbohFNzWh3NC8Syhi1q16BvUR4MeyDIPX isPw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1681716033; x=1684308033; h=content-transfer-encoding:in-reply-to:from:references: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=23eaV4yrZlv41f+CKNhvw+EBCrhUaHp4FA0RWyDryN0=; b=LgDQbzv7dR/OyAfZ2JvjC/GAiMBQG+DYtr4pnaM+eJNDMzaDIch744EfMmsCo8wbzD 4eq1CLsL4/QqQjsE7rQvNXLUROxm9vYeENbBh0rROnFeboT4jUvdlBbAk2zxVctAvwCX rYdFBj/44PnFldvsnq2T3gR/uDiZUu484tG1N6+tG2Da8CaOB0ZYKKRXHLJTcZ8o+YPf T0oX9mg4Or17DUyN2jIPqV3BkTTWiGIC+83O34COtyKf2NZB8siBVP0PqTC3azp/K+mD /TwXG4cPkb28ETgluSfeJBAxfgfsNIeQBEOTM5SD4ELmhNnj29+MT0J0AVW61eTKrFRG uQOg== X-Gm-Message-State: AAQBX9dk78y+SdFv/wbEzhna/jAR8x+ZhIL6rNl5aUKmGKfKJB+Z0W9O iX+zZBJg7vqibhGxVb9TpDEwLg== X-Google-Smtp-Source: AKy350ZCzYttSbW0KXmPxpfqHUCsLYwl5TDvD9kAjWNUhP1831FlnXfA3HGZWwg3Xq2TkcdcwMnS9g== X-Received: by 2002:ac2:5310:0:b0:4eb:3615:4c35 with SMTP id c16-20020ac25310000000b004eb36154c35mr1510089lfh.33.1681716032961; Mon, 17 Apr 2023 00:20:32 -0700 (PDT) Received: from [192.168.1.101] (abyk99.neoplus.adsl.tpnet.pl. [83.9.30.99]) by smtp.gmail.com with ESMTPSA id 13-20020ac2482d000000b004e8452972a2sm1949681lft.247.2023.04.17.00.20.31 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 17 Apr 2023 00:20:32 -0700 (PDT) Message-ID: <33ac8c1d-bc0b-7056-09f5-95ee4f319f1a@linaro.org> Date: Mon, 17 Apr 2023 09:20:31 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.9.1 Subject: Re: [PATCH] dt-bindings: display: panel: add common definition of ports Content-Language: en-US To: Krzysztof Kozlowski , Neil Armstrong , Sam Ravnborg , David Airlie , Daniel Vetter , Rob Herring , Krzysztof Kozlowski , Thierry Reding , Laurent Pinchart , dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org References: <20230416153929.356330-1-krzysztof.kozlowski@linaro.org> From: Konrad Dybcio In-Reply-To: <20230416153929.356330-1-krzysztof.kozlowski@linaro.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org On 16.04.2023 17:39, Krzysztof Kozlowski wrote: > Few panel bindings for dual-link connections just type "ports: true", > which does not enforce any type. Add common definition of ports, so the > type will be fixed. > > Signed-off-by: Krzysztof Kozlowski > > --- Acked-by: Konrad Dybcio Konrad > > Cc: Konrad Dybcio > --- > .../bindings/display/panel/panel-common.yaml | 16 ++++++++++++++++ > 1 file changed, 16 insertions(+) > > diff --git a/Documentation/devicetree/bindings/display/panel/panel-common.yaml b/Documentation/devicetree/bindings/display/panel/panel-common.yaml > index 5b38dc89cb21..ad62d34e6fa3 100644 > --- a/Documentation/devicetree/bindings/display/panel/panel-common.yaml > +++ b/Documentation/devicetree/bindings/display/panel/panel-common.yaml > @@ -70,6 +70,16 @@ properties: > port: > $ref: /schemas/graph.yaml#/properties/port > > + # For dual-link connections > + ports: > + $ref: /schemas/graph.yaml#/properties/ports > + patternProperties: > + "^port@[0-9a-f]+$": > + $ref: /schemas/graph.yaml#/$defs/port-base > + > + required: > + - port@0 > + > ddc-i2c-bus: > $ref: /schemas/types.yaml#/definitions/phandle > description: > @@ -154,6 +164,12 @@ dependencies: > width-mm: [ height-mm ] > height-mm: [ width-mm ] > > +allOf: > + - not: > + required: > + - port > + - ports > + > additionalProperties: true > > ...