From patchwork Fri Mar 3 21:58:00 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 658832 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 2692CC61DA4 for ; Fri, 3 Mar 2023 22:09:25 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233594AbjCCWJX (ORCPT ); Fri, 3 Mar 2023 17:09:23 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56910 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233591AbjCCWIz (ORCPT ); Fri, 3 Mar 2023 17:08:55 -0500 Received: from mail-lf1-x12f.google.com (mail-lf1-x12f.google.com [IPv6:2a00:1450:4864:20::12f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E83AA1FE1 for ; Fri, 3 Mar 2023 13:59:31 -0800 (PST) Received: by mail-lf1-x12f.google.com with SMTP id t11so5414945lfr.1 for ; Fri, 03 Mar 2023 13:59:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1677880691; h=cc:to:content-transfer-encoding:mime-version:message-id:date :subject:from:from:to:cc:subject:date:message-id:reply-to; bh=9zYQ3skwAEHOvompoY+3GuWuwGeQIAvA/EjO/BVgsgY=; b=Z67Fy3fq14qaw6E0zEl1SdaemFW+kbF08bN9RUhou3sTztB42m5YwynmnOG/HHwKBy rS8WcYRPrC4CzdaZOZzv+W5yT7RdidGy4VjsY4Uil0b5r/vJuFj5azNf6XYSujoYxffR gjtUS53iaByGpF18NN3kweBB5edDFSpwMCvSu2rpx6Hh/1nBi4hU+1xHSMIyFnhVGikh PHfWpzbPlaLLXzs8g811RYJHYHUGLcJe1THBTgDrlmKFc+/hjsUskpX964HqHGbiXbeT Ql2OOHUgCMKkbCW8vN9cwEx0GJyAg31yhELo4tE/jfBfKgv3aSs/xHDl0u4paWysSCER ZQWA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1677880691; h=cc:to:content-transfer-encoding:mime-version:message-id:date :subject:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=9zYQ3skwAEHOvompoY+3GuWuwGeQIAvA/EjO/BVgsgY=; b=ZbmuFpvMt9QzplyNmbwFEyQqtH9Fk73VURQD473xDEZNRAB/Skp3l3GQmZ5Dwqq3jB 9y23bHMUM5w6xkHY5I5h3ggz4inn9mq1j/7zuQBwRIeMRQ6Xe51ip84+xCxmzgTkj02a qkgygDKGj/i3/70/LiPDuCZxnKHbGxfkrtzCHlPuUIt8003ai4jYbt6BqevTmMShRJdV tE2moeCjpfIg1QITKfmwugZ5s/bPmermG97ZQ8vdOACRNZL5QAqDSo91BoC1AWyo8jkR iJqs0EyMh1n+pyfmNOH/MRtSiiBiEYcYTcI7z3RqcEDqP1eOxXFJYNCikkXAHKyrJLIP vMGQ== X-Gm-Message-State: AO0yUKWOsmFk2i0Lc46l2eKSDmMGlegcdxkiXQjdx/27Ip3KdxxT1yuS PaDF/f6TW7XQoIT9//8OSAXJeA== X-Google-Smtp-Source: AK7set8f12aonoxUzlpGEG2/nm7YPQGB8a0NJgf3ypQXowEGKP9YToDW510dvym5GNm6WwC0V7JIng== X-Received: by 2002:ac2:52a9:0:b0:4db:3877:8176 with SMTP id r9-20020ac252a9000000b004db38778176mr900653lfm.21.1677880691336; Fri, 03 Mar 2023 13:58:11 -0800 (PST) Received: from [192.168.1.101] (abym99.neoplus.adsl.tpnet.pl. [83.9.32.99]) by smtp.gmail.com with ESMTPSA id e27-20020ac2547b000000b004cafa01ebbfsm552670lfn.101.2023.03.03.13.58.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 03 Mar 2023 13:58:10 -0800 (PST) From: Konrad Dybcio Subject: [PATCH 00/15] SM6375 feature enablement (round one) Date: Fri, 03 Mar 2023 22:58:00 +0100 Message-Id: <20230303-topic-sm6375_features0_dts-v1-0-8c8d94fba6f0@linaro.org> MIME-Version: 1.0 X-B4-Tracking: v=1; b=H4sIAGhtAmQC/x2NQQrCMBBFr1Jm7UDaaI1eRaSkycQO1LRkUhFK7 +4gf/X+4r0dhAqTwL3ZodCHhZes0J4aCJPPL0KOytCZzhod1mXlgPLu7fUyJPJ1KyRmiFXQ9eZ mzsm2LjpQweiFcCw+h0kVeZtnPddCib//4uN5HD/Dhy8pgQAAAA== To: Amit Kucheria , Thara Gopinath , Andy Gross , Bjorn Andersson , "Rafael J. Wysocki" , Daniel Lezcano , Zhang Rui , Rob Herring , Krzysztof Kozlowski , Georgi Djakov , Sibi Sankar Cc: linux-arm-msm@vger.kernel.org, linux-pm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Konrad Dybcio X-Mailer: b4 0.12.1 X-Developer-Signature: v=1; a=ed25519-sha256; t=1677880689; l=2518; i=konrad.dybcio@linaro.org; s=20230215; h=from:subject:message-id; bh=Egy2VKD4mfvEIpdAdK5E3xwo2gNISIBJS/J9ay8jtsU=; b=bKfXxUIiQeHXAV25G6OFhYAItp7N3vMhcw90rjLkYsx3VPZGThfxL5ABmEIGmxzzKvtMZgwjFgsm AM4vEQLIDP2ZJh1YJY/iGdJ2pO/NHIswBEWmfW01nA5onFWp5u3N X-Developer-Key: i=konrad.dybcio@linaro.org; a=ed25519; pk=iclgkYvtl2w05SSXO5EjjSYlhFKsJ+5OSZBjOkQuEms= Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org Hello This series brings support for a couple of nice things on SM6375, namely: * 2 TSENS controllers & associated thermal-zones * RPM sleep stats * IMEM * WCN3990 Wi-Fi (Bluetooth doesn't wanna play ball yet) * MPSS & RMTFS * L3 scaling interconnect (not yet hooked up in this series, but it works, still assessing the best scaling configuration) * MPM (big!; also implicitly fixes some interrupt lanes due to my earlier misunderstanding of the downstream MPM<->GIC mapping) * Additional CPU sleep state (gated clock, power rail still on) * V- key on the Xperia It does *not* bring support for GPU, MDSS, icc and various other scaling parts which are still in progress of being upstreamed. More PDX225-specific patches, along with Wi-Fi enablement will come after that. But hey, we already know it works great ;) Tested on the only sm6375 device we support, the Xperia 10 IV (PDX225). Depends on: https://lore.kernel.org/lkml/20230109135647.339224-5-konrad.dybcio@linaro.org/ Signed-off-by: Konrad Dybcio --- Konrad Dybcio (15): dt-bindings: thermal: qcom-tsens: Add compatible for SM6375 dt-bindings: interconnect: OSM L3: Add SM6375 CPUCP compatible dt-bindings: sram: qcom,imem: document SM6375 IMEM arm64: dts: qcom: sm6375: Add RPM sleep stats arm64: dts: qcom: sm6375: Add IMEM arm64: dts: qcom: sm6375: Add RMTFS arm64: dts: qcom: sm6375: Add wifi node arm64: dts: qcom: sm6375: Add modem nodes arm64: dts: qcom: sm6375: Add CPUCP L3 node arm64: dts: qcom: sm6375: Add TSENS arm64: dts: qcom: sm6375: Configure TSENS thermal zones arm64: dts: qcom: sm6375: Introduce MPM support arm64: dts: qcom: sm6375: Bump CPU rail power collapse index arm64: dts: qcom: sm6375: Introduce C3 power state for both ARM clusters arm64: dts: qcom: sm6375-pdx225: Add volume down GPIO key .../bindings/interconnect/qcom,osm-l3.yaml | 1 + .../devicetree/bindings/sram/qcom,imem.yaml | 1 + .../devicetree/bindings/thermal/qcom-tsens.yaml | 1 + .../dts/qcom/sm6375-sony-xperia-murray-pdx225.dts | 27 + arch/arm64/boot/dts/qcom/sm6375.dtsi | 936 ++++++++++++++++++++- 5 files changed, 952 insertions(+), 14 deletions(-) --- base-commit: 1acf39ef8f1425cd105f630dc2c7c1d8fff27ed1 change-id: 20230303-topic-sm6375_features0_dts-860904f318d8 Best regards,