From mboxrd@z Thu Jan 1 00:00:00 1970 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="eQa56v56" 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: devicetree@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 >