From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id BE40F60A262D for ; Wed, 25 Nov 2026 03:28:19 +0000 (UTC) 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=E2I8qpDj Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id EA69210E20B; Wed, 25 Nov 2026 03:28:13 +0000 (UTC) Received: from mail-wr1-f45.google.com (mail-wr1-f45.google.com [209.85.221.45]) by gabe.freedesktop.org (Postfix) with ESMTPS id 9F8DD10E20B for ; Wed, 25 Nov 2026 03:28:07 +0000 (UTC) Received: by mail-wr1-f45.google.com with SMTP id ffacd0b85a97d-4a358881793so2688721f8f.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=lists.freedesktop.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=E2I8qpDjf+xR/EZoALtlTVESVWKFru0w3efeWtH6eXl3tzCXG7KhoSYBc30zXyKKKZ 5Vd1dNNvkUexPncN8OgnaNUC5mTI6miUhgy/uaAPTI9VdwhNo7EgXGBQzK2vS2DYISMn kUcgp4eFgHVdyceBMV7ANazQgBW2jrZquIu3axGMQHcnJ5vYX2RcngFQ1hHmS9+K79SA 5jugytsC4LefnEYxMkkDm4kdNad9fSCvRfqJZNimIsWBOd1VjZrzr3EZv8aHREKgJiIF P2WtZKeYYIYyIZVY7NwJ5bjM346h1+XuUcUSYxtGrOcjalq3VOKvQsRFxYxvcon+I2pF W7eQ== 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=CbNeikg35AQFDOhFMSzFdovnniT/NGTIlHcuzWDruFmKQ52W0wRqZerMjzobzMqKJY 1Y8yd53oPdD7KMFA0DkR7cn7ST0EfKh/k7XNp25Xx7qfuo5B4JjxMN0RNuvoTh0sRaHL mqWdyG3Gpd1wnBxfSneepULuMqVfIfMe8qrOLIHsrYyj4VDXbOR5lUXFtd1zlHo0516w TXcwp8Tt3NU2iO8YxyTGqUKYs9qfN+FA++ov554X+tQbzAItQahUGDAvLm4fBUHwYG9n cj8F+k7ggDAUfmQMIZ4Hax1+lCMsoB3oyBlYhYlPOVRrLK+fS9qsAxSCCC4itkbGzbC/ /5Yw== X-Forwarded-Encrypted: i=1; AL+hErGucjoWF4FeZ4Y7QkQYSTf3OSYut8EOiUAu5/RAfNYGQ5E+u7yF+pTS7144uqB1upddXPtXa+2AJSc=@lists.freedesktop.org X-Gm-Message-State: APuU4Z8lLN65ID1QuYzIkcP9aW6Yc2v7H97GPAiPBr0Ib6tkIDQrU3XR hvOMFbJoiaEQZxEKkVPPaLeMmWK9gN1qGKPlDw4dqYlepQft/cP4wYgc X-Gm-Gg: AZFdTZd0xZQ2mL6Xp+F4ravW1eOsaF+A75WBqlO6qa+9LOJO4MN0vid1IZDtvwVC9WK xHk8uuzAv8OCjgdeQ/ogiH29v8eDZeWFal1zHQQEIZj3dGdAOo1hgIVTfkvkO+AoLjMVYoA/hRF GHevN/oRyZNAWOsRwBMm0BnqyWG3rj3lBX9ZoH34VfmUv388Xe2MmWck2pmgKkhYxwRkSkD0sIj 1zF6IT8O4nx52LbCpzb4hTPUdl3NTVz5EE3OUOb5ad6BiuB5t35iOTbp2ta95qzhRQn0OX+w09Q g2CDKc/wPSrZ9peDvVozTP0Ib0WLZSgxlJueZPIlWk9r9LiJ6gN+juPGuoHsDiKNUnmYC6h/WJ5 ElhPa7zKyIc7pnuUYQF/mgc6V5jdzJLmd9MwhmXH8/TODJQaIDj0UEJmV7uZIYluUzPrhkpWf8I 8PXfahirQQ9uPRhBwclSK4aajGBAjcsHEFVCWbD6DMKUvK3eRFUwG5MuwQNwWZAaa5sIkCntOyC 79fBzaB61bfBnPZ5kuk57q3S2my/icw6zep3YUoN8zPTXh8iqjj1j3D9zTEQVNMK8oubauglSNN HSKEDXG90GSxAFutMiCJWFJfcHmCfqWK81gMfRbI4PaAY9qBcKpR8ZZ8EEcrN/ax57Px5E/dwrU jjmgzTmHWCF82KDfW129QolCr6+VrOYo= 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-Archived-By: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "dri-devel" X-Spam-Status: No, score=-9.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FORGED_GMAIL_RCVD,FREEMAIL_FORGED_FROMDOMAIN, FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=4.0.1 X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-26) on aws-us-west-2-korg-listserv-alma10-1 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