From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-lf1-f54.google.com (mail-lf1-f54.google.com [209.85.167.54]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 049582F39AF for ; Wed, 8 Oct 2025 07:31:23 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.54 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1759908686; cv=none; b=oylAQCuiU4S255G1lAhyU/PjADbPV9woCflyvNAb+4kwL8OOBOJy20/esM2ExxncP97UExHqtSqjDVwuhBf7E56eNf61Gy/8PHfXEt0SZh2gEtxMTtEP114+ova0L3rBgPzU3Gr7QtP02shYU/YEyTLcOSo9U07JRpK1gXZtHo0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1759908686; c=relaxed/simple; bh=a/48XUdptj6+42+EZNzEr2TY6pY90ELY94jo1ZmZXkk=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=TXZWmiD3I0m+n7L8456fd7utw3G803HddPZZgOHREeJS5TS9aUl7nOet8BMdNWrZV6EmYWzVfOMEopbRcIOAZVB7xqYL54HauqE3A+lGBNkGzdcJj5KDFwpZxMiawCaWHwG5JVExnc7O6MOJifX9wXQJrXNAJgfD9xsuVaIbbsQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=MFxri1BG; arc=none smtp.client-ip=209.85.167.54 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.b="MFxri1BG" Received: by mail-lf1-f54.google.com with SMTP id 2adb3069b0e04-57bb7ee3142so8424074e87.0 for ; Wed, 08 Oct 2025 00:31:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1759908682; x=1760513482; 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; bh=enLEHKOtNTzkrWiTnMIts9Lyjvegz+xp8xyikQdOjDk=; b=MFxri1BGnTXCgJLKZIkkDXzYe+Udpa8KvMxzEar/jDzmg5BO5WeObqk+AWF4zOht3z wofDFdZPFiY5oRoXd8KJmNOTmZLs1Z1P9eWNBt117/Mdrpc6fU2Mp0vbJs6y/mamMH0m 75JjJvkCKMJXPr1N37phYMpszpvbfFo3Dy95MhgFUQCvrxNtOGxF+vh37g6/0+VkKF6P TNf/Ciq7r/xqJ4HygPpCfsJ3JkAAVDBzX1kReSim6yIXZde6vN66TGn3YKLWy/1ljTpY ISP3kHPsyXzX7hQBXh1szEr7XRInyDoKFHV4+s7ml7gA0ImJdc0+BPv+XQN02zzNgk27 Ezog== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1759908682; x=1760513482; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=enLEHKOtNTzkrWiTnMIts9Lyjvegz+xp8xyikQdOjDk=; b=KTJTEg7YelVElGYaoLfNRt7zS/0udlKUzD8i60NouW/ncDY2AiPQ64V6R4s/fAcHG9 loxhr3376VV9XnisCRyZ1/LjZoIdJYP5M2S84O9jVdnT7ziEiVFrC/Vc6wqz+iZtnRVD DJQ7ZnIxtu5o1cocFGED7LuLupV6xbt3HQPCMsbJv4ZmFn97pZH3tX+Wo9GYfyeCCgrL WtIg4EBIw1bcGoOEdunrxzk4qa5boD+xcfxq2Ylh39YkFoF0Nvm9Ibl4IMY1M/B85hXz vHOpJiWNBt774v6l0gnzKECt9d12Sp0ra9U+LTQ3xQ5IWAT5/qHu7cCgE1hdcENjl6+8 02gQ== X-Forwarded-Encrypted: i=1; AJvYcCWyVBpOR1/L+1HLU7ZbLg1mbHN6laHWJmr1s8c4SaOkkY1WHLlgcR1rZeCH9nMikaqQpJOth6/ub4L1@vger.kernel.org X-Gm-Message-State: AOJu0YwrYqGLawi1N1wmf24ZqsGZYdp5fg9C19b7rp1Lwc3NIPXyQGhk SaeiS8UMsoLrZC/6EpeyvYhABMaxGEdH8eXvDXs9AcdCXdqC7ONZTZFq X-Gm-Gg: ASbGncuWLR4p+PBF4LZebe+Fh0SCkmBNawPpQmsXKvLNytK2ERJfLpto+6Jc0f3GPNm eqVby8eMG9WM8PPEoOoOn9h7q1iJ5H0IkNxzhVheaOejmuAF+YV+0Q4uEBWSGX+jTbkk076KG74 2lSO+4Zv1W3k3fa1P/3nRNww10ZzrfR9IxZf0W5uBjz294WdK/78wiDQGILrPeHou6gGc5eXzkD pCasVwgT8kUorZpZtStyhvKYdDC708uh+8kEOdXjZpToC/z7d8NbSEpqELVsAO8raGBMuuNOkv0 Fvz067hf50gUW7ZyGvKcfgKtmYf6E+5lcEqvWtLT5Ora683qZzox8sFcl+PeiQS3PLSum6k21WK b1g59dKzG6+kxo0anQtu84pOS/ociGcxpbYFD4A== X-Google-Smtp-Source: AGHT+IE6CzpQ7p9cWL2g2u1KCij/uULFzIog+MKLpggK4YVhbmnkBbPJg12jiL753WYqBvss1sNwdg== X-Received: by 2002:a05:6512:ac4:b0:581:7f39:d34f with SMTP id 2adb3069b0e04-5906dd74a07mr738319e87.43.1759908681823; Wed, 08 Oct 2025 00:31:21 -0700 (PDT) Received: from xeon.. ([188.163.112.70]) by smtp.gmail.com with ESMTPSA id 2adb3069b0e04-58b0118d22bsm6911016e87.85.2025.10.08.00.31.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 08 Oct 2025 00:31:21 -0700 (PDT) From: Svyatoslav Ryhel To: Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Simona Vetter , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Thierry Reding , Jonathan Hunter , Sowjanya Komatineni , Luca Ceresoli , Prashant Gaikwad , Michael Turquette , Stephen Boyd , Mikko Perttunen , Linus Walleij , Mauro Carvalho Chehab , Greg Kroah-Hartman , Svyatoslav Ryhel , =?UTF-8?q?Jonas=20Schw=C3=B6bel?= , Dmitry Osipenko , Charan Pedumuru , Diogo Ivo , Aaron Kling , Arnd Bergmann Cc: dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-tegra@vger.kernel.org, linux-kernel@vger.kernel.org, linux-media@vger.kernel.org, linux-clk@vger.kernel.org, linux-gpio@vger.kernel.org, linux-staging@lists.linux.dev Subject: [PATCH v4 05/24] dt-bindings: display: tegra: document Tegra30 VI and VIP Date: Wed, 8 Oct 2025 10:30:27 +0300 Message-ID: <20251008073046.23231-6-clamor95@gmail.com> X-Mailer: git-send-email 2.48.1 In-Reply-To: <20251008073046.23231-1-clamor95@gmail.com> References: <20251008073046.23231-1-clamor95@gmail.com> Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Existing Parallel VI interface schema for Tegra20 is fully compatible with Tegra30; hence, lets reuse it by setting fallback for Tegra30. Adjust existing VI schema to reflect that Tegra20 VI is compatible with Tegra30 by setting a fallback for Tegra30. Additionally, switch to using an enum instead of list of const. Signed-off-by: Svyatoslav Ryhel Reviewed-by: Rob Herring (Arm) --- .../display/tegra/nvidia,tegra20-vi.yaml | 19 ++++++++++++------- .../display/tegra/nvidia,tegra20-vip.yaml | 9 +++++++-- 2 files changed, 19 insertions(+), 9 deletions(-) diff --git a/Documentation/devicetree/bindings/display/tegra/nvidia,tegra20-vi.yaml b/Documentation/devicetree/bindings/display/tegra/nvidia,tegra20-vi.yaml index 2181855a0920..dd67d4162884 100644 --- a/Documentation/devicetree/bindings/display/tegra/nvidia,tegra20-vi.yaml +++ b/Documentation/devicetree/bindings/display/tegra/nvidia,tegra20-vi.yaml @@ -16,16 +16,21 @@ properties: compatible: oneOf: - - const: nvidia,tegra20-vi - - const: nvidia,tegra30-vi - - const: nvidia,tegra114-vi - - const: nvidia,tegra124-vi + - enum: + - nvidia,tegra20-vi + - nvidia,tegra114-vi + - nvidia,tegra124-vi + - nvidia,tegra210-vi + - nvidia,tegra186-vi + - nvidia,tegra194-vi + + - items: + - const: nvidia,tegra30-vi + - const: nvidia,tegra20-vi + - items: - const: nvidia,tegra132-vi - const: nvidia,tegra124-vi - - const: nvidia,tegra210-vi - - const: nvidia,tegra186-vi - - const: nvidia,tegra194-vi reg: maxItems: 1 diff --git a/Documentation/devicetree/bindings/display/tegra/nvidia,tegra20-vip.yaml b/Documentation/devicetree/bindings/display/tegra/nvidia,tegra20-vip.yaml index 14294edb8d8c..9104a36e16d9 100644 --- a/Documentation/devicetree/bindings/display/tegra/nvidia,tegra20-vip.yaml +++ b/Documentation/devicetree/bindings/display/tegra/nvidia,tegra20-vip.yaml @@ -11,8 +11,13 @@ maintainers: properties: compatible: - enum: - - nvidia,tegra20-vip + oneOf: + - enum: + - nvidia,tegra20-vip + + - items: + - const: nvidia,tegra30-vip + - const: nvidia,tegra20-vip ports: $ref: /schemas/graph.yaml#/properties/ports -- 2.48.1