Received: by 2002:a05:7412:d1aa:b0:fc:a2b0:25d7 with SMTP id ba42csp1074213rdb; Tue, 30 Jan 2024 07:14:41 -0800 (PST) X-Google-Smtp-Source: AGHT+IEOn8hWqmPMHieL0vKySyOilVVujgN02Tc0ZbL58LBmLO5GZON9v+w2aWxFfIFa3HEQTNPT X-Received: by 2002:aa7:df96:0:b0:55f:5e7b:7c6c with SMTP id b22-20020aa7df96000000b0055f5e7b7c6cmr183079edy.32.1706627681479; Tue, 30 Jan 2024 07:14:41 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706627681; cv=pass; d=google.com; s=arc-20160816; b=qtbYZw2r/GutOxTOa6JpD7iPh8zskADotgZvxUVB+tFNnWMGCtXrbRX4E6VxsMF/yT 78J3k2/9fudJUbuyJkQvRDGgtXednb1ZeMI+KneqdcwuR+qh6ughQ2qdD66NR/D6lJjk xBoR4rdQCmBLVMn0xJC9xaQeRRQoGPZRRv9mlcsSZYjJY/goEuhwgnaQQhJvhmV4MKVM 65Qz16t95l6jo2yX60hNIVSaFMcRbz+UffoZ2XiIwGLH/N1W2MrIT8CfqSVAk4jMNxoG EX7a4bqGZS2XXxqGTUIPLVA7Vh5Dqtu6fkEKt8t3SiN+M/9uO77iuEvv9Xi0ZTWiqsp6 tDcw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=Tf8ynCvO6r1Dx6WXXjSUgDUUfHEMzs7kf62onS6lrwk=; fh=ApO9GF0AqADRWyG8gS/bjxXv18bUfefO8eTE/dw576g=; b=w8XbD5aMW6s0LTQbNjAWq2G3RmSSAys2904RLckaIOiM8BdoYshOhlXvt3QUFGEnNb IlxHZ595hB2yQXncdUKn3P2I19ncbAzySJK0ZBE7MrRnimrHYbRPxxDQCPI2TP0WowuG EiCeILIMTMV9VuFT/Y7dSIjRx/vJioNp36O3L+itdNPLXLedm2l6iwIfOqR0waoKG/tn LyRWzaQR7cwZWioTY8WoFZBvyP2vetRa9GS/UjoucEahrflnCJetEOp8uhnbrQWcd0O0 6ODurnyfNl9yu5P4BgEa91roOwX3eGtdWSHgzbmP1eg1VFL+zD9Y/oOocKKL2CcX6Yjm S6pA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=eQa56v56; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-44813-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-44813-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id r19-20020aa7cb93000000b0055c29685f67si4759484edt.314.2024.01.30.07.14.41 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 30 Jan 2024 07:14:41 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-44813-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=eQa56v56; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-44813-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-44813-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 3D9201F278E2 for ; Tue, 30 Jan 2024 15:14:41 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 778DF81AAE; Tue, 30 Jan 2024 15:14:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="eQa56v56" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 9D43D7F7CF; Tue, 30 Jan 2024 15:14:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706627670; cv=none; b=Hfn8zWnqN/eepNq0rOKxlDAuWVCIvyKzZjphMxnDAGfOrmArOtbaIJEL/2CvftIIDcCJQmbAMVMyduiFmjot7Q2hRHVmoH5yJkiwjxrCtlgTCT8IFp1C0okm/BcdVzh+abTPgxhRX0d0yBOjqdDj8Mx8eAXruYKH95bObJv7qto= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706627670; c=relaxed/simple; bh=gAg8cpP+XJBiM4/rqOBN5Esq/wRJ9lIQmGQX2ctCfRU=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=pjPXrayYOjyBHdSUM2ByY1Alcju7VVlo+uoBfNmJKx7CPoAhReQGZu7cRYrAmCZArJUkc+ikdy28KSHTOTG5pjnekqsYXRAI50Yt7ZHfqUrqWd63wKVZ6liJEzVRCn3z1JibFKI9WXes28k1Fbjz9AVpD5EL2qucfrvoYHKIYt8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=eQa56v56; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 454D2C43390; Tue, 30 Jan 2024 15:14:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1706627670; bh=gAg8cpP+XJBiM4/rqOBN5Esq/wRJ9lIQmGQX2ctCfRU=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=eQa56v56VzaqeY0atCPHBrESYKWr6KaJO9cgg4jX+INNfhWltGeJgTb6pfBKMR+9L 1MQFzeinTyMzvOw6v0hynWEEXlwLh5AfZgxdm41piwc6nrS5pI8Crks9spKnw4j48y cwNI2BVFkjxHyoR/7GuikRJLfrE07Wj0fnNg86n3Z2U2JfddcUJjLqK6E68nAfK6Si AS72I8/FPYSNtnVQ/x3cVBJQ3kjN4MYAZT8SMCsn8eNRJkDtIkDmc1aJoexnt35VMp a0dO16WknmiyTRXbjTtPW4jZlgEG42y3tr+Q8lgNs+oRaDcIIKZ3MTnZsp0gBb1rZI Qce9UWtyh1Rng== Date: Tue, 30 Jan 2024 09:14:28 -0600 From: Rob Herring To: Dario Binacchi Cc: linux-kernel@vger.kernel.org, Alexandre Torgue , Conor Dooley , Daniel Vetter , David Airlie , Jessica Zhang , Krzysztof Kozlowski , Linus Walleij , Maarten Lankhorst , Maxime Ripard , Neil Armstrong , Sam Ravnborg , Thomas Zimmermann , devicetree@vger.kernel.org, dri-devel@lists.freedesktop.org Subject: Re: [drm-drm-misc:drm-misc-next] dt-bindings: nt35510: document 'port' property Message-ID: <20240130151428.GA1629184-robh@kernel.org> References: <20240127152821.65744-1-dario.binacchi@amarulasolutions.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240127152821.65744-1-dario.binacchi@amarulasolutions.com> On Sat, Jan 27, 2024 at 04:28:08PM +0100, Dario Binacchi wrote: > Allow 'port' property (coming from panel-common.yaml) to be used in DTS: > > st/stm32f769-disco-mb1166-reva09.dtb: panel@0: 'port' does not match any of the regexes: 'pinctrl-[0-9]+' > > Signed-off-by: Dario Binacchi > Cc: Alexandre Torgue > > --- > > .../display/panel/novatek,nt35510.yaml | 34 +++++++++++++++++++ > 1 file changed, 34 insertions(+) > > diff --git a/Documentation/devicetree/bindings/display/panel/novatek,nt35510.yaml b/Documentation/devicetree/bindings/display/panel/novatek,nt35510.yaml > index a4afaff483b7..72913719df23 100644 > --- a/Documentation/devicetree/bindings/display/panel/novatek,nt35510.yaml > +++ b/Documentation/devicetree/bindings/display/panel/novatek,nt35510.yaml > @@ -31,6 +31,22 @@ properties: > vddi-supply: > description: regulator that supplies the vddi voltage > backlight: true > + port: > + $ref: /schemas/graph.yaml#/properties/port Just 'port: true' > + > +if: > + properties: > + compatible: > + contains: > + enum: > + - frida,frd400b25025 > +then: > + required: > + - port > + > +else: > + properties: > + port: false No need for this. 'port' should be allowed for everyone. > > required: > - compatible > @@ -54,5 +70,23 @@ examples: > backlight = <&gpio_bl>; > }; > }; > + - | > + dsi { > + #address-cells = <1>; > + #size-cells = <0>; > + > + panel@0 { > + compatible = "frida,frd400b25025", "novatek,nt35510"; > + vddi-supply = <&vcc_3v3>; > + vdd-supply = <&vcc_3v3>; > + reg = <0>; /* dsi virtual channel (0..3) */ > + reset-gpios = <&gpioj 15 GPIO_ACTIVE_LOW>; > > + port { > + dsi_panel_in: endpoint { > + remote-endpoint = <&dsi_out>; > + }; > + }; > + }; > + }; > ... > -- > 2.43.0 >