From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=pass header.oldest-pass=0 smtp.remote-ip=100.103.45.18 ARC-Seal: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=pass; t=1796154293; b=JOJDhCA71yjxbbDabUEZCT9iN5eoPzQFJEeVnqV3Z752ibq8InrgBRsmioSEZvx0RCH1 uDQLzRWunT+UkxBxo9Y1facg5aPCpNBj0IV3Q8tl5M77QwWbjroiq99UAa9rhrvIO1hKk KdCX4+Z6S4GS/MbW2ZNHyUy+Re5g/YflFJVd69L43756IhSfb6Uhdzcr4Wpq9sKUfNd+r tu5i1gdQbFvAia9U3dZKJv3bLKImQoApW4YpqPS9GMtJfcEC8k7TztrhOMXKwJuqJU8dJ 2wctUhS4xs4GUpct5atbaUo6MrVhR+QoCaK5OUpd9dxES8eDWft3qic5GNI3KD9YUjA== ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796154293; h=Received:DKIM-Signature:Received:From:Subject:Date:Message-Id: MIME-Version:Content-Type:Content-Transfer-Encoding:X-B4-Tracking: X-Change-ID:To:Cc:X-Mailer:X-Developer-Signature:X-Developer-Key: X-Endpoint-Received:X-Original-From:Reply-To; bh=I64FonkyST5StjvWQ5UXY+NzqKadQfN5KA26hLfy/+o=; b=s1AlDQjlwX3z2j0hwKpoRiz5MVyqxbCQR2NZGhQmcTTDsNYHigeGF5RP05DyneOM+O7K rJTK7Rc6OqFQ6ND5MAgKMPesoagpb7CP6K5S4AqLHxeGUiFz2RQrsqsttO5PmO65JKmsr bU3rg4Fsj45zPn5murwOe7RShpVD9U97j9W/AKkC3+iKeSCbOLFcFfFTZLCAH6lL/2ZSJ GF+LNFBvxEtRc53goFda3IALLVag3KbIVGN7UtRNz0nv4t28tnybR4qPktuoRB3t1PSOv 64/L8198WTP8o32vi/O8ewptieu7olIIdLef/vKB0RmEdPeTglI+zwAi8DXkVTJr8pw== ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=mzR0CTrH; arc=pass header.oldest-pass=0 smtp.remote-ip=100.103.45.18 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 61164606A6AE; Tue, 1 Dec 2026 19:44:53 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=mzR0CTrH Authentication-Results: smtp.kernel.org; arc=none smtp.remote-ip=100.80.115.77 ARC-Seal: i=1; d=kernel.org; s=arc20260519; a=rsa-sha256; cv=none; t=1796154293; b=WLpeSFTJHr8hdlnFsrXXp28+j1GA06u/Q3MEimDlD8KNDTO1gN1v4TTStOFWGxSDXzxe sCNJEO+c+dnP7GNBful7nrId6wcaF5XDcmylg4Myl2fXSPlL3riCIw72A9qgbcgc480Xl wNOxaxcvvvx6rmQIcfh1BqghjuiJItM3VFWFIoBwcQjyR0gppme8EymAYYfruNHKp0CQG 0zUMrAS9pDnukXbLywHFiA8+7crDxNrjmI42Ftjxkq7JBteABfj4HHZ5Eg02P9Ew5Htoz 65GBYRomzQYyYonzEPTeoJ/m04JD8cMNrBmWo3PY84WnqqJihpWjG4dC5V4GToX8QXQ== ARC-Message-Signature: i=1; d=kernel.org; s=arc20260519; a=rsa-sha256; c=relaxed/relaxed; t=1796154293; h=DKIM-Signature:Received:From:Subject:Date:Message-Id:MIME-Version: Content-Type:Content-Transfer-Encoding:X-B4-Tracking:X-Change-ID:To: Cc:X-Mailer:X-Developer-Signature:X-Developer-Key:X-Endpoint-Received: X-Original-From:Reply-To; bh=I64FonkyST5StjvWQ5UXY+NzqKadQfN5KA26hLfy/+o=; b=fbwy77Wztw2whFWsTIZZD2mE+O7QwfXHaXVxPqUWhzGqjjIEMVRmHrLFEparD/PkTaMH UKwMUvJkB+xi13/QA0WbJiNDU/ku/cTesNt/R9SsEGh3pkYGqpa61rHV4pShHKj3JLav7 bN4E86xs8By1Z6eRLL/PIJl2MYGiN8aX1gec8fcqAa/Euq72ubpHYNyZ937z/D6uTPo0K RDBNFPfYpJTuJAN2j8Q74O6rVs/yRE79SYRsQHkwDnNmPsOVuSSY0uA92+S0znq2G5Oie xqixOkux76WPJtcWRZAuU8hs7+ioHGm4cykDQzmCyGlrrhRuJEXcpI+juLASOfpFCGQ== ARC-Authentication-Results: i=1; smtp.kernel.org; arc=none smtp.remote-ip=100.80.115.77 Received: from lkml.kernel.org (nexus.subspace.kernel.org [100.80.115.77]) (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.kernel.org (Postfix) with ESMTPS id 7C0471F00893; Tue, 1 Dec 2026 19:44:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1796154292; bh=I64FonkyST5StjvWQ5UXY+NzqKadQfN5KA26hLfy/+o=; h=From:Subject:Date:To:Cc:Reply-To; b=mzR0CTrHItD+RHPnfBsgqotyquuor0tm+lqQq9CJMhsEGNuUfxbYEC/hqtOgN4Kht 3OyMFvvNeJEV3TT+t2fGTiN1cCwlwgR7Yp8P5OgC4c7MoR/gqalJE88Z534TauAjA0 xYrxgmRPOgBxcudhbEfMjlM7Qb6VipHtd46To+DuhFWVIv37uPD1mAcY+s50ELYS5i JJWrEnolvSFusovYAYpwB96tBHNj4bTew4h++rWpthKKZECIoRdLiopPhcr9cJ6X52 n4x1RMdl7wlclnnd7ZxNm4oj8GpufltD7QGS4bdFLuk0z4QmuA6KPe2oUQzQUNcy3I XyUtjARah3JdA== Received: from nexus.subspace.kernel.org (localhost [IPv6:::1]) by lkml.kernel.org (Postfix) with ESMTP id CC2CF4F033; Tue, 1 Dec 2026 19:44:42 +0000 (UTC) From: Muzaffer Kadir via B4 Relay Subject: [PATCH v9 0/8] Add Initial Support For MSM8952, Add General Mobile Shamrock Date: Tue, 01 Dec 2026 22:43:42 +0300 Message-Id: <20261201-msm8952-initial-support-v9-0-06eea7c97f69@mainlining.org> X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-B4-Tracking: v=1; b=H4sIAAAAAAAC/33RTWrDMBAF4KsErasyM9ZvV71H6UKWxo4gsY2dm paQu1cOpTXUzvKJ0TcP5iomHjNP4uVwFSPPecp9V4J/Ooh4DF3LMqeSBQEZ8ODleTo7r0nmLl9 yOMnpYxj68SINBNA+EqNmUX4PIzf58y6/vZd8zNOlH7/ui2ZcXn9MpF1zRgkS2CrS1tWa1Os55 O5Uxrr2uR9bscAzrTGzj1HBrHexzFFKjJtYtcII97GqYLU3TaoaJu/qTUz9YgjwoJkqGMcUI4Z oCOImplcYPmimC4ZOW7DKe+JtzKwwcvuYWZqBTSm5OjZqG7MrrIJ9zBYsJKtciFxZnTYx94ch6 H3MFaxCDOzYNaj+H+B2u30DYPTFdN4CAAA= X-Change-ID: 20260909-msm8952-initial-support-60a059c2e15e To: "Joerg Roedel (AMD)" , Will Deacon , Robin Murphy , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Konrad Dybcio , Bjorn Andersson , Jassi Brar , Abel Vesa , Stephen Boyd , Brian Masney , Jerome Brunet , Rob Clark , Dmitry Baryshkov , Abhinav Kumar , Jessica Zhang , Sean Paul , Marijn Suijten , David Airlie , Simona Vetter , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , Krishna Manikandan , Mathieu Poirier , Manivannan Sadhasivam , Kees Cook , Tony Luck , "Guilherme G. Piccoli" Cc: David Heidelberg , phone-devel@vger.kernel.org, linux-arm-msm@vger.kernel.org, iommu@lists.linux.dev, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org, dri-devel@lists.freedesktop.org, freedreno@lists.freedesktop.org, linux-remoteproc@vger.kernel.org, Muzaffer Kadir , Krzysztof Kozlowski , Konrad Dybcio X-Mailer: b4 0.15.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1796154276; l=5858; i=muzafferkadir@mainlining.org; s=20260816; h=from:subject:message-id; bh=Q4TaHBPBzfdAOI0EoHMesFMjZD+uuMRxq95iJNJmMoQ=; b=v3RJ2Kb+IJ4s4yAjzh/M5tHFQ9plFXXgNV/PQ/xse1WdznGSmMBgJWZdNRzVxY32UaSiLWSvy 12w6wZoDYzKB3VcaeTI9h7kY9vjwbuuysIUMFTLSqufxvoC+Ehd1dgb X-Developer-Key: i=muzafferkadir@mainlining.org; a=ed25519; pk=4zkv4suQ3cYcO4Z7CrV8JSSjEGLBGepUtvQCFjgnYIU= X-Endpoint-Received: by B4 Relay for muzafferkadir@mainlining.org/20260816 with auth_id=954 X-Original-From: Muzaffer Kadir Reply-To: muzafferkadir@mainlining.org MSM8952 is a SoC with 8 core cpu and Adreno 405 gpu. Ported without uart connection. ramoops and usb mainly used to debug. USB is not enabled in this series because it depends on the not yet upstreamed (and not developed by me) pmi8950_smbcharger. General Mobile shamrock display panel driver is generated using MSM8916's mdss dsi panel driver generator and tested with it. I didn't include it. Pinctrl driver was submitted and merged here: https://lore.kernel.org/all/20260907-msm8952-pinctrl-v5-0-9a2d8d72ffdb@mainlining.org/ Signed-off-by: Muzaffer Kadir --- Changes in v9: - Drop applied patches - Rebased to next-20261201 - Link to v8: https://patch.msgid.link/20261105-msm8952-initial-support-v8-0-311ae8e8f14b@mainlining.org Changes in v8: - Change USB ASYNC and USB to USB DP and USB DM on mpm (Konrad). - Removed mdss mpm as I saw problems related to it on my last tests. - Changed thermals cooling maps from hot point to passive point (sashiko). - Added tbu clock to mdp and gpu_iommu. (Konrad and sashiko). - Dropped the "assisted-by LLM" from the msm8952.dtsi patch. - Link to v7: https://patch.msgid.link/20261030-msm8952-initial-support-v7-0-ad748ace375d@mainlining.org Changes in v7: - Dropped the tsens sensors which was renamed at v6 and l2 sensor. - Wired mdss mpm (sashiko). - Changed size of master_stats addresses that exist on rpm_msg_ram from 0x14 to 0x50 (sashiko). - Renamed crypto_dma and usb_dma to cryptobam and usbbam. - Changed device dts, si-en led label property to color and function properties and replaced multi-led function from indicator to status. - Fixed hexagon_smsm interrupt, also added adsp_smsm. - Added opp-tables to sdhci_1 and sdhci_2. - Link to v6: https://patch.msgid.link/20261028-msm8952-initial-support-v6-0-e07ddd8bcf4c@mainlining.org Changes in v6: - Use one-per-line in SoC dtsi as Konrad requested. - Drop unneeded dr_mode in usb as Konrad requested. - Drop 1651200000 from pll_opp_table_c1 as Konrad requested. - Added new patches for more msm8952 specific compatibles as Konrad requested. - Renamed 'aoss0', 'modem', 'camera' sensors to generic names as Konrad requested. - Drop clock-frequency from timer as Konrad requested. - Switched passive and hot of cpu0-3-thermal trip types - Link to v5: https://patch.msgid.link/20261011-msm8952-initial-support-v5-0-1857074992ec@mainlining.org Changes in v5: - Added opp table for spi and uart. - Wired all i2c and spi power-domains - Dropped default slope from thermal driver. - Link to v4: https://patch.msgid.link/20261006-msm8952-initial-support-v4-0-ecdcc1ac620c@mainlining.org Changes in v4: - Dropped 1651200000 freq on cluster 1 because it depends on speedbin 3 and speedbin is not included in this patch series - Dropped applied patches - Changed mdss_dsi0 power-domain to MDSS_GDSC - Reformatted SoC dtsi file - Added the remaining reserved-memory entries for not added parts - Rename adsp_mem to adsp_fw_mem - Drop the "ts-" prefix of touchscreen pinctrl in device dts. - Link to v3: https://patch.msgid.link/20260921-msm8952-initial-support-v3-0-b96fd3fe298b@mainlining.org Changes in v3: - Improved GCC driver, also rewrote resets part - Rewrote the dt-binding side of gcc - Reformatted Device tree files with dt-check-style tool - Added reset to sdhci1 and sdhci2 - Added cx regulator to gcc - Added gcc commit messages that it is a derived driver - Dropped adsp_mem, renamed lpass_mem to adsp_mem - Changed tusb320 interrupt from rising to falling as downstream uses - Link to v2: https://patch.msgid.link/20260916-msm8952-initial-support-v2-0-798c2602dde1@mainlining.org Changes in v2: - Changed device dts file as David's and Konrad's suggestions - Removed accidental duplicated clock assigments and fixed wrong gcc gp1,gp2 and gp3 parent_maps - Updated commit messages to make it wrapped at 72 character. - Fixed spi1 tlmm node naming - Added remaining spi and i2c nodes - Wired up mpm - Add mmio-sram to rpm_msg_ram - Reformatted msm8952.dtsi - Removed rpmcc-msm8952 driver entry and replaced it with rpmcc-msm8976 - Merged sdhci tlmm pins to single nodes, now it is similar to existing SoCs - Rebased to latest linux-next, now storage works - Removed polling-delay properties from tsens - Link to v1: https://lore.kernel.org/r/20260912-msm8952-initial-support-v1-0-0e742578b524@mainlining.org --- Muzaffer Kadir (8): dt-bindings: iommu: qcom,iommu: Add MSM8952 IOMMU to SMMUv2 compatibles dt-bindings: sram: qcom,imem: Document MSM8952 compatible dt-bindings: mailbox: qcom: Add MSM8952 APCS compatible dt-bindings: clock: qcom,a53pll: Add MSM8952 compatible dt-bindings: display: msm: dsi-controller-main: Add MSM8952 compatible dt-bindings: remoteproc: qcom: adsp: Add MSM8952 ADSP compatible arm64: dts: qcom: Add initial support for MSM8952 arm64: dts: qcom: generalmobile-shamrock: new device .../devicetree/bindings/clock/qcom,a53pll.yaml | 25 +- .../bindings/display/msm/dsi-controller-main.yaml | 2 + .../devicetree/bindings/iommu/qcom,iommu.yaml | 1 + .../bindings/mailbox/qcom,apcs-kpss-global.yaml | 5 + .../devicetree/bindings/remoteproc/qcom,adsp.yaml | 33 +- .../devicetree/bindings/sram/qcom,imem.yaml | 1 + arch/arm64/boot/dts/qcom/Makefile | 1 + .../dts/qcom/msm8952-generalmobile-shamrock.dts | 442 +++ arch/arm64/boot/dts/qcom/msm8952.dtsi | 2912 ++++++++++++++++++++ 9 files changed, 3398 insertions(+), 24 deletions(-) --- base-commit: d138596e9f822033490b2e577ec2ea64f2aa246c change-id: 20260909-msm8952-initial-support-60a059c2e15e Best regards, -- Muzaffer Kadir