From patchwork Mon Apr 21 20:18:22 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: 882925 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 6238B10F1; Mon, 21 Apr 2025 20:18:30 +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=1745266712; cv=none; b=Gh201Si42WHU2mevx0yS1h4G4sxREL+Yv0pHRbsixvJTauALd/JA/1xbzReaYG7HCcx7JkoSVkDWsj1gIb2PYqPqZMUmjBFrr+tEE1iRj4xelTxTFSCuhq8tHatOdT+KyFa9FcvEh2ZSB+ID8N3ybYrdzVL86iG4Ex4FUMpV6fE= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1745266712; c=relaxed/simple; bh=ZT6G0gLMpYOma7+nsyuQ5jRof3ch8u1E9cEnMHxyUSI=; h=From:Subject:Date:Message-Id:MIME-Version:Content-Type:To:Cc; b=ATE6/8sCFU9GM+iayD0ecoLtRj1fj12zB7q9yyrujWrYs+PTiDVbfJcYsoim0OhjjWyHhNTCGerR5IXhhIKh9dRMKM/3DdLKRuFAi205tctMt7dgqsPfHiuhJa/u8JXdyR2SP8QzgWxHT9hQ6I9C3DaszHvMA7X2H7GWlOIhYeA= 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=dnSS8qmZ; 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="dnSS8qmZ" Received: from [192.168.183.162] (254C2769.nat.pool.telekom.hu [37.76.39.105]) by mail.mainlining.org (Postfix) with ESMTPSA id 713D2BBAD2; Mon, 21 Apr 2025 20:18:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mainlining.org; s=psm; t=1745266707; 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=2s7t/jnFQ5IYzmw1pTsYPIv5DPpMMHbUNmN9wG24wrs=; b=dnSS8qmZxj1Re0S4hWlbITnkCGLfs4DGs7AX2QhV+fL8r5N9RM8PzmDIi4ok2hTn6XNLt5 wgJ0c7kR4L/L7tab4CYhc8n05vIOZt7ls1RxYNasIkjweLStsOR7pvINtCwFUCpMn7K/0Z iH7FdA3ncN70pkduATzp8oVx8XQ0ApaOI/wijoTZY7EgavyJzHYQM4dpt4bnBFAs7f6o24 rVtpW4+scaUBcUofgM5kdbAmQESVbfYzbB9MCcNHOQrAjTAbWw41kX66jPOVsxVz15EUYq OeztBBVPNafZg/wprr4CwMNurYTkv8MzTK4497MkpuOJ57KNidQIRWvZ6wa1iA== From: =?utf-8?b?QmFybmFiw6FzIEN6w6ltw6Fu?= Subject: [PATCH v5 0/5] Initial support of MSM8937 and Xiaomi Redmi 3S Date: Mon, 21 Apr 2025 22:18:22 +0200 Message-Id: <20250421-msm8937-v5-0-bf9879ef14d9@mainlining.org> Precedence: bulk X-Mailing-List: linux-gpio@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-B4-Tracking: v=1; b=H4sIAA6oBmgC/23MQQrCMBCF4atI1kaSmdYkrryHuKjJtA7YVBIpi vTuRkEr6PIN8/13kSkxZbFZ3EWikTMPsYx6uRD+2MSOJIeyBSioFWgl+9xbh0YCWGpV8EjeifJ 9TtTy9VXa7cs+cr4M6fYKj/p5fTf0pzFqqaQJYCisTWuU3fYNxxNHjt1qSJ14hkb4woAzhoIPz plyXCMF/IvxG1czxoJDE4zXFrz3h7+4mjHqesZVwbrVCGSNair3g6dpegA++3eDWgEAAA== 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 , Rob Clark , Sean Paul , Abhinav Kumar , Marijn Suijten , David Airlie , Simona Vetter , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , Dmitry Baryshkov , Adam Skladowski , Sireesh Kodali , Srinivas Kandagatla , 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 , Dang Huynh , Krzysztof Kozlowski X-Mailer: b4 0.14.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1745266705; l=3161; i=barnabas.czeman@mainlining.org; s=20240730; h=from:subject:message-id; bh=ZT6G0gLMpYOma7+nsyuQ5jRof3ch8u1E9cEnMHxyUSI=; b=Cnn8yNYhNWMRsGvjGORVd5qBpXDDR8h1RdPBXLl83ba2+UHgYGMpHT9LtJZC2dYHP+sta6Q+M hM9x7vRwArSDi3o5k5tQoq/8zohzLhBMqOcU7X7NdNr51bngfF9OzeV 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 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 (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-msm8953.yaml | 11 +- arch/arm64/boot/dts/qcom/Makefile | 1 + arch/arm64/boot/dts/qcom/msm8937-xiaomi-land.dts | 381 ++++ arch/arm64/boot/dts/qcom/msm8937.dtsi | 2069 ++++++++++++++++++++ drivers/clk/qcom/Kconfig | 6 +- drivers/clk/qcom/gcc-msm8917.c | 617 +++++- include/dt-bindings/clock/qcom,gcc-msm8917.h | 19 + 8 files changed, 3101 insertions(+), 10 deletions(-) --- base-commit: 5b37f7bfff3b1582c34be8fb23968b226db71ebd change-id: 20250210-msm8937-228ef0dc3ec9 Best regards,