From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=209.85.218.48 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796038956; b=JSY2wwgmQxS/8O8xaLsBsidOHWeUtL9RvbQ1LZ53I4VxRHS3exZwYNkh18NXhLL4OU0l KpCmqp9Tgf+NR/uDUh9pB0t6LU3KYhyduziuLVVQR3n7jWIwejOUOF/qXclhPQ+SUP/C+ 10HZKVRQnAw0pcCYB7w5qNsJ+dXHhUxskiQ5xXlA7Gh5XQwSSH81iQ1FMkbK1Fdifm5pW s34q7AqLOlFDJr+1LJwftpU5LbS9MSpgxau7P6YM1PJTIC6BE8W7gFIDblSq+q4Nz9Ncm rpvGK+DjD7SXpDrlsDWCkvJO+mOSv1IShh6C+VjSVu4kip7qXsGF5WQqzcCGvjSnIjQ== 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=QEz3GvQ/wBmnBgRW36Iwq3TB5WQsC8PLf7Ojh6pf/Wf4lVa3LkepCkL6DXs31B/urgXa UVeGftfZmpJ+cUDRpJ1XoVC+V6L2CrRPykm799jVco1iWMHJb5ATYVCFD+78iPRst3WsU u8Gh7wmRBstr1n4Q974+11lIkm/Q5jYEoDirQ2cA2rUJKMkYP2Ye0WRtAdSbeWkWJWJxa ADWqmuG2J2kO91HH1nSjiKcqAvPAehug9/KVG59p606a45QlGwvNsqo1my4GyCcj9kncd JeCftZQ9F70kWboLk9v81aRu80uZNoTchyy39GdkGjLjvS6+dL/q+VC+B0hB11Uzm+A== 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.48 Received: from mail-ej1-f48.google.com (mail-ej1-f48.google.com [209.85.218.48]) (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 C6D9E606A33B for ; Mon, 30 Nov 2026 11:42:35 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org C6D9E606A33B 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-f48.google.com with SMTP id a640c23a62f3a-c4322d310e7so775868166b.0 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=L1qEwVGoAaOdKfmFbKRacPRqD2652KDo1e/rwbWcCefb5hHAdwiz11Z+DJFh7prQpG yOB4jo3WZGuL2+eAVbWFl81GBR+ru2wOEwYFXjN4DecKvwXGKf+BN7/lrPHp8IUyRbcd 8M4YJX8mMql0crP0MiVIQ61pRV146itngnQoQaWtGwwazbPgeVPB1GDqr7aktCAH2VjN uf4BAgAJmP98v0eD7eke25+BtlBkZqn7+N5jNPy50w2uTUiCLn9FgenfDA3HDoVa8YeD zp9ryoQR+td/YwlQNNp2AvcMnFTZ0Yf7x9JPrQp2RjWFRU4v6VZd3Efu+3rJAlcn3G7c HyTA== X-Forwarded-Encrypted: i=1; AL+hErFweCF5E+oG9dlrHrI+DaKgOpevKPVAd5v7rwkmgzoZQ2zv8yPY76MLaeJ22Bo+JSYQChYFgOSogulATEI=@vger.kernel.org X-Gm-Message-State: APuU4Z8TnmB0qIvg4lgr/kVzYDN4Ojiu0s+wUEq5rm7s3uGxsHMsUYqa wXSv4pSIfgpF213nB0Ipw86nCccUDAiCsY0o1SuENtEWozribKhXUxQO X-Gm-Gg: AZFdTZcU4e/F5H+oZV3dRZlxndVjDpzYlJXU0xnMUddt1mw1wHefDtfELtjRFnaVLrY +SAXc6d+wGYTgqdiFnsK/4nca/Xdp8bHl09juroum7x8rNP7ACzYGL3k0NmbbcCpp3nbU1PVKnl fIoRJr589zk2KC0ZBi/o9u7ujc8Fyq5hLs+vQsiZhtAqeH8DISY4fP7nbJTgvolFlRBtsHjwfGg 1MSfNuYVmlW39ShU+7DMDxS2bMZTYaGvE0Y+/Hr9czfbj7z4qdwDzymVkugQJKhqkYDa5/ZPUEZ uei+3/JBQQeXNO+VMAXhMK13QAPq5wNzAK1Tv6htBWKGA+DvDPBsr/zqoN9P+TaOB5ljjerzzyb TYabdbnzpfFrvHP61OZ8S9I/Dn/VgmL8V9I2aO2pICbfYfqE7cb3JBUuzRD9+H4uf7Dq9AFwauc 0y8fzI7iUufXuFwugZWCxJaqxhYJBSY+Tk8f+eV60CpS7iIcVDzuDYqg4SITzOuUkWkMzg4pnaw JTI2YcCSqRMhX4Qrrvw2c30bRDL1nQ6uYL665Fl/uLs1ejoYWtWjzyjtBkpfE3mRLj62u9F6qbU lthSwzJtTPz1UlC7jvWjurmD/zX4rhAAcmArQ4bl4wEcLtVbLSmzKAZ3NKJJ/YaKqt2iGaxvxYS 6A1bPiryBwg== 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: linux-kernel@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