From patchwork Thu Mar 16 14:12:50 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 70806 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:604a:0:0:0:0:0 with SMTP id j10csp509084wrt; Thu, 16 Mar 2023 07:18:11 -0700 (PDT) X-Google-Smtp-Source: AK7set8H48pQLWto21yJ2RHS+AOl24vWulKVH6NwVZoHLsBSF0CiAUllgI5F3Sk6SMQsGnIo70SX X-Received: by 2002:a05:6a20:bab0:b0:d0:4361:9723 with SMTP id fb48-20020a056a20bab000b000d043619723mr3701181pzb.22.1678976291098; Thu, 16 Mar 2023 07:18:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1678976291; cv=none; d=google.com; s=arc-20160816; b=ucfKp11KAV2omauPyAKi0au7KnxnbGsnAh8j2FV2IuzgNTmRSdETO+M+Ua513Jc6zC 9WiT9fxybLhJVd3SoshhRSpsQr1elfPSog31gfTO/aZhm5C5hFh2GmYTnBRQTuF3tmUJ 0mEY3T+/mOEsNc5ffD7otZLSdW9LyConNBZRV1WYJwL9JMPaz+Km3JT1nvDCw4dr+tnZ IeFBELcMccdqPB2xx4dLOAExwvCxOtWj4xKsTM40vZSfPlGXYgmw6uVIcFgALe2DKXvp VIAIyIsSkTPmHFynC2Yx+BVfy++yeudrNS92f7EggglONXJQx9HP7jAbWvIhyU7oe3HR emVg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:in-reply-to:references:message-id :content-transfer-encoding:mime-version:subject:date:from :dkim-signature; bh=9BpBLhF7aJ8XDaNEo3pgNtZLZiLgPvI+GpJaOKLbCqg=; b=Mf60jGPbRVZUnlvTStevUtu0Hgk2DoGUrrEchVzxlRiJl0gl5woKHyX53k0eHgbWfF hiICKzXT92+qxhNORUX4QkEynfBKvh9wNseXcDrasOaQGPcCDrRbbnids5LujMorKumH KVnRqIS52ZOULiQnWBVQWnrrHgHMdiNmKNfmYoAWez8I2rGDb4OokLjEOZQGzDa7+2BT grl1ZfdHmCxTmbrRxibVw8n/P37chnmQ60D/nRHEZGM+BYd79JfqExa4XKqz4Vu6fKGB HtK8Rt7BtkEV6gU12E2BERiTw5jMbzoMjgSzkF6B3c1LL9Eg5awPE02ENkKD3vU5/Lrk leoQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="YltE/VzW"; 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 l62-20020a639141000000b0050c03dc7259si271766pge.844.2023.03.16.07.17.58; Thu, 16 Mar 2023 07:18:11 -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="YltE/VzW"; 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 S231185AbjCPONJ (ORCPT + 99 others); Thu, 16 Mar 2023 10:13:09 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33674 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230337AbjCPONE (ORCPT ); Thu, 16 Mar 2023 10:13:04 -0400 Received: from mail-lj1-x22b.google.com (mail-lj1-x22b.google.com [IPv6:2a00:1450:4864:20::22b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D4A715A6FF for ; Thu, 16 Mar 2023 07:13:02 -0700 (PDT) Received: by mail-lj1-x22b.google.com with SMTP id z5so1831376ljc.8 for ; Thu, 16 Mar 2023 07:13:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1678975981; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=9BpBLhF7aJ8XDaNEo3pgNtZLZiLgPvI+GpJaOKLbCqg=; b=YltE/VzWOhFVV9rC/25tW+AT2zTFZ/y6DSwBqhXQyEBAE/Y6OMFKBZZ5Q33bBe6qcP PE8YvHVXCTku0Kmz187ciG7Czwtj1HWxZ0TMMc3fG35wKA9FseDL2r3gXvwALVcF7vB3 /GiqH6S6u/pqAj6H4CWgxJDCxuYQ8kVqHQAo18hON1uvyICjFmOcZ/qIawArKHJHvBCg 0MZfJ5JJGtJYRGU6S4CzuOKW0acEtxKvY2bR4iEo4GLkr28qiFFVpGbhorzfnU48nC5p MUb/cBZDeC9QJ3KYUI73YoBgTDXzEOGdPcyC0ZQJPuqqDTnICnPLUIJiCU90vUbsyqoi wNKA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678975981; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=9BpBLhF7aJ8XDaNEo3pgNtZLZiLgPvI+GpJaOKLbCqg=; b=ILOZpO68JSFzGkpLUP+dVll1dfqONIiNYo+XRVPpsk9udsBcsbaVJTzGDGDw0S73hm 2vY69jKeFGAhu69wXqNAmLHudiVh3U2tNSCBSF9XcxGSbc+SHpDeI0Vo4WPMHxvpTQGm ZVXP3rPxyMpJx7uQQuOoVoqFSZq04BzAZM3PZGm/FNKuLoalofjDEA3MMVQZSM87wsIA yQP9KsgHO2AhPpANV0PkMuKKQSK3mtn0S+mgdSeb7TLXR+nAVWGSd5Q8B3aUvtGTXy6u 9+qZDjS/Epl7awkwkCv8DfeqbRUaZ0iX5Ogillusg+swYjpbwKMw3HlvhpS7wkFdbHH9 C1OA== X-Gm-Message-State: AO0yUKUrS0XCtVbUmVDUHdLiP71OQ6wtNgZd3/vHVVlckIreavLsXXoy NwkZrphh5sbbmX+Rhtsq4ZFdMA== X-Received: by 2002:a2e:9281:0:b0:294:669a:6adc with SMTP id d1-20020a2e9281000000b00294669a6adcmr2024061ljh.3.1678975981240; Thu, 16 Mar 2023 07:13:01 -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.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 16 Mar 2023 07:13:00 -0700 (PDT) From: Konrad Dybcio Date: Thu, 16 Mar 2023 15:12:50 +0100 Subject: [PATCH v2 01/14] dt-bindings: thermal: qcom-tsens: Add compatible for SM6375 MIME-Version: 1.0 Message-Id: <20230303-topic-sm6375_features0_dts-v2-1-708b8191f7eb@linaro.org> References: <20230303-topic-sm6375_features0_dts-v2-0-708b8191f7eb@linaro.org> In-Reply-To: <20230303-topic-sm6375_features0_dts-v2-0-708b8191f7eb@linaro.org> 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=944; i=konrad.dybcio@linaro.org; s=20230215; h=from:subject:message-id; bh=7yZwhGENX7kryEzh3vUpHmBmqtqu0DXIXAX7kaP5Nx0=; b=oemx7n8vVMQxmhebPZ66HcpC4qxeCouJUTM+2mDAsIFu7O+gMMlMiJ8qxeOr6iriomV1T9AVlMgR IrHeimFhCem38YQhwOHlNgM5ACQ1S+oDyKrnon/rpDdafYPuVwvi 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?1760534243600749922?= X-GMAIL-MSGID: =?utf-8?q?1760534243600749922?= The Qualcomm SM6375 platform has two instances of the tsens v2.8.0 block, add a compatible for these instances. Acked-by: Krzysztof Kozlowski Signed-off-by: Konrad Dybcio --- Documentation/devicetree/bindings/thermal/qcom-tsens.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/thermal/qcom-tsens.yaml b/Documentation/devicetree/bindings/thermal/qcom-tsens.yaml index 926e9c51c93c..d73b72dafcbc 100644 --- a/Documentation/devicetree/bindings/thermal/qcom-tsens.yaml +++ b/Documentation/devicetree/bindings/thermal/qcom-tsens.yaml @@ -56,6 +56,7 @@ properties: - qcom,sdm845-tsens - qcom,sm6115-tsens - qcom,sm6350-tsens + - qcom,sm6375-tsens - qcom,sm8150-tsens - qcom,sm8250-tsens - qcom,sm8350-tsens From patchwork Thu Mar 16 14:12:51 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 70805 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:604a:0:0:0:0:0 with SMTP id j10csp508968wrt; Thu, 16 Mar 2023 07:17:59 -0700 (PDT) X-Google-Smtp-Source: AK7set9WLsuiRRdFM/GNXD1J2gfLIVs6XUrAQEL92dbTpuoEYawF3ycbG20PJbQI+5bO22uo0ikX X-Received: by 2002:a05:6a20:698c:b0:cc:b5de:3037 with SMTP id t12-20020a056a20698c00b000ccb5de3037mr4893173pzk.51.1678976279466; Thu, 16 Mar 2023 07:17:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1678976279; cv=none; d=google.com; s=arc-20160816; b=i6TB4dyBk8QbxFAW/m3LBLLc9eLfFSgN0fCejZetcCH8MW2PmifJM78Ct9g7dKIz6X 3udf9lEX/kIU3Abc9RCaWD7BjnGKWmFwqfH1XywwKUmDeIqcsLH42jcEsHwS7XErdmPx nyTCslnxcAy7UneTuVt5tmwjAjAIWHMEZla8O+ow7p/H08hAjx1Pt1dXvveF5wbHcGRB I3GHZMs2Dq3sJnG5f1wWM5xB/HShxL/WYfDuZSDL1bSP3W5qkVV2TM2JaxpwDRarNoNK uanPHmYzsr71rzYe/tI14+dmGyhzNK5MoNZ0+eZP+HcV81V22OcJCl9FO3eaEs4IMhtI sTQA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:in-reply-to:references:message-id :content-transfer-encoding:mime-version:subject:date:from :dkim-signature; bh=LOCr/dp56x8yfPg236tQnpLOuN8kndNbHP2o7x5RuGY=; b=sHw6rzFSwgImu5HmiRv66Rb/6btUtMpP8XFisLKvGPzheedSyqGKgd3Kf/pE0D9Oho 9Oxq4tYhZZM7vOjGfXj2JrrIz+KdhdrpzifxhTaSvPOb1k43y3VwspbtfWrycouDh4be JMZpx5dIVUcf3k32IRzqmEwDQx+egjrC/+enp54GU5kQmQxtrIBEW8YK57oeDe8xka1K /C+BnbaBtwDIZmoghhTnw7dVD/7YuHsCG+p7k6mF1l1iHcouyddjGDcHD+0sDzhNKg+0 /ABrZjpABl1JdtzZ65CVuzeO/JPhD97vtMJP2NUXBDNtEIFc3bRRC72/EidhxYADn5LQ 6K2w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Lc5KcKlh; 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 q29-20020a63f95d000000b005074669ce0csi8046583pgk.566.2023.03.16.07.17.47; Thu, 16 Mar 2023 07:17:59 -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=Lc5KcKlh; 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 S230401AbjCPONM (ORCPT + 99 others); Thu, 16 Mar 2023 10:13:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33830 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230466AbjCPONH (ORCPT ); Thu, 16 Mar 2023 10:13:07 -0400 Received: from mail-lj1-x229.google.com (mail-lj1-x229.google.com [IPv6:2a00:1450:4864:20::229]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 08C04618B2 for ; Thu, 16 Mar 2023 07:13:04 -0700 (PDT) Received: by mail-lj1-x229.google.com with SMTP id y14so1843968ljq.4 for ; Thu, 16 Mar 2023 07:13:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1678975983; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=LOCr/dp56x8yfPg236tQnpLOuN8kndNbHP2o7x5RuGY=; b=Lc5KcKlhDqHl1KpuuZ5W/BnHDClDtmGbyEhuFN4hZOfZ9bBf7AybyTkPQP6acCDk0R xzM+c6wqXxJEobg0Doo9IL43MP54R23YEd4gcmN98ufUr65okpYDbxZhaxEcgEeAbztC 52xVsAbOE8CHnWzLYFc7D8LFa1iIJ67q3080VG8pH5UR/05IvRt7lB18tin793Ao5AzS E+JAL6rFweGo8cKtN3n1pa2Y3QKbuZIEpmzbvm8fmv0NZtLT5VJJAowjNQC7PJE4pxWl PtXb7ViNNvLLQzMhkaLGwHk5isGRJibcHQ105pe+StMNpF2HninSAWfNu5r2FLWOxxPZ jbkg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678975983; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=LOCr/dp56x8yfPg236tQnpLOuN8kndNbHP2o7x5RuGY=; b=FWDJVsWHFUP1v4LAHhIN4G3u4zP8H0EZ0bmdN6mQiKOW7BVMWpSWD/yLxzoE93rmxj 4j7qKNZbZXvKPCwyoPk1B8UZATrVNrv+Pdd04e7F1oLJ9LAZwclbjawOXd214UrZkpfN e0m2KPJrcOOCxolnfYK+cekJ32FPiymaNZWN/ytTv3xVuUg3wOofKZhxPM7347iwXXDG GR+crSeVSbjTwcbBHpZl/dmFRJ9jlFcV+rSm0oFdRQQ0/Vl3K97sx/dk3aVg1hDKrQdT p6l5zJYT0NGS7o1rqhQV7svll4CWq1QgyGKSL9QBswOuhEogEpkip9DQ/51rDCdRfFzh vOAw== X-Gm-Message-State: AO0yUKWQ3SMz9dRq43hYrnz0toCPFH2jjvXOre0uvKwGcSJA2rF9QpEX i9uuONDSHAuMPGZx3RTC4JiF0w== X-Received: by 2002:a05:651c:1993:b0:293:5f35:d68f with SMTP id bx19-20020a05651c199300b002935f35d68fmr3014299ljb.31.1678975983034; Thu, 16 Mar 2023 07:13:03 -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.13.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 16 Mar 2023 07:13:02 -0700 (PDT) From: Konrad Dybcio Date: Thu, 16 Mar 2023 15:12:51 +0100 Subject: [PATCH v2 02/14] dt-bindings: interconnect: OSM L3: Add SM6375 CPUCP compatible MIME-Version: 1.0 Message-Id: <20230303-topic-sm6375_features0_dts-v2-2-708b8191f7eb@linaro.org> References: <20230303-topic-sm6375_features0_dts-v2-0-708b8191f7eb@linaro.org> In-Reply-To: <20230303-topic-sm6375_features0_dts-v2-0-708b8191f7eb@linaro.org> 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=1087; i=konrad.dybcio@linaro.org; s=20230215; h=from:subject:message-id; bh=T2UOT192UwWYD42jhZA6LPQhbEe5pwQ77s6b/5s/QFI=; b=dZYzKfGZGus6e9MJbhUWopp854ldx9ddjnWZSnzdTnqz5qI1VR7IgwTWMT8ycCzFTlctd6pn0S4u oS5Uv1p4BxViuyMsoJvaQKwRm80YQXR1ZmH+qAPqtkcxBIktbFfM 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?1760534231254259760?= X-GMAIL-MSGID: =?utf-8?q?1760534231254259760?= SM6375 includes a CPUCP block responsible for managing different APSS- related tasks, such as scaling the voltage and frequency of the components within the ARM DSU cluster. Add a compatible for the L3 cache DVFS scaler within. Acked-by: Krzysztof Kozlowski Signed-off-by: Konrad Dybcio --- Documentation/devicetree/bindings/interconnect/qcom,osm-l3.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/interconnect/qcom,osm-l3.yaml b/Documentation/devicetree/bindings/interconnect/qcom,osm-l3.yaml index 576992a6dc5a..9d0a98d77ae9 100644 --- a/Documentation/devicetree/bindings/interconnect/qcom,osm-l3.yaml +++ b/Documentation/devicetree/bindings/interconnect/qcom,osm-l3.yaml @@ -29,6 +29,7 @@ properties: - enum: - qcom,sc7280-epss-l3 - qcom,sc8280xp-epss-l3 + - qcom,sm6375-cpucp-l3 - qcom,sm8250-epss-l3 - qcom,sm8350-epss-l3 - const: qcom,epss-l3 From patchwork Thu Mar 16 14:12:52 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 70816 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:604a:0:0:0:0:0 with SMTP id j10csp520158wrt; Thu, 16 Mar 2023 07:39:28 -0700 (PDT) X-Google-Smtp-Source: AK7set/vHn38RYBfcDPyGIMqBwd1J8/Pl4HVG5GLQC3A6IG9MU11uG3XF23B/yUC0rhUktcu32MR X-Received: by 2002:a17:90b:38d1:b0:237:bf05:40b with SMTP id nn17-20020a17090b38d100b00237bf05040bmr4241570pjb.20.1678977568329; Thu, 16 Mar 2023 07:39:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1678977568; cv=none; d=google.com; s=arc-20160816; b=WqQihr4Gcgsq1NjdjOv3T8DF1UnNqipoH6WyO8V1lGOfUpC6lJvziqqorhrRGTqJB8 /03jrpAlswQw7ft8PgZXewGedKUOql/GBXE+nLmAtVu0remeVWFiF7S8F6ntDJgJUt9L xuSGEvbIZvi2mkX0ZyPuZ62q6D6XOuqbiHsO23CU+qcWTjFIZXegBmEeE3xERWkudI0R 6Mw5F3TvY+BK7xK/qnYgeyf6Zonpv8i8O9OPLL5zjmbKZx5/fgNLwfZCEdmDZOl6gq2h kM0cbtpunOz2V/0y1e3PUr21T09pjVsL8Kp0usP0hahTuJwxuTF5tmgHalmOFoxrRhDe f7aA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:in-reply-to:references:message-id :content-transfer-encoding:mime-version:subject:date:from :dkim-signature; bh=3HNoZo2uT81mxVeKLelFqU53D98fdSiAid3ySyEFFUc=; b=a0E0jJ0aM39yZLsTTdjMh7NOs1hTbbbXwluG4CO5u8tarREEWS8tXCt7VPHKStnvFi bfNey48Y1dcFl/AIRWDC3eZWsl998TO/3ZDIJIKGrMYSNNYLKZ4ITMksv1b9BWr7KE1G 8ag3znW54Z1IZv2UEuQnygD3uQN1ubRGDIJV6FRYMHqxALwKCMbaplqFdfJwl3tq1EvF v/h+yNI8EsIbXnHkUkH+WktYnMSG3gl40IzUU+HnBrJcytlNzHUsBmA2yLIKXHCApb7L VHYhDMODXDnH4XgDfo97V1ze77XGuOF99xz9m9uQ16bfIPReqQdVDQbsnI4ros+M97KY cDhA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=OZXcUOkj; 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 w9-20020a17090a4f4900b00233e301c780si4972172pjl.31.2023.03.16.07.39.12; Thu, 16 Mar 2023 07:39:28 -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=OZXcUOkj; 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 S231217AbjCPONQ (ORCPT + 99 others); Thu, 16 Mar 2023 10:13:16 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33852 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231172AbjCPONI (ORCPT ); Thu, 16 Mar 2023 10:13:08 -0400 Received: from mail-lj1-x234.google.com (mail-lj1-x234.google.com [IPv6:2a00:1450:4864:20::234]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 42A935BD8A for ; Thu, 16 Mar 2023 07:13:05 -0700 (PDT) Received: by mail-lj1-x234.google.com with SMTP id l22so1823011ljc.11 for ; Thu, 16 Mar 2023 07:13:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1678975985; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=3HNoZo2uT81mxVeKLelFqU53D98fdSiAid3ySyEFFUc=; b=OZXcUOkjYPuyo/kEj7oXIvQmAgqkee8YC7CzGHFDvFCLiYiPt+YAXku484VxFauoAO fMS5DbRcBHiAI1hxrL82ChRTGWpUUdNymKBa2WemrEFZwiYfjknq+tE2RsBH9KrrAHLf Tr5twCLurPfJQGqgUrECd01DwuXZ6X5nE7PPuxo4EouZUIiEYM5o6xJ11vw60/Omu5i+ 66zMW3bmzuUuOd1pNy/q/1dcZC1Bhaej7xst63a09OD2sGF+bkSLZmVy4q5/2e6rjaGS ajnHwG9BgUkR0+uMXSF0PD2DppsyHEOQeBdWGmTiOhHAixlG8tp52e+MDCkmnej4i5Ga 5BeA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678975985; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=3HNoZo2uT81mxVeKLelFqU53D98fdSiAid3ySyEFFUc=; b=orAZxPduSsX62PH6hq1nq2FJc6riajJXKmuxl3kHwWlIrrhwYUjYuEp8s2rkgXYHIQ dGAiVmgOOaYJtmED8su8VMjUBzP+i2q641O33Rmr6HrKiDK/aNHJ+kmk4uca1Lc6OVKG sOw9iQQN+K4sZWoUGT+/or1teGSW3ZF+BQA8XlacToYPCEgOPNhlAj5qubmwmQY5ZQci 49qs8zElrfIuBMp/c4snjw0Cfg/bqR2VNGfb7jMIzJuV7OETmPaIhlYJw8O2tg1oYPJ7 ophWekGPyHg41uuikcfWhLGI0drif2VIrYwfeYRDdW8eVMiEkXJoekcnNZbRjPpxNFpa Mi/A== X-Gm-Message-State: AO0yUKUHz0hZ6hgMNRZo+1GV+atKDfF68/TcChqv2jUm0dUgihfqiUkF 1Nrx41hwXzQkx3nhrn+6wUE+DA== X-Received: by 2002:a2e:8718:0:b0:299:ab8a:b2d1 with SMTP id m24-20020a2e8718000000b00299ab8ab2d1mr608839lji.41.1678975985347; Thu, 16 Mar 2023 07:13:05 -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.13.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 16 Mar 2023 07:13:04 -0700 (PDT) From: Konrad Dybcio Date: Thu, 16 Mar 2023 15:12:52 +0100 Subject: [PATCH v2 03/14] dt-bindings: sram: qcom,imem: document SM6375 IMEM MIME-Version: 1.0 Message-Id: <20230303-topic-sm6375_features0_dts-v2-3-708b8191f7eb@linaro.org> References: <20230303-topic-sm6375_features0_dts-v2-0-708b8191f7eb@linaro.org> In-Reply-To: <20230303-topic-sm6375_features0_dts-v2-0-708b8191f7eb@linaro.org> 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=798; i=konrad.dybcio@linaro.org; s=20230215; h=from:subject:message-id; bh=9sriG6OohvcstL9pTBH/SrGNaq/ftoFlv/MrKKmr1+Y=; b=IndxXPxby0uI6TQ3S+VX1e7DW5de3aC7UelsLhcNRGVpQY1n0C1n95eUPmdmQerD9cppRAwG0vn6 JG4t0SkVCRtnO1c2rJO0Y5Dgef/ATQcT4zvSMvqwy7pfvuoFwV86 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?1760535582723105252?= X-GMAIL-MSGID: =?utf-8?q?1760535582723105252?= Add a compatible for SM6375 IMEM. Acked-by: Krzysztof Kozlowski Signed-off-by: Konrad Dybcio --- Documentation/devicetree/bindings/sram/qcom,imem.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/sram/qcom,imem.yaml b/Documentation/devicetree/bindings/sram/qcom,imem.yaml index ba694ce4a037..0548e8e0d30b 100644 --- a/Documentation/devicetree/bindings/sram/qcom,imem.yaml +++ b/Documentation/devicetree/bindings/sram/qcom,imem.yaml @@ -26,6 +26,7 @@ properties: - qcom,sdm845-imem - qcom,sdx55-imem - qcom,sdx65-imem + - qcom,sm6375-imem - qcom,sm8450-imem - const: syscon - const: simple-mfd From patchwork Thu Mar 16 14:12:53 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 70812 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:604a:0:0:0:0:0 with SMTP id j10csp514508wrt; Thu, 16 Mar 2023 07:28:24 -0700 (PDT) X-Google-Smtp-Source: AK7set8EFnw2meO2aHF+kzfOJTJtMlIMi8Hlx56rFcfoyDugHBIUklZzvUiVQkZJWL58/fsH4TZJ X-Received: by 2002:a17:902:f314:b0:19f:3b31:4d3 with SMTP id c20-20020a170902f31400b0019f3b3104d3mr2657216ple.41.1678976904685; Thu, 16 Mar 2023 07:28:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1678976904; cv=none; d=google.com; s=arc-20160816; b=LKI3Z6hyi23VDjFGc+j72P9/1Q3SaCrL53jVpc3YgGAJImqyeKZ9meagN5aCYCK5h+ CHIhA16IN7Knz/8geqttR4bva4l7wz42n4qI56U3qc04vBPW/5dgIg9FjXh8UDagQ5Te NJLwDDoWruC7g4IVg5zD8BWRWGglUm23nSdOjGl20yO0U0MVyBiTBg98chs87Vv01xCB kVMVIJ+8RCiVB3n154Ue7cdEoAgWmgPXxXfNTTOHmY0tj3e1O1SwM3WaegM2UKIY3Z7+ X3wlVyfuqxnVBlwwXyfadqplluEpPXYRgnU46MSREAMRf5TFpv+6rcZO8Pmk6aq6KPmR xu4w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:in-reply-to:references:message-id :content-transfer-encoding:mime-version:subject:date:from :dkim-signature; bh=8raBTXfySji8fpCPLBYPhkx+Ml6mdyfbjzhF4yIreP0=; b=JiyHqUiFGnywsX7beHFW6Cr0n3HlsDxyTs4yu6tgOBQwUt7C9LdrBrgo6MTJbfTgMp o3WbXIRd/yOisa9qA2JGmaSFt7xg9yQ1FkS85FAKlCL937iWVsH+T/i7xT4VmhEYzP7Y idl8nQ0xKDonRQK0sBQ2TXtpOeFMzaoAANyj7EagrU5TKqWaYv2oAXJafesnnNRf1Yqq KEFQiLYjACWlAZQPW4KRl6lvMTWfImrqvifs9xCoHNv33/nLan39lxDRHT6xf7Ro+qKB tlJTJIocJ2xDuJnveNZdu7KPotI8hPqWwsP5U+UVsNQtEgR68sA1ZU7yOgx/Czqd7xlG BoBQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=azxV0C7E; 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 126-20020a630184000000b005093c26b6cfsi8195891pgb.611.2023.03.16.07.28.12; Thu, 16 Mar 2023 07:28:24 -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=azxV0C7E; 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 S231240AbjCPONX (ORCPT + 99 others); Thu, 16 Mar 2023 10:13:23 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33984 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231205AbjCPONK (ORCPT ); Thu, 16 Mar 2023 10:13:10 -0400 Received: from mail-lj1-x22b.google.com (mail-lj1-x22b.google.com [IPv6:2a00:1450:4864:20::22b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8513689F2F for ; Thu, 16 Mar 2023 07:13:07 -0700 (PDT) Received: by mail-lj1-x22b.google.com with SMTP id z5so1831767ljc.8 for ; Thu, 16 Mar 2023 07:13:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1678975987; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=8raBTXfySji8fpCPLBYPhkx+Ml6mdyfbjzhF4yIreP0=; b=azxV0C7ElI9nuIrzcyidvF7wgMwRjrYpY0h3aDMacTQtr27ionpn4UIG6e7iJ55i6C +gN0i6O6HGBVpaTf1OQ2Ku8d+g5jDBPI2DNV6HVoUer4aNZ79cJltykl/9VlvKinM2iK 0ekYHVYFjtRhraNTIswyN17bFotw4ZKNm70U7WS7+Z4zp5tlGErso3sdtCXHXbtf0cO3 y/Mk2MXFcKV5vOJzqf8m/2iFqY3XM72P3RCywjy5mIevJICr5G6tsYnaI0vQ60VZoQqO ptInUSWaMFRl7ZuxhmFjiyf0ztk5dHPzlt+hWBuO5vy174976jqRU4J3Sxg5HZqB6pGE qMHA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678975987; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=8raBTXfySji8fpCPLBYPhkx+Ml6mdyfbjzhF4yIreP0=; b=G7REw8Xpo/YDDoj3f242SCsAFkccJdxESJkn7OdoG7dfQQNC/9K/35LnjaOr1aPUBN hhclD2xJ2Vc7pvp0WHBFzgWIba+Va4ceg3R43tnwci8sjeHCmxY0b83Z25tfeg1XeKYf X8OdzV0f0aOqgITOVZlrcNYUSpCpXRut/hc1Nt1rSp8hiLhvQiwNssBeDGRaOsa/oa1j wQu1fECpaXTw5vFi2y4vq0WyMT9ve4/WZ0yhSongnFZK4tWvceYHG13l3z2ZH3lb8G24 y+nzVPHw+nQJJEhhoRebKObYp77Ink6PxnGhtR1pM7niYEFcUKDBGaiBneHEOMgVw5HN jBsA== X-Gm-Message-State: AO0yUKVRjK7twRitt7JnwbuXzEKBtGwjMPlqIk7SKtJ7L+6JilTwYDj6 EbUokBbBTedvQp3TaFmrflw7pw== X-Received: by 2002:a2e:850d:0:b0:290:8289:8cc8 with SMTP id j13-20020a2e850d000000b0029082898cc8mr2002890lji.22.1678975987062; Thu, 16 Mar 2023 07:13:07 -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.13.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 16 Mar 2023 07:13:06 -0700 (PDT) From: Konrad Dybcio Date: Thu, 16 Mar 2023 15:12:53 +0100 Subject: [PATCH v2 04/14] arm64: dts: qcom: sm6375: Add RPM sleep stats MIME-Version: 1.0 Message-Id: <20230303-topic-sm6375_features0_dts-v2-4-708b8191f7eb@linaro.org> References: <20230303-topic-sm6375_features0_dts-v2-0-708b8191f7eb@linaro.org> In-Reply-To: <20230303-topic-sm6375_features0_dts-v2-0-708b8191f7eb@linaro.org> 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 X-Mailer: b4 0.12.1 X-Developer-Signature: v=1; a=ed25519-sha256; t=1678975978; l=761; i=konrad.dybcio@linaro.org; s=20230215; h=from:subject:message-id; bh=DKx+rSMb2n+6CPR4L2fodh6IzfCfn+ctrSy97qX3zGU=; b=kgTjRf+0MZH83jHV0+hWfT5jLGkzIuDSYLc2nQr1s13EaX8qETr6kQs7C8nt53DKqE14Vs4CKI87 dFLEuKAqClp7xo7Qh9Lv+Zic8bOij0SKVMfKLQ0Tp1FCMygSzx5f 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?1760534886636281080?= X-GMAIL-MSGID: =?utf-8?q?1760534886636281080?= Add a node for RPM sleep stats to enable sleep monitoring. Signed-off-by: Konrad Dybcio --- arch/arm64/boot/dts/qcom/sm6375.dtsi | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sm6375.dtsi b/arch/arm64/boot/dts/qcom/sm6375.dtsi index 31b88c738510..de5882c0ff81 100644 --- a/arch/arm64/boot/dts/qcom/sm6375.dtsi +++ b/arch/arm64/boot/dts/qcom/sm6375.dtsi @@ -718,6 +718,11 @@ rpm_msg_ram: sram@45f0000 { reg = <0 0x045f0000 0 0x7000>; }; + sram@4690000 { + compatible = "qcom,rpm-stats"; + reg = <0 0x04690000 0 0x400>; + }; + sdhc_2: mmc@4784000 { compatible = "qcom,sm6375-sdhci", "qcom,sdhci-msm-v5"; reg = <0 0x04784000 0 0x1000>; From patchwork Thu Mar 16 14:12:54 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 70823 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:604a:0:0:0:0:0 with SMTP id j10csp526490wrt; Thu, 16 Mar 2023 07:52:52 -0700 (PDT) X-Google-Smtp-Source: AK7set8fPF3OW2Wm3UIeHcBiw1HXDrYfawjJ0f6H++pmoOtr7u90s/QGBDL2ktt+0XYfmZjDeRxy X-Received: by 2002:aa7:96d3:0:b0:625:b37c:7cdc with SMTP id h19-20020aa796d3000000b00625b37c7cdcmr3244872pfq.15.1678978372504; Thu, 16 Mar 2023 07:52:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1678978372; cv=none; d=google.com; s=arc-20160816; b=kMPEiLyEYvyc3hXE1cj/ATOomo1kP3R/caQPaMGtPqCq7mAwz6Fdvh2xfPINHltVsw /5K/gVl9RCMrHVhJMGTxQfHQzGxXfSXpUz2Gp8EKkQ/D0TWBArihIRmns+sC6qGsIOZT Vcv/V53TeiAV5CzfGfDk0jXxLv3KKrS6EnfcFI4OsxrpJFShuPpgclB9XE7o7FqWSjV4 FGE11+ZRSD8qprIKzdROb2qY9iTN5zIMnblDT59PNAMBkl3GzO/C0E7QPYAEv6mB2itJ VdCVHycbSro7K/mqHqif9NhsAlYmizyS+uGVXPspJ8H2QhYST8+0nWwnRfwedKF0EQZ7 uEGA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:in-reply-to:references:message-id :content-transfer-encoding:mime-version:subject:date:from :dkim-signature; bh=N802Fr0mvYVFoYKvgL4Iscqjub6mN4UuWcVLOyObAeQ=; b=o0SGtpAAxSgwH+p87be/Ph7tTGPHke6jLC6vzBNC+SKx94IQ0vBtJNaFXtFZZ48fiG nV8U1W0RWnsPF8Q9122JFBzipyRMaTQ8JltxGHytSnSbYef4mhrHjS9cJNXiDVmDo3O1 UPELoGaoV3z7EWUtqlTU3aPlTg9w6CI18vKd9wZb8f9rQcjvBtcBB3TkKTMVWQiyJbHR WUmskVf70V7CaggWSqeSPpWfr4a/Df5uRJAP0gvRIg0ao3ujh2ApB9DOE3RcjYkp4fii XiQy30hZL/hWZ/t1h3arC8CyV+LIN1J/G+N8zmU89zu3ahOh/v/jAlBzuAF94/a6kpiW 8lZQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=anO7XhKi; 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 z3-20020a6553c3000000b004cd1e13283fsi8524959pgr.318.2023.03.16.07.52.38; Thu, 16 Mar 2023 07:52:52 -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=anO7XhKi; 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 S231284AbjCPON2 (ORCPT + 99 others); Thu, 16 Mar 2023 10:13:28 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34100 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231200AbjCPONV (ORCPT ); Thu, 16 Mar 2023 10:13:21 -0400 Received: from mail-lj1-x236.google.com (mail-lj1-x236.google.com [IPv6:2a00:1450:4864:20::236]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id ACA4ED5A41 for ; Thu, 16 Mar 2023 07:13:10 -0700 (PDT) Received: by mail-lj1-x236.google.com with SMTP id h9so1855465ljq.2 for ; Thu, 16 Mar 2023 07:13:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1678975988; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=N802Fr0mvYVFoYKvgL4Iscqjub6mN4UuWcVLOyObAeQ=; b=anO7XhKiTxQ7PspWlz0W5RuZllTBEpxpRK56MzaCLB1+qFfkKSjL7GCkvelyz5Kmna 5ExrTeNfHAv0qorhHh8Ag5AC0/SN9Q+IOJ9DThhWLZoSxmgP3rDpyZeXSQajbuKOSic7 KLfdXS9/uf8OoACfBtE28A37tN3jhlrVp2G6Cbm0C6sXxIRdwYqrz9Dz8kmd//Kfq0bV oF1JTzWexjcZVgZTSPyOZvNuljqWGrYcS+NRyYTxbKzUF3W8X/c7/+Ma0FFLAxDr8u1g 2bwjcXZ3kiZLJvNyXqF/gHE2dLFjWa1EGKwkIeMcIH8hqZuz8JmplPxl9DquFGkfGzJ6 6fSQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678975988; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=N802Fr0mvYVFoYKvgL4Iscqjub6mN4UuWcVLOyObAeQ=; b=rV1rNFfsOCOeZjCEReBJfHqzDSFJ5SBtO/AosM/4mvOM1Erm0LMpjGRO2VWg/ExQh+ tkIn87NBh0VE3adfNIiO25MXagXTU4E7E/6PtF+LQJ9Q+eU/dV+GVHVX4Ct8FtI+uL80 +4+qS9iqmX4NgwDCer9JRm3hNbCPiv6TLWwaSpc4FioA5xlzt+pvj0yb0ng1l+JUpCIQ 4MWwWpdPsdZVMTHTMjVQO/xsYvKsUN/5oihkYiqyKl6GPAcwd+TT3exyF/2Au38JYVZt o0kUqTYVg/Cs7Ub4ah6UdfkhUhCFvewGM7dw/6V9wHBVvUqnUOr7Kog4XVPmbSuX9sUn rFbg== X-Gm-Message-State: AO0yUKWo6GSkNzu1h6nIpjYN/hyG2N4TVc6C22Ju8IcqFV9N2qUw1WBL uiwLYffjQDS8Hb6PHMrbbhhgGg== X-Received: by 2002:a05:651c:1a21:b0:295:9517:b98f with SMTP id by33-20020a05651c1a2100b002959517b98fmr2416206ljb.15.1678975988657; Thu, 16 Mar 2023 07:13:08 -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.13.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 16 Mar 2023 07:13:08 -0700 (PDT) From: Konrad Dybcio Date: Thu, 16 Mar 2023 15:12:54 +0100 Subject: [PATCH v2 05/14] arm64: dts: qcom: sm6375: Add IMEM MIME-Version: 1.0 Message-Id: <20230303-topic-sm6375_features0_dts-v2-5-708b8191f7eb@linaro.org> References: <20230303-topic-sm6375_features0_dts-v2-0-708b8191f7eb@linaro.org> In-Reply-To: <20230303-topic-sm6375_features0_dts-v2-0-708b8191f7eb@linaro.org> 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 X-Mailer: b4 0.12.1 X-Developer-Signature: v=1; a=ed25519-sha256; t=1678975978; l=952; i=konrad.dybcio@linaro.org; s=20230215; h=from:subject:message-id; bh=XeByskUh4IJy5GUSRGVEOURhAeiNtSqMfR5ebBA6Oes=; b=mMAFk6AuU/gMpqPyPUUUhzoWQDrmjRlIU1ZiIzMYlaaCXfIpkR1Gf2xkYL/WskH9spuP5ffJlJOb H/ScjN/2BaU3hl3N5lADcQaDr/OLOi1WI32ZPyhUss9gyoU1iIa1 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?1760536425773823333?= X-GMAIL-MSGID: =?utf-8?q?1760536425773823333?= Add a node for the IMEM block on SM6375. Signed-off-by: Konrad Dybcio --- arch/arm64/boot/dts/qcom/sm6375.dtsi | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sm6375.dtsi b/arch/arm64/boot/dts/qcom/sm6375.dtsi index de5882c0ff81..5a0abb7f7124 100644 --- a/arch/arm64/boot/dts/qcom/sm6375.dtsi +++ b/arch/arm64/boot/dts/qcom/sm6375.dtsi @@ -1233,6 +1233,20 @@ IPCC_MPROC_SIGNAL_GLINK_QMP }; }; + sram@c125000 { + compatible = "qcom,sm6375-imem", "syscon", "simple-mfd"; + reg = <0 0x0c125000 0 0x1000>; + ranges = <0 0 0x0c125000 0x1000>; + + #address-cells = <1>; + #size-cells = <1>; + + pil-reloc@94c { + compatible = "qcom,pil-reloc-info"; + reg = <0x94c 0xc8>; + }; + }; + apps_smmu: iommu@c600000 { compatible = "qcom,sm6375-smmu-500", "arm,mmu-500"; reg = <0 0x0c600000 0 0x100000>; From patchwork Thu Mar 16 14:12:55 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 70815 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:604a:0:0:0:0:0 with SMTP id j10csp518010wrt; Thu, 16 Mar 2023 07:34:58 -0700 (PDT) X-Google-Smtp-Source: AK7set/mOBbiX1xuoVYnCCi49TbOIAbx054AjIWP75AVu1mFbENUG9zK3z8diI55kabsF2k6ASeb X-Received: by 2002:a17:90b:4c06:b0:23c:fa83:2a7d with SMTP id na6-20020a17090b4c0600b0023cfa832a7dmr4419063pjb.12.1678977298057; Thu, 16 Mar 2023 07:34:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1678977298; cv=none; d=google.com; s=arc-20160816; b=Imf3ww4G5Dkk4KLvoPYlVek0Bc/DsktIZiQVgzhzAXkTHjegECjQdWrBS/S+hTef0q 4OlquqfJLK0BN9LmnIwxvrGGOYFXJaclOA405QxnrM7INFjEdUvUDsNFJmaj8saq0z6I yFfAwPo7Jc+BRzNFEoNTelasP42O/7SMXWGFXJkGGDkr7UdblKgJCNfWeI1lWcw0gpbA V1S4Tvvvlxtu8sYlO0g3xLnK18XqNhcwpRXI9Ep1F1UXB+DAgTpWXWajeUHN+bOoCqPT +JnoAQKl0Vxnfq+WWet+XiMy6ZqBw4AlqGyJKqS46Tm7FpSA2JGY1yvAuKTFi44Z0NHg 6T6g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:in-reply-to:references:message-id :content-transfer-encoding:mime-version:subject:date:from :dkim-signature; bh=xQTyZcO6FNqmddoHzVzEIHqpO3JKFdaOcoa693p0iLI=; b=AFJraggghgM74Z2g0hCXhBXzMNYknneDyXRB6wDu930H9Xn6SuV1Z3jKAPx+9fP3qF 28yFdNGLnuAm9skE2P9py22dUhQERvtK6FDEVzbe9282c3xtxyHbJi1/LtegzREVUtgU c/2hVTQJjw/pf+LNgqtNrEIufUtl1fgTJevOzdR92XxqCGrPRYpn3/JwI3aT5Iu9ajA/ VVQ6f+MoVjB7YMand69EabAyivOL0AIEx9fG1ipofiw9mJ3C7PoIMHed/XNgL7B7LPH/ WTL4JGk07m/zsDC1hkuS0i6YGriqBp5MPp3/pilbJlJRVroEtgxqCdgxYFFeUKJ9VFuj 1khw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=uS4wq+xK; 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 n7-20020a6543c7000000b004fbaad02597si7930752pgp.457.2023.03.16.07.34.42; Thu, 16 Mar 2023 07:34:58 -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=uS4wq+xK; 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 S231175AbjCPONc (ORCPT + 99 others); Thu, 16 Mar 2023 10:13:32 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34876 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231224AbjCPONV (ORCPT ); Thu, 16 Mar 2023 10:13:21 -0400 Received: from mail-lj1-x229.google.com (mail-lj1-x229.google.com [IPv6:2a00:1450:4864:20::229]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 933E7C48B1 for ; Thu, 16 Mar 2023 07:13:10 -0700 (PDT) Received: by mail-lj1-x229.google.com with SMTP id y14so1844432ljq.4 for ; Thu, 16 Mar 2023 07:13:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1678975990; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=xQTyZcO6FNqmddoHzVzEIHqpO3JKFdaOcoa693p0iLI=; b=uS4wq+xKNCEvqiZXswSmneBjQX7KBSBv1Lk8frtCuVcAc0jnVlF/9xMlpE4P09dB6i u27gi8wU8pjUIYIhZkMfr6rXJS2g0fBvA6TxTv1HvA43kcOEWit3a+HNsWwOwczuVR3G 1uEHipxTfb80D0dbglX079LFfgwpKSIbwH0fi6aGnMv+RbLP7Gb7vHykFN8aCKsuxCnh yV9Hi5u+WU9onKFg0+zbK5T2o01IAwcabHyBL0uQRlJbnCC6876ntgGuli6WyjXsYefb jToKT/VnbUWmmJA0ptRsV1dtdcv27/FjSbQIpejLGXvVb9L2LPN5X/n5pE6rI5qebH5t A42w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678975990; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=xQTyZcO6FNqmddoHzVzEIHqpO3JKFdaOcoa693p0iLI=; b=iU/WnQSp7cmhquvGMD1Ijb7WUupB+6tQEYm4BVj4rWUqK8cLX/t7jljG2bgMM4O3XP A+Eujg/ruMam043rWJ8NPsUpEm/SeQlFs4KB+xYxDTll92ERTCfvSJZBp7cx1hRgT6WS TIlxe99bjT+GwGZ9g7wPFN11A6f1rPnFLXdSVrYwXkV99YJkAwRxLCDPO1KnPX5BFDhU PIcdlELJTyv6/cX/ZFiBC7NfR4y7FPx2pAuPq1wyL4Y5bC5kNcsfUkPIF1NXy4kky2Vb ukR03pl7ayl4nb95YWni3dLlUiWX2aYglnVH/oDmbE26XGNI7ydF5Fixk605pp8yv75w KDQQ== X-Gm-Message-State: AO0yUKVv9+oQEHl5/t6LO+itJ5ESQbMCLDGHCwu9Axqn6r9mqgoVxZ20 DDez78BPyLKOAaAJznX29gpbVg== X-Received: by 2002:a2e:8e7a:0:b0:293:45dc:8b0f with SMTP id t26-20020a2e8e7a000000b0029345dc8b0fmr1938550ljk.26.1678975990101; Thu, 16 Mar 2023 07:13:10 -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.13.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 16 Mar 2023 07:13:09 -0700 (PDT) From: Konrad Dybcio Date: Thu, 16 Mar 2023 15:12:55 +0100 Subject: [PATCH v2 06/14] arm64: dts: qcom: sm6375: Add RMTFS MIME-Version: 1.0 Message-Id: <20230303-topic-sm6375_features0_dts-v2-6-708b8191f7eb@linaro.org> References: <20230303-topic-sm6375_features0_dts-v2-0-708b8191f7eb@linaro.org> In-Reply-To: <20230303-topic-sm6375_features0_dts-v2-0-708b8191f7eb@linaro.org> 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 X-Mailer: b4 0.12.1 X-Developer-Signature: v=1; a=ed25519-sha256; t=1678975978; l=1141; i=konrad.dybcio@linaro.org; s=20230215; h=from:subject:message-id; bh=uH0RgNHZmHlst/xmB30MnTlB0owLxkAZmTcQ5HED9bM=; b=myD29cipZPZDW0mklvNMbfsnMLtY2QUzlb0Rp6t1E9KcOy1eXJytD1B2F8bFvtEbNh9IKI5wTgzw SzfAgBVUDlvabpD4VRSgDvlVqixgcME12yPfe2ZBeu3+p78LgOTF 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?1760535299332870740?= X-GMAIL-MSGID: =?utf-8?q?1760535299332870740?= Add a node for RMTFS on SM6375. Signed-off-by: Konrad Dybcio --- arch/arm64/boot/dts/qcom/sm6375.dtsi | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sm6375.dtsi b/arch/arm64/boot/dts/qcom/sm6375.dtsi index 5a0abb7f7124..2cdd000a4e2b 100644 --- a/arch/arm64/boot/dts/qcom/sm6375.dtsi +++ b/arch/arm64/boot/dts/qcom/sm6375.dtsi @@ -6,6 +6,7 @@ #include #include #include +#include #include #include #include @@ -424,6 +425,15 @@ removed_mem: removed@c0000000 { no-map; }; + rmtfs_mem: rmtfs@f3900000 { + compatible = "qcom,rmtfs-mem"; + reg = <0 0xf3900000 0 0x280000>; + no-map; + + qcom,client-id = <1>; + qcom,vmid = ; + }; + debug_mem: debug@ffb00000 { reg = <0 0xffb00000 0 0xc0000>; no-map; From patchwork Thu Mar 16 14:12:56 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 70813 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:604a:0:0:0:0:0 with SMTP id j10csp514679wrt; Thu, 16 Mar 2023 07:28:47 -0700 (PDT) X-Google-Smtp-Source: AK7set9t/MBoccsvRFBZoWk4lSpyMjxnJR/l4wqML8aovljfatlSKLriWyuNqm/76Ksv8XQqKyzR X-Received: by 2002:a17:902:d4c8:b0:19a:b033:2bb0 with SMTP id o8-20020a170902d4c800b0019ab0332bb0mr4764197plg.46.1678976926889; Thu, 16 Mar 2023 07:28:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1678976926; cv=none; d=google.com; s=arc-20160816; b=vdb74gLoR46LWrAF9AChSmqr2y5FWIQplbr294jG0olHRg5QX04snuShBErDTPYQra W4swaqUPUN0mAR/502VfLrM8hSQ5q4o4Owsy1oeFY7vStb0UpeCUE9G3HaNT/EUQjPuz MYqEmkExQ4N8uaNslXcf1WE1dbNNsH/peqgU4NscDt20+KUnjbL9I2LPe78l2QI9s8d3 394fsDDBChzyFDsxKGJu0SVpeV03lU2BowgYB/sTloqzHU4ogQFasDBwYJeCISED6Ogm TZVZUS88K4RLEZGl8eo3RCq3wYFuWHgW0p0CN2w5Fs+phQy3bEOpI4aQZdyHMGmAvJTh VlqQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:in-reply-to:references:message-id :content-transfer-encoding:mime-version:subject:date:from :dkim-signature; bh=1vqopDs853OIz7wr3B+Xdv3eU9ExHJXccftgDO6ekVc=; b=ct+RkDPghZhmcmcDlhBYJR4i8LOv94gBHIv2aPaFVxmBZxMHmNU4tKLIXcpycShBon Kq57NccE9sbXw3lG2NLzJ8gE0izHZY4Zt688TONY7kUqi3xVjqfZjaVnqfGs/rVHZ3E8 vVB2ZqoP5K4GqRD0+3PObM8q4VtQeCIPBTfLelSnVlQwnweMSRBDJy3jjXZONDa8+HPJ VpI8Xz1S0y7UdDDXaI3BBS9oWZ6fKBMS8jnVW33o1Tdc9UTDIjjrvF5tFABxDVS+7Hre 4kvBWXHSrwGPVBAtqquCdQTTsquxhO3DxkVCsfF3RhPqbEzl3N434Oguma5zhy11Yb58 GZmw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=yCQR3osM; 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 o13-20020a170902d4cd00b001963669c7d4si8836567plg.532.2023.03.16.07.28.34; Thu, 16 Mar 2023 07:28:46 -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=yCQR3osM; 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 S231304AbjCPONg (ORCPT + 99 others); Thu, 16 Mar 2023 10:13:36 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34958 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231246AbjCPONX (ORCPT ); Thu, 16 Mar 2023 10:13:23 -0400 Received: from mail-lj1-x22f.google.com (mail-lj1-x22f.google.com [IPv6:2a00:1450:4864:20::22f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 670B7B1EE0 for ; Thu, 16 Mar 2023 07:13:12 -0700 (PDT) Received: by mail-lj1-x22f.google.com with SMTP id z42so1812198ljq.13 for ; Thu, 16 Mar 2023 07:13:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1678975991; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=1vqopDs853OIz7wr3B+Xdv3eU9ExHJXccftgDO6ekVc=; b=yCQR3osMTJ6h42DloZHw7hvR8IiOa/B1l7UrhvUqmhpbLDTdGc8RI6r+dBVR1qFqub QueyNwawWv9ScOqMQuD/29Sr8maAftaQFe8EXsg9bGiuoxD/HJi+eMsjVUgf84TFklhh YdvwtFnwUAgDXPl56akEORHH4G3gHTjbFzLItKjoGPm6DLVl5EOUsy38cFcr6eS8xk6w 3bdHPLaVag/CjllrEndTs/8RimMENESWzt5TTymb0+UDAXUR4WWdTGSUiLKeyrYPPPMY Ie6Iw/GhHxp/owyc2hxhkuqS/d5Nd7BWbDr0amgXdOe27ae8YG/Y0spDNj4OMUBoAhtt rgKA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678975991; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=1vqopDs853OIz7wr3B+Xdv3eU9ExHJXccftgDO6ekVc=; b=1vB/LEUJdlKo1LCUliSOKksUIVAEQdKcSYAU/cbfGbwigsk6c13rmzyyXEVmt3hv29 neuorwzxbZPnlj+eQ4V/VZho9jk9HSSjOBHGixogVIRcqdsH6n2T2zrBJqVI2Rhlc6DA bN/xV7J/51houQOKxeMd7hWwhAIkHUfv2hF3kAbYwSDwhYad2w7SUxhEwhM0R4d5L083 LvblknWBBfpYcWU7wxBtcKc6F4LvC+Zt1z/V6mllSUzx2+lGMFuyyPa6Mfj5xnruVdFG FYgd8Wu/WOLST72hRqSgiODHtx3wn0XFnaNtX02DzpfiB4GGzARwoMKGQYgwslqV1cOU T/Lg== X-Gm-Message-State: AO0yUKXEBvnp+Xo8B44MElS+alLeF3u/XBywW9BBsqabcKarvNmNfZjM QtJHur+fwHYCeS+FovT9bL3ZNA== X-Received: by 2002:a2e:be8d:0:b0:295:ba1d:c2bc with SMTP id a13-20020a2ebe8d000000b00295ba1dc2bcmr2975492ljr.45.1678975991845; Thu, 16 Mar 2023 07:13:11 -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.13.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 16 Mar 2023 07:13:11 -0700 (PDT) From: Konrad Dybcio Date: Thu, 16 Mar 2023 15:12:56 +0100 Subject: [PATCH v2 07/14] arm64: dts: qcom: sm6375: Add wifi node MIME-Version: 1.0 Message-Id: <20230303-topic-sm6375_features0_dts-v2-7-708b8191f7eb@linaro.org> References: <20230303-topic-sm6375_features0_dts-v2-0-708b8191f7eb@linaro.org> In-Reply-To: <20230303-topic-sm6375_features0_dts-v2-0-708b8191f7eb@linaro.org> 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 X-Mailer: b4 0.12.1 X-Developer-Signature: v=1; a=ed25519-sha256; t=1678975978; l=1484; i=konrad.dybcio@linaro.org; s=20230215; h=from:subject:message-id; bh=+otj1Pk8eMle5AYQIbjERaviQEzSMjyG5K7Qicq4ass=; b=v2EQnTrGNPBuNI+AxHu/Y188twk1jFdXe+qthOVwuKFebklp76Q92+GnsXf/llpo9O4Pw03MDi7M ENLdI51qC/eFDQ3R421FxjoMW1VFwWELIiOyAQjyDjv7QkRWH6A5 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?1760534910194694175?= X-GMAIL-MSGID: =?utf-8?q?1760534910194694175?= Add a node for ATH10K_SNoC wifi on SM6375. Signed-off-by: Konrad Dybcio --- arch/arm64/boot/dts/qcom/sm6375.dtsi | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sm6375.dtsi b/arch/arm64/boot/dts/qcom/sm6375.dtsi index 2cdd000a4e2b..e473a90f3dea 100644 --- a/arch/arm64/boot/dts/qcom/sm6375.dtsi +++ b/arch/arm64/boot/dts/qcom/sm6375.dtsi @@ -1333,6 +1333,28 @@ apps_smmu: iommu@c600000 { #iommu-cells = <2>; }; + wifi: wifi@c800000 { + compatible = "qcom,wcn3990-wifi"; + reg = <0 0x0c800000 0 0x800000>; + reg-names = "membase"; + memory-region = <&pil_wlan_mem>; + interrupts = , + , + , + , + , + , + , + , + , + , + , + ; + iommus = <&apps_smmu 0x80 0x1>; + qcom,msa-fixed-perm; + status = "disabled"; + }; + intc: interrupt-controller@f200000 { compatible = "arm,gic-v3"; reg = <0x0 0x0f200000 0x0 0x10000>, /* GICD */ From patchwork Thu Mar 16 14:12:57 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 70822 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:604a:0:0:0:0:0 with SMTP id j10csp526443wrt; Thu, 16 Mar 2023 07:52:47 -0700 (PDT) X-Google-Smtp-Source: AK7set89SLdMJ1IHW6TVrBJmXUg5O41QHuu+PEGiLrzqRoumq+8sW3rXvedxw0fmwDZkQNpPJ8Ta X-Received: by 2002:a17:90b:4a47:b0:23d:39e0:142 with SMTP id lb7-20020a17090b4a4700b0023d39e00142mr4139161pjb.42.1678978366747; Thu, 16 Mar 2023 07:52:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1678978366; cv=none; d=google.com; s=arc-20160816; b=EzKEVpQWl+YDACCLPBVhZqZMPmcjeuOwWFSsswVtsWBN/2H230mCYxAyf8rIqiE5Tg GWmILB6BIUXxxkH/kGOOMz63eVrcgM0nDSKxo3BUhOVXrkRof5fOkZy2KFjUqCABwsEi NXV4tpbKgV8cYEJt3oyrFac3wZ9Hj+6DBDi7VWTWxEodffd6BJTXV3uk2uFiDgxqeOv2 800lA+cnZT2KIoCCBMTehL47/8G+NRvxSNnq4W4UNITmUG8gA4EJ/lt85WQpc/R3fB55 m4Rl9jr7znqK9X2RPDiVj7FwNMiq3xyodKsKz9iGyi580Ke2Ss0rVtKzyP56o/vqwLMG rF6A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:in-reply-to:references:message-id :content-transfer-encoding:mime-version:subject:date:from :dkim-signature; bh=dIy97MlLq0rj6R7WBk66We2Y8cheU7mrKCO9U6h0C2I=; b=d+nGRt14syEfIoXywvKYg4dF4ohUODtbPzwqwkQ07DMumCaGc1xmhDOSYdp3J5a6oA D7UTePS10bYLMlzEX3D/D9EXicsBoeGTPXgjG2ZSM5nDITBZZlW883z87+z8PAmfYxtq pjsdFTvDHIf70uDn4yG/8pWuTgwxRXHg6AGgByb5WmQ2Ww0a946RyYnpUIFmyrwWtY/t g/8HgSit1JOeYlnU5ziuLhYZQwXHcJTQkcB0dwS2kDdR/dL0rHUh4tEVhtMq75XHqCn3 g3MQhZ5jCNj8Rr2f6yksIwk06Z72aRSKzDC0qDKdbco7TtaBjcPYfxZ8ob8p6sowapid Hfaw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=U9duvqHP; 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 y1-20020a170902864100b0019ce4e2be99si7852594plt.193.2023.03.16.07.52.31; Thu, 16 Mar 2023 07:52:46 -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=U9duvqHP; 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 S231281AbjCPONt (ORCPT + 99 others); Thu, 16 Mar 2023 10:13:49 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34908 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231273AbjCPON1 (ORCPT ); Thu, 16 Mar 2023 10:13:27 -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 93C2F6188D for ; Thu, 16 Mar 2023 07:13:15 -0700 (PDT) Received: by mail-lj1-x233.google.com with SMTP id y14so1844591ljq.4 for ; Thu, 16 Mar 2023 07:13:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1678975993; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=dIy97MlLq0rj6R7WBk66We2Y8cheU7mrKCO9U6h0C2I=; b=U9duvqHP4d118qYcAjR/gHLHSQQY+fOi656e4DiULyOL+dhHy0Nw/740k+nVBCQkfc 4jztyTTm8UX0QlzCzlwVao8P4X9cPzg09u/7QUOx1QXafigZgNrNQS8hjvJR9KIo3uTC XpcFpQtWtZcHVeFZFw0HfJ7uA3WDoziySN0w5MUphMhG1f0CKFKVf8agzkKKsRfK8CNO NxD4KautTtP8thrtjrWu4o8Fjy0qfbUOV8aRbF5lZbA/nCvlJY92V9TftlOHv8iT8vPY NybxZD3HX86K40qDLffx7lzACiTmoHqYpohGgkkroGL/kpAsmuB+yrHULmwYz0bL17SD Co+A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678975993; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=dIy97MlLq0rj6R7WBk66We2Y8cheU7mrKCO9U6h0C2I=; b=7Xk9CjLYWBA+sqGhQsJD+BTAyCPFZMy0z/t2uefMfmxpgkJd1IKIy0H6Uufybszo1G aAG9dSF7SP7xMD8qHrr5AuZwxKUqxA7wFKXw3esKpufNHPvHoQMo1Vn/OayNRH/+VAt5 8LKo4GIjwX/IfAx6dJmYMjCGSiYcPTKMLofwAAOgD1DkOrP7QgqafuCqHFjWKKFKSzjl tfjCp3wHKfmdQt7S6XK+i24qN5Q9rAz43PSaBRwdBP6T2s2Dp3HC3RYQgPXmOaT30Zi0 Chnf8XlfgJDURLt/aqM+v3mOlH+OqyxYdPGr0oZhvnrCyWk1LmxvJqe+dsvHkbEykK3r 34/A== X-Gm-Message-State: AO0yUKW6Y80CtiP6he2I2mMLZ8MiHSifgJhFKHhEkv39U5WzqVVZrAlJ z9FxSoxmGVU4KbjOR55q9KF/kA== X-Received: by 2002:a2e:bea2:0:b0:295:b29f:5b15 with SMTP id a34-20020a2ebea2000000b00295b29f5b15mr2836992ljr.24.1678975993468; Thu, 16 Mar 2023 07:13:13 -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.13.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 16 Mar 2023 07:13:12 -0700 (PDT) From: Konrad Dybcio Date: Thu, 16 Mar 2023 15:12:57 +0100 Subject: [PATCH v2 08/14] arm64: dts: qcom: sm6375: Add modem nodes MIME-Version: 1.0 Message-Id: <20230303-topic-sm6375_features0_dts-v2-8-708b8191f7eb@linaro.org> References: <20230303-topic-sm6375_features0_dts-v2-0-708b8191f7eb@linaro.org> In-Reply-To: <20230303-topic-sm6375_features0_dts-v2-0-708b8191f7eb@linaro.org> 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 X-Mailer: b4 0.12.1 X-Developer-Signature: v=1; a=ed25519-sha256; t=1678975978; l=2988; i=konrad.dybcio@linaro.org; s=20230215; h=from:subject:message-id; bh=93tjFAm3KE3wlOIxpjBJdVGBzNUVK9fKZaM4nNn4KS8=; b=lzVlr47a4qQd80ZxoDeP9xhQJbC1xXeWFKVB0ClK0k5H0xYuxqLGE8yJj+Ytu1J3ZgCT4DjUbE1g ybS9jNAjDgYEIyN1/i9XxzDeecVRlMFWzwv0cRA1Q+wCb0mnj5VQ 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?1760536419999320610?= X-GMAIL-MSGID: =?utf-8?q?1760536419999320610?= Add required nodes to make the embedded 5G modem boot up on SM6375. Signed-off-by: Konrad Dybcio --- arch/arm64/boot/dts/qcom/sm6375.dtsi | 82 ++++++++++++++++++++++++++++++++++++ 1 file changed, 82 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sm6375.dtsi b/arch/arm64/boot/dts/qcom/sm6375.dtsi index e473a90f3dea..90f18754a63b 100644 --- a/arch/arm64/boot/dts/qcom/sm6375.dtsi +++ b/arch/arm64/boot/dts/qcom/sm6375.dtsi @@ -565,6 +565,47 @@ smp2p_cdsp_in: slave-kernel { }; }; + smp2p-modem { + compatible = "qcom,smp2p"; + qcom,smem = <435>, <428>; + interrupts-extended = <&ipcc IPCC_CLIENT_MPSS + IPCC_MPROC_SIGNAL_SMP2P + IRQ_TYPE_EDGE_RISING>; + mboxes = <&ipcc IPCC_CLIENT_MPSS + IPCC_MPROC_SIGNAL_SMP2P>; + + qcom,local-pid = <0>; + qcom,remote-pid = <1>; + + smp2p_modem_out: master-kernel { + qcom,entry-name = "master-kernel"; + #qcom,smem-state-cells = <1>; + }; + + smp2p_modem_in: slave-kernel { + qcom,entry-name = "slave-kernel"; + interrupt-controller; + #interrupt-cells = <2>; + }; + + ipa_smp2p_out: ipa-ap-to-modem { + qcom,entry-name = "ipa"; + #qcom,smem-state-cells = <1>; + }; + + ipa_smp2p_in: ipa-modem-to-ap { + qcom,entry-name = "ipa"; + interrupt-controller; + #interrupt-cells = <2>; + }; + + wlan_smp2p_in: wlan-wpss-to-ap { + qcom,entry-name = "wlan"; + interrupt-controller; + #interrupt-cells = <2>; + }; + }; + soc: soc@0 { #address-cells = <2>; #size-cells = <2>; @@ -1170,6 +1211,47 @@ usb_1_dwc3: usb@4e00000 { }; }; + remoteproc_mss: remoteproc@6000000 { + compatible = "qcom,sm6375-mpss-pas"; + reg = <0 0x06000000 0 0x4040>; + + interrupts-extended = <&intc GIC_SPI 307 IRQ_TYPE_EDGE_RISING>, + <&smp2p_modem_in 0 IRQ_TYPE_EDGE_RISING>, + <&smp2p_modem_in 1 IRQ_TYPE_EDGE_RISING>, + <&smp2p_modem_in 2 IRQ_TYPE_EDGE_RISING>, + <&smp2p_modem_in 3 IRQ_TYPE_EDGE_RISING>, + <&smp2p_modem_in 7 IRQ_TYPE_EDGE_RISING>; + interrupt-names = "wdog", + "fatal", + "ready", + "handover", + "stop-ack", + "shutdown-ack"; + + clocks = <&rpmcc RPM_SMD_XO_CLK_SRC>; + clock-names = "xo"; + + power-domains = <&rpmpd SM6375_VDDCX>; + power-domain-names = "cx"; + + memory-region = <&pil_mpss_wlan_mem>; + + qcom,smem-states = <&smp2p_modem_out 0>; + qcom,smem-state-names = "stop"; + + status = "disabled"; + + glink-edge { + interrupts-extended = <&ipcc IPCC_CLIENT_MPSS + IPCC_MPROC_SIGNAL_GLINK_QMP + IRQ_TYPE_EDGE_RISING>; + mboxes = <&ipcc IPCC_CLIENT_MPSS + IPCC_MPROC_SIGNAL_GLINK_QMP>; + label = "modem"; + qcom,remote-pid = <1>; + }; + }; + remoteproc_adsp: remoteproc@a400000 { compatible = "qcom,sm6375-adsp-pas"; reg = <0 0x0a400000 0 0x100>; From patchwork Thu Mar 16 14:12:58 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 70809 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:604a:0:0:0:0:0 with SMTP id j10csp513201wrt; Thu, 16 Mar 2023 07:25:43 -0700 (PDT) X-Google-Smtp-Source: AK7set/JbWwsUQzcyZmN0hlA1yf0RggV5TKRUUPkWmmLWosL2GxldSg4sKvhbhmQvXq0cC3JsoUn X-Received: by 2002:a05:6a21:3292:b0:d6:93bc:d94 with SMTP id yt18-20020a056a21329200b000d693bc0d94mr4536772pzb.4.1678976743461; Thu, 16 Mar 2023 07:25:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1678976743; cv=none; d=google.com; s=arc-20160816; b=EkuBSF4RxYhXleaaeCH5ndoaJq7dFhI5ff2mJtClbg/CqjcHkN8FoU0UFmgsSEzyKx mSYRhfQsEsMudqa91YCMoXeIY5A5fAyotluWlLFriD8ZWJNYhOWpmMjoNTNPjEJP2Wf+ hyJi0Ba2gcnNuyWZTcM2JKdV55pSdrXF+bocDBuiTkgfPjuG17rkiE8h0vCXgHL1pOew 7B3iGETdSBQckUjto7okGa7JyMZ5S1hF7z/L7eSjEDbrh8Y8JvSku9Zr00Kjbv6vpnLv SlIlPf/md6Zvgr62aFhv2I9vPdFZCit3t/jiEAyZWMyjAXPwmTQv2AKiM5h3cXGW0iIJ IU1A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:in-reply-to:references:message-id :content-transfer-encoding:mime-version:subject:date:from :dkim-signature; bh=69Z8vRyvMPD6eeHzgpN4kBWrOzTlmLDOTO1kOklog8w=; b=Yy17NKp+9GOxINyb20I0I57As8WSMqVY2uGuN48PP89I6+L7sZ4mEcgwPPNzKYA03o sdJ0c5/zwd8nmLw1YKaADIKIGl9pNPx+aYZzb2ZFXOERAHCVHh4DuFl8VTFUCpgIHFIV UJ+fb0pUPE5zfNEmu2fbOG8JZgrumrkGpIUBE/sYH2ip7xlwt4xSqef2oE+V/y9eOoHR G4dfGuO/9ca1jJWbjQGPXkmWVwXH+CcsEPvbMW3bdOMjaZm8TuPSHwB/041zDvA3dJRC 9A/T1UMxetZpiZqy4EBy0C6e75PgfUXgFlBfDAukGJ7FAYzcCpSJdwQyUAoDG1C46nKP PEOw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=KVLUT26Q; 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 r191-20020a632bc8000000b005089e773be5si8085646pgr.661.2023.03.16.07.25.28; Thu, 16 Mar 2023 07:25:43 -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=KVLUT26Q; 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 S231335AbjCPONz (ORCPT + 99 others); Thu, 16 Mar 2023 10:13:55 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35264 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231200AbjCPON3 (ORCPT ); Thu, 16 Mar 2023 10:13:29 -0400 Received: from mail-lj1-x234.google.com (mail-lj1-x234.google.com [IPv6:2a00:1450:4864:20::234]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4CF629DE2A for ; Thu, 16 Mar 2023 07:13:16 -0700 (PDT) Received: by mail-lj1-x234.google.com with SMTP id z42so1812348ljq.13 for ; Thu, 16 Mar 2023 07:13:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1678975995; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=69Z8vRyvMPD6eeHzgpN4kBWrOzTlmLDOTO1kOklog8w=; b=KVLUT26QGoY7jty33pYML5vRq7aIuxvZwwpygwRRjAQTHSc1qCh6TyV+Hka7LrU3Sh MCA1JvOF9Ac5vRY3Z3FUzsZonI/9mXLvFe6k710SzgHAIjlAhWsLOQAlRhkssdeVZvtl oMjcnb5s1d8NNeojKL5pSRCZKD1w/vd1SQFxPDr7cY7CncIhMMd2O3n4JOTAPzkOOtX5 dc99HVbPjHbc16xynm2T8eeIhnQx8PWS7akV4p/LRfsHOWzH1tB5nGD6pHBEl74Xbo09 tuh1M0I0WAtShQ3hc1o6Xg/FJO0SiX/1WHkMS/HPobQ/uDdH0jA9yBmquk0T676zmRxj +WXg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678975995; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=69Z8vRyvMPD6eeHzgpN4kBWrOzTlmLDOTO1kOklog8w=; b=5S8N34mpu9pdITnui/kNYdNn+TgI7BNLtHfw/bhAdhFwnEUsF00CokXCXnaViD8t/f iPLUPU1VRGqVmTx5GuEVe2rGQnLnEO+KCJC5mCA9wTsoIwKzBWK/5u6OnSyIWDXQg8Op MKt29ll751RUNPVxYG0a1vSyOguFdnKCfRGwpH5XaTky87ter4KmCpGMXp3HhdtSN9l+ q3Q6LFBGOUNRLMXsAn3NFWHsvPfJT/DcC7hmCQAw55yL3AZsd7/ERtxUaIuTk46u41NJ 6QE1zKGHP72yiMtvalzqHRSGsuyWY3a5JQKkGnf+M3wWeGY54cG9bMQjcNKs7knOifSC cpLA== X-Gm-Message-State: AO0yUKV/814jp/8LEScuXjxnDlnzmUjiUxdb9KItZ0K+G5wp3ffyl4PM rE+DN9HH7jtIBzknv2Hqfo7/oQ== X-Received: by 2002:a05:651c:1986:b0:295:9d2c:c5b5 with SMTP id bx6-20020a05651c198600b002959d2cc5b5mr2302166ljb.12.1678975995043; Thu, 16 Mar 2023 07:13:15 -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.13.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 16 Mar 2023 07:13:14 -0700 (PDT) From: Konrad Dybcio Date: Thu, 16 Mar 2023 15:12:58 +0100 Subject: [PATCH v2 09/14] arm64: dts: qcom: sm6375: Add CPUCP L3 node MIME-Version: 1.0 Message-Id: <20230303-topic-sm6375_features0_dts-v2-9-708b8191f7eb@linaro.org> References: <20230303-topic-sm6375_features0_dts-v2-0-708b8191f7eb@linaro.org> In-Reply-To: <20230303-topic-sm6375_features0_dts-v2-0-708b8191f7eb@linaro.org> 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 X-Mailer: b4 0.12.1 X-Developer-Signature: v=1; a=ed25519-sha256; t=1678975978; l=1031; i=konrad.dybcio@linaro.org; s=20230215; h=from:subject:message-id; bh=qJFA3gnp5+qsVvXTr+LuzoDVV2GfdNaVud8C8hVxcw8=; b=CEOtCUVU+F/M8OU5WvP/wsLQQcbZu4R5ctBaSEtpjhEkXFNGQRxIAbLXaHDWexBuec8kzWqg61sL 3DeLprBOCzTdwE3eoq/GrrqgewOHfGjuBR3A+45KcdCSsoQ4NE1T 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?1760534717756540881?= X-GMAIL-MSGID: =?utf-8?q?1760534717756540881?= Configure the L3 cache DVFS scaler within the CPUCP block to allow for dynamic frequency switching. Reviewed-by: Sibi Sankar Signed-off-by: Konrad Dybcio --- arch/arm64/boot/dts/qcom/sm6375.dtsi | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sm6375.dtsi b/arch/arm64/boot/dts/qcom/sm6375.dtsi index 90f18754a63b..59d7ed25aa36 100644 --- a/arch/arm64/boot/dts/qcom/sm6375.dtsi +++ b/arch/arm64/boot/dts/qcom/sm6375.dtsi @@ -1505,6 +1505,15 @@ frame@f42d000 { }; }; + cpucp_l3: interconnect@fd90000 { + compatible = "qcom,sm6375-cpucp-l3", "qcom,epss-l3"; + reg = <0 0x0fd90000 0 0x1000>; + + clocks = <&rpmcc RPM_SMD_XO_CLK_SRC>, <&gcc GPLL0>; + clock-names = "xo", "alternate"; + #interconnect-cells = <1>; + }; + cpufreq_hw: cpufreq@fd91000 { compatible = "qcom,sm6375-cpufreq-epss", "qcom,cpufreq-epss"; reg = <0 0x0fd91000 0 0x1000>, <0 0x0fd92000 0 0x1000>; From patchwork Thu Mar 16 14:12:59 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 70807 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:604a:0:0:0:0:0 with SMTP id j10csp510022wrt; Thu, 16 Mar 2023 07:19:36 -0700 (PDT) X-Google-Smtp-Source: AK7set9sI2KkQV0+f9aFWkHtCuP2uDwcT+6pWIz5nC7AqStbX8Qud3Nd49ZDwOFRVE0nH6xb/wYW X-Received: by 2002:a05:6a20:6993:b0:cc:de56:957a with SMTP id t19-20020a056a20699300b000ccde56957amr4524266pzk.13.1678976376449; Thu, 16 Mar 2023 07:19:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1678976376; cv=none; d=google.com; s=arc-20160816; b=n9/yiaItEfSA7+CVlkHy+Ex4Pre9gtf5owlMl4vKRzherUMkt/MeRcynBmqJMEqQXV F89ZR+D9qSeLT+EOsVny+mhtN70gJc5yLuH+3FZ1F6Gtb72tIy4rT4PQMCuvcYPvMoHU Rfkhld5PyiDpxKzxvJeP5+cJb1PYu4IQudbgwX+tXvSf1lLDMOo6fcIksDftzMgzh7/I AQysZYIuwp3pRIO33gHKnmIsYC6JwfMjFZGEScCVCe4XFNGvDhrjBI73/s9ITR/xowzO dWMpgrsogX7y1pAg1iQXJ3lCwCwK27y2mbnZ9gTbq/s5Iq64p6f2gJ8cggM93C2Tl/3y B6Yw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:in-reply-to:references:message-id :content-transfer-encoding:mime-version:subject:date:from :dkim-signature; bh=fr1OHq/Y0F9EXyjJfE+Cc02kHVOPdqYGSbtmI+oAs6M=; b=bwUf3C7mwJwmByKj2hRy8XE0tzK1SlbeZcSeNMe59veg47aJ/rNS6yedklt+YP7arw bgXTlYhI+F0h4ewo36AT2Cd/BK+SqFodPfZ1tLNA7RkJALtbkZTkuMHrhGavh2HWmmmb yp0cLSuO6lFLMxG3YDbbwoY3RWqcFbbXLK0Jx15WjIJ7ZlP8LqwSU51uqUaDfrdt3y4G piC85b5x+x/PsOiDXLR6wQNOnx6cTpuuoKDmKkoLaZlt2zgFTYknV6MhL7riWZWmRNis zlcjbSnHYACfMfucNjkqbGcLSW2e8JRfTpvTMeAiegAR1SeQWLCM7zpodz+4JsxqCUTk hneA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=rmAjPw9d; 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 l62-20020a639141000000b0050c03dc7259si271766pge.844.2023.03.16.07.19.23; Thu, 16 Mar 2023 07:19: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=rmAjPw9d; 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 S231228AbjCPONw (ORCPT + 99 others); Thu, 16 Mar 2023 10:13:52 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34392 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231206AbjCPON3 (ORCPT ); Thu, 16 Mar 2023 10:13:29 -0400 Received: from mail-lj1-x22c.google.com (mail-lj1-x22c.google.com [IPv6:2a00:1450:4864:20::22c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1FD00D5A7F for ; Thu, 16 Mar 2023 07:13:16 -0700 (PDT) Received: by mail-lj1-x22c.google.com with SMTP id by8so629406ljb.12 for ; Thu, 16 Mar 2023 07:13:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1678975996; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=fr1OHq/Y0F9EXyjJfE+Cc02kHVOPdqYGSbtmI+oAs6M=; b=rmAjPw9dYkNrX6arOkoSKNjd5H/0Ya+0BKCtPDecJv+RvkwIt/aC2JgtA/lfbcAaDR CeeNm4im8ce9HAll9Jpuoe2g+Sz829sLuL4UVRaWCm5f5K7b1gDt7dst1B8hO1OPOb8O N+rbYTqWe2XSzumOr7Qy+1RdxtRVs8pGkgIYptiuxV40BANKEUkxEYA0mQTCzgbD0M+q UrysLafzXHocnmPyl9QWAS4BXc1qtIFbUg/RUT0knG/YLgV5OnZvvDuKen3tTFtkXqSI ukcqPXFnaw4H908jmFXEHpm0QzXgkh+OuH8Nu3V3eZMh2IKWcKuioaNYUlkL6QT31KDi 5Nyg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678975996; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=fr1OHq/Y0F9EXyjJfE+Cc02kHVOPdqYGSbtmI+oAs6M=; b=UYZrod7shmxSxLGdz6b3zzwzejTFiMYLKmcH7BozRxn56ZsN0xQEg3JI5t5XP8qwhz G/ZoPvuITVjkoy69lxS7tY4ibdst4aHICyZ5PAuAExArUGtvj/MROd2TY8pA4Po2l+W0 V08gWdsGd8FocpremsbHh5wYz8Sagat7o1unkgwsy7n9eppi40wjYVQhh+kdyhfRuyGR P1nMvek+NspN1uS4K7CvsdYBA8P3SrD+eEn3bD8YePU7pyAP/PB4j/oC4y7mVX+Ne522 RbaQLiNK30HAb2J1LFBtNPb1HYQro/T5crdaiEeFZsHzNqXaNAShv4+9qrMo9JTVxV3j VnUg== X-Gm-Message-State: AO0yUKVJwzAqpUUX8pLmlzE+WZc8PAQUAt1YdLTQAtfC3hshTHjZt71J nQguN+sXkkQDuabiQMuqaKdTFw== X-Received: by 2002:a2e:b88f:0:b0:293:4ba3:17be with SMTP id r15-20020a2eb88f000000b002934ba317bemr2862778ljp.11.1678975996476; Thu, 16 Mar 2023 07:13:16 -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.13.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 16 Mar 2023 07:13:16 -0700 (PDT) From: Konrad Dybcio Date: Thu, 16 Mar 2023 15:12:59 +0100 Subject: [PATCH v2 10/14] arm64: dts: qcom: sm6375: Add TSENS MIME-Version: 1.0 Message-Id: <20230303-topic-sm6375_features0_dts-v2-10-708b8191f7eb@linaro.org> References: <20230303-topic-sm6375_features0_dts-v2-0-708b8191f7eb@linaro.org> In-Reply-To: <20230303-topic-sm6375_features0_dts-v2-0-708b8191f7eb@linaro.org> 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 X-Mailer: b4 0.12.1 X-Developer-Signature: v=1; a=ed25519-sha256; t=1678975978; l=1456; i=konrad.dybcio@linaro.org; s=20230215; h=from:subject:message-id; bh=ykqp5bp58crzGqyySJ//g66g5IA2DYwCTKLczf3b59w=; b=8GcRkKVlQgGRI2QfzqrSgsroa+vRBMeCjg6PCLbWsbDsW4cFAfUFp2dVuA4NWxY3NQicPPNPtaLD Xtx0wfYTDEjXwBShR65VrLUHrSCJdKQ35FzYtpNowdt4JYAduk4p 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?1760534333159368470?= X-GMAIL-MSGID: =?utf-8?q?1760534333159368470?= Add nodes for the two TSENS v2.8.0 controllers present on the SoC. Signed-off-by: Konrad Dybcio --- arch/arm64/boot/dts/qcom/sm6375.dtsi | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sm6375.dtsi b/arch/arm64/boot/dts/qcom/sm6375.dtsi index 59d7ed25aa36..a88ed6467e68 100644 --- a/arch/arm64/boot/dts/qcom/sm6375.dtsi +++ b/arch/arm64/boot/dts/qcom/sm6375.dtsi @@ -764,6 +764,28 @@ spmi_bus: spmi@1c40000 { #interrupt-cells = <4>; }; + tsens0: thermal-sensor@4411000 { + compatible = "qcom,sm6375-tsens", "qcom,tsens-v2"; + reg = <0 0x04411000 0 0x140>, /* TM */ + <0 0x04410000 0 0x20>; /* SROT */ + interrupts = , + ; + interrupt-names = "uplow", "critical"; + #thermal-sensor-cells = <1>; + #qcom,sensors = <15>; + }; + + tsens1: thermal-sensor@4413000 { + compatible = "qcom,sm6375-tsens", "qcom,tsens-v2"; + reg = <0 0x04413000 0 0x140>, /* TM */ + <0 0x04412000 0 0x20>; /* SROT */ + interrupts = , + ; + interrupt-names = "uplow", "critical"; + #thermal-sensor-cells = <1>; + #qcom,sensors = <11>; + }; + rpm_msg_ram: sram@45f0000 { compatible = "qcom,rpm-msg-ram"; reg = <0 0x045f0000 0 0x7000>; From patchwork Thu Mar 16 14:13: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: 70830 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:604a:0:0:0:0:0 with SMTP id j10csp534730wrt; Thu, 16 Mar 2023 08:06:48 -0700 (PDT) X-Google-Smtp-Source: AK7set/XSa8+T4iz3iZ1JThBfkt1YgI5slqwGc7IIndKXckyCikOBngDT1/Ji1d79oJBZeoIPNdg X-Received: by 2002:a17:902:f0d2:b0:19f:31c5:1848 with SMTP id v18-20020a170902f0d200b0019f31c51848mr3083854pla.27.1678979208037; Thu, 16 Mar 2023 08:06:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1678979208; cv=none; d=google.com; s=arc-20160816; b=E8EQRExbNeRGbX7Z6o17gqoVSXJV7lJyheFoF5QNTxZo5NntyUe0VxlS0jBTooXNwW sJPd1gkGeol8bWntR+HSCw0VCOfD6xd0M5P2dzBW/FTS70hsvw5lylVj8XSCN9Gorq+b NNzsfgtSoIJ+ToFvGxC6+CVgGvJ1HdRrMh4BFbTYyGlt8gJY7Yr5iUN4BdPCZdfqkHdz HHmJsfTb147NSTq2FexHIx0iyEnrNPtHtYQA+1YZldJk2J42MV9l8WzYO03BHMYYuMrA W+0ouOwi3dQEQiHz3Fyb0HDCpMfpmcaY+s90WdmJ78xvlURQ9lDuJQ6zsliZSRdMRFF1 RA/w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:in-reply-to:references:message-id :content-transfer-encoding:mime-version:subject:date:from :dkim-signature; bh=8JCGCfWsEtMZLcVHHCa74pefi7B3KQrby6URhzr4GI0=; b=k0F6pHC89FPYI3pmMQYmmPwbwB9wbItXdZax9NQUNKH5iQofX2rQt8GcxhwRilT8Uu Czts5CC2PzJYoN5OqhvmC4OC2mmdzxXR5RnOjeuXUdumakmV+r7PUuZsQMlD/TpRBdrL S08zIX6hIswiQj9Pf26rDHugTRXu917YDuUdPBXynQU7hQv3hGATBxDuKAfUM/Bggte6 35nv0BOn+tZK3Se8Gy2GOU0rcYZNkFSEbWfvwBbRZNErHP20MjhgnhiKBdKvnvfyrC0G Y+G94G06wf745clr2aLSELihdReO0t6jREPwyc6Plrt89hpDjPaSgXqo2TZpyUfFHwhF kv7A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=N7NTken4; 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 y9-20020a17090322c900b001a06c56ec5esi8037358plg.347.2023.03.16.08.06.35; Thu, 16 Mar 2023 08:06:48 -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=N7NTken4; 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 S230427AbjCPOO0 (ORCPT + 99 others); Thu, 16 Mar 2023 10:14:26 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35254 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230171AbjCPONu (ORCPT ); Thu, 16 Mar 2023 10:13:50 -0400 Received: from mail-lf1-x12b.google.com (mail-lf1-x12b.google.com [IPv6:2a00:1450:4864:20::12b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 47B08D5A6D for ; Thu, 16 Mar 2023 07:13:23 -0700 (PDT) Received: by mail-lf1-x12b.google.com with SMTP id y15so2561350lfa.7 for ; Thu, 16 Mar 2023 07:13:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1678975998; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=8JCGCfWsEtMZLcVHHCa74pefi7B3KQrby6URhzr4GI0=; b=N7NTken4TQ0ms2fqWhXw1naktnECOOnuV60QYjL9gC8fjGb4UK4dznBnZmPhob8NFu NdigqveTkzwFCVOPn8MFtzXcIrdhHsgCsA9ZPcRFgU2HrHO0unfdcM+/9/GnLUgPmwos Xth2NSusX0Idbt1NyLjoqrUZmphKX89GVWC4yw0ne5bXfvsH9uht4qvZCp6cXezKCvSs 4uXlySk7ukR5HxXgl/S6EcTB4NBOLBOffVdA72Ctysb63BDFMeJij0wEFeNkdD6Ei1ue N/mKSjmS3MYFELia7Ltmq5AOkBnGUEw7Yk7gWBZqoFYoZkuATlvX5jQU1OG5MVslkz+J xHqg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678975998; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=8JCGCfWsEtMZLcVHHCa74pefi7B3KQrby6URhzr4GI0=; b=AjvxoEXSKS1UujwdC5tdHmlRJUiH0xqPzlQkLl0Lb8eUG6Q1RDKKWaCfsWcI+oxOfg H6yXaH17ojw+EEx45dQZw+eoIuolhOT+FgXkOuJmtYjrGyhx5Jog2X1xB2beEEIqSrUo 3XM26E74oVu3+c5Kqd45qecTk29n8MYp52penTjgfnIFDZ2rTlEBIpD1FkrtfW2HeuL7 QZH0vN4QypwszIk8jN7hGwvkyPwoP8S9iDO5hKGE+wYAcfVyI6tUEcM4A8tjzEyDtew7 GhpZqiBxmVbpPfbeysUCMibv0n7EgLNOkN7IssJl5gPKcyX9pWP/ksctdbwKDSbopv42 0FTg== X-Gm-Message-State: AO0yUKVFzgpaNW7adLVQn+opyiEKSeFV8GJ8f8eCK3Oy13Vz0YGJEWCG /P/yjxCfD7mULgfHNaXKCC3uLg== X-Received: by 2002:ac2:518c:0:b0:4dc:8129:2700 with SMTP id u12-20020ac2518c000000b004dc81292700mr2828313lfi.54.1678975998486; Thu, 16 Mar 2023 07:13:18 -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.13.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 16 Mar 2023 07:13:17 -0700 (PDT) From: Konrad Dybcio Date: Thu, 16 Mar 2023 15:13:00 +0100 Subject: [PATCH v2 11/14] arm64: dts: qcom: sm6375: Configure TSENS thermal zones MIME-Version: 1.0 Message-Id: <20230303-topic-sm6375_features0_dts-v2-11-708b8191f7eb@linaro.org> References: <20230303-topic-sm6375_features0_dts-v2-0-708b8191f7eb@linaro.org> In-Reply-To: <20230303-topic-sm6375_features0_dts-v2-0-708b8191f7eb@linaro.org> 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 X-Mailer: b4 0.12.1 X-Developer-Signature: v=1; a=ed25519-sha256; t=1678975978; l=14701; i=konrad.dybcio@linaro.org; s=20230215; h=from:subject:message-id; bh=/lr+1yNk3Q9+rICl1jdL9WbimfeX4M1X6sYuxc9vpL8=; b=2VYcXazmaXIfTOET4ZSe4bWYCN2d/Ef6lPjxm5fn+IfF1f/bs9lL9duVqZet6qfPqsG8wV6V+zD6 Wk45cdpcBlWkeF+Wv2kA6+WHWJj4BmcyxCuBQh+JS6ApQDIYBivP 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?1760537301913322803?= X-GMAIL-MSGID: =?utf-8?q?1760537301913322803?= Add a thermal zones configuration for all 15+11 TSENS sensors. Signed-off-by: Konrad Dybcio --- arch/arm64/boot/dts/qcom/sm6375.dtsi | 704 +++++++++++++++++++++++++++++++++++ 1 file changed, 704 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sm6375.dtsi b/arch/arm64/boot/dts/qcom/sm6375.dtsi index a88ed6467e68..94bb373f8d97 100644 --- a/arch/arm64/boot/dts/qcom/sm6375.dtsi +++ b/arch/arm64/boot/dts/qcom/sm6375.dtsi @@ -1550,6 +1550,710 @@ cpufreq_hw: cpufreq@fd91000 { }; }; + thermal-zones { + mapss0-thermal { + polling-delay-passive = <0>; + polling-delay = <0>; + + thermal-sensors = <&tsens0 0>; + + trips { + mapss0_alert0: trip-point0 { + temperature = <90000>; + hysteresis = <2000>; + type = "passive"; + }; + + mapss0_alert1: trip-point1 { + temperature = <95000>; + hysteresis = <2000>; + type = "passive"; + }; + + mapss0_crit: mapss-crit { + temperature = <110000>; + hysteresis = <1000>; + type = "critical"; + }; + }; + }; + + cpu0-thermal { + polling-delay-passive = <0>; + polling-delay = <0>; + + thermal-sensors = <&tsens0 1>; + + trips { + cpu0_alert0: trip-point0 { + temperature = <90000>; + hysteresis = <2000>; + type = "passive"; + }; + + cpu0_alert1: trip-point1 { + temperature = <95000>; + hysteresis = <2000>; + type = "passive"; + }; + + cpu0_crit: cpu-crit { + temperature = <110000>; + hysteresis = <1000>; + type = "critical"; + }; + }; + }; + + cpu1-thermal { + polling-delay-passive = <0>; + polling-delay = <0>; + + thermal-sensors = <&tsens0 2>; + + trips { + cpu1_alert0: trip-point0 { + temperature = <90000>; + hysteresis = <2000>; + type = "passive"; + }; + + cpu1_alert1: trip-point1 { + temperature = <95000>; + hysteresis = <2000>; + type = "passive"; + }; + + cpu1_crit: cpu-crit { + temperature = <110000>; + hysteresis = <1000>; + type = "critical"; + }; + }; + }; + + cpu2-thermal { + polling-delay-passive = <0>; + polling-delay = <0>; + + thermal-sensors = <&tsens0 3>; + + trips { + cpu2_alert0: trip-point0 { + temperature = <90000>; + hysteresis = <2000>; + type = "passive"; + }; + + cpu2_alert1: trip-point1 { + temperature = <95000>; + hysteresis = <2000>; + type = "passive"; + }; + + cpu2_crit: cpu-crit { + temperature = <110000>; + hysteresis = <1000>; + type = "critical"; + }; + }; + }; + + cpu3-thermal { + polling-delay-passive = <0>; + polling-delay = <0>; + + thermal-sensors = <&tsens0 4>; + + trips { + cpu3_alert0: trip-point0 { + temperature = <90000>; + hysteresis = <2000>; + type = "passive"; + }; + + cpu3_alert1: trip-point1 { + temperature = <95000>; + hysteresis = <2000>; + type = "passive"; + }; + + cpu3_crit: cpu-crit { + temperature = <110000>; + hysteresis = <1000>; + type = "critical"; + }; + }; + }; + + cpu4-thermal { + polling-delay-passive = <0>; + polling-delay = <0>; + + thermal-sensors = <&tsens0 5>; + + trips { + cpu4_alert0: trip-point0 { + temperature = <90000>; + hysteresis = <2000>; + type = "passive"; + }; + + cpu4_alert1: trip-point1 { + temperature = <95000>; + hysteresis = <2000>; + type = "passive"; + }; + + cpu4_crit: cpu-crit { + temperature = <110000>; + hysteresis = <1000>; + type = "critical"; + }; + }; + }; + + cpu5-thermal { + polling-delay-passive = <0>; + polling-delay = <0>; + + thermal-sensors = <&tsens0 6>; + + trips { + cpu5_alert0: trip-point0 { + temperature = <90000>; + hysteresis = <2000>; + type = "passive"; + }; + + cpu5_alert1: trip-point1 { + temperature = <95000>; + hysteresis = <2000>; + type = "passive"; + }; + + cpu5_crit: cpu-crit { + temperature = <110000>; + hysteresis = <1000>; + type = "critical"; + }; + }; + }; + + cluster0-thermal { + polling-delay-passive = <0>; + polling-delay = <0>; + + thermal-sensors = <&tsens0 7>; + + trips { + cluster0_alert0: trip-point0 { + temperature = <90000>; + hysteresis = <2000>; + type = "passive"; + }; + + cluster0_alert1: trip-point1 { + temperature = <95000>; + hysteresis = <2000>; + type = "passive"; + }; + + cluster0_crit: cpu-crit { + temperature = <110000>; + hysteresis = <1000>; + type = "critical"; + }; + }; + }; + + cluster1-thermal { + polling-delay-passive = <0>; + polling-delay = <0>; + + thermal-sensors = <&tsens0 8>; + + trips { + cluster1_alert0: trip-point0 { + temperature = <90000>; + hysteresis = <2000>; + type = "passive"; + }; + + cluster1_alert1: trip-point1 { + temperature = <95000>; + hysteresis = <2000>; + type = "passive"; + }; + + cluster1_crit: cpu-crit { + temperature = <110000>; + hysteresis = <1000>; + type = "critical"; + }; + }; + }; + + cpu6-thermal { + polling-delay-passive = <0>; + polling-delay = <0>; + + thermal-sensors = <&tsens0 9>; + + trips { + cpu6_alert0: trip-point0 { + temperature = <90000>; + hysteresis = <2000>; + type = "passive"; + }; + + cpu6_alert1: trip-point1 { + temperature = <95000>; + hysteresis = <2000>; + type = "passive"; + }; + + cpu6_crit: cpu-crit { + temperature = <110000>; + hysteresis = <1000>; + type = "critical"; + }; + }; + }; + + cpu7-thermal { + polling-delay-passive = <0>; + polling-delay = <0>; + + thermal-sensors = <&tsens0 10>; + + trips { + cpu7_alert0: trip-point0 { + temperature = <90000>; + hysteresis = <2000>; + type = "passive"; + }; + + cpu7_alert1: trip-point1 { + temperature = <95000>; + hysteresis = <2000>; + type = "passive"; + }; + + cpu7_crit: cpu-crit { + temperature = <110000>; + hysteresis = <1000>; + type = "critical"; + }; + }; + }; + + cpu-unk0-thermal { + polling-delay-passive = <0>; + polling-delay = <0>; + + thermal-sensors = <&tsens0 11>; + + trips { + cpu_unk0_alert0: trip-point0 { + temperature = <90000>; + hysteresis = <2000>; + type = "passive"; + }; + + cpu_unk0_alert1: trip-point1 { + temperature = <95000>; + hysteresis = <2000>; + type = "passive"; + }; + + cpu_unk0_crit: cpu-crit { + temperature = <110000>; + hysteresis = <1000>; + type = "critical"; + }; + }; + }; + + cpu-unk1-thermal { + polling-delay-passive = <0>; + polling-delay = <0>; + + thermal-sensors = <&tsens0 12>; + + trips { + cpu_unk1_alert0: trip-point0 { + temperature = <90000>; + hysteresis = <2000>; + type = "passive"; + }; + + cpu_unk1_alert1: trip-point1 { + temperature = <95000>; + hysteresis = <2000>; + type = "passive"; + }; + + cpu_unk1_crit: cpu-crit { + temperature = <110000>; + hysteresis = <1000>; + type = "critical"; + }; + }; + }; + + gpuss0-thermal { + polling-delay-passive = <0>; + polling-delay = <0>; + + thermal-sensors = <&tsens0 13>; + + trips { + gpuss0_alert0: trip-point0 { + temperature = <90000>; + hysteresis = <2000>; + type = "passive"; + }; + + gpuss0_alert1: trip-point1 { + temperature = <95000>; + hysteresis = <2000>; + type = "passive"; + }; + + gpuss0_crit: gpu-crit { + temperature = <110000>; + hysteresis = <1000>; + type = "critical"; + }; + }; + }; + + gpuss1-thermal { + polling-delay-passive = <0>; + polling-delay = <0>; + + thermal-sensors = <&tsens0 14>; + + trips { + gpuss1_alert0: trip-point0 { + temperature = <90000>; + hysteresis = <2000>; + type = "passive"; + }; + + gpuss1_alert1: trip-point1 { + temperature = <95000>; + hysteresis = <2000>; + type = "passive"; + }; + + gpuss1_crit: gpu-crit { + temperature = <110000>; + hysteresis = <1000>; + type = "critical"; + }; + }; + }; + + mapss1-thermal { + polling-delay-passive = <0>; + polling-delay = <0>; + + thermal-sensors = <&tsens1 0>; + + trips { + mapss1_alert0: trip-point0 { + temperature = <90000>; + hysteresis = <2000>; + type = "passive"; + }; + + mapss1_alert1: trip-point1 { + temperature = <95000>; + hysteresis = <2000>; + type = "passive"; + }; + + mapss1_crit: mapss-crit { + temperature = <110000>; + hysteresis = <1000>; + type = "critical"; + }; + }; + }; + + cwlan-thermal { + polling-delay-passive = <0>; + polling-delay = <0>; + + thermal-sensors = <&tsens1 1>; + + trips { + cwlan_alert0: trip-point0 { + temperature = <90000>; + hysteresis = <2000>; + type = "passive"; + }; + + cwlan_alert1: trip-point1 { + temperature = <95000>; + hysteresis = <2000>; + type = "passive"; + }; + + cwlan_crit: cwlan-crit { + temperature = <110000>; + hysteresis = <1000>; + type = "critical"; + }; + }; + }; + + audio-thermal { + polling-delay-passive = <0>; + polling-delay = <0>; + + thermal-sensors = <&tsens1 2>; + + trips { + audio_alert0: trip-point0 { + temperature = <90000>; + hysteresis = <2000>; + type = "passive"; + }; + + audio_alert1: trip-point1 { + temperature = <95000>; + hysteresis = <2000>; + type = "passive"; + }; + + audio_crit: audio-crit { + temperature = <110000>; + hysteresis = <1000>; + type = "critical"; + }; + }; + }; + + ddr-thermal { + polling-delay-passive = <0>; + polling-delay = <0>; + + thermal-sensors = <&tsens1 3>; + + trips { + ddr_alert0: trip-point0 { + temperature = <90000>; + hysteresis = <2000>; + type = "passive"; + }; + + ddr_alert1: trip-point1 { + temperature = <95000>; + hysteresis = <2000>; + type = "passive"; + }; + + ddr_crit: ddr-crit { + temperature = <110000>; + hysteresis = <1000>; + type = "critical"; + }; + }; + }; + + q6hvx-thermal { + polling-delay-passive = <0>; + polling-delay = <0>; + + thermal-sensors = <&tsens1 4>; + + trips { + q6hvx_alert0: trip-point0 { + temperature = <90000>; + hysteresis = <2000>; + type = "passive"; + }; + + q6hvx_alert1: trip-point1 { + temperature = <95000>; + hysteresis = <2000>; + type = "passive"; + }; + + q6hvx_crit: q6hvx-crit { + temperature = <110000>; + hysteresis = <1000>; + type = "critical"; + }; + }; + }; + + camera-thermal { + polling-delay-passive = <0>; + polling-delay = <0>; + + thermal-sensors = <&tsens1 5>; + + trips { + camera_alert0: trip-point0 { + temperature = <90000>; + hysteresis = <2000>; + type = "passive"; + }; + + camera_alert1: trip-point1 { + temperature = <95000>; + hysteresis = <2000>; + type = "passive"; + }; + + camera_crit: camera-crit { + temperature = <110000>; + hysteresis = <1000>; + type = "critical"; + }; + }; + }; + + mdm-core0-thermal { + polling-delay-passive = <0>; + polling-delay = <0>; + + thermal-sensors = <&tsens1 6>; + + trips { + mdm_core0_alert0: trip-point0 { + temperature = <90000>; + hysteresis = <2000>; + type = "passive"; + }; + + mdm_core0_alert1: trip-point1 { + temperature = <95000>; + hysteresis = <2000>; + type = "passive"; + }; + + mdm_core0_crit: mdm-core0-crit { + temperature = <110000>; + hysteresis = <1000>; + type = "critical"; + }; + }; + }; + + mdm-core1-thermal { + polling-delay-passive = <0>; + polling-delay = <0>; + + thermal-sensors = <&tsens1 7>; + + trips { + mdm_core1_alert0: trip-point0 { + temperature = <90000>; + hysteresis = <2000>; + type = "passive"; + }; + + mdm_core1_alert1: trip-point1 { + temperature = <95000>; + hysteresis = <2000>; + type = "passive"; + }; + + mdm_core1_crit: mdm-core1-crit { + temperature = <110000>; + hysteresis = <1000>; + type = "critical"; + }; + }; + }; + + mdm-vec-thermal { + polling-delay-passive = <0>; + polling-delay = <0>; + + thermal-sensors = <&tsens1 8>; + + trips { + mdm_vec_alert0: trip-point0 { + temperature = <90000>; + hysteresis = <2000>; + type = "passive"; + }; + + mdm_vec_alert1: trip-point1 { + temperature = <95000>; + hysteresis = <2000>; + type = "passive"; + }; + + mdm_vec_crit: mdm-vec-crit { + temperature = <110000>; + hysteresis = <1000>; + type = "critical"; + }; + }; + }; + + msm-scl-thermal { + polling-delay-passive = <0>; + polling-delay = <0>; + + thermal-sensors = <&tsens1 9>; + + trips { + msm_scl_alert0: trip-point0 { + temperature = <90000>; + hysteresis = <2000>; + type = "passive"; + }; + + msm_scl_alert1: trip-point1 { + temperature = <95000>; + hysteresis = <2000>; + type = "passive"; + }; + + msm_scl_crit: msm-scl-crit { + temperature = <110000>; + hysteresis = <1000>; + type = "critical"; + }; + }; + }; + + video-thermal { + polling-delay-passive = <0>; + polling-delay = <0>; + + thermal-sensors = <&tsens1 10>; + + trips { + video_alert0: trip-point0 { + temperature = <90000>; + hysteresis = <2000>; + type = "passive"; + }; + + video_alert1: trip-point1 { + temperature = <95000>; + hysteresis = <2000>; + type = "passive"; + }; + + video_crit: video-crit { + temperature = <110000>; + hysteresis = <1000>; + type = "critical"; + }; + }; + }; + }; + timer { compatible = "arm,armv8-timer"; interrupts = , From patchwork Thu Mar 16 14:13:01 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 70808 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:604a:0:0:0:0:0 with SMTP id j10csp510979wrt; Thu, 16 Mar 2023 07:21:14 -0700 (PDT) X-Google-Smtp-Source: AK7set8T265yJpDQfoF2SOy9XSk+bBm031yVotrfpcXp7CQ/QSXevHIs+fBsM+8dXmxpbhO9k8bA X-Received: by 2002:a05:6a20:158f:b0:d5:f7f5:85e4 with SMTP id h15-20020a056a20158f00b000d5f7f585e4mr4664912pzj.22.1678976474631; Thu, 16 Mar 2023 07:21:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1678976474; cv=none; d=google.com; s=arc-20160816; b=zC4KcGKeJOutnWTv0bzh6Z+bbY0Jq0oHXco8MuzDZdibIJNmTfT1DdyZXM/ZTYpv8M NC7fCouYrmXrdcbqKdSmLJ+6L+7LinAdWGD692924kydQSvihrhF8VY5AZH1pV2VgJDF HXmlSj0bkUIOPkUqcuaB5F9cANBAYwHO+6FBuhc82QN3bDDK5izTQnDviLItJGfwneuu cmxSSo3gTvnJgUed6z+vtVAZDa3Xoq450xn2140N8BzOK442IG6Du/h57cqJM48fXEK+ clbmJhZsZDUC+dLH6Ec1KwFqHU1NFyN47XV6RYJ1wVgffYN6xQBMNPfID7jJrwwbiuTH AwSw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:in-reply-to:references:message-id :content-transfer-encoding:mime-version:subject:date:from :dkim-signature; bh=r6AdYsLFAk7GgkF7fiDDRdxRqmxm5wdSTZ85GRpprjU=; b=FE+5iLo0bqGmV03YxE0EvRF5N3O9qw+VODz5xRae7AU+Ho2xH4ii8Xdfhp8JkP+YOU NdaXIDmXs3xKwqZV7VT0pkg2a+S7/DIyZUrYrat+3tklzBLMvE3Y6+KLtySzg4Jf51ri PXk1DEp0U1DgqwbeFkMenNUomwbocP0FIzP/IwbhwerkrnJnD7QbuPItPyZzmiRH5+kH 8zll0DKVTVFu9mSP3zQpXrpvaAD0U3K+01c2VePJrSZeTUspJfqdZOIFeC3celbpm42M qffxUfnaFeMgR3U2KtcXQEM/z2+4j6cKioOdEb4VSQiKWJIpJWWg8iLaeOrNT1U2tVxw 429Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=L5G4BkcC; 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 q29-20020a63f95d000000b005074669ce0csi8046583pgk.566.2023.03.16.07.21.00; Thu, 16 Mar 2023 07:21:14 -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=L5G4BkcC; 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 S231311AbjCPOOJ (ORCPT + 99 others); Thu, 16 Mar 2023 10:14:09 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34866 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231310AbjCPONo (ORCPT ); Thu, 16 Mar 2023 10:13:44 -0400 Received: from mail-lj1-x231.google.com (mail-lj1-x231.google.com [IPv6:2a00:1450:4864:20::231]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F1137D5A49 for ; Thu, 16 Mar 2023 07:13:20 -0700 (PDT) Received: by mail-lj1-x231.google.com with SMTP id b13so1833929ljf.6 for ; Thu, 16 Mar 2023 07:13:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1678976000; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=r6AdYsLFAk7GgkF7fiDDRdxRqmxm5wdSTZ85GRpprjU=; b=L5G4BkcCQQ3qWBx58UenWCH8uRF2KAOucMIWCGobUlnaBxkcCFoYB4fNSmRu4t5R8C qs9tm0HRnf4xUq1jH3CfiLliaYrZR72tFohJ8OYKWjd12EqwGCvWJNfbKsXaXBL9Ju9x COBUN848cCxoLlOie3FI/L5fMQuru9gPFWy+0NtmfcBmTMgRa5Ps43ujMHle7NcK3ILr kgyZd+jo0+FeILXA0S/lWKDhGsoEbCpA2Ys+AV3XfuiNJRTYhojlyOSDrCJuPb81KYs3 102i0jMVUR4q5zIvLp9YlV5AcSPkpW+S+hSbnMVFX50u/ri4mGxvo666vmchopDG1zHO NinQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678976000; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=r6AdYsLFAk7GgkF7fiDDRdxRqmxm5wdSTZ85GRpprjU=; b=M7K42fgL1EeCUqgDQ90NcIUaec7v6I4rXT1goSOEPBRozS2Qg9JMJ22xt2PR4LH0UX 47+0aXcNMuMfxtkMZ0TxHzljbtSLC/r7lVf6dVGHpSsgIx9OUr1mBfzw052xDVizx7bY ifDC1gYd0o3M+IJUdeQB+CJphMzSqia2VZmO1TUsuEErVsvdANtpqSsuSGfF3y6Ef+Wh T4pxCMO23vh2JUPLvRo4nMdrkCPztSInh4iRrCngUkyXv2em8lwIAT6bSXPCSNrs2PoZ B805V4iXGB00x3rkHY3f2Qo5BCxuvdFs28aQRNymm2c2YyxwCih5v7MJUAjCkFcTSCHQ m3YA== X-Gm-Message-State: AO0yUKVjQprZmJV9c1RfsuvEQSBU0uPRlIuqOTm+UJhDBOiEpZG9LHep PXtaoZbAd49o5Gf72StxoSINzA== X-Received: by 2002:a2e:b619:0:b0:295:8a9b:d8d6 with SMTP id r25-20020a2eb619000000b002958a9bd8d6mr2184422ljn.4.1678976000335; Thu, 16 Mar 2023 07:13:20 -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.13.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 16 Mar 2023 07:13:19 -0700 (PDT) From: Konrad Dybcio Date: Thu, 16 Mar 2023 15:13:01 +0100 Subject: [PATCH v2 12/14] arm64: dts: qcom: sm6375: Bump CPU rail power collapse index MIME-Version: 1.0 Message-Id: <20230303-topic-sm6375_features0_dts-v2-12-708b8191f7eb@linaro.org> References: <20230303-topic-sm6375_features0_dts-v2-0-708b8191f7eb@linaro.org> In-Reply-To: <20230303-topic-sm6375_features0_dts-v2-0-708b8191f7eb@linaro.org> 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 X-Mailer: b4 0.12.1 X-Developer-Signature: v=1; a=ed25519-sha256; t=1678975978; l=2856; i=konrad.dybcio@linaro.org; s=20230215; h=from:subject:message-id; bh=bMhMpkixv2gywZqN6GGbDpn43h/PEoR+YDXz/nF/7ns=; b=7rN/tz92CykW7HvECEeCjTrmc2FRqehFj6zUdiN73Ux/RkFwDO4M+LKoIX79pRitRt2U43GpjNOz j6rD+WSTBa9+lU5IZleEnMSG4whRWhPmXCxSUOvP4fvLlxqC1TPU 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?1760534435507945141?= X-GMAIL-MSGID: =?utf-8?q?1760534435507945141?= In preparation for supporting a less-deep sleep state, rename the existing rail power off from _0 to _1. Signed-off-by: Konrad Dybcio --- arch/arm64/boot/dts/qcom/sm6375.dtsi | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/sm6375.dtsi b/arch/arm64/boot/dts/qcom/sm6375.dtsi index 94bb373f8d97..d9b8c8b921be 100644 --- a/arch/arm64/boot/dts/qcom/sm6375.dtsi +++ b/arch/arm64/boot/dts/qcom/sm6375.dtsi @@ -207,7 +207,7 @@ core7 { idle-states { entry-method = "psci"; - LITTLE_CPU_SLEEP_0: cpu-sleep-0-0 { + LITTLE_CPU_SLEEP_1: cpu-sleep-0-1 { compatible = "arm,idle-state"; idle-state-name = "silver-rail-power-collapse"; arm,psci-suspend-param = <0x40000004>; @@ -217,7 +217,7 @@ LITTLE_CPU_SLEEP_0: cpu-sleep-0-0 { local-timer-stop; }; - BIG_CPU_SLEEP_0: cpu-sleep-1-0 { + BIG_CPU_SLEEP_1: cpu-sleep-1-1 { compatible = "arm,idle-state"; idle-state-name = "gold-rail-power-collapse"; arm,psci-suspend-param = <0x40000004>; @@ -268,49 +268,49 @@ psci { CPU_PD0: power-domain-cpu0 { #power-domain-cells = <0>; power-domains = <&CLUSTER_PD>; - domain-idle-states = <&LITTLE_CPU_SLEEP_0>; + domain-idle-states = <&LITTLE_CPU_SLEEP_1>; }; CPU_PD1: power-domain-cpu1 { #power-domain-cells = <0>; power-domains = <&CLUSTER_PD>; - domain-idle-states = <&LITTLE_CPU_SLEEP_0>; + domain-idle-states = <&LITTLE_CPU_SLEEP_1>; }; CPU_PD2: power-domain-cpu2 { #power-domain-cells = <0>; power-domains = <&CLUSTER_PD>; - domain-idle-states = <&LITTLE_CPU_SLEEP_0>; + domain-idle-states = <&LITTLE_CPU_SLEEP_1>; }; CPU_PD3: power-domain-cpu3 { #power-domain-cells = <0>; power-domains = <&CLUSTER_PD>; - domain-idle-states = <&LITTLE_CPU_SLEEP_0>; + domain-idle-states = <&LITTLE_CPU_SLEEP_1>; }; CPU_PD4: power-domain-cpu4 { #power-domain-cells = <0>; power-domains = <&CLUSTER_PD>; - domain-idle-states = <&LITTLE_CPU_SLEEP_0>; + domain-idle-states = <&LITTLE_CPU_SLEEP_1>; }; CPU_PD5: power-domain-cpu5 { #power-domain-cells = <0>; power-domains = <&CLUSTER_PD>; - domain-idle-states = <&LITTLE_CPU_SLEEP_0>; + domain-idle-states = <&LITTLE_CPU_SLEEP_1>; }; CPU_PD6: power-domain-cpu6 { #power-domain-cells = <0>; power-domains = <&CLUSTER_PD>; - domain-idle-states = <&BIG_CPU_SLEEP_0>; + domain-idle-states = <&BIG_CPU_SLEEP_1>; }; CPU_PD7: power-domain-cpu7 { #power-domain-cells = <0>; power-domains = <&CLUSTER_PD>; - domain-idle-states = <&BIG_CPU_SLEEP_0>; + domain-idle-states = <&BIG_CPU_SLEEP_1>; }; CLUSTER_PD: power-domain-cpu-cluster0 { From patchwork Thu Mar 16 14:13:02 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 70814 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:604a:0:0:0:0:0 with SMTP id j10csp517085wrt; Thu, 16 Mar 2023 07:33:12 -0700 (PDT) X-Google-Smtp-Source: AK7set8Ty3/kRNMlMLihJl/mtW8GGxUFaNTiR3FmI0kO+VnnRLSpaw4SIj6DxHdyAy/fMo5a7Qsj X-Received: by 2002:a92:cecc:0:b0:323:154a:5420 with SMTP id z12-20020a92cecc000000b00323154a5420mr7389210ilq.17.1678977192434; Thu, 16 Mar 2023 07:33:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1678977192; cv=none; d=google.com; s=arc-20160816; b=YEKJiyiKLvOGuXwntBvUAIJ63G2iwgJ+05iqFpyT+mRYKUHrhR2NleHegLOrcUbZ/j i6JOSGDqCm3LGyq5iue6ou3Z4K+T6WK42pztzn7DAUBkbIBciJVa8iq+KpatNovIqXmd qYHiJ/Mk7am8Jn2arVzWzE24+7WB/C2NNrr1jn1cJiewJSODstbmFqwPuFz/+zVU35pE pfLDz1VHGbQGdbaQIi5NZ5g/RjXQFLULa/wDwzx7MTINtf6uSicgJgJ557IxbGhkwKat cqoV47sF69Kri8tT/WlgiHeSmLrBKYJxqXSBs5TfegCl/aMGS6BMVGI3S9aGKdysllN+ +Gbg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:in-reply-to:references:message-id :content-transfer-encoding:mime-version:subject:date:from :dkim-signature; bh=piy00ze27cjmP3sGzL7P6bitkrLZh8ic/pO7qFj7OPM=; b=BIxab4Yo7oQz749dhZGwt9So8LaFdwXRSjyTfki2ptMXLYyfeBt86iZQfAi0wYqLIF /bA1GPhsNtPHvXvIhrS2gj3vIi89ChU0glGgMr/AKoLJIdMRAVja92GpwtD9qBRhGF6A NJlJhMxNC2xlNsM60s4WAOFo3v2kofRtzkOHgQoFMMuj0Y+eZ8SwTmeOW51mSbvZ7R+R Cs2fgvJGu2F0sdaZqc/vejCz2QHyh9DUDpIO0nXYBGkjkUbsI+hdSu1DncesE2PQz+Gd 93mphPHrtYrSqV4SGCSqPYFHN9w1Sl1S/dEp4b/c16HvFffPdhd6QXEZ+jMXWoOl/WkY L5ng== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Bh1hxScN; 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 s18-20020a92c5d2000000b003174de76036si8013320ilt.93.2023.03.16.07.32.57; Thu, 16 Mar 2023 07:33:12 -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=Bh1hxScN; 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 S231264AbjCPOOT (ORCPT + 99 others); Thu, 16 Mar 2023 10:14:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34908 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231263AbjCPONr (ORCPT ); Thu, 16 Mar 2023 10:13:47 -0400 Received: from mail-lj1-x22b.google.com (mail-lj1-x22b.google.com [IPv6:2a00:1450:4864:20::22b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 14695D7C00 for ; Thu, 16 Mar 2023 07:13:24 -0700 (PDT) Received: by mail-lj1-x22b.google.com with SMTP id z5so1832746ljc.8 for ; Thu, 16 Mar 2023 07:13:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1678976002; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=piy00ze27cjmP3sGzL7P6bitkrLZh8ic/pO7qFj7OPM=; b=Bh1hxScNUZDwRSRTQn//qBTILDXyyQwMC4kYaXpzqk2hB82rnzKtO8PO/swehYNbUN n33LC0ZB18/x/hrBJEwOnBTTYdfHONNjONchKWMmUZN8b76GS2U83J8BvsKdp6/Gql3K bATEpiI2h6Xr+4QG1FtFfksi7BdCwEqpVr3Ibksw5R7uS2WdVPaS9As9HVbRDnU72ayY +l9BXgVgw/Oo+FD5qWUsFmCwgnK4W9dJNcBU92za7IE/TLb5mbAy0yduOLWX0pptlakI vtwb6/+88SWs1JpAcw5V0DsCg9llwoY/8T2tDRIhuMLZKtvm/0BvqFnpovoegXcg3eNO ACBg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678976002; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=piy00ze27cjmP3sGzL7P6bitkrLZh8ic/pO7qFj7OPM=; b=GjunijgNd52NRhFfxGn+px05/eS1Q8Y78x7yvNUhwpI7WCp7sYCEcHzINq2JDAsIBq sdEhfB76OnyoCz9wGFrv12BSY4W4O66KOxXldfClC9FtcAUjkJQ+/0aXJ5FJUNMmcmET FUVXTZ5d0GDvs2iv+qhawT3RF8507iZTZ1jv0xXKF78llCS6FNNr34HZ8SbdQt7LXnjI srA6YVYMJMIHvqvcPeEtD+OsLdw1hUbo1U2VCY3uh0mos/eDrqfex+xcnzA21fqrYVzE dYGYentNuZd0uPKHFAtEyZhN1FTWZ/iwdv1L3OJGC57/etoQYo75m/qpIt82R9HGWsG3 GcIw== X-Gm-Message-State: AO0yUKVK5igVWPT/I8MAxROJUd/+FjUywQfTTQaFe4divMLvjA8ye5Nk 3bgsDjSBFSQZsrF8WKT48Dmwsw== X-Received: by 2002:a2e:9682:0:b0:299:aa9d:cea1 with SMTP id q2-20020a2e9682000000b00299aa9dcea1mr736947lji.47.1678976002152; Thu, 16 Mar 2023 07:13:22 -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.13.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 16 Mar 2023 07:13:21 -0700 (PDT) From: Konrad Dybcio Date: Thu, 16 Mar 2023 15:13:02 +0100 Subject: [PATCH v2 13/14] arm64: dts: qcom: sm6375: Introduce C3 power state for both ARM clusters MIME-Version: 1.0 Message-Id: <20230303-topic-sm6375_features0_dts-v2-13-708b8191f7eb@linaro.org> References: <20230303-topic-sm6375_features0_dts-v2-0-708b8191f7eb@linaro.org> In-Reply-To: <20230303-topic-sm6375_features0_dts-v2-0-708b8191f7eb@linaro.org> 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 X-Mailer: b4 0.12.1 X-Developer-Signature: v=1; a=ed25519-sha256; t=1678975978; l=3486; i=konrad.dybcio@linaro.org; s=20230215; h=from:subject:message-id; bh=UTbmkp3WiwW+dRCBFpoWA3Dx76pcDEsLxGUPbgpPkms=; b=gCDDJGxaHaFaoA1Q1yXkbwsAPqik9mDAOA4+iE8WuLxR/oTio+6KB2PC3tQdI9UJyw+DXZb3LvG4 K5XPI6yoDNAX+LCYL+JUhIDEolOtkgHRFO8kob55LXPKT3gv3m4p 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?1760535188225453184?= X-GMAIL-MSGID: =?utf-8?q?1760535188225453184?= Introduce the C3 power state, which - to the best of my understanding - gates the CPU clock, but does not shut off the power rail. Signed-off-by: Konrad Dybcio --- arch/arm64/boot/dts/qcom/sm6375.dtsi | 36 ++++++++++++++++++++++++++++-------- 1 file changed, 28 insertions(+), 8 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/sm6375.dtsi b/arch/arm64/boot/dts/qcom/sm6375.dtsi index d9b8c8b921be..bab64034a8d5 100644 --- a/arch/arm64/boot/dts/qcom/sm6375.dtsi +++ b/arch/arm64/boot/dts/qcom/sm6375.dtsi @@ -207,6 +207,16 @@ core7 { idle-states { entry-method = "psci"; + LITTLE_CPU_SLEEP_0: cpu-sleep-0-0 { + compatible = "arm,idle-state"; + idle-state-name = "silver-power-collapse"; + arm,psci-suspend-param = <0x40000003>; + entry-latency-us = <549>; + exit-latency-us = <901>; + min-residency-us = <1774>; + local-timer-stop; + }; + LITTLE_CPU_SLEEP_1: cpu-sleep-0-1 { compatible = "arm,idle-state"; idle-state-name = "silver-rail-power-collapse"; @@ -217,6 +227,16 @@ LITTLE_CPU_SLEEP_1: cpu-sleep-0-1 { local-timer-stop; }; + BIG_CPU_SLEEP_0: cpu-sleep-1-0 { + compatible = "arm,idle-state"; + idle-state-name = "gold-power-collapse"; + arm,psci-suspend-param = <0x40000003>; + entry-latency-us = <523>; + exit-latency-us = <1244>; + min-residency-us = <2207>; + local-timer-stop; + }; + BIG_CPU_SLEEP_1: cpu-sleep-1-1 { compatible = "arm,idle-state"; idle-state-name = "gold-rail-power-collapse"; @@ -268,49 +288,49 @@ psci { CPU_PD0: power-domain-cpu0 { #power-domain-cells = <0>; power-domains = <&CLUSTER_PD>; - domain-idle-states = <&LITTLE_CPU_SLEEP_1>; + domain-idle-states = <&LITTLE_CPU_SLEEP_0 &LITTLE_CPU_SLEEP_1>; }; CPU_PD1: power-domain-cpu1 { #power-domain-cells = <0>; power-domains = <&CLUSTER_PD>; - domain-idle-states = <&LITTLE_CPU_SLEEP_1>; + domain-idle-states = <&LITTLE_CPU_SLEEP_0 &LITTLE_CPU_SLEEP_1>; }; CPU_PD2: power-domain-cpu2 { #power-domain-cells = <0>; power-domains = <&CLUSTER_PD>; - domain-idle-states = <&LITTLE_CPU_SLEEP_1>; + domain-idle-states = <&LITTLE_CPU_SLEEP_0 &LITTLE_CPU_SLEEP_1>; }; CPU_PD3: power-domain-cpu3 { #power-domain-cells = <0>; power-domains = <&CLUSTER_PD>; - domain-idle-states = <&LITTLE_CPU_SLEEP_1>; + domain-idle-states = <&LITTLE_CPU_SLEEP_0 &LITTLE_CPU_SLEEP_1>; }; CPU_PD4: power-domain-cpu4 { #power-domain-cells = <0>; power-domains = <&CLUSTER_PD>; - domain-idle-states = <&LITTLE_CPU_SLEEP_1>; + domain-idle-states = <&LITTLE_CPU_SLEEP_0 &LITTLE_CPU_SLEEP_1>; }; CPU_PD5: power-domain-cpu5 { #power-domain-cells = <0>; power-domains = <&CLUSTER_PD>; - domain-idle-states = <&LITTLE_CPU_SLEEP_1>; + domain-idle-states = <&LITTLE_CPU_SLEEP_0 &LITTLE_CPU_SLEEP_1>; }; CPU_PD6: power-domain-cpu6 { #power-domain-cells = <0>; power-domains = <&CLUSTER_PD>; - domain-idle-states = <&BIG_CPU_SLEEP_1>; + domain-idle-states = <&BIG_CPU_SLEEP_0 &BIG_CPU_SLEEP_1>; }; CPU_PD7: power-domain-cpu7 { #power-domain-cells = <0>; power-domains = <&CLUSTER_PD>; - domain-idle-states = <&BIG_CPU_SLEEP_1>; + domain-idle-states = <&BIG_CPU_SLEEP_0 &BIG_CPU_SLEEP_1>; }; CLUSTER_PD: power-domain-cpu-cluster0 { From patchwork Thu Mar 16 14:13:03 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 70818 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:604a:0:0:0:0:0 with SMTP id j10csp525991wrt; Thu, 16 Mar 2023 07:51:41 -0700 (PDT) X-Google-Smtp-Source: AK7set+MpwR2eNMlQfHHsZcnZhDTNlMg5EDQcUYqpe7ewOhb/+7G4uAfy5AVMkp8CRjehB1aSbHd X-Received: by 2002:a05:6a20:7d8b:b0:cb:f5ab:3bd0 with SMTP id v11-20020a056a207d8b00b000cbf5ab3bd0mr5064903pzj.59.1678978301400; Thu, 16 Mar 2023 07:51:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1678978301; cv=none; d=google.com; s=arc-20160816; b=quoPEmM5ibsD/dmyGfRFZGG1YYpwzboKOcZ1NPCRbBZfhmCnQkSW1ZNA8Zm5UKahvu JmV8HXJCPCa3lM+a1HEj3TRKAI+lkZHXBT2O822LL9fEl+swzHbpzHqMTRIfL4W0IUAg WsOGWT/M2ENK65JqkyKtZTyHfm04q3L89NczOYX+ATxE7OrWytakWSE/NUqqDDUu6T0Z Ribl64ib2XLprCpSJ91oxeE/VWEXMWCs8lcSh4xNTjh52aNBNI6DIVxsnSwsN/nme+OX A4Ari4y4cr/fpUCAesu2FnFgAXUjzijyu9da0geeBmryidSpm3crh7/Ltvdq0rNVgNb0 m94g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:in-reply-to:references:message-id :content-transfer-encoding:mime-version:subject:date:from :dkim-signature; bh=N1o/g/RY/F8tw5gI99MfNC1MgutCzKG48oc2MA5z/Ao=; b=mH1y837hF9J/XTbKLvzCXyykTtqX4n8/Je8ajSMvuRyzIJNDUcO0eDeuxSbGMneNaU XY94An7Bbrnb/gGhBwb4sbqeI8Q0RSEETkCvGMPJVKnGu2t2ajAPQvBeZCoA8P2LY+E5 M5HmeowSJqj1Ra3+Cdr63iF2TcbfIZAzp5zKY9k96FOe0mT5NFMtrgTBnr/A65OwWCs/ 2hMpxoYeLcLNXH3whl3ZF79QaAURxp25dIpn0UcbktLltfqVik1oLoGazVGbQTusPtXi yc0PNHlDwqm3nN2APY0JPLwOdnKp+hLKdNIgZbPXz3Ry1oTdVT9w1nivKhHDvtmuf2/j Ms+A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Qrr803nV; 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 k70-20020a638449000000b005033552517bsi2742521pgd.281.2023.03.16.07.51.26; Thu, 16 Mar 2023 07:51:41 -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=Qrr803nV; 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 S231238AbjCPOOX (ORCPT + 99 others); Thu, 16 Mar 2023 10:14:23 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33848 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231223AbjCPONs (ORCPT ); Thu, 16 Mar 2023 10:13:48 -0400 Received: from mail-lj1-x22c.google.com (mail-lj1-x22c.google.com [IPv6:2a00:1450:4864:20::22c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BEAA9DC084 for ; Thu, 16 Mar 2023 07:13:27 -0700 (PDT) Received: by mail-lj1-x22c.google.com with SMTP id l22so1824185ljc.11 for ; Thu, 16 Mar 2023 07:13:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1678976004; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=N1o/g/RY/F8tw5gI99MfNC1MgutCzKG48oc2MA5z/Ao=; b=Qrr803nV2RNxyMhr4k1CujiqeMiu6xeEfZDomigDzlgOJ2+LAoow9y4SpnULqM533W JGYU4zjecXMNVzRMcYjhYBo9bJKzgh9fndduUqthz5eV7m0AegygBhQ+m1SwDg1hCTN/ rnHE2vUTqT5qun7CkRIHPNhcCN2biGs4H9UjkIKTUfCCMvjN4tOS2/1osalKAkFcJB+S 9GXXMgz+BHuHgPrKWIluWCd1qhoHJ6ZiQCleccrZYMrDoQe116QM7kTG4KQKrlbgq3Q3 hlL4xAJbs94Mc1ULnoRauUdmiuxvn0lHeBTU3GqdlA7B+wCkZXGaFUvQPY+eoSYTGGD1 b6Bw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678976004; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=N1o/g/RY/F8tw5gI99MfNC1MgutCzKG48oc2MA5z/Ao=; b=W08HXgi0+cA4FBxbz546SyPXWtuSWE9IOrEWvfMZ8DhvXGIu6vEnfb3tNCyDICOYlZ Vjtw/7vf8kAh7MwFmgjdw0dBS4oXd+OS76zCWUl7kyCPNvH30s1A1Ch74SvjDlzpD6D1 XErQ+cNNRPt1BSkWm3xdNyk1qnBVx0CZzQZYbIS7Cl4eTWbBACfJe6QrKYvz9XcAV3dD 4Dh4e8xc4Nrf19dRfNqdRACk2B8fLxANyBIYIeG4YRFTHST9qtBVgGGvZfVTVSTY3rtH Kq8Hx8XT7ViIop1yi+TTrt0ex7u+hdQHEgAHb9yfBi+77by3g+FTaqemFgbfD6G+ztTB AMHA== X-Gm-Message-State: AO0yUKXYqTwdi00zHDeILEYd2EY+UlHpI6sifuC0uokCCdc7pWko7daM r/OUcQL8DkIgyCbOnGj6CkNxMQ== X-Received: by 2002:a2e:be12:0:b0:298:a841:4d0f with SMTP id z18-20020a2ebe12000000b00298a8414d0fmr3091124ljq.52.1678976003979; Thu, 16 Mar 2023 07:13:23 -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.13.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 16 Mar 2023 07:13:23 -0700 (PDT) From: Konrad Dybcio Date: Thu, 16 Mar 2023 15:13:03 +0100 Subject: [PATCH v2 14/14] arm64: dts: qcom: sm6375-pdx225: Add volume down GPIO key MIME-Version: 1.0 Message-Id: <20230303-topic-sm6375_features0_dts-v2-14-708b8191f7eb@linaro.org> References: <20230303-topic-sm6375_features0_dts-v2-0-708b8191f7eb@linaro.org> In-Reply-To: <20230303-topic-sm6375_features0_dts-v2-0-708b8191f7eb@linaro.org> 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 X-Mailer: b4 0.12.1 X-Developer-Signature: v=1; a=ed25519-sha256; t=1678975978; l=1409; i=konrad.dybcio@linaro.org; s=20230215; h=from:subject:message-id; bh=lUoSxwe6wDxHMv1iTDzFHuYZxKLyt1OMfELUkCo9Rp0=; b=6DAUo0XuzRtK0oppQWVoexEKvP1e3HUzo7m6yHp02zNfdQCZy++x2swjD+iPpuCPGEqXhadgLXw1 vUFy4zVZC4oEvOr9UIOEQQso+Cesl5GsmGvY9LDCbFthxOsz9AIm 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?1760536351007020386?= X-GMAIL-MSGID: =?utf-8?q?1760536351007020386?= Add the required nodes to enable the volume down key on the Sony Xperia 10 IV. Signed-off-by: Konrad Dybcio --- .../dts/qcom/sm6375-sony-xperia-murray-pdx225.dts | 27 ++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sm6375-sony-xperia-murray-pdx225.dts b/arch/arm64/boot/dts/qcom/sm6375-sony-xperia-murray-pdx225.dts index b691c3834b6b..8220e6f44117 100644 --- a/arch/arm64/boot/dts/qcom/sm6375-sony-xperia-murray-pdx225.dts +++ b/arch/arm64/boot/dts/qcom/sm6375-sony-xperia-murray-pdx225.dts @@ -46,6 +46,23 @@ framebuffer: framebuffer@85200000 { }; }; + gpio-keys { + compatible = "gpio-keys"; + label = "gpio-keys"; + + pinctrl-0 = <&vol_down_n>; + pinctrl-names = "default"; + + key-volume-down { + label = "Volume Down"; + linux,code = ; + gpios = <&pmr735a_gpios 1 GPIO_ACTIVE_LOW>; + debounce-interval = <15>; + linux,can-disable; + wakeup-source; + }; + }; + reserved-memory { cont_splash_mem: memory@85200000 { reg = <0 0x85200000 0 0xc00000>; @@ -133,6 +150,16 @@ &pmk8350_rtc { status = "okay"; }; +&pmr735a_gpios { + vol_down_n: vol-down-n-state { + pins = "gpio1"; + function = "normal"; + power-source = <1>; + bias-pull-up; + input-enable; + }; +}; + &pon_pwrkey { status = "okay"; };