From patchwork Thu Mar 16 14:12:49 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 6760 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:604a:0:0:0:0:0 with SMTP id j10csp508732wrt; Thu, 16 Mar 2023 07:17:36 -0700 (PDT) X-Google-Smtp-Source: AK7set9LvJhegcY50LNlIxF9PRGXNFoMT1kvVlMxVde1KxezcSiQoUAmj797DuH2bRqJ3kqJtCaF X-Received: by 2002:a05:6a20:7a86:b0:cc:868f:37b3 with SMTP id u6-20020a056a207a8600b000cc868f37b3mr3543167pzh.58.1678976256374; Thu, 16 Mar 2023 07:17:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1678976256; cv=none; d=google.com; s=arc-20160816; b=XyDc046KwE7Vcpr5NzBYcryg/NHoVlMf+UK177eKiJMz2uMPbuiJo342XjH8dEU3nr 7LasMDjPCNjkNIrNQ56Lv/L14dDGs8QFvy0CUr14sRSelzOVRHhjxQpjcxKpNwP/N+UK LX2gniIxa6taxJ50Iz3NLEssvA+vAHcz4oxzpynsAfBylQZcCUbiOVFxwqGnpDori59F nGtIcTye2+ow1Os749xHut0Mu4LU4Hd7dTTB0O5ebNn5x7tuXXFKpB4qiHajn01Qu3ST OW+push1y36TsYddXWWoqRsqaNU7/47vLSc3j/4BJkN/hp8Ur/DIHtURrz8jTPHhjx62 1wdw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:content-transfer-encoding:mime-version :message-id:date:subject:from:dkim-signature; bh=AkFEog4APZRdHeT2q4GaSqDGIc5SgyK33RTmMqwtReY=; b=QMHdkDyyz/lJL1O1P15imUZo7QDyUQkI5brvENuV3hwkYif9M+bH5epOjyigTWo0mI 7pS7GtWQtNt0dtRCarXvL3hcbl9aL0JjoJeYemisAHu+JM5u0c1YJQ+3hVLTYyLM2hx0 shDqBVHqJrJr7uNnKp9v5qDHYzHnmUKxL+ZHAI8aADtm4lBHT9gD6AMC0ZwQM2t5VlwH QqzoWvYhJIODYtNmnsolOQD+SPP9PB2vO+P3U8MwQeKBeXKpTFQqpuUUGHqR4kZIV5IN EvuqdMGcNoLHxaa1123WZydUoRkG3VCfy+fjq1JItdHOAl6yYUCCSiiUQLx7EUHaYmyQ f/wA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=kFMBNcVn; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id bk13-20020a056a02028d00b0050c04831b70si218000pgb.800.2023.03.16.07.17.22; Thu, 16 Mar 2023 07:17:36 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=kFMBNcVn; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230283AbjCPONG (ORCPT + 99 others); Thu, 16 Mar 2023 10:13:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33616 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229890AbjCPOND (ORCPT ); Thu, 16 Mar 2023 10:13:03 -0400 Received: from mail-lj1-x233.google.com (mail-lj1-x233.google.com [IPv6:2a00:1450:4864:20::233]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7D2C54D62F for ; Thu, 16 Mar 2023 07:13:01 -0700 (PDT) Received: by mail-lj1-x233.google.com with SMTP id b10so1872054ljr.0 for ; Thu, 16 Mar 2023 07:13:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1678975980; h=cc:to:content-transfer-encoding:mime-version:message-id:date :subject:from:from:to:cc:subject:date:message-id:reply-to; bh=AkFEog4APZRdHeT2q4GaSqDGIc5SgyK33RTmMqwtReY=; b=kFMBNcVnPi6z72HcIvse712jYOKaSucHb0BKbGJfosXlFmHctGwtfcwg+7AnMcdk/S eOaMg1ccm4YROtE89oJsvhbm+5ZALTcfjY6u0No94VX/HGzHIv5XknXvZ/OBKDjBWkii Xy76YkaBWke139YAK4y/ZCZCZTZ+5YcEFEgX4vYpTEJIlq4T3V5FwAN+IPdXtcsJaj9R P4ED9TzLkci6fiFRzFZCLxZPGs2m26fbIl7w4nYyVgNAVqyE+4Nsq8hrZEUAeaawyDU9 5NyssS6Wsg2rA1TnJAzr88XFkh9nLDJOG/kxEWgsL4OXYt+AK7SqScnwZAUZ6iD32kz1 +84A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678975980; 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=AkFEog4APZRdHeT2q4GaSqDGIc5SgyK33RTmMqwtReY=; b=E2UrnkBDPlALulMMJuJShe0fabrvRRr7C7gAgWs1Gyxh/GI0iyYSCYbMZw1EXy9dp4 n3uJtST4CWSuLlwiOoCUubKAmNOwkgn0niYFd1W3RCfSaRdKFTbx7Cef1obj162qeY6I 2Ef75sI5ASsmZOW6f/2uCaBNMjT9Q9Ywm5l4BsNGelR/oHXvECfrLgMvBWXy84pys8AI F75mLOOXjnKvVJA/JE8tlfhLzrYFPcdbS3J8rW8i6BIr6QdBHYR635XnpVN/RcPiJw85 VEdLligH9ZUBL5qP0b3gqXAnh6ivb9LwDPMefsHYVqag8kM2Dz19N9P5tdFQY/+zWENZ FYWg== X-Gm-Message-State: AO0yUKVSmvjQfmCFE1mAnq1v54LjnPaFVDB3PE8M01J3v/3sZCf0tjRU aH+SSQVY5+LN1hshDYu+ynQFyw== X-Received: by 2002:a2e:9402:0:b0:298:97d7:8fc3 with SMTP id i2-20020a2e9402000000b0029897d78fc3mr2205383ljh.4.1678975979734; Thu, 16 Mar 2023 07:12:59 -0700 (PDT) Received: from [192.168.1.101] (abyj16.neoplus.adsl.tpnet.pl. [83.9.29.16]) by smtp.gmail.com with ESMTPSA id a9-20020a2eb549000000b00295735991edsm1261639ljn.38.2023.03.16.07.12.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 16 Mar 2023 07:12:59 -0700 (PDT) From: Konrad Dybcio Subject: [PATCH v2 00/14] SM6375 feature enablement (round one) Date: Thu, 16 Mar 2023 15:12:49 +0100 Message-Id: <20230303-topic-sm6375_features0_dts-v2-0-708b8191f7eb@linaro.org> MIME-Version: 1.0 X-B4-Tracking: v=1; b=H4sIAOIjE2QC/42OTQ6CMBCFr2K6tqb8iMWV9zCElHYKk2BLZoBoC He3cgLzVt9bfO9tgoEQWNxPmyBYkTGGBPn5JOxgQg8SXWKRq7xQKXKOE1rJr6q4XVsPZl4IWLV uZqkrVavSF5l2WiRBZxhkRybYISnCMo6pnAg8vo/FZ5N4QJ4jfY4Da/Zr/9paM6mkttrVpe9M5 dVjxGAoXiL1otn3/QujVWdE2gAAAA== 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, Marijn Suijten , Konrad Dybcio , Krzysztof Kozlowski X-Mailer: b4 0.12.1 X-Developer-Signature: v=1; a=ed25519-sha256; t=1678975978; l=2737; i=konrad.dybcio@linaro.org; s=20230215; h=from:subject:message-id; bh=RARjhqs3QRBTIsfJeubTjOqbRYf1ouM92C7DgsRRzD8=; b=yKm4H5uqTeUJhy5/okAPw6qEwM4lVp6yo4kzkK3Z5im1UmNWPD5bAqgfeFLSGDhOxCY7xFCvQly0 aRbUzcZXANLqEShRIRatVISSA9vks4PEWnXREpxOHfiMjYtcb9HK X-Developer-Key: i=konrad.dybcio@linaro.org; a=ed25519; pk=iclgkYvtl2w05SSXO5EjjSYlhFKsJ+5OSZBjOkQuEms= X-Spam-Status: No, score=-0.2 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, RCVD_IN_SORBS_HTTP,RCVD_IN_SORBS_SOCKS,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1760534207131845274?= X-GMAIL-MSGID: =?utf-8?q?1760534207131845274?= v1 -> v2: - Reword CPUCP L3 commits to indicate that CPUCP != the L3 scaler within - Pick up tags - Drop the MPM introduction as we work on resolving RPM MSG RAM bindings v1: https://lore.kernel.org/r/20230303-topic-sm6375_features0_dts-v1-0-8c8d94fba6f0@linaro.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 (14): 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: 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 | 904 ++++++++++++++++++++- 5 files changed, 926 insertions(+), 8 deletions(-) --- base-commit: 1acf39ef8f1425cd105f630dc2c7c1d8fff27ed1 change-id: 20230303-topic-sm6375_features0_dts-860904f318d8 Best regards,