Received: by 2002:a05:6358:7058:b0:131:369:b2a3 with SMTP id 24csp1874034rwp; Thu, 13 Jul 2023 18:58:59 -0700 (PDT) X-Google-Smtp-Source: APBJJlHzg594JoUKJlip14Y69NmsDnmhLE/zquYwasVeo9lDabq3Mq+kHojRpVamkGGIOpJBsfPt X-Received: by 2002:a17:907:37a:b0:993:6845:89d9 with SMTP id rs26-20020a170907037a00b00993684589d9mr2533260ejb.44.1689299938808; Thu, 13 Jul 2023 18:58:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689299938; cv=none; d=google.com; s=arc-20160816; b=siY78BPIxe2UDmkLDL9/pjF4DO0sBRzc/Xj4nKQ1JBah2+qT7zuNwyIEKXWso24YMv ncZBhVURMbXQsvgkhixutmUuPDglCAYdUdZpBRUHgTu/M4ZOxf+aycawEseA2wjWtXLR j1XNm1ak9iM8zlJ5GF7Dmvr2jb1mwTSMw0fzPbTUH/8X9eUK5YskeEDMVWfETtoiqdJw Ug3TQYdlufWtW8avKDMeDagPjrhiZe3kJhWCMyu4iOJoXu1ydO/b8j8ryTA+icC1mfZU iqJp60tAgeFuSRCdtcTAifcN98mx1sunmxBw1DMjM/wPPEKbZ+HFKYYIg7O7IJrIBUvP WkLw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=HhhkQprRHxTnvKDc7e6rdRbVQ50wiTjuhZosotnqd4w=; fh=HwXF7oRCir21rkLooXRSnxVujfgTCi0lUyLUYUJV4EE=; b=owt6pqfh8jXk5KS6/dcDMXQ1Y3sYDujB4cDHtLIA6Gcwdc0OIA3TyBGYahuihkQpXY Kl3jhEy0KOAB+IOAKjn38Ol+rLfTaO7BFuAX/Kh2eS6sARI9w9yTAmVGNFT3eke8m7oz t70dMl2OS/FLBMuhWXe5LVDL2RHM6mrw2lBMW8I5Fr+UvhsXQjPeD6Iv1wRdbSEhwlof TUxqq97OSZPYY5MjSv0TxKyGqVHkvv8IsWa9TxFNJdI8DZiK0WOHMl+9HrBQWivcy43s tZrYSS75gF8cETIEqOEcP/1ZGwu7WeoaEcRUhoXcw+OhuACWyICxX8R7c6Krxn9NedSF P9wQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=HcGm+D1M; 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 a18-20020a17090680d200b0098f564f636esi8648092ejx.132.2023.07.13.18.58.35; Thu, 13 Jul 2023 18:58:58 -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; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=HcGm+D1M; 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 S234672AbjGNBi7 (ORCPT + 99 others); Thu, 13 Jul 2023 21:38:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58752 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234173AbjGNBiO (ORCPT ); Thu, 13 Jul 2023 21:38:14 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A614730C6; Thu, 13 Jul 2023 18:38:08 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 58E7A61BF0; Fri, 14 Jul 2023 01:38:08 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 100CAC433BA; Fri, 14 Jul 2023 01:38:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1689298687; bh=nF3EmHcWtWLkDXimiim466Bc4X1g6roUx9bQ5B5nTbE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=HcGm+D1MFbHeRrqPgs09yEHJ6hehNFtSasXHXiCZuIaxuERiQyVdeijfqnXsOqxO6 lQB1VVq0EEPdIzXfdQ9BlLMg7tKl21kHAGdGT9gRizA2x3n++ZvgIiNnPOUI1yayLS t4dTkGuqB4Vl5eddSjAzcwU8NuFP//QGaItP4bAhtE5424LER77xSxI0FDratLQGQM dKBpUE+8vwKtGwLygQdxWsm02ojpJnl5CMglOYqHggudOtYrMm6cQWlvuXn9SGQCJi rQsg/F4OrDDliadPUrreGgrrT2mG+cp3/YSPKuNkmTKjPl7807ev7IiRhLt+zima2u uLmqbAsCnHATg== Received: by mercury (Postfix, from userid 1000) id F0C5910676F7; Fri, 14 Jul 2023 03:37:58 +0200 (CEST) From: Sebastian Reichel To: Sebastian Reichel Cc: Gerald Loacker , Michael Riesch , Miquel Raynal , Thierry Reding , Sam Ravnborg , David Airlie , Daniel Vetter , Rob Herring , Krzysztof Kozlowski , linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, Krzysztof Kozlowski Subject: [PATCH v3 15/19] dt-bindings: display: st7789v: bound the number of Rx data lines Date: Fri, 14 Jul 2023 03:37:52 +0200 Message-Id: <20230714013756.1546769-16-sre@kernel.org> X-Mailer: git-send-email 2.40.1 In-Reply-To: <20230714013756.1546769-1-sre@kernel.org> References: <20230714013756.1546769-1-sre@kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham 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 From: Miquel Raynal 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. Signed-off-by: Miquel Raynal Acked-by: Krzysztof Kozlowski Reviewed-by: Sebastian Reichel Tested-by: Sebastian Reichel Signed-off-by: Sebastian Reichel --- .../devicetree/bindings/display/panel/sitronix,st7789v.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Documentation/devicetree/bindings/display/panel/sitronix,st7789v.yaml b/Documentation/devicetree/bindings/display/panel/sitronix,st7789v.yaml index 9f4157b02b84..905c064cd106 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 + spi-rx-bus-width: + minimum: 0 + maximum: 1 + dc-gpios: maxItems: 1 description: DCX pin, Display data/command selection pin in parallel interface -- 2.40.1