From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=209.85.221.48 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1795577287; b=Yl+ZJ7Hdtf+FjGCnpIDhOzXSpLxcAk0Q0P2XLrerjTm0bMI1OErrXY8w8uNjqdWCQfo9 OCXjz4lx/V/ZaAlohTH5UDE0PeATMzc9u1oPZ0Yk2jBn8IBnzQ1sGCn8qAIs4NMJCFsiS K9hingAt4oNSQmAGiVFc1emFPzyihC6kEner5ncjeXDUGhKDDmbDuK0KK0w5Az9oxI9O/ t21pqmAzWQluqNaETy/fYlVYOptc/uEQ4xdrgfNSJ9gsKvT87P2kWhxn4aMUukGbnLeEU Iqlv6R/GHl9SjUQcWrLARZ/5Tne7fFq1tx5YBQVXbE/RnhRBOda6iXKmiOXdKqCDGJg== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1795577287; h=DMARC-Filter:Received:DKIM-Signature:X-Google-DKIM-Signature: X-Gm-Message-State:X-Gm-Gg:X-Received:Received:From:To:Cc:Subject: Date:Message-Id:X-Mailer:MIME-Version:Content-Transfer-Encoding; bh=dpKHKp5gi/qM6hKt27rQ9y+edS7uM9GiXWQmWnCs2Fw=; b=q/N4INaBKOZcgfCmp6/aYhjXHcaxGMNbOVubbwRzhLij+AAYqnTmm0LkoqhwvaJu9Yrp daRkl9nIM1MhKPbK2KuBqw67shqafLFePGkwnYk/PkuhZr9o0z4hNI/jLBnXtSavFKEmR e083omiwKm4w+xa0JYIAC8CgtptczPL5JR6AoyLGedflZ9KxXwwoYYlMqtl6rmi3V5uaN rOLv0LNrbnFRkxI8LNrxtOY8C+98RiJdsO+edhIHTULYuMQZh3gXOVEwkI3DWDxj8ScxF WLhn+lNiHwuiopj4wdhI0p5gBRZrajERckGn+n2yMY0n6NQDvs8h4r29d4XgxZb1A7A== 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=m5B5my3P; arc=none smtp.remote-ip=209.85.221.48 Received: from mail-wr1-f48.google.com (mail-wr1-f48.google.com [209.85.221.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 856AD606A321 for ; Wed, 25 Nov 2026 03:28:07 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 856AD606A321 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=m5B5my3P Received: by mail-wr1-f48.google.com with SMTP id ffacd0b85a97d-4a358881793so2688720f8f.0 for ; Tue, 24 Nov 2026 19:28:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20260707; t=1795577286; x=1796182086; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to:content-type; bh=dpKHKp5gi/qM6hKt27rQ9y+edS7uM9GiXWQmWnCs2Fw=; b=m5B5my3PBu4I/zhSUkINaBK0fHEks56PAJ4ijM+dXcC6bKxvHw78DrNDLJqSAKC58V fgf16aZD3BhhPTy6PH+WFOM2TaExa+gOr3wmTvHPdA+KjZlYUpBjMXubVb3kttdDTRxo tPIR7McPF8YcjKs27pc9m7zCVxf6C91+DCrI/iALC9BsnDx/17tXrgnXUOCmGgg6gZnJ ZZzdr70BEIaD5agOPFnYmpifxIiETqJzPBQT5JbHZZkHfPxKP0TgbqaSwm1eOSm9/f00 x2NLY5SECwQtiwwdIeiQOnycxNJbxj8lkZYKAfWK4W0C27HTpFF9owAWSr8f8U1x3en7 zEJg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1795577286; x=1796182086; h=content-transfer-encoding:mime-version: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=dpKHKp5gi/qM6hKt27rQ9y+edS7uM9GiXWQmWnCs2Fw=; b=WDGgnLgNIsflC0ETmBmd9gND2RRz799DLl18XfSDkXdju0Wk8wfzQYJgrY97WOcDn6 PsKyW9T4Rjs8o+6xw5MIb8qHhmEoJRPwQNkseCEwG7dPWnnNDMnRwoJ13BTZ7HgX6M7R k3wxhzg5eeg6BXP6LRXZDvepZH2OnM04KHLsmZClkcafKpm4j+YnQGpWk9qCgpyfGRsA WJlymaht5Ev/4b4zlwnsBpXp5BJhdNjCk5+Rnzz+3vPU17aufa+YSODot41n01F0NhCC ZZ3sRTCWdFwU8VlwPAVz4mlw6oeWrmH1KDt1keQaTPl6z2sE2hDiiOjB7Jt0Q5efxd/a w09g== X-Gm-Message-State: APuU4Z9afBu0z9fJaM8IN2akwFe40/uSja1ESrQ5H9lKR9/mtwxsqurP yqtuiS9jHwTKOHtEpwQxpVeC7GnD0VYtkL7+DhlURR/Dws2/PojIkdvvaQrbAdva X-Gm-Gg: AZFdTZcQaHAcM1Va9sX4ua95WqXXZ3PiyLdpWeATjexzRn+kfC53m6uch9h5U3Fepmy Kx9CMLbejNKgcqQmY1cTjD9w4Qr1TDH/PY8TeKcIxJX1DYlqe+a/0yGvDNXcT9qPAl3h6XJ1as0 /PPLPdK9e6Y7r886meGWwMpOBzWvSoSgWpqMEV6ljLoTuazmMbUUbF16XAPxr+kOjKLtWo0UItL a/8zHl1v8onncQC1hdBLicpzJnIOj42xTSE6N4CDhnOrI1HnN6osX5muLLxc1ld0Y9/fE6jsX5C vkmW4WL/LzX0Opc41/eyiAHUDsqi9JkZvh5t0DdCIY9pnB5cW9+UhhRpxgkFWQQySheLfGpQwP3 /Xgzg90F+u4ItI/b9x3ITYDDjhNio2OgJkRq/nsV3rO4L70iqIrfPv58HL2sax0hvshpGIW+ikb +2SbmXTyKTwVvh56sNKsUhkibOHzNUen3DzHQn36llFSlY7iNVlueOl1qUjD1KPvB4Y3j/+3CMN g5qz+cZEC2/iT5mI0MJ02flWYUrObXIqZUpiCbK9+PNkpHGbUkIY78ocjHZHVlFnaoUnAM9N4t0 CcCKz7GQ/kotJ1S0M9XBl2UmOsa/FX8nPOL0N2Mi9IaG3zQp5RDxt1/7lDsV7Wde0OvuCvzX9t+ ZDtMkzoaMjyoFEd5qgMHyB99vxX2coEM= X-Received: by 2002:a5d:64c9:0:b0:4ae:c8ff:2302 with SMTP id ffacd0b85a97d-4aec8ff24c1mr23040437f8f.49.1795577285648; Tue, 24 Nov 2026 19:28:05 -0800 (PST) Received: from DESKTOP-BJ3EVC4.lan (178-164-182-185.pool.digikabel.hu. [178.164.182.185]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-4ab6a67fe48sm28918822f8f.23.2026.11.24.19.28.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 24 Nov 2026 19:28:04 -0800 (PST) From: Abdur Rofik To: linux-arm-msm@vger.kernel.org Cc: devicetree@vger.kernel.org, phone-devel@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-input@vger.kernel.org, linux-kernel@vger.kernel.org, Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Neil Armstrong , Dmitry Torokhov , Abdur Rofik Subject: [PATCH v6 0/6] arm64: dts: qcom: add LG V60 ThinQ 5G (timelm) support Date: Wed, 25 Nov 2026 04:27:56 +0100 Message-Id: <20261125032802.8460-1-rofikcoga@gmail.com> X-Mailer: git-send-email 2.39.5 X-Mailing-List: linux-arm-msm@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 This series adds initial mainline device tree and driver support for the Qualcomm SM8250-based LG V60 ThinQ 5G (timelm / LM-V600) smartphone. Hardware features supported in this stage: - Base board devicetree (sm8250-lg-timelm.dts) - PM8150, PM8150B, PM8150L, and PM8009 PMICs and regulators - UFS 3.0 storage and MicroSD card slot - GPIO keys (Volume Down, Assistant) and PON keys (Power, Volume Up) - Simple framebuffer (continuous splash handed off from bootloader) - Adreno 650 GPU with GMU and zap shader - LG SW43103 1080x2460 DSI command mode AMOLED panel with DSC - LG SW42902 I2C touchscreen controller - PM8150B USB Type-C controller in sink mode with USB-PD and orientation switch - QCA6390 Bluetooth HCI controller on UART6 Changes in v6: - Series structure & DTS: - Squash all board DTS additions (base board, panel, touchscreen, USB Type-C, Bluetooth) into a single commit per review feedback. - Reorder series so DT bindings and drivers precede the board DTS. - Sort root and &tlmm child nodes alphabetically in sm8250-lg-timelm.dts. - Board binding (Documentation/devicetree/bindings/arm/qcom.yaml): - Collect Acked-by from Krzysztof Kozlowski. - MAINTAINERS: - Drop the individual board entry for LG V60 ThinQ 5G (timelm). - Rename the touchscreen entry to LG SW42902 TOUCHSCREEN DRIVER and order entries alphabetically. - Panel binding & driver (lg,sw43103): - Drop redundant literal block indicator '|' from description in lg,sw43103.yaml. - Clarify vendor as LG only: drop boe,sw43103 compatible and "LG / BOE" wording across binding, driver, and Kconfig. - Touchscreen binding & driver (lg,sw42902): - Rename schema title, description, Kconfig text, input device name, and MODULE_DESCRIPTION from Silicon Works SW42902 to LG SW42902 for vendor consistency. - Drop redundant literal block indicator '|' from description in lg,sw42902.yaml. Link: https://lore.kernel.org/r/20261120155450.7719-1-rofikcoga@gmail.com Changes in v5: - Touchscreen binding & DTS: - Replace separate interrupt-parent and interrupts properties with interrupts-extended in the lg,sw42902 binding example and the touchscreen@48 DTS node. Changes in v4: - Base Device Tree (arch/arm64/boot/dts/qcom/sm8250-lg-timelm.dts): - Drop vendor brand prefix "Google" from the assistant key description per review feedback: rename google-assist-state to assist-state, google_assist_state to assist_state, and update label to "Assistant". Changes in v3: - Base Device Tree (arch/arm64/boot/dts/qcom/sm8250-lg-timelm.dts): - Model PM8150L SMPS6 as top-level fixed regulator smpc6-regulator (0.88V) rather than in regulators-1, because PM8150L SMPS6 is an ARC level resource (ebi.lvl) and querying it via VRM causes rpmh_regulator_probe() to fail with -ENODEV. - Drop conflicting memory-region reference from framebuffer@9c000000 to prevent simple-framebuffer/simpledrm driver warning and mapping size mismatch with reserved memory. - Add board-specific firmware paths for CDSP (qcom/sm8250/LG/timelm/cdsp.mbn) and GPU ZAP shader (qcom/sm8250/LG/timelm/a650_zap.mbn). - Drop duplicate sdc2_sleep_state pin configuration from &tlmm (already defined in sm8250.dtsi) and redundant &pon { status = "okay"; }. - Adjust ramoops pmsg-size to 0x100000 (1MB, power-of-two) to prevent kernel round-down. - Drop unused header. - Touchscreen driver (drivers/input/touchscreen/sw42902.c): - Fix potential unbalanced regulator disable in error and unbind paths by registering devm_add_action_or_reset() after sw42902_power_on() succeeds. - Guard sw42902_power_off() when suspended to avoid calling regulator_bulk_disable() while supplies are already turned off. Changes in v2: - General / DCO & Identity: - Replaced account handle "rofikkerneldev" with real name "Abdur Rofik " across all commit authors, Signed-off-by trailers, MAINTAINERS entries, and copyright headers per Documentation/process/submitting-patches.rst. - Replaced un-documented "lge" vendor prefix with documented "lg" prefix across devicetree bindings, compatible strings, and dts files. - Devicetree bindings: - Added lg,timelm compatible in arm/qcom.yaml. - Added lg,sw43103 panel binding with enable-gpios and vddi/vpnl supplies. - Added lg,sw42902 touchscreen binding with vcl-supply and vdd-supply. - Device Tree (arch/arm64/boot/dts/qcom/sm8250-lg-timelm.dts): - Renamed file to sm8250-lg-timelm.dts matching vendor prefix. - Reserved memory: folded cont_splash_mem and log regions into base dts; sorted all nodes by ascending unit-address. - Ramoops: adjusted size allocations ensuring panic dump space is kept. - Regulators: dropped unused LDO4 from PM8009 regulators-2 node, resolving the invalid 1.05V constraint failure. - USB QMP PHY: corrected swapped supplies (vdda-phy to 0.9V l18a_0p9, vdda-pll to 1.2V l9a_1p2). - GPU: enabled &gmu alongside &gpu to ensure MSM DRM component binding succeeds without -ENODEV in a6xx_gmu_init(). - SDHC: added complete pinctrl states (sdc2_default_state, sdc2_sleep_state, sdc2_card_det_n) to &sdhc_2. - UFS: added regulator-allow-set-load and regulator-allowed-modes for dynamic load scaling. - Panel: added enable-gpios to panel@0 node; sorted display nodes alphabetically. - Touchscreen: used fixed regulators reg_ts_vcl and reg_ts_vdd for power supplies instead of raw GPIO toggles. - USB Type-C: replaced PDO_BATT with PDO_VAR(5000, 9000, 3000) to ensure valid 9V/3A PD sink requests without clamping to 600mA; added OF graph ports connecting DWC3 HS and SuperSpeed QMP PHY orientation switch. - Bluetooth: corrected QCA6390 PMU voltages by setting smps6 (0.95V) and smps8 (1.35V) constraints. - Cleaned up unused dt-bindings headers and enforced strict alphabetical ordering of all referenced label nodes. - Panel driver (drivers/gpu/drm/panel/panel-lg-sw43103.c): - Removed redundant manual unprepare call in sw43103_remove(). - Guarded sw43103_backlight_update_status() against execution when unprepared, avoiding unsynchronized DSI DCS writes. - Removed hardcoded full brightness writes in sw43103_enable(). - Expanded Kconfig help paragraph to 4 lines. - Touchscreen driver (drivers/input/touchscreen/sw42902.c): - Converted GPIO power controls to standard regulator bulk supplies (vcl and vdd). - Pre-scanned for palm touch reports before queueing MT slots. - Used named initializer in struct i2c_device_id table. - Followed input subsystem error naming conventions. - MAINTAINERS: - Added entries for LG V60 ThinQ 5G, LG SW43103 panel driver, and Silicon Works SW42902 touchscreen driver in strict alphabetical order. --- Abdur Rofik (6): dt-bindings: arm: qcom: add LG V60 ThinQ 5G (timelm) dt-bindings: display: panel: add LG SW43103 drm/panel: add LG SW43103 panel driver dt-bindings: input: touchscreen: add LG SW42902 Input: touchscreen: add LG SW42902 support arm64: dts: qcom: add LG V60 ThinQ 5G (timelm) support .../devicetree/bindings/arm/qcom.yaml | 1 + .../bindings/display/panel/lg,sw43103.yaml | 67 ++ .../input/touchscreen/lg,sw42902.yaml | 72 ++ MAINTAINERS | 13 + arch/arm64/boot/dts/qcom/Makefile | 1 + arch/arm64/boot/dts/qcom/sm8250-lg-timelm.dts | 815 ++++++++++++++++++ drivers/gpu/drm/panel/Kconfig | 13 + drivers/gpu/drm/panel/Makefile | 1 + drivers/gpu/drm/panel/panel-lg-sw43103.c | 586 +++++++++++++ drivers/input/touchscreen/Kconfig | 13 + drivers/input/touchscreen/Makefile | 1 + drivers/input/touchscreen/sw42902.c | 360 ++++++++ 12 files changed, 1943 insertions(+) create mode 100644 Documentation/devicetree/bindings/display/panel/lg,sw43103.yaml create mode 100644 Documentation/devicetree/bindings/input/touchscreen/lg,sw42902.yaml create mode 100644 arch/arm64/boot/dts/qcom/sm8250-lg-timelm.dts create mode 100644 drivers/gpu/drm/panel/panel-lg-sw43103.c create mode 100644 drivers/input/touchscreen/sw42902.c -- 2.39.5