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 37D18EB64DA for ; Sun, 18 Jun 2023 17:37:44 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229496AbjFRRhk (ORCPT ); Sun, 18 Jun 2023 13:37:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48430 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229446AbjFRRhk (ORCPT ); Sun, 18 Jun 2023 13:37:40 -0400 Received: from relay6-d.mail.gandi.net (relay6-d.mail.gandi.net [IPv6:2001:4b98:dc4:8::226]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CEA991B5 for ; Sun, 18 Jun 2023 10:37:37 -0700 (PDT) X-GND-Sasl: miquel.raynal@bootlin.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1687109855; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=FDZptFO5NnQUxuhT5MsLR5+QMUnZ7oxNR+YgYIxL7G8=; b=pbjtJlayc2DOxdDC0J4JxvK7c8NRGvGgmZkNgNuU/U/ngtZFeYGE4rq4oj4I0DgJCURhfP T7N63SiylXRtVDv/deAibVYZV2omW0C16oryHLP4b8+w/YMdZSFCkIQJKNkwYRiwK0uAIt V0fBrTXbVhDDY+S6UkbuzkEcME3av2ZlAl1UojzItSZ2u2tfxTf8yTb2jND3Q3qUQt+ro0 Rzn1mV3jhXhYMG367CWZA2kQNB5FJDuguSa5w7oMOKBoekJC8Xa3no2jHJq6nX0ls+XDmZ 5ddIYjemgbRvkGNW+SJgGPb4L6CM86s7dZMCvSth90YLRlgeaiTkFl4s1vpWJQ== X-GND-Sasl: miquel.raynal@bootlin.com X-GND-Sasl: miquel.raynal@bootlin.com X-GND-Sasl: miquel.raynal@bootlin.com X-GND-Sasl: miquel.raynal@bootlin.com X-GND-Sasl: miquel.raynal@bootlin.com X-GND-Sasl: miquel.raynal@bootlin.com X-GND-Sasl: miquel.raynal@bootlin.com X-GND-Sasl: miquel.raynal@bootlin.com X-GND-Sasl: miquel.raynal@bootlin.com X-GND-Sasl: miquel.raynal@bootlin.com X-GND-Sasl: miquel.raynal@bootlin.com Received: by mail.gandi.net (Postfix) with ESMTPSA id DB54BC0002; Sun, 18 Jun 2023 17:37:33 +0000 (UTC) Date: Sun, 18 Jun 2023 19:37:32 +0200 From: Miquel Raynal To: Maxime Ripard Cc: David Airlie , Daniel Vetter , Thierry Reding , Sam Ravnborg , dri-devel@lists.freedesktop.org, Thomas Petazzoni , Sebastian Reichel , Rob Herring , Krzysztof Kozlowski , devicetree@vger.kernel.org, Michael Riesch Subject: Re: [PATCH v2 2/6] dt-bindings: display: st7789v: bound the number of Rx data lines Message-ID: <20230618193732.04fc1909@xps-13> In-Reply-To: References: <20230616163255.2804163-1-miquel.raynal@bootlin.com> <20230616163255.2804163-3-miquel.raynal@bootlin.com> Organization: Bootlin X-Mailer: Claws Mail 4.0.0 (GTK+ 3.24.33; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Hello Maxime, maxime@cerno.tech wrote on Sun, 18 Jun 2023 16:37:58 +0200: > Hi, >=20 > On Fri, Jun 16, 2023 at 06:32:51PM +0200, Miquel Raynal wrote: > > The ST7789V LCD controller supports regular SPI wiring, as well as no Rx > > data line at all. The operating system needs to know whether it can read > > registers from the device or not. Let's detail this specific design > > possibility by bounding the spi-rx-bus-width property. > >=20 > > Signed-off-by: Miquel Raynal > > --- > > .../devicetree/bindings/display/panel/sitronix,st7789v.yaml | 4 ++++ > > 1 file changed, 4 insertions(+) > >=20 > > diff --git a/Documentation/devicetree/bindings/display/panel/sitronix,s= t7789v.yaml b/Documentation/devicetree/bindings/display/panel/sitronix,st77= 89v.yaml > > index 0ccf0487fd8e..a25df7e1df88 100644 > > --- a/Documentation/devicetree/bindings/display/panel/sitronix,st7789v.= yaml > > +++ b/Documentation/devicetree/bindings/display/panel/sitronix,st7789v.= yaml > > @@ -29,6 +29,10 @@ properties: > > spi-cpha: true > > spi-cpol: true > > =20 > > + spi-rx-bus-width: > > + minimum: 0 > > + maximum: 1 > > + =20 >=20 > It's not clear to me what the default would be? This binding references spi-peripheral-props.yaml which sets the default to 1, I believe it is sane to keep it that way? Thanks, Miqu=C3=A8l