From patchwork Sat Mar 15 14:57:34 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?b?QmFybmFiw6FzIEN6w6ltw6Fu?= X-Patchwork-Id: 14018064 Received: from mail.mainlining.org (mail.mainlining.org [5.75.144.95]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id C536B1FFC55; Sat, 15 Mar 2025 14:58:15 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=5.75.144.95 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1742050697; cv=none; b=i2/5vqPrJSRaXZKpkX+9UrHlng5E9LzVvfD4xNMPGCx0qBfAp7DY5APjwg8Tl5sAF7e1FVNiZtb6p4PW22KbRxI7UACvlTbpWf+wtNvtgCiSSeiKS3g8h3lxDaJ/I/d/8801O2YX4Yek3gOY2MZt2nP74Isu46UZNsITb/TRSVQ= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1742050697; c=relaxed/simple; bh=9nYzGQvmx6WFgfbqPRmrGyA1FvxrIDEuq6WTjGtHIBE=; h=From:Subject:Date:Message-Id:MIME-Version:Content-Type:To:Cc; b=R8sOiGVZuWPYF6Lnla3dGqYUwmSN/fItJWmORECBFmAMEQxcrYu9gitON3Zug7eqoE8QhBIQVl5MHb2wOQFnatho/pl7853rD3jQxUyWjqkIjK3FbyIHiI01JTEPUzvKtEUVGCxkvJFlWqfZjkp4VRWDZbBJ6DCHWIaPuoWihEg= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=mainlining.org; spf=pass smtp.mailfrom=mainlining.org; dkim=pass (2048-bit key) header.d=mainlining.org header.i=@mainlining.org header.b=fnlhe2CB; arc=none smtp.client-ip=5.75.144.95 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=mainlining.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=mainlining.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=mainlining.org header.i=@mainlining.org header.b="fnlhe2CB" Received: from [192.168.183.162] (254C339A.nat.pool.telekom.hu [37.76.51.154]) by mail.mainlining.org (Postfix) with ESMTPSA id 2311EBBAC0; Sat, 15 Mar 2025 14:58:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mainlining.org; s=psm; t=1742050687; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=FmVx/4AyGD/aMwlNSJd9Y627FtpqEeVAICF+Holg0IU=; b=fnlhe2CBIIfxzBLBDbt3DeYxtaaa9Y18Du5dMDU1Ihuj65nOiJWEqwNq0Gzkx4GYOFc1Ut IZZBBYpeOqn7C0OQRjuiYFfABij97cmMDWYkND9DFW1MX2pUCuTYnfwmB4icMSQUu9i06d YtZwRLZiFD6zuN1x838hKWg/V1OnqBbs9ieU0wfyxblAo8yMIEx9iiJF4PmrkEKB2BQedX Ym+jdsVwZ+1lQzwiEKj0IpCGGiBTCJRyNOreQFe8Fo8WTynkNUYUaI/KBsVkclqqcKC6LT +qnRo1sYoowii16qub41zcNXhXvNebSoWbNFDB7c86jn76RswifhmEccFxQiBQ== From: =?utf-8?b?QmFybmFiw6FzIEN6w6ltw6Fu?= Subject: [PATCH v4 0/6] Initial support of MSM8937 and Xiaomi Redmi 3S Date: Sat, 15 Mar 2025 15:57:34 +0100 Message-Id: <20250315-msm8937-v4-0-1f132e870a49@mainlining.org> Precedence: bulk X-Mailing-List: linux-clk@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-B4-Tracking: v=1; b=H4sIAF6V1WcC/23MQQ6CMBCF4auYrq1pp0jBlfcwLqAdYBIppjWNh nB3C4lCoss3me8fWUBPGNhpNzKPkQINLo1sv2Omq1yLnGzaDAQcBUjB+9AXpdIcoMBGWKPQlCx 93z029FxKl2vaHYXH4F9LOMr5+mnIbyNKLri2oNHmutGiOPcVuRs5cu1h8C2bQxE2GNSKIeG6L HU65gqt+ovVFmcrVgnbymojCzDG1D94mqY3ApD/bB0BAAA= X-Change-ID: 20250210-msm8937-228ef0dc3ec9 To: Bjorn Andersson , Michael Turquette , Stephen Boyd , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Stephan Gerhold , =?utf-8?q?Otto_Pfl=C3=BCger?= , Linus Walleij , Lee Jones , Srinivas Kandagatla , Joerg Roedel , Will Deacon , Robin Murphy , Konrad Dybcio , Rob Clark , Sean Paul , Abhinav Kumar , Marijn Suijten , David Airlie , Simona Vetter , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , Dmitry Baryshkov , Dmitry Baryshkov Cc: linux-arm-msm@vger.kernel.org, linux-clk@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-gpio@vger.kernel.org, iommu@lists.linux.dev, dri-devel@lists.freedesktop.org, freedreno@lists.freedesktop.org, phone-devel@vger.kernel.org, ~postmarketos/upstreaming@lists.sr.ht, linux@mainlining.org, =?utf-8?b?QmFybmFiw6FzIEN6w6ltw6Fu?= , Daniil Titov , Adam Skladowski , Dang Huynh , Krzysztof Kozlowski X-Mailer: b4 0.14.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1742050684; l=2644; i=barnabas.czeman@mainlining.org; s=20240730; h=from:subject:message-id; bh=9nYzGQvmx6WFgfbqPRmrGyA1FvxrIDEuq6WTjGtHIBE=; b=sM5mQ+PXxva7V8jC6E7KlV8VS02TfuWk836AaRTgvfi10SrkvBAz8iGZBunm6IJ8fCv+BXLjq s8ibCMaPiPyCbCPGrCS6Y6vPrX+ETPOgD6/3eYjJve/2BjjHhkXE0Hw X-Developer-Key: i=barnabas.czeman@mainlining.org; a=ed25519; pk=TWUSIGgwW/Sn4xnX25nw+lszj1AT/A3bzkahn7EhOFc= This patch series add initial support for MSM8937 SoC and Xiaomi Redmi 3S (land). The series is extending the MSM8917 gcc and pinctrl drivers because they are sibling SoCs. MSM8937 have 4 more A53 cores and have one more dsi port then MSM8917. It implements little-big architecture and uses Adreno 505. Signed-off-by: Barnabás Czémán --- Changes in v4: - Add missing rpmcc include for qcom,gcc-msm8937 dtbinding exmaple. - msm8937: add missing space after s9-p1@230 - msm8937-xiaomi-land: replace LED_FUNCTION_INDICATOR to LED_FUNCTION_STATUS - Remove applied patches - Link to v3: https://lore.kernel.org/r/20250224-msm8937-v3-0-dad7c182cccb@mainlining.org Changes in v3: - Fix qcom,gcc-msm8937 dtbinding example - Link to v2: https://lore.kernel.org/r/20250223-msm8937-v2-0-b99722363ed3@mainlining.org Changes in v2: - drop applied patches - drop gcc schema commits infavor of a new schema for gcc-msm8937 - document always on clock for adreno 505/506/510 - msm8937: - set cache size - rename cpu labels - fix style issues addressed by review - msm8937-xiaom-land: - remove unused serial0 alias - remove regulator-always-on from pm8937_l6 - add blue indicator led for aw2013 - Link to v1: https://lore.kernel.org/r/20250211-msm8937-v1-0-7d27ed67f708@mainlining.org --- Adam Skladowski (1): dt-bindings: drm/msm/gpu: Document AON clock for A505/A506/A510 Barnabás Czémán (3): dt-bindings: clock: qcom: Add MSM8937 Global Clock Controller dt-bindings: arm: qcom: Add Xiaomi Redmi 3S arm64: dts: qcom: Add Xiaomi Redmi 3S Dang Huynh (1): arm64: dts: qcom: Add initial support for MSM8937 Daniil Titov (1): clk: qcom: gcc: Add support for Global Clock controller found on MSM8937 Documentation/devicetree/bindings/arm/qcom.yaml | 7 + .../bindings/clock/qcom,gcc-msm8937.yaml | 75 + .../devicetree/bindings/display/msm/gpu.yaml | 6 +- arch/arm64/boot/dts/qcom/Makefile | 1 + arch/arm64/boot/dts/qcom/msm8937-xiaomi-land.dts | 408 ++++ arch/arm64/boot/dts/qcom/msm8937.dtsi | 2149 ++++++++++++++++++++ drivers/clk/qcom/Kconfig | 6 +- drivers/clk/qcom/gcc-msm8917.c | 617 +++++- include/dt-bindings/clock/qcom,gcc-msm8917.h | 17 + 9 files changed, 3277 insertions(+), 9 deletions(-) --- base-commit: da920b7df701770e006928053672147075587fb2 change-id: 20250210-msm8937-228ef0dc3ec9 Best regards,