Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=209.85.218.42 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796038956; b=k97SLj8aqKNWHSEgEPXN0sPdwrvc2BmmVFQ19jMCurJHjSmLMHp7K3JYoiekEDaowfcd E6rg2KEbb71EBFBuxN+nTqM0WCPK/wrtVLeg0ofiDKJU8dgjlRTj8DbGHD4R4yOQwXbLg FtO83A0sG5ozEemuSXrX78q8SkcXj2CuKmZaucYLtvwbxygo9mQrh5sKBqN9In5KVsq59 RAjaGMvTMiDYxPLM5fgObMVNrArLR5eTuveNgR/a3C1asagmXiYbFgv06dqph6qDdFO5O 691qfZb5YbobQB42KMAyK1SVvReS6I0HxhhbHjqsZJYyICexL5rENWoKy0mWD72PK7Q== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796038956; h=DMARC-Filter:Received:DKIM-Signature:X-Google-DKIM-Signature: X-Forwarded-Encrypted:X-Gm-Message-State:X-Gm-Gg:X-Received:Received: From:To:Cc:Subject:Date:Message-ID:X-Mailer:In-Reply-To:References: MIME-Version:Content-Transfer-Encoding; bh=bRo3R6N+XPwcrdhVm4yNd9pMWfTBGudfta/PwUymqE0=; b=e5xSsVN41bfnjm+wxRSTlZ5M83elufli7n6QuJ358TmEORb3+Y3BSKUzGVXCD3QhGmk1 /yf3yISMBuKDpCMJckvjqBK1xxTw4N6y3YCe3XI/G0ZgqeQyo60gkZwh0D4aHKfXLoZ0Q Uyw6PTmBtjZeY05dYqn5JqO1h0YeKLeu3CzK/2iQE7VpnSC5vxrqjrcDbbOciM1Kbf79c 0ZWD6+78sYVhQ54ZmP7ki+RTosCfc4ZbG1ntiwtSUdCYDCWpDikZeKRHGKRbs7yeUsy/Z QCXgu/K/eAyIKRceWswugE1/kMppQl/uqEkvD7Pqp01n+u7VAGQBV3h/xa4wr2vCAyA== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20260707 header.b=i6tl7PJL; arc=none smtp.remote-ip=209.85.218.42 Received: from mail-ej1-f42.google.com (mail-ej1-f42.google.com [209.85.218.42]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id ABD45606A6AD for ; Mon, 30 Nov 2026 11:42:35 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org ABD45606A6AD Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20260707 header.b=i6tl7PJL Received: by mail-ej1-f42.google.com with SMTP id a640c23a62f3a-c5188e17487so713849866b.2 for ; Mon, 30 Nov 2026 03:42:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20260707; t=1796038954; x=1796643754; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to:content-type; bh=bRo3R6N+XPwcrdhVm4yNd9pMWfTBGudfta/PwUymqE0=; b=i6tl7PJLgnUO7FxU5iFhqjj0hBvjqFpByE/GsQOHqRQ7vwuR2GWPo/EquboQZIcOvh MaHvMk+J84e1XaY6ByisN0RI+aEXZ12oETxslkFJDoabH5qBk484h1TlKEqZ/FXnTtKq g2MI8vqOx11Sy1cZh0J/yMeFmsrc8hrTkKaBIOqL9/lPRTWwrVix6D+cwQ7l0XUX4HZj yVaTLQSIl024kjtfCurVtZaIjE6ZAnroPFozQ3nFzVCeZcOi9pUK5ITjvEKNH2npWYps ABYf2X+ohoLjmhneHFQJlIe8wHy1HMtLz02iVMP9qcI1pcBvZGHljZNYNO1PQ9QGPlim rirg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1796038954; x=1796643754; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to:content-type; bh=bRo3R6N+XPwcrdhVm4yNd9pMWfTBGudfta/PwUymqE0=; b=hNn3VDvo92+mwj3Tmqm8dLfjMxTwxwfBfRIHTSdV1ek6tCblygOET83DPhwv++4Q2y 0v7SFeMSbY4PrtJM2hn9p5Qo8JRR/qYCbw7HNTUC+hOe7OCs2m2dSiedjlSXaYsPmUH/ 7kI30zbkYILFt645Pon/B+cIFG4+0c74YDD9WXnkgQ+KAxsatSdNuruj9LysKYiL1XVn CwOEO5G93NJ7uQuiZGXsaXHYyjxPoGeseHeIksGVtsy3Vh8M5xWwhqOxLGBQhq8D4opo cDuHyoBLstJZ91RobnDvp2PYIv1vmz+3zKq5L+3kx/xaMaExWEDUBnYNb961Ir5pDfDR vtOg== X-Forwarded-Encrypted: i=1; AL+hErF47KCPLMAYRxK4vR6W6ihZH0AnmYw1g+i7Z70KMYTkdJDMoahuN7HOUXHO6fcYytCKomz2LAYYHY+W@vger.kernel.org X-Gm-Message-State: APuU4Z952hU0tt4KuTUxk7OUnWNlXSuEswTPMMQfD5Nk6P7+ciud1vBC OKwVRIpOS5StdU0zFsy46D8WVY2F7nEwJCz+tAoQldLAEFHs5GVdZN7U X-Gm-Gg: AZFdTZcBqrXmdMZvuQVjg/Ywq1BZhWVmPGQgZaufRWUuafYepFFCGnKnvidyjSru3BR opDg8SbVSPAwCGrYfFAiLETS71FEq5LrwuDZ692fR5QLKJKCDkgFwTQwZ1Cmun56uoyLhO6uo1C XPZ6aeK0sVCc1hB36o0ASUCBw8z+gD5y7Ucy8Pf8GZNLGkBzIkLuJnv3Ito59LrvYBNVv7wplEF 0gO14Fi9fW37AkC+rYXmDt0LueIP3wLFgxeJshsWkNDFwani7dDYQqysAcA0Pr1LagFX84StFln lXA1ds87yE19dCRAydtMKTxTB9GEtBvL6zAL21+/+Q9Y0PRSzUgcD7u3oX2K5SeUXjSNo4Pkp+4 9bx9VHKzB7JojLz5o0madY7hCkFipbdywwV+qoMKTzT8ObzHi7Ih0RL4x71/SgVM+yY6Mn8L4Ay ICuc9PpDpkSbMtAodHShWfzJOym1sWgmzsrATu9DQSo/SmFAcTsWXHZMGfpfqJbnrSHWXmO2hd8 z86dFAlmMO6S/U1IAZUBvU94sjVxZh9MR8/u+lFaS9l6MqQzniPUm1C+8F7UVvSeG/iLOZrLlAV 7KbKLjKNMC7A5Nl/gB6niulmrsbh22FQUOGchug4KNzSfTqiNVVVkz6H82yAkaod59SQfhC798n 62+20s84L+A== X-Received: by 2002:a17:906:f5a5:b0:c46:6a50:40c2 with SMTP id a640c23a62f3a-c513ac7e167mr3054354266b.39.1796038954101; Mon, 30 Nov 2026 03:42:34 -0800 (PST) Received: from xeon ([188.163.112.54]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-c513afc73d3sm1139733466b.64.2026.11.30.03.42.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 30 Nov 2026 03:42:33 -0800 (PST) From: Svyatoslav Ryhel To: Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Simona Vetter , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Thierry Reding , Jonathan Hunter , Neil Armstrong , Jessica Zhang , Mikko Perttunen , Svyatoslav Ryhel Cc: dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-tegra@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v9 12/13] dt-bindings: display: tegra: Document 8-bit CPU parallel interface Date: Mon, 30 Nov 2026 13:41:53 +0200 Message-ID: <20261130114155.72920-13-clamor95@gmail.com> X-Mailer: git-send-email 2.53.0 In-Reply-To: <20261130114155.72920-1-clamor95@gmail.com> References: <20261130114155.72920-1-clamor95@gmail.com> X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Document 8-bit CPU parallel MIPI DBI Type B interface provided by Tegra20/30 SoCs display controller. Reviewed-by: Rob Herring (Arm) Signed-off-by: Svyatoslav Ryhel --- .../display/tegra/nvidia,tegra20-dbi.yaml | 108 ++++++++++++++++++ .../display/tegra/nvidia,tegra20-dc.yaml | 15 +++ 2 files changed, 123 insertions(+) create mode 100644 Documentation/devicetree/bindings/display/tegra/nvidia,tegra20-dbi.yaml diff --git a/Documentation/devicetree/bindings/display/tegra/nvidia,tegra20-dbi.yaml b/Documentation/devicetree/bindings/display/tegra/nvidia,tegra20-dbi.yaml new file mode 100644 index 0000000000000..6a34202f80765 --- /dev/null +++ b/Documentation/devicetree/bindings/display/tegra/nvidia,tegra20-dbi.yaml @@ -0,0 +1,108 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/display/tegra/nvidia,tegra20-dbi.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Nvidia Tegra Display Controller based MIPI DBI Type B interface + +maintainers: + - Svyatoslav Ryhel + +description: The display controller in Tegra20/30 SoCs features an + 8-bit SPI interface that closely resembles the MIPI DBI Type B + protocol and is referred to as '8-bit CPU'. Each display controller + provides two such interfaces, which can be used to send MIPI DCS + commands to initialize and control the panel while image data is + transmitted via 16/18/24-line RGB. + +properties: + nvidia,interface: + $ref: /schemas/types.yaml#/definitions/uint32 + description: + Number of DBI interface used, 0 - primary, 1 - secondary. If + property is not set, primary will be used. + enum: [ 0, 1 ] + + panel: + type: object + description: Node of supported panel driven by the bridge. + + ports: + $ref: /schemas/graph.yaml#/properties/ports + + properties: + port@0: + $ref: /schemas/graph.yaml#/$defs/port-base + unevaluatedProperties: false + description: Video port for RGB input. + + properties: + endpoint: + $ref: /schemas/graph.yaml#/$defs/endpoint-base + unevaluatedProperties: false + + properties: + bus-width: + enum: [ 16, 18, 24 ] + + port@1: + $ref: /schemas/graph.yaml#/properties/port + description: Video port for DBI output (panel or connector). + + required: + - port@0 + - port@1 + +required: + - panel + - ports + +unevaluatedProperties: false + +examples: + - | + #include + + dbi { + nvidia,interface = <0>; + + panel { + compatible = "hit,tx10d07vm0baa"; + + reset-gpios = <&gpio 175 GPIO_ACTIVE_LOW>; + + avci-supply = <&vcc_2v8_lcd>; + iovcc-supply = <&iovcc_1v8_lcd>; + + backlight = <&backlight>; + + port { + panel_input: endpoint { + remote-endpoint = <&bridge_output>; + }; + }; + }; + + ports { + #address-cells = <1>; + #size-cells = <0>; + + port@0 { + reg = <0>; + + bridge_input: endpoint { + remote-endpoint = <&dpi_output>; + bus-width = <24>; + }; + }; + + port@1 { + reg = <1>; + + bridge_output: endpoint { + remote-endpoint = <&panel_input>; + }; + }; + }; + }; diff --git a/Documentation/devicetree/bindings/display/tegra/nvidia,tegra20-dc.yaml b/Documentation/devicetree/bindings/display/tegra/nvidia,tegra20-dc.yaml index 4d14fae3d606a..bd38e539ecffe 100644 --- a/Documentation/devicetree/bindings/display/tegra/nvidia,tegra20-dc.yaml +++ b/Documentation/devicetree/bindings/display/tegra/nvidia,tegra20-dc.yaml @@ -76,6 +76,9 @@ properties: $ref: /schemas/types.yaml#/definitions/phandle-array description: A list of phandles of outputs that this display controller can drive. + dbi: + $ref: /schemas/display/tegra/nvidia,tegra20-dbi.yaml# + rgb: type: object @@ -167,6 +170,18 @@ allOf: - const: wind - const: wint + - if: + properties: + compatible: + contains: + enum: + - nvidia,tegra114-dc + - nvidia,tegra124-dc + - nvidia,tegra210-dc + then: + properties: + dbi: false + additionalProperties: false required: -- 2.53.0