Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp1466274rwr; Fri, 5 May 2023 14:49:17 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7HBF7AdpQgEYzJ9N3rRMDkXipT/tigLIMUmq3jNPhp31+ZzNpHcQ0Vp7KX4ipDJRLGtAhy X-Received: by 2002:a17:902:e741:b0:1ac:40f7:8b52 with SMTP id p1-20020a170902e74100b001ac40f78b52mr2982152plf.64.1683323357608; Fri, 05 May 2023 14:49:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683323357; cv=none; d=google.com; s=arc-20160816; b=T4p8X31XNvsCDa/98yIqHXgJFHFXZIIoP8EILkwK68a8oclnO97qM4xddEGZhFAh7Q wNEvKBJGKaWGsdZHAWsApGxDffIMrOXRZXbNUVjNWZomoEJMd6yVpQ4p6VS7VdaU9pvB uuI/IN5VLCqsKrA0QrzNRQH2wCetvw/IHPVo4Z4MuBiIZb7HnY27dfsqMuUa36GEHV8D Mb6sxUpYvrw9KLH4OvVsvqQPwXb3fNLjIcYLrHP4420obKYErjwOXrCb8Ozh4H3GHTCv ZjAcg9WNIUucK68xLiHy5R14C3dx66yQq2NrvWcuqqCXL8cIhisQsF2g1o8XbOcFeLhI J40Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=RY/eXSCNgcg1l+d5z3txUiSd1IDYl3P2//k5Gq9XXUY=; b=I7Fiz1FhohN+POCK4KIWf4z3/aZH8zHbhfp5IKkvialB90oz/mL10RurMcl2X/9aPG jMYC0ldLb/rSUZWwxl+cg2vF91Cfycp024xsIcbx84f8ssNXC5d+3yknkm0M/zvVfoYK rzmIwJFJ1ZztJ0Li1m47c8dsJoJuKc8ByF5Z6oK9n8idvwqpKGr9HcrTPXtYDQNnLTDf rOWqBfD2JspI6tIodKXXnNGJb1KS3oZingV8Ilji0PU/xEbtDtvHKfOBg8XJ5HuQ/Ax0 ZEhHGUXYDxBC+LkFTqJeXf0vVu2zd1aoAFnkQ8YtgYuTskcWtWVWk5v6f+mzeX2XO8Eq JrRQ== ARC-Authentication-Results: i=1; mx.google.com; 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=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id k10-20020a170902c40a00b001ab1d1a6803si2847871plk.420.2023.05.05.14.49.02; Fri, 05 May 2023 14:49:17 -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; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233542AbjEEVqR (ORCPT + 99 others); Fri, 5 May 2023 17:46:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45846 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230519AbjEEVqP (ORCPT ); Fri, 5 May 2023 17:46:15 -0400 Received: from mail-oi1-f176.google.com (mail-oi1-f176.google.com [209.85.167.176]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A5CF810C6; Fri, 5 May 2023 14:45:55 -0700 (PDT) Received: by mail-oi1-f176.google.com with SMTP id 5614622812f47-38e12d973bfso1240213b6e.0; Fri, 05 May 2023 14:45:55 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1683323131; x=1685915131; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=RY/eXSCNgcg1l+d5z3txUiSd1IDYl3P2//k5Gq9XXUY=; b=WONLNqPYemslfHTz3Yvq+2XeYy/iqE74TKjV1HpK1q39gczkXGJQoY5Eb+TkZ8huaL qka6dEetDhSSFAXWnutGMNNAyyA9XnClSbcvLryynOSamQ5ciSlNdvCO8kGJVqtM5VOS Na35l83q7sBR+5dalHjwP59gek4dEWEaZbATOcycMs67o0Jl2QKcOBHJ/uTOggznUfiX mvUHlnHK4c90kMKGuDttm9dv2gukNfpv8i62KlyfqX3kSP65HFovrOxY54OS6W8E4f2T fDtIAyR/cLVfZn1g7aHlxQvbYJYtHOjJmOsrZUrVB0M8ipqsJko/PyIpyPMyyEJHDdbJ 5Vpw== X-Gm-Message-State: AC+VfDwMHeUcCM09fuFXHUij80ZvsxJ0L/CniA9rl5tBXgWTAWnJYcs4 r2Ndu/6bzkca+JLtsq/O9Q== X-Received: by 2002:a05:6808:aa8:b0:38e:aa4:e4a4 with SMTP id r8-20020a0568080aa800b0038e0aa4e4a4mr1289438oij.8.1683323131028; Fri, 05 May 2023 14:45:31 -0700 (PDT) Received: from robh_at_kernel.org (66-90-144-107.dyn.grandenetworks.net. [66.90.144.107]) by smtp.gmail.com with ESMTPSA id du3-20020a056808628300b0038bffe1332dsm3173068oib.57.2023.05.05.14.45.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 05 May 2023 14:45:30 -0700 (PDT) Received: (nullmailer pid 3616075 invoked by uid 1000); Fri, 05 May 2023 21:45:29 -0000 Date: Fri, 5 May 2023 16:45:29 -0500 From: Rob Herring To: Krzysztof Kozlowski Cc: Neil Armstrong , Sam Ravnborg , David Airlie , Daniel Vetter , Krzysztof Kozlowski , Jianhua Lu , Del Regno , dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2 1/2] dt-bindings: display: novatek,nt35950: define ports Message-ID: <20230505214529.GB3609047-robh@kernel.org> References: <20230502120036.47165-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230502120036.47165-1-krzysztof.kozlowski@linaro.org> X-Spam-Status: No, score=-1.2 required=5.0 tests=BAYES_00, FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=no 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 Tue, May 02, 2023 at 02:00:35PM +0200, Krzysztof Kozlowski wrote: > The panel-common schema does not define what "ports" property is, so > bring the definition to enforce the type. Panels can be single- or > dual-link, thus require only one port@0. > > Signed-off-by: Krzysztof Kozlowski > > --- > > Changes since v1: > 1. Rework to add ports to device schema, not to panel-common. > https://lore.kernel.org/all/20230420160905.GA2952736-robh@kernel.org/ > --- > .../bindings/display/panel/novatek,nt35950.yaml | 8 +++++++- > 1 file changed, 7 insertions(+), 1 deletion(-) > > diff --git a/Documentation/devicetree/bindings/display/panel/novatek,nt35950.yaml b/Documentation/devicetree/bindings/display/panel/novatek,nt35950.yaml > index 377a05d48a02..c93cc1018b41 100644 > --- a/Documentation/devicetree/bindings/display/panel/novatek,nt35950.yaml > +++ b/Documentation/devicetree/bindings/display/panel/novatek,nt35950.yaml > @@ -47,8 +47,13 @@ properties: > vddio-supply: > description: regulator that supplies the I/O voltage > > + ports: > + $ref: /schemas/graph.yaml#/properties/ports Similarly needed on this one. Perhaps what you want here is a dual-link panel schema? > + > + required: > + - port@0 > + > backlight: true > - ports: true > reg: true > > required: > @@ -59,6 +64,7 @@ required: > - avee-supply > - dvdd-supply > - vddio-supply > + - ports > > additionalProperties: false > > -- > 2.34.1 >