From mboxrd@z Thu Jan 1 00:00:00 1970 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 C8D8523505E for ; Sun, 31 Aug 2025 12:32:40 +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=1756643562; cv=none; b=dOClr1P2YOWaPAC3KPkWpyW9AWQqx21cutoOcav0kvtnfARbWqujpCm4OL4VzlElerSiW32XSjCuiYX0PFQleQA0Wwd56bWq/iHtgNkvpQIb8awMky9GYWQHkqwnDoN6ocak7YWCevJ/x1CezxjvCzU/0awEdGiD/c52N57uem8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1756643562; c=relaxed/simple; bh=4FfX1QEQR5BhgXz6cJLgVX8UFOXb13D1QrVd1i7A3Ew=; h=From:Subject:Date:Message-Id:MIME-Version:Content-Type:To:Cc; b=FjpaAdOG7Hk87ITguKJq5OXrHA+/0cZykIQJTEvxHOXyNQ0Xuz+LM0rK3f65YICbNfwVyR5zYW4cURfuOHfk2jePzsYj9UGDtWOf97Yw0ublsMcej4GxXGLT5ILQbW9bIqWcdMUBi1ve6deYqga6CNjOGuXUBpdkqpS5zINjMKY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject 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=Hd+qEDuh; dkim=permerror (0-bit key) header.d=mainlining.org header.i=@mainlining.org header.b=qM4n8yt2; arc=none smtp.client-ip=5.75.144.95 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject 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="Hd+qEDuh"; dkim=permerror (0-bit key) header.d=mainlining.org header.i=@mainlining.org header.b="qM4n8yt2" DKIM-Signature: v=1; a=rsa-sha256; s=202507r; d=mainlining.org; c=relaxed/relaxed; h=To:Message-Id:Date:Subject:From; t=1756643368; bh=i2nnWwgWrV153flpsGQ0nvH siD/LEbmYW2t4Po0/UPg=; b=Hd+qEDuhnUJ6CJkydtVGUPpm6I/hJFBD1fzUILmg77uoA13Un3 ecx9pDeBOO1KUAzA1tmm2U/BqPROVexIv4/y6bQ48VnOKG1qyJZhj4R+ORl63sdXobWuwUwzIYL hlbS9TwuvzspG6mTKajZT++M+sElsrrJ6Gkh8PZs6NDj4yEImEK+Y6/+d7kLnCdkykqOYI5K61Z ShzR2JWUm5BfXPRZPxqY9mzaTyYHbiSL/ip+8/MdYd7mREEYhmOhuNJpF4RSwH4m3csSZKbtFec BNKRYwiwFfi6qlo6x+SglXIJmipmN6coR/I5Hd5TiaUOt9/XeHkrTas085jKPE92pRw==; DKIM-Signature: v=1; a=ed25519-sha256; s=202507e; d=mainlining.org; c=relaxed/relaxed; h=To:Message-Id:Date:Subject:From; t=1756643368; bh=i2nnWwgWrV153flpsGQ0nvH siD/LEbmYW2t4Po0/UPg=; b=qM4n8yt2DHgkuEfcvH6rwSZ7vgDRNky28Ky+mQiCAVCcOYpVkx woRsI6safiOoBsE1itwBpzlLku6VJfEZxLCw==; From: =?utf-8?q?Barnab=C3=A1s_Cz=C3=A9m=C3=A1n?= Subject: [PATCH v8 0/7] Initial support of MSM8937 and Xiaomi Redmi 3S Date: Sun, 31 Aug 2025 14:29:23 +0200 Message-Id: <20250831-msm8937-v8-0-b7dcd63caaac@mainlining.org> Precedence: bulk X-Mailing-List: iommu@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit X-B4-Tracking: v=1; b=H4sIACNAtGgC/23Q3WrEIBAF4FdZvG6KzpiM9qrvUXrhz5gVmmRJS mhZ8u41C62B5vIMfkfHu1h4zryIl8tdzLzmJU9jCebpIsLVjT03OZYsQEIrQclmWAZjkRoAw0n GgBysKKdvM6f89Wh6ey/5mpfPaf5+FK9qn/52qL+OVTWyoQjEsaNE0rwOLo8fecxj/zzNvdiLV jhgwIqhYG8tlWGHHPEU4xHrirHg6CIFZSCE4E+xrhhVW7EuWCWFwIak0/YUtxVrOOzc7s9O1pD lpHQ8x13FBuqnr92OpZUeXPAd8SmmA8bDzVQwIDibvLLO0z+8bdsPstv+YBECAAA= 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 , Joerg Roedel , Will Deacon , Robin Murphy , Konrad Dybcio , Sean Paul , Marijn Suijten , David Airlie , Simona Vetter , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , Dmitry Baryshkov , Rob Clark , Abhinav Kumar , Jessica Zhang , Robert Marko , Das Srinagesh , Srinivas Kandagatla , Rob Clark , 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?q?Barnab=C3=A1s_Cz=C3=A9m=C3=A1n?= , Krzysztof Kozlowski , Daniil Titov , Dmitry Baryshkov , Dang Huynh , Konrad Dybcio X-Mailer: b4 0.14.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1756643366; l=4016; i=barnabas.czeman@mainlining.org; s=20240730; h=from:subject:message-id; bh=4FfX1QEQR5BhgXz6cJLgVX8UFOXb13D1QrVd1i7A3Ew=; b=B5QHO+A+w0PBU7Z6D2cWI7h+7cQBlvX7Bd5nnGRwNyqCiCjUrY+3pX4v307VM+DEzp2DytdDC nTE7aqNzjtpCgVuuqIQtNdC1+sRANww2PJ0Aj7lDfxOPWTGR1m+ywUX 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 v8: - msm8937: - Fix scm compatible. - Fix position of sram@60000 node. - Document qcom,scm-msm8937 compatible - Link to v7: https://lore.kernel.org/r/20250831-msm8937-v7-0-232a9fb19ab7@mainlining.org Changes in v7: - gpu.yaml: update adreno 505 pattern - Link to v6: https://lore.kernel.org/r/20250820-msm8937-v6-0-b090b2acb67e@mainlining.org Changes in v6: - msm8937: - Fix nodes ordering. - Format clocks, reg, dmas and -names properties. - Add gpu_speedbin. - Describe A505 clocks. - Link to v5: https://lore.kernel.org/r/20250421-msm8937-v5-0-bf9879ef14d9@mainlining.org Changes in v5: - msm8937: - Remove wrongly defined idle-states. - Fix thermal zones. - Use the header with DSI phy clock IDs. - Fix the nodes order. - Fix the pinctrls style. - Follow gcc header changes. - msm8937-xiaomi-land: - Remove headphone switch and speaker amplifier bindings. - Unify status property style. - gcc bindings: - Expand MSM8953 gcc schema with MSM8937. - Add MSM8937 prefix for MSM8937 specific clocks. - gcc: - Follow the bindings changes. - Drop alwayson clock documentation it will be handled in another patchset. - Link to v4: https://lore.kernel.org/r/20250315-msm8937-v4-0-1f132e870a49@mainlining.org 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 --- Barnabás Czémán (5): dt-bindings: clock: qcom: Add MSM8937 Global Clock Controller dt-bindings: firmware: qcom,scm: Add MSM8937 dt-bindings: display/msm/gpu: describe A505 clocks 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 | 6 + .../bindings/clock/qcom,gcc-msm8953.yaml | 11 +- .../devicetree/bindings/display/msm/gpu.yaml | 2 +- .../devicetree/bindings/firmware/qcom,scm.yaml | 3 + arch/arm64/boot/dts/qcom/Makefile | 1 + arch/arm64/boot/dts/qcom/msm8937-xiaomi-land.dts | 381 ++++ arch/arm64/boot/dts/qcom/msm8937.dtsi | 2134 ++++++++++++++++++++ drivers/clk/qcom/Kconfig | 6 +- drivers/clk/qcom/gcc-msm8917.c | 617 +++++- include/dt-bindings/clock/qcom,gcc-msm8917.h | 19 + 10 files changed, 3169 insertions(+), 11 deletions(-) --- base-commit: 3cace99d63192a7250461b058279a42d91075d0c change-id: 20250210-msm8937-228ef0dc3ec9 Best regards, -- Barnabás Czémán