From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-lf1-f43.google.com (mail-lf1-f43.google.com [209.85.167.43]) (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 A5FF12F3605 for ; Wed, 8 Oct 2025 08:28:40 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.43 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1759912123; cv=none; b=oDFE8tQVo65al5txxcHpKRWVPyPNLZsjR9AeTYy0QfOQwnqjguGUL1LknY0fOLnF6Zs2sWDE5iKP6mXM0grLmqgPoKRvbAAWYgRfFjWs3d+dbVIh+hwLz1hzSq4JQ1dAaIj8jLoy7hEsV1eoZluCmYHaLX4Is8rISxXb4NNj1aY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1759912123; c=relaxed/simple; bh=xzA3Ub2UvKb+tHtSp6GxijYDj63Obr+PQT6bfR/gf6Q=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=MPJP46NKaS0ZyEKgHccHvzU7Y/dHlg7LR1o4KOV8O/P0UYwu5Rg6KJLBuvOFEoTKIb7mwil6u5HIValAf51QGgSpMLlNuLkg7k2xjRHubS4MBVs8XEP9O9gsNEFOoJSWXs69JDVk7kdm2tNBA3Q9j67QYEgwPOxYhBI3aXA21kU= 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=mJoK/Bgq; arc=none smtp.client-ip=209.85.167.43 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="mJoK/Bgq" Received: by mail-lf1-f43.google.com with SMTP id 2adb3069b0e04-57e03279bfeso850394e87.0 for ; Wed, 08 Oct 2025 01:28:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1759912119; x=1760516919; 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=OifoNvdWUvVz1qHCNeTwOsRbnki2weR8++KzH+uzE4Q=; b=mJoK/BgqCW9VVX9DspPqxycf8ddkbx8ZAlCZgjMsnYyB3q28Mw8qU3+h3PVwfZEtmZ uPCH5mnMAPw12vLxUp8CGlocQDxGZZOyFYupz2JU7oRXNFJrcl9zkcILtcQFdHrNoWEq kzs9KfAPoH4W49dWzn3+HhMeYCb3IlWMiNbfKPDIL9KF9/p5bDScRaLPVtfO7dFAvG05 ax92wPEtV9TdbdBo3tDU6pKCkb486Vlmbh5AXmInZP1rHAY4GBDBby/Z9xM4uR2a8bFw VJvqhcBJepGFSMoB9Pyk5zJNDLLuKQdG9T7YuK32pvxA9aV2kMCfLItp54uGyZrpgltw iCiA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1759912119; x=1760516919; 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=OifoNvdWUvVz1qHCNeTwOsRbnki2weR8++KzH+uzE4Q=; b=K7bR2A4F7uY/nTlwBRw11NtWbQIDQ77vs83aMstgY2Wv6cKODAOQD6JrGymYxXqtfE pnfWVVM7hgdmcAHzokdcY/WwzJjnYg5I/RZDYe05ZJcbuuIc/PvlpmOVk8XPwRNVO9F5 w3oyHOaL8T9ce7O5fYc2WAsMqnj7vJLwE1/zAEKRk+0Wz93D75QaBRD439ciY+lLyVGl tPaIFQcnyh80/uDYVL1nRBcuxHOTfed7m8wM9hq8bN4VHXRcXprpk4kFSKTA5QZaYzHx +KP+hfIYUEM3det0lBSpJ/wKFyMd+LUOo1yYub6GnCJqxVksUVWiil9bklaCB4f8c8za fANw== X-Forwarded-Encrypted: i=1; AJvYcCUQE3QzXt9Xy4kRrjxH5MVUzmWU814bejtP0YK28SSvdqZ1juCxL+rjtq2hmmJ518ad+9qSxP4kO5JN3Q==@vger.kernel.org X-Gm-Message-State: AOJu0YxDwo3VK4GPThn3Y5A6KsewRpCQS9ILlW8gDQMVwDeCkqFaN77s E54A6QHbJ1Ws1nyAcZp3fswhv8E4ii5tnGd9JCHQwTlGkldUiE+cdm+F X-Gm-Gg: ASbGncts7EPQrD1AGusEyUL3wP/ctzxjgMHiuymqqbiXaWAV6zdO+KJvkPqxoUeFADj Kqj1ZII6RxbAwfqEoVSpxetrOJ7Zr9xSPqd5Fde1vUYFJucf0jwFlqR8ezeE4Qo0QVDWqhjp/lJ eRSSP2iv9/qsM6Co7gISQdtWs/Tlj3terR9JPAMlUz+Al50zbH4RMTEmiXJekjgBkgnThoV/NWX ICl004E/9UMNyGXqIZHfjsJgHcv7kMGxOy9B9evxCJMVLCufXaRQQ7olMTEVt9InE3OfGfEeUYP wYo85x4Xx/Srr9XfsJRiwD3m0Rzf4TRDIqI5I2PzSQbgekCELKNX0XJaHp7bO0cidTIQGacA5Zp WGPrEc/r2GdCwv0flvJXSgGYtzLACuDy3a+PP4sMYB0t8fEDi X-Google-Smtp-Source: AGHT+IHfIjb+vp+D8iidYlh2VgbHqf5szlozN2l0NR3ftIsB0ghBzmQUoPOzH+DwkkgGa53YEvsiXQ== X-Received: by 2002:a05:6512:31c3:b0:583:9860:1405 with SMTP id 2adb3069b0e04-5905e1d2d85mr1863965e87.4.1759912118491; Wed, 08 Oct 2025 01:28:38 -0700 (PDT) Received: from xeon.. ([188.163.112.70]) by smtp.gmail.com with ESMTPSA id 2adb3069b0e04-58b01124649sm6968733e87.15.2025.10.08.01.28.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 08 Oct 2025 01:28:38 -0700 (PDT) From: Svyatoslav Ryhel To: Neil Armstrong , Jessica Zhang , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Simona Vetter , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Thierry Reding , Jonathan Hunter , Douglas Anderson , Svyatoslav Ryhel , Sam Ravnborg Cc: dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-tegra@vger.kernel.org Subject: [PATCH v2 1/7] dt-bindings: display: panel: properly document LG LD070WX3 panel Date: Wed, 8 Oct 2025 11:27:53 +0300 Message-ID: <20251008082800.67718-2-clamor95@gmail.com> X-Mailer: git-send-email 2.48.1 In-Reply-To: <20251008082800.67718-1-clamor95@gmail.com> References: <20251008082800.67718-1-clamor95@gmail.com> Precedence: bulk X-Mailing-List: linux-tegra@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit LG LD070WX3-SL01 was mistakenly documented as a simple DSI panel, which it clearly is not. Address this by adding the proper schema for this panel. There is only one user of this panel binding in the mainline Linux kernel, which is the Nvidia tablet Tegra Note 7. Its panel is broken anyway since it cannot initialize properly if the bootloader does not leave a pre-initialized panel. It also cannot suspend or re-initialize properly, since no DSI configuration is set and it has a loose regulator which relies on an always-on property rather than being hooked to the panel where it belongs. Tegra Note 7 device tree is adjusted as a part of this series. Signed-off-by: Svyatoslav Ryhel --- .../bindings/display/panel/lg,ld070wx3.yaml | 60 +++++++++++++++++++ .../display/panel/panel-simple-dsi.yaml | 2 - 2 files changed, 60 insertions(+), 2 deletions(-) create mode 100644 Documentation/devicetree/bindings/display/panel/lg,ld070wx3.yaml diff --git a/Documentation/devicetree/bindings/display/panel/lg,ld070wx3.yaml b/Documentation/devicetree/bindings/display/panel/lg,ld070wx3.yaml new file mode 100644 index 000000000000..0a82cf311452 --- /dev/null +++ b/Documentation/devicetree/bindings/display/panel/lg,ld070wx3.yaml @@ -0,0 +1,60 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/display/panel/lg,ld070wx3.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: LG Corporation 7" WXGA TFT LCD panel + +maintainers: + - Svyatoslav Ryhel + +allOf: + - $ref: panel-common.yaml# + +properties: + compatible: + items: + - const: lg,ld070wx3-sl01 + + reg: + maxItems: 1 + + vdd-supply: true + vcc-supply: true + + backlight: true + port: true + +required: + - compatible + - vdd-supply + - vcc-supply + +additionalProperties: false + +examples: + - | + #include + + dsi { + #address-cells = <1>; + #size-cells = <0>; + + panel@0 { + compatible = "lg,ld070wx3-sl01"; + reg = <0>; + + vdd-supply = <&vdd_3v3_lcd>; + vcc-supply = <&vcc_1v8_lcd>; + + backlight = <&backlight>; + + port { + endpoint { + remote-endpoint = <&dsi0_out>; + }; + }; + }; + }; +... diff --git a/Documentation/devicetree/bindings/display/panel/panel-simple-dsi.yaml b/Documentation/devicetree/bindings/display/panel/panel-simple-dsi.yaml index 9b92a05791cc..f9f1e76a810c 100644 --- a/Documentation/devicetree/bindings/display/panel/panel-simple-dsi.yaml +++ b/Documentation/devicetree/bindings/display/panel/panel-simple-dsi.yaml @@ -42,8 +42,6 @@ properties: - kingdisplay,kd097d04 # LG ACX467AKM-7 4.95" 1080×1920 LCD Panel - lg,acx467akm-7 - # LG Corporation 7" WXGA TFT LCD panel - - lg,ld070wx3-sl01 # LG Corporation 5" HD TFT LCD panel - lg,lh500wx1-sd03 # Lincoln LCD197 5" 1080x1920 LCD panel -- 2.48.1