From patchwork Fri Mar 3 21:58: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: 64095 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:5915:0:0:0:0:0 with SMTP id v21csp666018wrd; Fri, 3 Mar 2023 14:55:53 -0800 (PST) X-Google-Smtp-Source: AK7set+fZy0zReNEvCXKFNiKQNPAFPRmiMBOD+RNRCwGcTiQO+uRFAsM4ieC3VVW64FTVuyFVwwK X-Received: by 2002:a17:906:434c:b0:908:6a98:5b48 with SMTP id z12-20020a170906434c00b009086a985b48mr3036501ejm.40.1677884152984; Fri, 03 Mar 2023 14:55:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1677884152; cv=none; d=google.com; s=arc-20160816; b=BhZcHIqtdpX/dNANErEEyjsnsa8Py4i7NQ73VzGPIO4/tnz6KV1dirdDF5JjZfrIKK vXNahgNtHAH3KOELXPGiS2Iejgg/C9S/HlpWTsAKLhx0KgZwKXRhZaSZeKCmapzHVH/Y 9gUtWBI/GCL/S7jKUmi64mszro7p0hJGnqLkcr1VYk32Em220VKHg8xrwtgBI47UpmlX /sBxzyJ0BEvpMhd7mWJCeg0ltZFZ16Q82atnI9HYll+p6/StTbxerY/R2D2DpN1l8I9n +EkV6oA53o2SdKUF+t5mLjIKy/3tOt+BRKx/XSTEMmjZQNlHp2peeHA25xnFDCozUTwV HJxA== 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=kByKMAiyThWhQddTcnHkd5we2tSElWbVAhY9mxsVtno=; b=OJdD4K1iiIkdwky7+8nOSeQxwszTchvJmsVLOjHXVmZ9xYjQiB/VXw4XoLTMKxNoXd CnUeaVgX/TK00A1GvZH1txi1zUdMKs5YvY4BgMXxi3RNd/uc6O28PorJBUjkeG8rlpG9 HbnUqCrClHjTTYFqexYuyZS1MuG20rcknvw3Smbhifvcmn9luFz9MQW7TgezcF0kbRKP ynLIFarOI/CQ1HnyKLNYWyNFMosljKMy9FUglIC2noeNXD3/XzTjanp1bZaixKOmuZnR TvvBHnNA76EOWf3VgC57i+MOt34+IWzqNc2o3sjNKVW1kmjS5LvsjEXuVc4mqZiVaYt2 AX+Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=t85fvma8; 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 o14-20020a1709062e8e00b008c9d8aeb4adsi3036603eji.200.2023.03.03.14.55.29; Fri, 03 Mar 2023 14:55:52 -0800 (PST) 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=t85fvma8; 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 S233365AbjCCWeo (ORCPT + 99 others); Fri, 3 Mar 2023 17:34:44 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37672 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231879AbjCCWe2 (ORCPT ); Fri, 3 Mar 2023 17:34:28 -0500 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 0B0E3EB48 for ; Fri, 3 Mar 2023 14:30:58 -0800 (PST) Received: by mail-lj1-x234.google.com with SMTP id x6so3867118ljq.1 for ; Fri, 03 Mar 2023 14:30:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1677882549; 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=kByKMAiyThWhQddTcnHkd5we2tSElWbVAhY9mxsVtno=; b=t85fvma8ciYwq37M6BsZoS/h/6T3SU5fgxkc5pFrdS//9REMCQsBR3JU8w6mDSXgEf XHyRSvRarqGhpu5+fm/KpDooZhtSlFxqxsSFjjp3XxOc/THukwNeopj8wr5pdP43iB6z COfwGwttTPZpxuexwCHl2sDT1Ona9rhzA8rpQC3y+o8rVPCcWq89DpJeLqaELu02tu4D wFqw59fAw47ozEwOBwkCT4F+6Cg8AAbP9+Jg4b4QVrmoyxRYylxUCUsIDjZB5n2KipGn CzCJcLN2msrP4u9fRniTe6EtSTXgFEc/isUqE5RWhuwJdB+4ZSh+sjqkxNm30cZ65hZ8 rw+w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1677882549; 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=kByKMAiyThWhQddTcnHkd5we2tSElWbVAhY9mxsVtno=; b=2StGCEJ8KX0sfA8SEluqZ5MehdVepuTo6uW1VbVsqVHJkB8lT1Wc/5zvLnqGfBaVPS XltsA0jFyQeE0tJGoH12quetIXnIuADiVx3Klo2FFvhgl4e0nxA5oHuMKJ0X17UffMXN Gei1ymBa1wt2jrkq/NiZIjAnY6hpXoJNMCwfhlaQy48djYZO8FzfrU5k3gHcIVR0hfDq 1LA5PGmoOfxvlrmAG4BaoZVkxGsOqWjkQwyy+chiVeBbffOYpvR1ePzBri2kpyTsxjus cI/zzidkqNlZz80wbAQME+Ebv64GI1VRxJn6VWLorzXiuOyn9sDDZ0OUTRIs50dxdQIU lF4g== X-Gm-Message-State: AO0yUKWCw9jFuFT4rBR6Oq4LJTz7wIOWOIh4Jiax99UMpMUmsQXSde5D PSkDH+qok7gPowfk2iAnsjz+fjmkWCbWRp6/INs= X-Received: by 2002:a19:ae13:0:b0:4e1:13fa:bf07 with SMTP id f19-20020a19ae13000000b004e113fabf07mr985985lfc.43.1677880692932; Fri, 03 Mar 2023 13:58:12 -0800 (PST) Received: from [192.168.1.101] (abym99.neoplus.adsl.tpnet.pl. [83.9.32.99]) by smtp.gmail.com with ESMTPSA id e27-20020ac2547b000000b004cafa01ebbfsm552670lfn.101.2023.03.03.13.58.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 03 Mar 2023 13:58:12 -0800 (PST) From: Konrad Dybcio Date: Fri, 03 Mar 2023 22:58:01 +0100 Subject: [PATCH 01/15] dt-bindings: thermal: qcom-tsens: Add compatible for SM6375 MIME-Version: 1.0 Message-Id: <20230303-topic-sm6375_features0_dts-v1-1-8c8d94fba6f0@linaro.org> References: <20230303-topic-sm6375_features0_dts-v1-0-8c8d94fba6f0@linaro.org> In-Reply-To: <20230303-topic-sm6375_features0_dts-v1-0-8c8d94fba6f0@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, Konrad Dybcio X-Mailer: b4 0.12.1 X-Developer-Signature: v=1; a=ed25519-sha256; t=1677880689; l=880; i=konrad.dybcio@linaro.org; s=20230215; h=from:subject:message-id; bh=Xo5r61pKkn5u58scrvwnGxQSvCjXA8+p8ZYAEW/PB+Q=; b=7vSyzRro3M1PoiwzyP06k27hDzGfo3oDBQ8Z57zbfmtIIprHmAUCZ2Zdngs2nh9i9s8lrND9j7ZB IZhHCq+RAQmdNO0kARatFng3E2coXlwNbizIM1M6h2sKwXxeobOr X-Developer-Key: i=konrad.dybcio@linaro.org; a=ed25519; pk=iclgkYvtl2w05SSXO5EjjSYlhFKsJ+5OSZBjOkQuEms= X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS autolearn=unavailable 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?1759389053791293148?= X-GMAIL-MSGID: =?utf-8?q?1759389053791293148?= The Qualcomm SM6375 platform has two instances of the tsens v2.8.0 block, add a compatible for these instances. Signed-off-by: Konrad Dybcio Acked-by: Krzysztof Kozlowski --- 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 Fri Mar 3 21:58: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: 64109 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:5915:0:0:0:0:0 with SMTP id v21csp684719wrd; Fri, 3 Mar 2023 15:51:45 -0800 (PST) X-Google-Smtp-Source: AK7set+qrezKBwSa99LmSoma7Q2CZ0EdibvuHeWkKIc8MNzvd9Mez713eyqvrf0GsRI8EW0j2VsG X-Received: by 2002:a17:903:441:b0:19b:fa9:678b with SMTP id iw1-20020a170903044100b0019b0fa9678bmr3442750plb.40.1677887505213; Fri, 03 Mar 2023 15:51:45 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1677887505; cv=none; d=google.com; s=arc-20160816; b=l6aV3nVrXZdg/0ybukE/vKpxxOdASPeJr4e6hlqW8p6lJiIDE0eikijvX3WyWeWlZu zuQHNjI3c9f5uEm3odf5rAtd/olvvpzDO6T7zRCrzF8m9pMTXhe2WGTzHwb58AUqv+7+ rwSnL3wNzlN5qF9HRwfcAfEZH8gI45nY+DDO9/J8MmZYv52Imv1nZpgSSnqdaul+Pz6L DXEeXBKWqwnFrr+OQVaTuAgpJfMQoIBEVm7dFR8QVtE4z7c4v4L+VcDRkodS7X5Lljl+ 11M0ZcrcjxivWd/7C13dETpi4NDkos7/OUdVWRJD3/EhE4dL81Bp9p+8s0F51exvO4vX 3UAg== 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=jhGUt/9ikay0wTYED+3dM9XZOHe6xmGcq8vv+hJG3wQ=; b=bgy7lAn5utw0efTvYgS+h5+3H7vxhWzTYwDYUyk1zEz7uvXoBdIv27uJn5yqNLK5vH V2jAl/Nxq9RTpk2kDZLfK0uJtob35HDt/PXVcikkTIOixE/Sa+Dn9OOXI5ruNCJIkvLt jaxAhFrH9uoEv/7qQNjY0Aaxu9yDxpdUH23PbvY5xLw4lKh48BhiwXe4SbGlwuzk2CNi yUrD6TSHJDN7G2lfyZ0S2Y5ufKP7nVrxdVCm8EFrXJjXHrX3rF5FItHk5zIjOdHg3RlY wEfgxkBLB/dwNdOIEVVPwrfV9moveGYJpKnKiOCIaKqifDFHTWAoDMqxAslDkUxlHlFC 3bcQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=wbLL4JeX; 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 kk8-20020a170903070800b0019e9e57f92esi1026035plb.571.2023.03.03.15.51.33; Fri, 03 Mar 2023 15:51:45 -0800 (PST) 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=wbLL4JeX; 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 S232018AbjCCWZH (ORCPT + 99 others); Fri, 3 Mar 2023 17:25:07 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56052 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233466AbjCCWYW (ORCPT ); Fri, 3 Mar 2023 17:24:22 -0500 Received: from mail-ed1-x529.google.com (mail-ed1-x529.google.com [IPv6:2a00:1450:4864:20::529]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 33F1A6702C for ; Fri, 3 Mar 2023 14:16:56 -0800 (PST) Received: by mail-ed1-x529.google.com with SMTP id s11so15943710edy.8 for ; Fri, 03 Mar 2023 14:16:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1677881747; 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=jhGUt/9ikay0wTYED+3dM9XZOHe6xmGcq8vv+hJG3wQ=; b=wbLL4JeX2NLWfzjFi6/3gm9XcUgeHgP9XfRIiR3GatkWbcfMYP3NjIJYQGgOblC6NE Wnotnq28RaVNmmuog+tjVAdCJmV5N0OOrO9fkvrcauTq4C1nLr1NO2O7qk1kHcKnNeuT mL6ai/kF+ws/jHSSm9E73WZ0shAud6hChY7+LqG9Us3tZ/AMZWJJogh8qzpZ07BSPZGd K5zTKLItu43utT57LP5jw4mtKdwpByFDJR3SpIZBahIkPtKMYsHxPKK9k50GOT5kRdx4 wuDuSFSNj5qE0mlNguHHpliArRokgkSnShEBXLRnPApvSrmDYxcmLQue5279C3d53MUD MiBA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1677881747; 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=jhGUt/9ikay0wTYED+3dM9XZOHe6xmGcq8vv+hJG3wQ=; b=goNelwJGJKVv5SBZsbY/FIoS4xAkwIKm11f1Kgv2ImxrCg2WK7XPHQtOaLimumgorP lLLP7ymSd22Paho4vPNAe5K2N3lz/5jFs6vrVz7Tt4sAojeCaiRv3shr7+c62U9HeG4h SMyNFkB5pwZktm0LzNDEP8mFPfn4l3DBy4NZOEsex7c85YPi89POfr6L/aVTgrHth7cY 0HZzifyTl3oBSnTU1pcgkdS+nujawCGBwBFv4QN7DvMfbCWgrhP1unVZzWoxylZ7HwVP DBeM4+SqDBRmcqXmHpjMkxONOqZJu/Fp2uaLrNZMq4H0VLW8w7vvK5SeVIOolHQ5WVFD MFvA== X-Gm-Message-State: AO0yUKUaQFTtMhCvP3tBDWhhyLGEHWHFiBdOyBP7vqH+D6F84IoF7mqn Y8/lUAQP4D5+c5Asx8Epuyaxhnh7oe8CKGpwVkQ= X-Received: by 2002:ac2:5582:0:b0:4db:2876:f9aa with SMTP id v2-20020ac25582000000b004db2876f9aamr1003092lfg.68.1677880694430; Fri, 03 Mar 2023 13:58:14 -0800 (PST) Received: from [192.168.1.101] (abym99.neoplus.adsl.tpnet.pl. [83.9.32.99]) by smtp.gmail.com with ESMTPSA id e27-20020ac2547b000000b004cafa01ebbfsm552670lfn.101.2023.03.03.13.58.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 03 Mar 2023 13:58:14 -0800 (PST) From: Konrad Dybcio Date: Fri, 03 Mar 2023 22:58:02 +0100 Subject: [PATCH 02/15] dt-bindings: interconnect: OSM L3: Add SM6375 CPUCP compatible MIME-Version: 1.0 Message-Id: <20230303-topic-sm6375_features0_dts-v1-2-8c8d94fba6f0@linaro.org> References: <20230303-topic-sm6375_features0_dts-v1-0-8c8d94fba6f0@linaro.org> In-Reply-To: <20230303-topic-sm6375_features0_dts-v1-0-8c8d94fba6f0@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, Konrad Dybcio X-Mailer: b4 0.12.1 X-Developer-Signature: v=1; a=ed25519-sha256; t=1677880689; l=926; i=konrad.dybcio@linaro.org; s=20230215; h=from:subject:message-id; bh=3kDftpNu/Ozls1NqMhqLW9oX8DcWVaXf4fhj5FEZN3g=; b=X36jcdTP0r3fGsHBtrklmVLjJUipWiwhCrV1ouBP4WX74fvOr6l46fLr0hR9NdVHr1Z0tc8K9pEO iPI5qPGDB1C/WTTNfpN/J94euo176d2KctXe7SL56uAW+gk9GQd2 X-Developer-Key: i=konrad.dybcio@linaro.org; a=ed25519; pk=iclgkYvtl2w05SSXO5EjjSYlhFKsJ+5OSZBjOkQuEms= X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS autolearn=unavailable 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?1759392568361799923?= X-GMAIL-MSGID: =?utf-8?q?1759392568361799923?= SM6375 has a CPUCP block (which for all Linux can tell is really rebadged EPSS) responsible for scaling L3. Add a compatible for it. Signed-off-by: Konrad Dybcio Acked-by: Krzysztof Kozlowski --- 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 Fri Mar 3 21:58: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: 64106 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:5915:0:0:0:0:0 with SMTP id v21csp681877wrd; Fri, 3 Mar 2023 15:42:17 -0800 (PST) X-Google-Smtp-Source: AK7set95lcWDefvvOAUys4puwK0Aw2cGfYLnqrBlf+rrlqCyJhGyXrgvd0mSzh9SoeUsKY4FbYzX X-Received: by 2002:a05:6402:1619:b0:4bc:edde:150d with SMTP id f25-20020a056402161900b004bcedde150dmr7399412edv.0.1677886937148; Fri, 03 Mar 2023 15:42:17 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1677886937; cv=none; d=google.com; s=arc-20160816; b=UdiEqdPY8DGFr+WxHkE5J4sEAKApcHOVLHne+pIX+u9JvkdzpVPeBt3ozk0bUd+ag4 RmAQcRc/0nUk8kDn+3tBqN/uIby3gOihOlSkFs6d3tai5HbaAlrLo96b8wEFh/0Yw8q+ lFshJwB4SLxcp5a40IBlESr98f6zT2v7WU7uncWo9FTtSKDtUrBJN/eRiO7zzGKssrjD lD+V2e1KKzraLbymCZxreQeYWjUMqPabvsy/i4/pokVrRGIcmWaWHZCGAIOmqqOe5R8f VSsbYT/aPZTwJxZlstfKrreN6zcoKGXPLspfOWTxmfmSRmhc0Z/drBXNM36kkF9fq+cO 1Lkg== 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=abXDj5NltbKSeLRsh9EY7sfm/FxwFg1uajo52uEDqME=; b=Rjf6PRURATuK9FT5Jg10XD+oV4kbPQxcgpQi5RElL0t2gO/ECl0c/si61nwtg2hnAV x5YjxIwGR2yv9sxk6KicCzIuWOJNZLtYhbo47r90dWriv9orCAwDd+0VQnxctLd6nJQD TRR4lZiojgY7avdNH9dZoUDBDMSMg/TuHTJAXJpdGwv7uxrtaXe6XVS34Wm+BEBdZf7+ /9ga7FjkID9U6uv0osU2OrYZOr+jNpE1/LpGZd9a8otUMsNBO8LNB9d91Kh0TXLqQqqF rYTCbeHJv7dbQm59zIF/4jFNyi9NjGZboz3m6gkZqFw/UMxc9Kyq2iXVxR1pW0A+NikL WFTg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=aG+GX9aW; 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 w4-20020aa7d284000000b004ad02463b96si3570958edq.108.2023.03.03.15.41.53; Fri, 03 Mar 2023 15:42:17 -0800 (PST) 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=aG+GX9aW; 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 S232418AbjCCWtH (ORCPT + 99 others); Fri, 3 Mar 2023 17:49:07 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37986 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231954AbjCCWtG (ORCPT ); Fri, 3 Mar 2023 17:49:06 -0500 Received: from mail-ed1-x52f.google.com (mail-ed1-x52f.google.com [IPv6:2a00:1450:4864:20::52f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 539191FE2 for ; Fri, 3 Mar 2023 14:48:34 -0800 (PST) Received: by mail-ed1-x52f.google.com with SMTP id cy23so16091582edb.12 for ; Fri, 03 Mar 2023 14:48:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1677883644; 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=abXDj5NltbKSeLRsh9EY7sfm/FxwFg1uajo52uEDqME=; b=aG+GX9aWBKflwelweGkdp60tCZuREL3yJu7a059FqMej7EcG5K/TuhE9yiMXMOfFgl tANXbWWsU1LRNiC309ti57tTiiP85R+nj7CQ6uHt5tmq9edqdLrs045mRqN5YPNGvodG 3iWVXLctPTqnS9qWUcbXiIWyIuME+bWHy9ziHsDbFVQS/LaQe78QljVzH4SxYfygoKrL cVkJcON1v3Id77UAE/XCO+wa+1xKJdAPusFE6B/hA3ELXEnKFEidlVkr4bhDg+QkVUpf czpWzH2fYTqjj1GNwTKy2XFVhYYH94VL5YTAaSf4LI/RsCVbEQXnW8yD86lEp+QIr6tu Rlpw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1677883644; 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=abXDj5NltbKSeLRsh9EY7sfm/FxwFg1uajo52uEDqME=; b=vtzwsCLMX8LVZe0XghKbNUFa36Q2tZX1TNlMW96Ur1AM1w9xJ/EiYmZwJlD5KlcCYV crCDpDKZbaE+6gmZqcKXAxSG3m4RW8l8RtNGDrl0Zym0PhKQ79K3ENnvPen2uRhQ2ZyK RozR3yPyy/Hjyccot+NSOlnUebLB0Htv/yxc4sp1PDIyL3RnbQluImUkw1aeU1qGDWjf ebbfkLM1M3Jz4CKSLJ5V+KJS4e8PVDHzJjGkNeMxW26MA3NqPFNYuw2cjN0ltYXUOqLi 2pz4h4AcEEhXhAdIhQgNcWEIaULZy66MF2I2Sgg04eq63k32kWw5jLKCpxiVfreFNx1P fiCw== X-Gm-Message-State: AO0yUKVMa/GPErIp+ORUurgo4Y+jDXiJd5HDXhQY8620DUoD1No9woXv JJwhh2FX7m7OvNloZfZM9T7cFt+kHQz4Z68iUC4= X-Received: by 2002:a05:6512:4da:b0:4dd:a053:3ba1 with SMTP id w26-20020a05651204da00b004dda0533ba1mr808661lfq.28.1677880695801; Fri, 03 Mar 2023 13:58:15 -0800 (PST) Received: from [192.168.1.101] (abym99.neoplus.adsl.tpnet.pl. [83.9.32.99]) by smtp.gmail.com with ESMTPSA id e27-20020ac2547b000000b004cafa01ebbfsm552670lfn.101.2023.03.03.13.58.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 03 Mar 2023 13:58:15 -0800 (PST) From: Konrad Dybcio Date: Fri, 03 Mar 2023 22:58:03 +0100 Subject: [PATCH 03/15] dt-bindings: sram: qcom,imem: document SM6375 IMEM MIME-Version: 1.0 Message-Id: <20230303-topic-sm6375_features0_dts-v1-3-8c8d94fba6f0@linaro.org> References: <20230303-topic-sm6375_features0_dts-v1-0-8c8d94fba6f0@linaro.org> In-Reply-To: <20230303-topic-sm6375_features0_dts-v1-0-8c8d94fba6f0@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, Konrad Dybcio X-Mailer: b4 0.12.1 X-Developer-Signature: v=1; a=ed25519-sha256; t=1677880689; l=734; i=konrad.dybcio@linaro.org; s=20230215; h=from:subject:message-id; bh=fRR9bII2e5KK6+z/KcGqOf0XJiIuf0AqBHHO+8le6ck=; b=Rg7LgOLNnWhrT917vsmIUzlmNQW7hw5lDELRGk2JR0SaCt5j3pwKUb3IsmWA0sW7HuBq61SJ34eE QreEuo27CZV9TdAz4vUqOY4t4LWr36VBhZ7nXEw7wHJ+Y4YUPuOa X-Developer-Key: i=konrad.dybcio@linaro.org; a=ed25519; pk=iclgkYvtl2w05SSXO5EjjSYlhFKsJ+5OSZBjOkQuEms= X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS autolearn=unavailable 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?1759391973193571444?= X-GMAIL-MSGID: =?utf-8?q?1759391973193571444?= Add a compatible for SM6375 IMEM. Signed-off-by: Konrad Dybcio Acked-by: Krzysztof Kozlowski --- 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 Fri Mar 3 21:58:04 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 64097 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:5915:0:0:0:0:0 with SMTP id v21csp667177wrd; Fri, 3 Mar 2023 14:59:53 -0800 (PST) X-Google-Smtp-Source: AK7set9J15GFUVGaUA4MyY+u2GgqhNb2ghnq5rMMMqti2BA05t6H+vTDTAcXO0TlJImKbq61OQ2o X-Received: by 2002:a17:907:3e0e:b0:8b2:a42:5c3a with SMTP id hp14-20020a1709073e0e00b008b20a425c3amr3908518ejc.70.1677884393086; Fri, 03 Mar 2023 14:59:53 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1677884393; cv=none; d=google.com; s=arc-20160816; b=AMKviKSmfa/oJ1wC90O0XRVVxtfbreVHPJZSVIOqCsZGYZ/WA10y022OHP6ToMqnPz 0ji3Ez9euqx7jJ6jq/gWuf4S/DP+7o973JflXSALWzVwVcEp/oVTOFtwVr4LCHUQPs/Y SiNdYb9XpJNc9/oYkh3Wj8acN7hSYg/kYrbEBbWjF0baGHZiYJUtzUCYvW8VkGcIIs+h pzyavU2EDx8YvO696kWjxE9Wx5/l5V9V3Qqy8AsAy379k7o7LHFbg5P0WV2zqe4b0QH4 B+cQOz/MSai3WQIgynSY9eIwp6AnfAD8co5dQquQdg1nqLVB/3jfeDSM1rIZDF6ErSTd NsUg== 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=ENvlYwadek1FCll5+1qvcuodQzUV7Gy1bZ9/A020TPHNi4sKWirfam/gOOQIM40gcZ YOKjRPQQgTsaCT8YC52prh4KsyOm5ThHHzrGGc6kezXmDLQ/McVyoWJyItfr0upLnsqs TvxJfPPIZhiKv6xYesXfeLTDgmGl4GIIpmep+Mt9/MM1BoJHOYtRL3mfAwowoLpw9UQU CBDF0gSLNd5PAzy2jm1dVM6TM40AMpKHi4FREkx1T8MKqgRYwIjxjESqVYdnu2jv5Xll 088xYoAT08qdTagDZeW+/6kK4CXLbC4UkahZDEkgEu8t5Q241BripSAlqzNTGTFREbd4 Z7CA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=xoIo8qJA; 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 x17-20020a1709064a9100b008df5a5088ccsi828886eju.94.2023.03.03.14.59.29; Fri, 03 Mar 2023 14:59:53 -0800 (PST) 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=xoIo8qJA; 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 S231793AbjCCWq6 (ORCPT + 99 others); Fri, 3 Mar 2023 17:46:58 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34126 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231587AbjCCWq4 (ORCPT ); Fri, 3 Mar 2023 17:46:56 -0500 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 71F95199F9 for ; Fri, 3 Mar 2023 14:46:12 -0800 (PST) Received: by mail-lj1-x22b.google.com with SMTP id z42so3823065ljq.13 for ; Fri, 03 Mar 2023 14:46:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1677883504; 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=xoIo8qJArvmh6/FgZUqXzIJnnr+wKRNzq4eRC/BARmBUhb0UMHlrwrusCNYxhUIVa0 Ui4t0Lv3aNcuNYZccNgUL4B7xkGqA00k+vTBF4AK8OclWHIlxqHJBE0f3V3M7X/hrJR6 lN9knuP7pvzoP75FxpxKeRmLwoeCzZyIXnBpBJTnXFpks5NpE8W67Dt9RepJWWzRN7I3 7NRcSoiGIB03utjsxHif5VpTYjNo2Ghq9yH1A9irz5L3KeirO16f2kORWtz/I6Xqrpa8 pBklWidSmBKiVMjRuA1jC68if9GdNygaiWZuV6jI7rPqj+/eTQUUMeew4mzCzp0Eq/W9 Z0Ig== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1677883504; 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=le9B+4ffVAsaVLKs/x1Z6Os31MGu+W0K9M2UOBv7Wu6mSnGzKu3kgtpDODbCyIEYRH bN8mMRyvca8jZqOzntRUZRfXHcNPCk8qUbI5vXC+56JEm/inLqfFvzS9VwnKgUHDegok 9Slv0fT7UHgDNR0ANNSkaCS0NdAFjgeeXqG26WXpAFnMQd4MdOQqkLxD6tKHPtVtYKo4 3LuPlks/x13L3Y6APtvL2WqLsl9eqboWuWhVx4gUG13JqmcdPf48OoZ2vHTBi3hsliuw wpa9oOpCQeCS/RXHAi4WVRbHYpHQijvgjoNt3ZJ7PiB2ybw/4dS40zVEZbkFabHmCNN8 04eA== X-Gm-Message-State: AO0yUKXTB/DSo+cFBx3P5NSBxJsxE9kw11cqkfvaq8kYsBeAnDFhqj4z BtWrtfOYC+PZv/DrLaDVsLbkK7rfGrDZknzs+oY= X-Received: by 2002:ac2:4a74:0:b0:4dd:a212:e3ca with SMTP id q20-20020ac24a74000000b004dda212e3camr948621lfp.11.1677880697243; Fri, 03 Mar 2023 13:58:17 -0800 (PST) Received: from [192.168.1.101] (abym99.neoplus.adsl.tpnet.pl. [83.9.32.99]) by smtp.gmail.com with ESMTPSA id e27-20020ac2547b000000b004cafa01ebbfsm552670lfn.101.2023.03.03.13.58.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 03 Mar 2023 13:58:16 -0800 (PST) From: Konrad Dybcio Date: Fri, 03 Mar 2023 22:58:04 +0100 Subject: [PATCH 04/15] arm64: dts: qcom: sm6375: Add RPM sleep stats MIME-Version: 1.0 Message-Id: <20230303-topic-sm6375_features0_dts-v1-4-8c8d94fba6f0@linaro.org> References: <20230303-topic-sm6375_features0_dts-v1-0-8c8d94fba6f0@linaro.org> In-Reply-To: <20230303-topic-sm6375_features0_dts-v1-0-8c8d94fba6f0@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, Konrad Dybcio X-Mailer: b4 0.12.1 X-Developer-Signature: v=1; a=ed25519-sha256; t=1677880689; l=761; i=konrad.dybcio@linaro.org; s=20230215; h=from:subject:message-id; bh=DKx+rSMb2n+6CPR4L2fodh6IzfCfn+ctrSy97qX3zGU=; b=ieZzG7g5ztbr6xl4XS6hT/hcGYS9CF9DgfDN9kVdowHP4hjJI4xQiPH4AVR1FIGts7rPCJkZkEgF 93W+nIO6DG1CU0I/gEWLtzQLXcAtTQB/8iAm6c0HyZxqWpgY77Db X-Developer-Key: i=konrad.dybcio@linaro.org; a=ed25519; pk=iclgkYvtl2w05SSXO5EjjSYlhFKsJ+5OSZBjOkQuEms= X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS autolearn=unavailable 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?1759389305593257075?= X-GMAIL-MSGID: =?utf-8?q?1759389305593257075?= 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 Fri Mar 3 21:58:05 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 64096 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:5915:0:0:0:0:0 with SMTP id v21csp666291wrd; Fri, 3 Mar 2023 14:56:50 -0800 (PST) X-Google-Smtp-Source: AK7set+U24iRInWDOPTfxUIaSGT6D9VyNqOkadarQQjx3AGsC2iLeYrvdlqHZpAM85+OIZly6Xnd X-Received: by 2002:a17:907:c24c:b0:8af:2b57:b80f with SMTP id tj12-20020a170907c24c00b008af2b57b80fmr3560644ejc.55.1677884210599; Fri, 03 Mar 2023 14:56:50 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1677884210; cv=none; d=google.com; s=arc-20160816; b=XWAwwSQQNfoGfaPxvOdOaroGCoPsoMXSUshZG9oCODqKiOXwnw7sOSWdS03PSYmgnZ iE22aVpIov1vrJfy7QaMS52+jgB7bQW0WmRjBAEmVR+gJBMMSX4YuBGgttXAcJxlQuTP rDdmqQUYmPPGB5nC9CPMHVQgrsn+KY9tR1Qr8doyH3MieDrzLw8cQm+klTw3tof2wEse zDyWNevUXpCHmIE0UYaMf18riJ3FZwbXn1nMrI6+Oyd6kkgKcbeYUU8UMCrPSuDBTcd1 NtcQlerP36sVFSo6miRZeiRPJZu85FA545doSiLGlAxO8ijZblSfAb7tAS4B42kzHyW0 nmhA== 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=BtCNkl5e7NPeVoNPfrZvoya6iPdPlrI/QFdC6BWh7xPy/UObC6UVI69alX0vXbwg4W SaJaHxYo+tegmw/7cp3g2maOQ88kmGjFKkPuxyohYSGO6znvGIWWzLCtBPasOuKSAOTD z00Ab3arQsBCORejfv07SSZmVR5uv3r3AHo3Ily6NnRXasV0rY+wzMUWKHRRAPTqhF7l NxNMrm+zWzBwYPe2ZaDzah5lLHCFNUv0eFV7PDqyh3F/+o95okZMGixb+0aJGlZeGt1N 7IuWEBAyDdM00BTP6CEo9TsjRcVQlnTVmflcHB301TGLva3MVOtSCE4bgqJFQWzJPssV tGnA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=znAGlO4M; 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 xh2-20020a170906da8200b008b1785971e2si844395ejb.33.2023.03.03.14.56.24; Fri, 03 Mar 2023 14:56:50 -0800 (PST) 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=znAGlO4M; 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 S232851AbjCCWjk (ORCPT + 99 others); Fri, 3 Mar 2023 17:39:40 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44446 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233660AbjCCWjS (ORCPT ); Fri, 3 Mar 2023 17:39:18 -0500 Received: from mail-ed1-x52d.google.com (mail-ed1-x52d.google.com [IPv6:2a00:1450:4864:20::52d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0817A5FCB for ; Fri, 3 Mar 2023 14:38:04 -0800 (PST) Received: by mail-ed1-x52d.google.com with SMTP id g3so16266128eda.1 for ; Fri, 03 Mar 2023 14:38:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1677883022; 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=znAGlO4MxPeMGfb8PAHbhbaUbiyoJMuhDNRIB8xYV3yiFdEXG3QSN2ewwBj0yGdQzq 1bemQmBzoOAUmH7W+WydtH7k+aPfDX8TGN/3qcARvsTDv4QzjLdIXQtVpgBhd07sXDo0 IJ43RuEwk5SVqSSZzfZqkLwPsgmglLbT5Ry/BRZ5eyDqSIxvRmuKY3UgTt5V5/OOAFRI IydmbCiYTEFr9MYGpd75xDRty5jRADOiH4orKPo1n7lJj5K4wVpKcMCn1x7j47ZHZPBy UomariLa70tbpWKCbJ/15M3qrr6/30SesP8kFazRDT4E9JeKcRbuJZOqTvKXQ3fEtRhi v6Fg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1677883022; 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=GidSNXnHx2CjZ/tJPk5i2uj7fWfezhaK4BTXdKSE5J5sqle9+7sc5OYoK1roWxjEAO bNjE5V3dKJIAQBSjq7YoCJqx5k8ZZvZyRndmqyWM+XODzKAK8TWvzotZBkPmRrP58bOD BmAdrr4hkgJEXIUQcDFXj+baZHjmbGmlg2rRhwSbJscUqVqKhfZiAVCv63jRO4d5cFnp m91LZ0Te6hLDszvyjcdGyM/ocd4U3hC5056mgDmW3LujGBWnd2nI2mKSQVmUIhBwVmg5 czvsaklllNMuFZceqGtuz0dcH/2W+Tv6+SkYcB66XV4D1ij9/3RSyfFE/pgwfaCVPmaM EcVQ== X-Gm-Message-State: AO0yUKXNyvXN6EVIr+/9oZ+WqqojEctJK6BPENdqC9wX8hV7HzPAj+PK MYywHr7Q2JEn7Xv5JPmEbvqTo19A6iG1OWF0Vj4= X-Received: by 2002:ac2:4462:0:b0:4b5:8f03:a2bc with SMTP id y2-20020ac24462000000b004b58f03a2bcmr921031lfl.9.1677880698708; Fri, 03 Mar 2023 13:58:18 -0800 (PST) Received: from [192.168.1.101] (abym99.neoplus.adsl.tpnet.pl. [83.9.32.99]) by smtp.gmail.com with ESMTPSA id e27-20020ac2547b000000b004cafa01ebbfsm552670lfn.101.2023.03.03.13.58.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 03 Mar 2023 13:58:18 -0800 (PST) From: Konrad Dybcio Date: Fri, 03 Mar 2023 22:58:05 +0100 Subject: [PATCH 05/15] arm64: dts: qcom: sm6375: Add IMEM MIME-Version: 1.0 Message-Id: <20230303-topic-sm6375_features0_dts-v1-5-8c8d94fba6f0@linaro.org> References: <20230303-topic-sm6375_features0_dts-v1-0-8c8d94fba6f0@linaro.org> In-Reply-To: <20230303-topic-sm6375_features0_dts-v1-0-8c8d94fba6f0@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, Konrad Dybcio X-Mailer: b4 0.12.1 X-Developer-Signature: v=1; a=ed25519-sha256; t=1677880689; l=952; i=konrad.dybcio@linaro.org; s=20230215; h=from:subject:message-id; bh=XeByskUh4IJy5GUSRGVEOURhAeiNtSqMfR5ebBA6Oes=; b=4BGCWuRt4pHZDEFG5NnlENa82CtqJNl0M7IwD7B0smCe7QLF2yvSlwkP01BJ7lIgUrn6TL3n7+R7 Yqfs45A3AJM1sn6WX5CatJztLRKbi85YddngzJDzDLOMdYW9lsNU X-Developer-Key: i=konrad.dybcio@linaro.org; a=ed25519; pk=iclgkYvtl2w05SSXO5EjjSYlhFKsJ+5OSZBjOkQuEms= X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS autolearn=unavailable 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?1759389113878564189?= X-GMAIL-MSGID: =?utf-8?q?1759389113878564189?= 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 Fri Mar 3 21:58:06 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 64092 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:5915:0:0:0:0:0 with SMTP id v21csp662751wrd; Fri, 3 Mar 2023 14:44:51 -0800 (PST) X-Google-Smtp-Source: AK7set8plGS1FfmY2TkA6tv//QcnHCuHl74+FZ8nI6R9AjfPUx9uVsrx1M5uCvOi0gIR+3+wDa+7 X-Received: by 2002:a17:902:ba83:b0:19d:14c:e590 with SMTP id k3-20020a170902ba8300b0019d014ce590mr2691808pls.9.1677883491382; Fri, 03 Mar 2023 14:44:51 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1677883491; cv=none; d=google.com; s=arc-20160816; b=e4qtIW3nQwd6PQkbk6ypS2kpI7tnXar7e7JdOTvSruvWhwlE3oyWoQH8EJsEsKCXYu cojLTQ5iJ0mob1aPRX/KvnZKDTLCAVhXoiHF2wsVATDGv+Oc2zXXArGlcxnV0KrE3mW9 Cy5CHC1qHeKTkmKNhGYAfbcBfyew1EKFnGl6tKRfDvRgKhzOUaI2L65QgNRSs+V63N1G xVdwKb9DU8icqNG5LJnsJSsu3wMpDpAWBasrwClO9OLje+yhchQ/qDZj5YBcQQp/WB3X 2OIWSRzbj5H8gud9h7MBkVl1BNVw3/m1k5gpjKLngZr1AXRnoGZd0fIhRQcmYD3nNzmp cUfQ== 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=TyK6F1JKF9XPpS/VJEffNt0RylDj9S8QUp7Pj/qaz1PfQPA7Mt0PCGQhleycF0ulmZ kiy4HMi5gKRcsXeSVOIyhSCMrN9K/xIH4EmcThSXwZhKBLAImn0VkMdUcRQztZfiWe+Q 6ytiGYIz/OCGfvr4CYRqaGak8MRJRbEkApzeDVxZgzmnyMvCIsgai30D9g+/PTuiufck 3XcIiAMh64rPyg6iXxzOjVrUigDgIM5UU5vLeH66KJ1gqb/JfjSpAJQDvSsPaExqGbfV PybhXZnMT4G7L99YGKMMzgX3zY3/6VE3rKDRRTPLrtKijMuA2QSMQrRrWY2D/nxW0x6y TqRg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=zyQg6n8n; 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 i64-20020a638743000000b004fb7e7d565asi2877355pge.651.2023.03.03.14.44.38; Fri, 03 Mar 2023 14:44:51 -0800 (PST) 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=zyQg6n8n; 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 S233495AbjCCWJU (ORCPT + 99 others); Fri, 3 Mar 2023 17:09:20 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45024 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233471AbjCCWIw (ORCPT ); Fri, 3 Mar 2023 17:08:52 -0500 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 2E73565042 for ; Fri, 3 Mar 2023 13:59:26 -0800 (PST) Received: by mail-lf1-x12b.google.com with SMTP id s22so5367953lfi.9 for ; Fri, 03 Mar 2023 13:59:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1677880700; 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=zyQg6n8nh8uqdbShuv3zfbxNqiJLQa2d+mR7RSXXUSUFwn3KQGOzhKUvjLoYBS0HRp CYIzshqTT/sTg7Rar+rEFHEndG/2f5w2exQFsh4AhY7kC2O27zaZXfWZW96yQ80u38VI RV6ATm9NVy9d5/I6/q2kNpWP1GkPlt1zv3weN+/1Xzes3zAqCi5O9KT3pcr/N4elURRB 94ocUtXZ2lSg7FGBsU3/OGz+wUC4tLmj1RnCb3fuV9IUStYizb1J5vh+RndQTGeyQMiY N1rMpfEdnVP+cMN3F2ruVe7VGbcMysgtpK/bhsxr5Pxg48KxU178Pm5B/CktMgEY94Lc DmnQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1677880700; 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=vnpaRU3IM0U/KP0E6xImrDng9h1HsPnnkJJ9clodAbdhBDtmnVig9AMc4f5j8UXkaa 1qDyXXpCSGRRt+ggLckw28XfWJIF2d5nNy1pDy2K6FJQGdqXuEcikjqsvp6ImsDR0cny zuGeysHXr8DeqWU9JiXb0VwPzWFhCwoyO5zX18cfX9NoZAlN0FHKA03fbjLk57lDkCxJ ygykHFeLChLB4ft4HyK+fOamHdpnDwZE01RUmQWb2zbQdZaRHdgtt/iwAkFkTKuMnYii gckbJfW3Z7rc6rgLl7rkZDor1zpMoT2oX7DfyzY2j91oGLnXjMS77v02ZJ/k4SDFbEPN 9RLA== X-Gm-Message-State: AO0yUKXt1cfIBDLeEt6FapqswyGsY98MFNXIX03jMxF76CTo4aZcMa78 D7bQu7jg1NWUPHWm7ErXe6lc0w== X-Received: by 2002:a19:a403:0:b0:4b5:8fbf:7dd6 with SMTP id q3-20020a19a403000000b004b58fbf7dd6mr992286lfc.61.1677880700119; Fri, 03 Mar 2023 13:58:20 -0800 (PST) Received: from [192.168.1.101] (abym99.neoplus.adsl.tpnet.pl. [83.9.32.99]) by smtp.gmail.com with ESMTPSA id e27-20020ac2547b000000b004cafa01ebbfsm552670lfn.101.2023.03.03.13.58.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 03 Mar 2023 13:58:19 -0800 (PST) From: Konrad Dybcio Date: Fri, 03 Mar 2023 22:58:06 +0100 Subject: [PATCH 06/15] arm64: dts: qcom: sm6375: Add RMTFS MIME-Version: 1.0 Message-Id: <20230303-topic-sm6375_features0_dts-v1-6-8c8d94fba6f0@linaro.org> References: <20230303-topic-sm6375_features0_dts-v1-0-8c8d94fba6f0@linaro.org> In-Reply-To: <20230303-topic-sm6375_features0_dts-v1-0-8c8d94fba6f0@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, Konrad Dybcio X-Mailer: b4 0.12.1 X-Developer-Signature: v=1; a=ed25519-sha256; t=1677880689; l=1141; i=konrad.dybcio@linaro.org; s=20230215; h=from:subject:message-id; bh=uH0RgNHZmHlst/xmB30MnTlB0owLxkAZmTcQ5HED9bM=; b=c1OTL8Pm7s2fqz6fkw2Q2S7TqG+CV8SbQ83c236r6ugiZYmDtO1jjb/MmcGNer7UpIO/hJW4Or7p yD5jPVsfAKNpR0U15c+u7qbGmyj9QcORxF6TUzxTAufmAE9w5CgN X-Developer-Key: i=konrad.dybcio@linaro.org; a=ed25519; pk=iclgkYvtl2w05SSXO5EjjSYlhFKsJ+5OSZBjOkQuEms= X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS autolearn=ham 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?1759388360149222958?= X-GMAIL-MSGID: =?utf-8?q?1759388360149222958?= 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 Fri Mar 3 21:58:07 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 64094 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:5915:0:0:0:0:0 with SMTP id v21csp663583wrd; Fri, 3 Mar 2023 14:47:26 -0800 (PST) X-Google-Smtp-Source: AK7set8UMyt5Ivj3zgIB1BT6Wggi+riiaUX1/L2sp7KvhiNDFMi+yB7r7jgK7Wvsg+CJ5opq8QxJ X-Received: by 2002:a17:902:ce92:b0:19c:ec4f:1f0 with SMTP id f18-20020a170902ce9200b0019cec4f01f0mr4462401plg.60.1677883646529; Fri, 03 Mar 2023 14:47:26 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1677883646; cv=none; d=google.com; s=arc-20160816; b=XF4mm3NVLhQpgk8L/Aysrh+l8MZF7yaRvrOjHPdFWe2tAV7yj4Xmj8VU2mDKf2rIOv 6yTQvL6B2jQ1d18bv3of0bXXTmxvcFElQQEaJkI0sdODhdo72n4OcOHOrH3BN9bVGe7q mouCKrEMscaKLGhUYcnMoN0bRzfvlXxy14lB6VcI5v6dthX8kBBcVGW6GeLIwEvKuit9 JmUOJpQHDXPZLXkyz9ujQCwm7x0PA49eVvkNn1bHCaZh+yMwhok5Qq2X2kj9rajolrs1 oMFSbEL/aZCMRpdZmfkzmlp01iKdgth6l5hZCqwNbEOV3BRlcfTBULt1pgOSEzi+DxSr yVkg== 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=1CgLArzqGVRWY7KcDWfmbSLJW/FhnNNpKyH3Al3C8aFW9z3lGPTDi9VfWfOLbRFltb yWLkQ0Rpa2ynJFCIyNklCG9dTCVw7bBlvkhgLGyvijSym3xb/aoQ5HyrbAGzzE7XPmVC 4qUeEDET0HTOZFzBf9u/rJ2Pw1Z61qn+gaFPMOS+6UdEeKxRTTgotnYif7IH30hAlEvY i5eV1YGRMY5Go4aKpviWjy5oQadhr+BEJN6vtfUEnf/kmIgXCoZq327zEFCwO4dsDNpy 1J1Wol2TNE7LgJhjv/ToXhs34B/Xbu/CWVaG/u3AEjYWV0SjXO7q6XthZB1dcKRJuWJ4 1hjA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=EI6qdWxz; 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 u2-20020a170902e80200b0019a6d34a6c6si3398210plg.624.2023.03.03.14.47.13; Fri, 03 Mar 2023 14:47:26 -0800 (PST) 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=EI6qdWxz; 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 S231795AbjCCWRn (ORCPT + 99 others); Fri, 3 Mar 2023 17:17:43 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37032 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231821AbjCCWRZ (ORCPT ); Fri, 3 Mar 2023 17:17:25 -0500 Received: from mail-ed1-x52a.google.com (mail-ed1-x52a.google.com [IPv6:2a00:1450:4864:20::52a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4813341B44 for ; Fri, 3 Mar 2023 14:08:22 -0800 (PST) Received: by mail-ed1-x52a.google.com with SMTP id g3so16023085eda.1 for ; Fri, 03 Mar 2023 14:08:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1677881241; 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=EI6qdWxz3L4CrTKEDw4ZQxPFwqUBdxTLVh+rpRsmakHtdc7sV2qprdGlCKAaTwrGdD M1UzrU0ADazqvcFy7PIviJkQV4IcBs+CKLhOtMW10dQb+4U2LkO9CN8SAR3bOaK4oTRB FZRcq3YxiLS+mpyrYxuQh/Gj8mr2pvEZ9EYP28hFlad+ORbCk9slW21J3RXH5d6ptXyX VibmaTE2q8SPxpnIfO4Q7I8SE1FBQTk1xcfkjVEmGb0MHNmFYsYNm6xBPQ7GKeYN/Qka +Z8SM8UGYYf2lryyJiJisCJH/uePAi5n8gAyo78IR+J6L6TFdUKMORAOrFv1PpjkEi9+ ngyg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1677881241; 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=O5r6KBJCcbLyvYfjNKStga9Tr51zLrDajYxZ9R84tpZMC5SMYU2pr7FsDcpYID+iaJ dJ2KFQGVf/3VPHUTK2vbbC0+XfZHnakdLeca1cbbiNKmR9fqRSPtUmJGOfvBNbRNjYZp TGdlVkomBCt3geiNgtwEv76sW+Cr5A/5lJYPNCu07e9Zqe2Za8I5LeEZSK3Cs7H/qDe/ sKjZmpiLVqqnBPTJRkZpCFyW0FPwLPff7aaNKikWUWpT1NTNFFWqryoYkHXvuUdElFow +ngLoiTo5Dv80r42+/JyrZMEEftWx30hoEWwokixDHB+x2EOwGURP1CDmlKZYXgf9beE CE4w== X-Gm-Message-State: AO0yUKUYGN/nC5Pc+237romxsTJm6wqAit6uRvpEjVHKEJg7nCQhnS9B 1KeF4N4M7RxpGQyrlRmXVbs221lkbu783zQnDps= X-Received: by 2002:ac2:5283:0:b0:4de:21c9:8a37 with SMTP id q3-20020ac25283000000b004de21c98a37mr999841lfm.1.1677880701620; Fri, 03 Mar 2023 13:58:21 -0800 (PST) Received: from [192.168.1.101] (abym99.neoplus.adsl.tpnet.pl. [83.9.32.99]) by smtp.gmail.com with ESMTPSA id e27-20020ac2547b000000b004cafa01ebbfsm552670lfn.101.2023.03.03.13.58.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 03 Mar 2023 13:58:21 -0800 (PST) From: Konrad Dybcio Date: Fri, 03 Mar 2023 22:58:07 +0100 Subject: [PATCH 07/15] arm64: dts: qcom: sm6375: Add wifi node MIME-Version: 1.0 Message-Id: <20230303-topic-sm6375_features0_dts-v1-7-8c8d94fba6f0@linaro.org> References: <20230303-topic-sm6375_features0_dts-v1-0-8c8d94fba6f0@linaro.org> In-Reply-To: <20230303-topic-sm6375_features0_dts-v1-0-8c8d94fba6f0@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, Konrad Dybcio X-Mailer: b4 0.12.1 X-Developer-Signature: v=1; a=ed25519-sha256; t=1677880689; l=1484; i=konrad.dybcio@linaro.org; s=20230215; h=from:subject:message-id; bh=+otj1Pk8eMle5AYQIbjERaviQEzSMjyG5K7Qicq4ass=; b=zKCRFNuu2ZhSbAUiErsbbp5MTBp9Ox7bl3O409WX+r+1mc2/LYy1Uw/iluf6ootGQTNOURxRTWEA AV3SRONUCc/p8GWOezmmFe3iqQnVwl42QlZxFzRTFIJg9WFx6OKU X-Developer-Key: i=konrad.dybcio@linaro.org; a=ed25519; pk=iclgkYvtl2w05SSXO5EjjSYlhFKsJ+5OSZBjOkQuEms= X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS autolearn=ham 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?1759388522909826933?= X-GMAIL-MSGID: =?utf-8?q?1759388522909826933?= 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 Fri Mar 3 21:58:08 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 64108 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:5915:0:0:0:0:0 with SMTP id v21csp684696wrd; Fri, 3 Mar 2023 15:51:38 -0800 (PST) X-Google-Smtp-Source: AK7set9aOnKs1pvqjazxheaASUHnQCvYh+ybpFhzOo8KNmzUQRvESwUSiONyrzyr8yzK+5pDUdbl X-Received: by 2002:a62:65c1:0:b0:5cd:d766:8a2b with SMTP id z184-20020a6265c1000000b005cdd7668a2bmr3392842pfb.6.1677887498103; Fri, 03 Mar 2023 15:51:38 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1677887498; cv=none; d=google.com; s=arc-20160816; b=kLSaYVLDi729lwq30gCqRl7yhLqS0vu6l0/RqesWvbCACO+zBhDnKvCtTarPOKVSTb 3jDEt3gi9foJigNDk2zVtcxXMy3sr0jcuGPxNYi8FzSFC2NnmWgZ2LmdJhDhHMO2b1/3 tjVukpZOyHs7u4VcIs5W2QaJY5JMaJTyizzvtlmmhC0CGbh+m0zir81VS3MDVeW3btvj LyLqjhXfdxRT9HEFih0whISJmVVkcOyaJ0ja3RKhjInE2oTSsJqkXiRvplGxKauC6b/Q nt+PBDdv6ebyIXSgiKpn/RgA7Ny+e8KFvpsPNPNWrAA1a6ATCOvLPtkN3xMObnPqGoFa vC0Q== 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=0s+vfOX9Ftvpm6onNxn0LRhwGFwAjjXi1qoMcR+XF5pNWbRVcymJH4u4YSFaQ9mwY1 JVi2+N2lBWKWTFXM51R2lxDcVv5Un7Kyu9vseq4oSlTBeXTY1iilfY5rHW1EkHycFpQo dHnCzv2GmQry0Lm7GbadVV4sgF3a2SDOlB+XCAWncfeCJT7kAHQC7Pqh86IzIouu6LWH lFIw8E96v5Qf8LcaqFlSVaqLusZWrA7Omr4T/W6/YSuk3e5OWnWeyUPmfvkI1clA7LyX bQH6YCr27NXj9bzIE+MvkjfguVpmJ5Vs2O/eGHjgjuRzNJUazIAjyPU7rvDQTPV4dNLJ 1eTA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=n3KJYv2q; 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 14-20020a630e4e000000b0050017d1b7c6si2653622pgo.767.2023.03.03.15.51.24; Fri, 03 Mar 2023 15:51:38 -0800 (PST) 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=n3KJYv2q; 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 S233469AbjCCWhX (ORCPT + 99 others); Fri, 3 Mar 2023 17:37:23 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43010 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231616AbjCCWhB (ORCPT ); Fri, 3 Mar 2023 17:37:01 -0500 Received: from mail-ed1-x530.google.com (mail-ed1-x530.google.com [IPv6:2a00:1450:4864:20::530]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A015717CE9 for ; Fri, 3 Mar 2023 14:34:49 -0800 (PST) Received: by mail-ed1-x530.google.com with SMTP id da10so16215644edb.3 for ; Fri, 03 Mar 2023 14:34:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1677882829; 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=n3KJYv2q6qJZtODp68aUWb0cvfAfxdcZTZStuTIJQttKwHVEGWUFBX2k8jpBDDBs2s bwKiaFSjm3/5gN4skb7BeEj5splzZj9hA8sCtlfFZ82GiNIjp6nnJr8Yoja/dWwPMEiv kol3YYaZsfLcKHVQvDwj++ogAbUYerPCbiMlKZijGdDbknIrpyGwqEDjBfgHlohvOwi3 MwTXan+dIWsU3DZraAXN4lrMxW4DN8EZ88yVclsTbEDRiFDYFhJZjx1WDWzpCotXDIVc tgzqJ2ecYfIWQUGTHniOLKTrCgCdSl6PEKKtvB+4Uw68/glH78P754Lqd1mYRhtoUdS8 zVoQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1677882829; 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=my4eUV64FaIhdKndYDTQVwYv//CYUwYvA06w77FZFZbWG/Br1CVuFTRmzDWo6W+5IF Ud42bP1+K+wmKWzFgE84/7uWT/Go3DbG3yzrs3bKlbQ37dA7WdHYZgOKQMpGZLgo8PGS z1XgEpvmgXZXjsKUYwSbQ/RgwLKcxv60P5Sn+28a8VBYZb+e82JjnnffH5/zAOo5nlk5 +iMXC/8OAtKwv9rrYlhYAoB/8G1j1bxoGzVv+WX5pp4CIikjRRF0UDXvjN30/WAeeeID yFOfMuRQO6y5hI1CA4BkI3DPXLEAnrpBy1Dc1ttL6edjqKMM6nYQ+v6CRIR5ZKHoGtaX E/ig== X-Gm-Message-State: AO0yUKUq2AU3cdQbvcfMlDd9R54Lrg+QPMXDmhPHXT7mpuKGI9pTQOIy eiTjUgIXjL3mzBers+wqTwyHqkaNfi0hL8IjDW4= X-Received: by 2002:a19:7614:0:b0:4e0:ce21:b92 with SMTP id c20-20020a197614000000b004e0ce210b92mr1051356lff.16.1677880703035; Fri, 03 Mar 2023 13:58:23 -0800 (PST) Received: from [192.168.1.101] (abym99.neoplus.adsl.tpnet.pl. [83.9.32.99]) by smtp.gmail.com with ESMTPSA id e27-20020ac2547b000000b004cafa01ebbfsm552670lfn.101.2023.03.03.13.58.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 03 Mar 2023 13:58:22 -0800 (PST) From: Konrad Dybcio Date: Fri, 03 Mar 2023 22:58:08 +0100 Subject: [PATCH 08/15] arm64: dts: qcom: sm6375: Add modem nodes MIME-Version: 1.0 Message-Id: <20230303-topic-sm6375_features0_dts-v1-8-8c8d94fba6f0@linaro.org> References: <20230303-topic-sm6375_features0_dts-v1-0-8c8d94fba6f0@linaro.org> In-Reply-To: <20230303-topic-sm6375_features0_dts-v1-0-8c8d94fba6f0@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, Konrad Dybcio X-Mailer: b4 0.12.1 X-Developer-Signature: v=1; a=ed25519-sha256; t=1677880689; l=2988; i=konrad.dybcio@linaro.org; s=20230215; h=from:subject:message-id; bh=93tjFAm3KE3wlOIxpjBJdVGBzNUVK9fKZaM4nNn4KS8=; b=pwKO0/M2FqeHx3dB2gg68oBMUOr1ydRxxOUnKx+GLZ7BadpXYciYEIVO21+lwdaSQeWOSG5KPcpW zOXO+Mw7DSHYDHIz3+KwnDZsnDxRgGEvxkIh5ROVTi2OfdkMVjY2 X-Developer-Key: i=konrad.dybcio@linaro.org; a=ed25519; pk=iclgkYvtl2w05SSXO5EjjSYlhFKsJ+5OSZBjOkQuEms= X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS autolearn=unavailable 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?1759392560975338305?= X-GMAIL-MSGID: =?utf-8?q?1759392560975338305?= 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 Fri Mar 3 21:58:09 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 64093 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:5915:0:0:0:0:0 with SMTP id v21csp663061wrd; Fri, 3 Mar 2023 14:45:46 -0800 (PST) X-Google-Smtp-Source: AK7set8bH2OFu6BCAHGx82N5c23Ss8/ZpUVP45S2oJ8Iaowg0KMrzpdJiscqfEyjATMc68E0Rzx+ X-Received: by 2002:a17:902:d395:b0:19e:6ec5:b24c with SMTP id e21-20020a170902d39500b0019e6ec5b24cmr3158846pld.12.1677883546013; Fri, 03 Mar 2023 14:45:46 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1677883545; cv=none; d=google.com; s=arc-20160816; b=Coxgq7FeCSsSxSpgG+01i0hnueX0zEbCnIw0TIX1w5TyE08pjkubCRRzGHmZy/calM y3ZLAO0xOXiCv0YbQ8PJ16qUjkyfgGWH0jAOqBELdEgQOqJN/C9fHiGMf9hTDA/uWtvb R98Pw2pvOlmrEO1EpOwIV8ASj8qdOvRVZXHZXqiwhSz1QgZ+8VaaBzzDSr/vowKaMpC9 dfWugJ7x9vZFtdlQ5CrlrIjvbQxvvw967UIgxGggLE35WkdLlLJg+whAwAj3hYT6ii/F tgSr9BEHEl4rUBkdm61N+GLtMNluGJVfFQms8odFjIOyWsd8q4FcJBR+MMZ9FgjMoImJ /WxA== 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=yWAOIVbzD3ODnOMgViwIQx1FVg4CoSqp6I3sD+4ntxI=; b=A/hX3zQl1Jh/qnN1tIf/xM5gl4WdS1lLFfWOHov0lSyw+PeYJsi/dAG7ruUdenQg7j +sltKOtMX7n3Tz/J1iLqbcHRun/OzcHJ6aGPlhn3XeHXAMnFw/AQ0be8WM7Bo+nNlYeT RUfusc3SHZvcqKtPbJih6UMTusq/d++mv5Y19d/tRH6nzyE1gvLNJbsQwcdPkqdSz6QS kvQkZLC9h7vfL2BiL77y77Kcs29n6NHXEqaoxIwKdofwU3ZyJxd9h4Ms6rESgvzcIzhX INgTuc3GnNcOwR5mM2d/R0ZTHvRNVspzVQ1/6dYoR5IfvxIAsWzd+/rp1xcT5EXgCzL6 FxPQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=QfDtxP9P; 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 u2-20020a170902e80200b0019a6d34a6c6si3398210plg.624.2023.03.03.14.45.33; Fri, 03 Mar 2023 14:45:45 -0800 (PST) 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=QfDtxP9P; 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 S233711AbjCCWJZ (ORCPT + 99 others); Fri, 3 Mar 2023 17:09:25 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56950 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233605AbjCCWI5 (ORCPT ); Fri, 3 Mar 2023 17:08:57 -0500 Received: from mail-lf1-x12c.google.com (mail-lf1-x12c.google.com [IPv6:2a00:1450:4864:20::12c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C806D6487A for ; Fri, 3 Mar 2023 13:59:34 -0800 (PST) Received: by mail-lf1-x12c.google.com with SMTP id s20so5352060lfb.11 for ; Fri, 03 Mar 2023 13:59:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1677880704; 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=yWAOIVbzD3ODnOMgViwIQx1FVg4CoSqp6I3sD+4ntxI=; b=QfDtxP9PvrCkp60LKDn/6SebPtDFX/Dz+7DGSmiT0tCtTOKvsZw8qfYbfIy3ZVNztc XkrmN64VQHLJC2zFilxo8M1wCofQsXNTt8jy9bh2v6EOoZoi+JevY9z4VUAjiqpgAAP8 teHO+iNEtcC4SWO2aSoEvyR1P0cd+W5g/aDXAGbSAC8naqFQV5ZmNwGZRs/dLMT2W4SA h9vld61hgdhOIYYXD5ecZ5VEpimdo/9nXtgt9TcxwYPOyHfL8e6Eb2HrYwYcx8K3d+nF IQTaOQA0pKN44WdqS7DwLy4uquDEIYgkzc1GyLwC7M6LcTFhxgBfkFlWvFQzVwrotANJ 0H3Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1677880704; 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=yWAOIVbzD3ODnOMgViwIQx1FVg4CoSqp6I3sD+4ntxI=; b=mvaI2ct3n05EaabUCSIFs7nmI3+5pg3cxrcQk2fAqeRgeT4YbdRsCmgieZrizDQDY0 Dl7blVr4Dlr8goIlGcxMeaMwG+FBa71CJfD9ccz6ISBSUmb0+7bWfFWtGEIJbfo6UDYJ 3dHmu2RMNg0QA1GAFSLJBqyl5JUBpROLOsMI/uXAoRezh+V6He+g6ePPe3stuafNcfa+ HZqY51ShCVf0NwgILdMizh3cokPsxr2UkJZuJdhlMkDs3BkPs8es9+sU2TiRDjW6fTrB lZrnP6M50xw9ybso31dUInY+RwKm2vPLva5IrUODPbby9jfNY+popbeZBClQVtkrKNY5 Uwfw== X-Gm-Message-State: AO0yUKUGv9BLoyQMhacrI+/8i6XJUrKZ0imQV86n+AyooU2hpCVemFXt yPqzIAAW1f9Gc0KQAdbzZ21Fpg== X-Received: by 2002:ac2:46ed:0:b0:4df:b686:ed1 with SMTP id q13-20020ac246ed000000b004dfb6860ed1mr912444lfo.20.1677880704436; Fri, 03 Mar 2023 13:58:24 -0800 (PST) Received: from [192.168.1.101] (abym99.neoplus.adsl.tpnet.pl. [83.9.32.99]) by smtp.gmail.com with ESMTPSA id e27-20020ac2547b000000b004cafa01ebbfsm552670lfn.101.2023.03.03.13.58.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 03 Mar 2023 13:58:24 -0800 (PST) From: Konrad Dybcio Date: Fri, 03 Mar 2023 22:58:09 +0100 Subject: [PATCH 09/15] arm64: dts: qcom: sm6375: Add CPUCP L3 node MIME-Version: 1.0 Message-Id: <20230303-topic-sm6375_features0_dts-v1-9-8c8d94fba6f0@linaro.org> References: <20230303-topic-sm6375_features0_dts-v1-0-8c8d94fba6f0@linaro.org> In-Reply-To: <20230303-topic-sm6375_features0_dts-v1-0-8c8d94fba6f0@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, Konrad Dybcio X-Mailer: b4 0.12.1 X-Developer-Signature: v=1; a=ed25519-sha256; t=1677880689; l=940; i=konrad.dybcio@linaro.org; s=20230215; h=from:subject:message-id; bh=PG4nWGIMA7R5r2PHGgF9vSeONgecCRpRFxoaCPCnR2A=; b=LBHxFf5+1bMcsNYButrWGDVgqu7yhIFjlktHhoVYS3O8HLobezGdLKd5PX3tIJCmsK0QWrCJmf/f DhsJ1OyNBnC/yqKV63sGdNjLReJEZ8wLRnfpQQLqhjMoj+6YTUM+ X-Developer-Key: i=konrad.dybcio@linaro.org; a=ed25519; pk=iclgkYvtl2w05SSXO5EjjSYlhFKsJ+5OSZBjOkQuEms= X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS autolearn=ham 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?1759388416954713023?= X-GMAIL-MSGID: =?utf-8?q?1759388416954713023?= Enable the CPUCP block responsible for scaling the L3 cache. Signed-off-by: Konrad Dybcio Reviewed-by: Sibi Sankar --- 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 Fri Mar 3 21:58:10 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 64102 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:5915:0:0:0:0:0 with SMTP id v21csp676712wrd; Fri, 3 Mar 2023 15:26:14 -0800 (PST) X-Google-Smtp-Source: AK7set9d2mKr8t0nrkhGYq8gAgIKHnLadhsvfXrFae2phWBpOOCE9Pcs/jXGgAG11jjjj7kvXVDQ X-Received: by 2002:a17:907:6f18:b0:8f8:5779:f1af with SMTP id sy24-20020a1709076f1800b008f85779f1afmr3561689ejc.15.1677885974188; Fri, 03 Mar 2023 15:26:14 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1677885974; cv=none; d=google.com; s=arc-20160816; b=TXepqpIOhg9Lu2qFRVXtcsJBjizfHhVi5WqRBqiwfcIrdpjy9SWtmiNriPwNNEqQK1 h+JOtiBsbmr4W6IzAe/RUAxC/jX69w3h6WyRsUVHoOwaZAm0NJ4aIxD+MzjHuciN1C9T QpgbgkoZPrjLb6QzVqyYlDQsbjQsw7EC3SJcnLSde0ks7eVedvHJ+bJrsa/CZ+SuTByI eXOaYdICl8iJZrwwr/71658EE199oqWSx/jwPEz+fV6l+5w/5eiJP1y3fu63nLJQGSfj 7Mydu324wCwlqei66GrfBTA5HrV9io/R9KM8GXn/jJWK6UBK5YxsEXAE8mJqnnS7T3MC 7VLw== 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=W3K63XDRoxo0SVWEWrzOBqcaq3032il/GWk9VhYBWRlpKVkdVOM5x3+ZfVqcwbDbo1 3MG3I9yMAt8xVqwd4/hMdhWO5ygDEA8+tcmCuyCHLrgRcGQ/blZVpkIWd2u7/9BU5k9G jTU0IHvI5QkMMHp3A4BpobfUpvCj3jrC6CIi4kQm4isud+eI1HNJXzxGkNHrVUMhPXwY 0+iEfgbgyyJNGcPDiaF0JVPHmjr8X0iBXHGBMDmhNU/sPbdeJljpgD/pLhAzNmI4otyQ 26sxDjoBG618uNtScknOmK2JJffSKWzzq+EwtRIMplYU/VU/2KLRWpJ6W9KCEwgyofBa Z1fw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=wEbweDm9; 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 hs17-20020a1709073e9100b008b2c034ca3dsi4228162ejc.744.2023.03.03.15.25.26; Fri, 03 Mar 2023 15:26:14 -0800 (PST) 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=wEbweDm9; 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 S232378AbjCCWZe (ORCPT + 99 others); Fri, 3 Mar 2023 17:25:34 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55052 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232342AbjCCWZQ (ORCPT ); Fri, 3 Mar 2023 17:25:16 -0500 Received: from mail-ed1-f41.google.com (mail-ed1-f41.google.com [209.85.208.41]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D28258211A for ; Fri, 3 Mar 2023 14:17:49 -0800 (PST) Received: by mail-ed1-f41.google.com with SMTP id d30so16006163eda.4 for ; Fri, 03 Mar 2023 14:17:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1677881511; 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=wEbweDm9TV33DH3ahVfY3Gs2bB/4ZYrFxDmyAsw/+BeixCRA0GpUxsrT2OMTJKnWON aixExO850/mBdmaSj7YtdF7i6ZNVj/8z39/Q076CYgC20x4SNM7f3BuJzOmAZAs+6LXk rotGfu+NedRGM8GzNuFDUp5MqSsI+/nX6o2ZmDRZ/H+BEdgr//qB2EmNv6qOE8jAjeMo fNvQHmSpx6J/AhiSzx34RBpzZI7aWhYwP6p2wGEpCr5RsMkaN3VwU/VOPesj+7EKmDsp PpY166FX0dVQoAxKXdmj5zwgEV8E5F9gpHTMUjbNAvxzRkM/9jNAZEf4T/MQ6jH3t7A6 nc8w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1677881511; 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=eBdOMFYsh8Z2/3pbuZk+MMXJx+c7WfV3KcDA7Faey9kuk3MiP0JqbigP1QNKEq1wM/ 6e/K+1nHc4VrhtQO9RUwSjtUEJGEI1/dNsu81MgZS97RYMRGoAwzKaEh5sOBQ5N+Bolz hQKWP9XZtha/ZiRNX3lHWYTzKhYla7vNsXXTJaQg1mZ0f8zXMO1HDwiRwBH19rqOc2Vz eahVfJigDBWBPZuqUZFx1pIa73V5UZZLu5x+WGSceYspcr2oMfSccwuKf5dTwjncQGMa PKi29h8xX+gdJUAbMAYDwcX+5CCKVz8lNeeZlRE6p5Tkd1Bv5xuKNeGSJUIgGv0Egb9C vkuA== X-Gm-Message-State: AO0yUKXC+bsX1/erafjc8qlOUSAdhYJwVZyAb13BoQ6SgPcr3aDKBkiL Pat/+T8R6KbqJ4+xaXO1hDyV60GH3jx0WEJYIP8= X-Received: by 2002:a19:550c:0:b0:4b6:a6e4:ab7a with SMTP id n12-20020a19550c000000b004b6a6e4ab7amr1007164lfe.8.1677880706328; Fri, 03 Mar 2023 13:58:26 -0800 (PST) Received: from [192.168.1.101] (abym99.neoplus.adsl.tpnet.pl. [83.9.32.99]) by smtp.gmail.com with ESMTPSA id e27-20020ac2547b000000b004cafa01ebbfsm552670lfn.101.2023.03.03.13.58.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 03 Mar 2023 13:58:26 -0800 (PST) From: Konrad Dybcio Date: Fri, 03 Mar 2023 22:58:10 +0100 Subject: [PATCH 10/15] arm64: dts: qcom: sm6375: Add TSENS MIME-Version: 1.0 Message-Id: <20230303-topic-sm6375_features0_dts-v1-10-8c8d94fba6f0@linaro.org> References: <20230303-topic-sm6375_features0_dts-v1-0-8c8d94fba6f0@linaro.org> In-Reply-To: <20230303-topic-sm6375_features0_dts-v1-0-8c8d94fba6f0@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, Konrad Dybcio X-Mailer: b4 0.12.1 X-Developer-Signature: v=1; a=ed25519-sha256; t=1677880689; l=1456; i=konrad.dybcio@linaro.org; s=20230215; h=from:subject:message-id; bh=ykqp5bp58crzGqyySJ//g66g5IA2DYwCTKLczf3b59w=; b=uFCnBJBBP4ewL8ml3Oy7ai20aaNMelzJwBlm11SPgm7brQB3chwmE71EgPCT7XYgYzRUSXyCbGLT b95LkYqxBl/7PTHaW35MVOjC0W2Ovl/W8xe1jF5QpJRsO43rhznr X-Developer-Key: i=konrad.dybcio@linaro.org; a=ed25519; pk=iclgkYvtl2w05SSXO5EjjSYlhFKsJ+5OSZBjOkQuEms= X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS autolearn=unavailable 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?1759390963238096445?= X-GMAIL-MSGID: =?utf-8?q?1759390963238096445?= 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 Fri Mar 3 21:58:11 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 64103 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:5915:0:0:0:0:0 with SMTP id v21csp676912wrd; Fri, 3 Mar 2023 15:26:49 -0800 (PST) X-Google-Smtp-Source: AK7set8uAmnSQmMT6wNp065PLRPjWnFFvVMJEgi17fc5UIDpVFRRoQalhRUyUz1jm2cAeKPhGFHq X-Received: by 2002:a17:907:36e:b0:878:673f:5492 with SMTP id rs14-20020a170907036e00b00878673f5492mr3563509ejb.40.1677886009641; Fri, 03 Mar 2023 15:26:49 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1677886009; cv=none; d=google.com; s=arc-20160816; b=J2BvAVYwafhlZdJHPi57TEb7zIqvwUvOyDaQ77uLHg4v4aBZ6nvdEwVEKQhiMlv4JK tMpm4QDORKOVp4CtVBk/SA+PBwFJYUKfNoZfjtAl1jmxuu+kYqHe4wJHxWvYiYQstnz6 k4I9U4/1O/B72K/rRZl5eZs8HZblNhcRCIV30tOpY6PwujJSJ036ffW9sH7Kni96hbVX kB+9zpz2KeGx2V6TJQ9z0zCu/ynHUDxfZG5UFbjSebevr6kT4lyiJhc3aHUGokymblD9 BcxzePwngmq1JxEn/1Md/0Xu2g6tv/VvfjGYfHxLSM14oQxj96UyA6grVFHVQ6BQtGBo l/7g== 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=jYX+09egmVZSCCV2hgRTN97TpqgHZ/+3dX+p36ZfFdysfDq8/B6PCIdTLCxKyuQUAf qpbk2+i5li+UYgmCXlANZrIOiKz2qhvT1Y0JEZ6LTJRTgSPfF8AeuZVAQqXt4d6VJTT4 K/xWCZxO0Qb43PwmtkaDmdsy8gORscPFZy1zLLrXH2FV81KF7VYgs6RtfB06fzvUO3Xh UJ+X2D5mrM7pPAJDzbWJYE+bB4W17M6vDQyk9ihr95eVbdmWFEiD9GvPab1HjBVjO6CE anUI/gY3MXOAmyy6/L68LNQrjqkInD7IWq/k5bEro/hmpf/zpnX8OVzJixchOw8R43fi xwvA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=pCdP5zoZ; 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 ay12-20020a170907900c00b008d9ddd2da92si2721755ejc.467.2023.03.03.15.26.24; Fri, 03 Mar 2023 15:26:49 -0800 (PST) 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=pCdP5zoZ; 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 S232340AbjCCXPH (ORCPT + 99 others); Fri, 3 Mar 2023 18:15:07 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48722 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232154AbjCCXPE (ORCPT ); Fri, 3 Mar 2023 18:15:04 -0500 Received: from mail-ed1-x52d.google.com (mail-ed1-x52d.google.com [IPv6:2a00:1450:4864:20::52d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 150F25D890 for ; Fri, 3 Mar 2023 15:15:03 -0800 (PST) Received: by mail-ed1-x52d.google.com with SMTP id a25so16671974edb.0 for ; Fri, 03 Mar 2023 15:15:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1677885301; 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=pCdP5zoZOR1yyFA/iG5BRa7btNvv6OUBRPiMmK49azJ1DWMRkZej34z8dFLAZggMpp 7jeL9nkizB/25lXl0kYU8jtdskYtFMUS5//q7ZNIPzWLFcn361eCYNf6Zm4AC/1uXzAZ dY2Aj3oUYPi2DY13f8nptIh1Sz4HnzRvQFQFEtKvTDTj0hDfe+n4clhiDDeliNa+VlaL 9zYixyBV85bAkJkSTOaMBjSpnIYYTpny8MLzve4EyALKPIgkFTBkHiBDS70Ru9/K820R WQvPL9lrKAlthXQYY6BUrT0Gb7Glb5EHUSzHDFr30pfKdVC193AtqARYFQbBPWzmuZp/ c59Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1677885301; 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=UlNU54IvUX78zf3xAyxIT1AkQUoDE32bzTpddVaAQp1ZgfBjxGrHtr0E1vtpltWQLD 3Z74hJxNTUEKyN6Kdqgrulv/QvqtD06BbHSc37jxCOs77D1+xmOl5l0qhz+H9b0xcmch ymoZ66ZGFzRezGWoOhY4NyrIgguBpdhxrn3NHsAZaln648oCeL14lzwT086MVNj4/YNh 4Arp5QKttNTLTr1PoA4JVOw0XXh0xem3t0PDQTHpnkt7EgVgi3syGCIiJrdEZ59yJBNA 2Z9eR5l5XCmOHbbUH1pUVBpJHJDX1hBOBR/dssJCDj/dHk+vYNt9qoYkYny0Lht/QufP hfbA== X-Gm-Message-State: AO0yUKWvZKvTo7ob5xZFdA4jwqtjCewKXnXKqR/OrIyvkcvTWpIHaNjp 3C9a1T/vQgKe07rYOfOaMk7w6met+Sk5raiXMpQ= X-Received: by 2002:ac2:4c94:0:b0:4b5:649a:9105 with SMTP id d20-20020ac24c94000000b004b5649a9105mr1040611lfl.65.1677880707826; Fri, 03 Mar 2023 13:58:27 -0800 (PST) Received: from [192.168.1.101] (abym99.neoplus.adsl.tpnet.pl. [83.9.32.99]) by smtp.gmail.com with ESMTPSA id e27-20020ac2547b000000b004cafa01ebbfsm552670lfn.101.2023.03.03.13.58.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 03 Mar 2023 13:58:27 -0800 (PST) From: Konrad Dybcio Date: Fri, 03 Mar 2023 22:58:11 +0100 Subject: [PATCH 11/15] arm64: dts: qcom: sm6375: Configure TSENS thermal zones MIME-Version: 1.0 Message-Id: <20230303-topic-sm6375_features0_dts-v1-11-8c8d94fba6f0@linaro.org> References: <20230303-topic-sm6375_features0_dts-v1-0-8c8d94fba6f0@linaro.org> In-Reply-To: <20230303-topic-sm6375_features0_dts-v1-0-8c8d94fba6f0@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, Konrad Dybcio X-Mailer: b4 0.12.1 X-Developer-Signature: v=1; a=ed25519-sha256; t=1677880689; l=14701; i=konrad.dybcio@linaro.org; s=20230215; h=from:subject:message-id; bh=/lr+1yNk3Q9+rICl1jdL9WbimfeX4M1X6sYuxc9vpL8=; b=bL+PGVBy+cmXKc5NishMi5TC7c9Z8wYgQoNFGPT4KKQ4vxPTrNDVepAuxXicieiwAJV/rddwIhi9 3B6RFFGKBfAdBTfzWhrVe4XCcYXshqJndjz/IedeOV1O1j/zkxD6 X-Developer-Key: i=konrad.dybcio@linaro.org; a=ed25519; pk=iclgkYvtl2w05SSXO5EjjSYlhFKsJ+5OSZBjOkQuEms= X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS autolearn=unavailable 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?1759391000549574789?= X-GMAIL-MSGID: =?utf-8?q?1759391000549574789?= 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 Fri Mar 3 21:58:12 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 64107 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:5915:0:0:0:0:0 with SMTP id v21csp682803wrd; Fri, 3 Mar 2023 15:45:10 -0800 (PST) X-Google-Smtp-Source: AK7set8ZgZNWi7B6JudywnEuqb2kLuwNhb4Q74F3oMvfmlDredCzLAEISjLBUOXvn70p2hPsgyYH X-Received: by 2002:a17:906:40b:b0:8b2:7150:dcff with SMTP id d11-20020a170906040b00b008b27150dcffmr3599212eja.23.1677887110534; Fri, 03 Mar 2023 15:45:10 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1677887110; cv=none; d=google.com; s=arc-20160816; b=tMiD26cEXof54l4t/YvJ7qGyvL5l3AGoPcD85Ai1JvFSLyamHrzgxbi6Pnl8sBfHkM UNxDiZubgEAm4ijgQE8h3s4+mZNoPOaf40KEqkBpUKGXKT9t3jtB4dvwTOBiFZ0IMa5y QPaQ4WVGcTbqApwMoyeUDQvgfFmScWvMKrHCaTJ0BIq/2ct7+58CKGCcu5yt62qjV1ma fzL4nxaFX9mc0eZl4OsFE77iZsZ4M/W7EY+kLELOtFJFtzgkdXtb187QoHSmLe4mvuLR 8CjiSGgsdHSUpF2hIFb+s4d85c/9SrQ8AXz+PIVdOFMdyY1WTbGOnugFaMwPJBAZelH0 +9XQ== 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=IQ4P/+hX2P6pikGGe2JrqWC+XZ4kPlYMVKBCWOIvu90=; b=OCtxzskauVk7VuCdClrRPKO81y2+4xvCnG8rCD8+b8xopHsxzFlLCy2huFdwV5KGOL GF/ENnYg5Z/AnAZzTQWwKIpY5KRIJ5fLT2PL6VfGG9OKNxYPVpd2PsuK8ooFZTmiqBkE P4PJFh98xckAUO27NzunlKyrCngzG591cfhv4ieAyikq6NQISpsKuZHjguaReCK0tsN6 dGdOBnUFH6P6e/Ap08Cho/N6Alr/RHKdrihSL6c7AXBYYVTfrVyCekSmF7HGSKGZLZbS Nuv/LAlQch0ZiStmyFHUVZWMwe1YBxmW2H7Dij9wRTjjbKgZxQhw8gVruFtRPqbVtoOv kJhA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=JfXMESTp; 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 v6-20020a1709063bc600b008e6a0cfc574si3250949ejf.795.2023.03.03.15.44.46; Fri, 03 Mar 2023 15:45:10 -0800 (PST) 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=JfXMESTp; 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 S232797AbjCCWVm (ORCPT + 99 others); Fri, 3 Mar 2023 17:21:42 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48370 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232447AbjCCWVU (ORCPT ); Fri, 3 Mar 2023 17:21:20 -0500 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 1DE985FEB9 for ; Fri, 3 Mar 2023 14:13:27 -0800 (PST) Received: by mail-lf1-x12b.google.com with SMTP id k14so5424867lfj.7 for ; Fri, 03 Mar 2023 14:13:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1677881518; 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=IQ4P/+hX2P6pikGGe2JrqWC+XZ4kPlYMVKBCWOIvu90=; b=JfXMESTpuLLpfoLYdCXT1KYPEypIK6nONU9zAjZPejDc51xmw2R285ynJvTqN70tbe ToGxgJj6pSF06xcFmq/j74gEGdtApafzGo796FnJJc4nem0DXS3/VsBEMEwBDxwrteb9 RAYOpKd0KQPQ/sD9kqod1s+Jf6hli4CGdShvXUfdFpFuCzrH/x2ux/xDOCHKd6xflEV+ 3ONv4cKo1JzvLg7zQIxTM518ylSSfMHiHpk9L3djM3c4BISxtkWv9d2+GZywLU7eSHF0 seZX76xqBYbN5LIW/vHgCodyjk+vWgjBGXYDNQkjbkLK1Y4+fqADeVFWQbuTuZz9mKJ4 3yTg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1677881518; 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=IQ4P/+hX2P6pikGGe2JrqWC+XZ4kPlYMVKBCWOIvu90=; b=zmsOUtjY6RJIjYO+3lKmgz+Tsc/2Z9DntGIQ7cxD/edZy8JL5rHak448Ekst/r0Vlf txl32peWyOudt1JU1w33I9xeXbT4yAm9NziCFcbM24sgjpfqlbfs2gjW590Z47Rd8iMO vBwhjkFgwK3kmSbLSj9YQuhqBqrT8Do1vSMPP7KKGBdml+2wWyhNK4EfcEIgRQOD23uv uQ336e+yv0YiGjXcTBBgexeM7tzSBnp5YYmfTThUSPqPI42BCtVUMpZLFRa2j0vLkVer CmrJMjWXOgu4TmwS+NHcAsFOBmK8tUSgUvxxJR39hpbBQU46X91unTQQigGZjvvTVIuQ TXbw== X-Gm-Message-State: AO0yUKW8af14Xul21dzFHnJahVMvEbO8EwtUqPffZfNlcbatjCz/ZBYV 9AC63NEbjPA65aci58+DDRb1V262icFurK7kYug= X-Received: by 2002:a19:ee06:0:b0:4de:7b5b:f16f with SMTP id g6-20020a19ee06000000b004de7b5bf16fmr1001238lfb.7.1677880709251; Fri, 03 Mar 2023 13:58:29 -0800 (PST) Received: from [192.168.1.101] (abym99.neoplus.adsl.tpnet.pl. [83.9.32.99]) by smtp.gmail.com with ESMTPSA id e27-20020ac2547b000000b004cafa01ebbfsm552670lfn.101.2023.03.03.13.58.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 03 Mar 2023 13:58:28 -0800 (PST) From: Konrad Dybcio Date: Fri, 03 Mar 2023 22:58:12 +0100 Subject: [PATCH 12/15] arm64: dts: qcom: sm6375: Introduce MPM support MIME-Version: 1.0 Message-Id: <20230303-topic-sm6375_features0_dts-v1-12-8c8d94fba6f0@linaro.org> References: <20230303-topic-sm6375_features0_dts-v1-0-8c8d94fba6f0@linaro.org> In-Reply-To: <20230303-topic-sm6375_features0_dts-v1-0-8c8d94fba6f0@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, Konrad Dybcio X-Mailer: b4 0.12.1 X-Developer-Signature: v=1; a=ed25519-sha256; t=1677880689; l=3281; i=konrad.dybcio@linaro.org; s=20230215; h=from:subject:message-id; bh=iPa23Ps62e7Th5IYTb8Pdb0xoF/q147iZLwyUAl1QU0=; b=zPa/FrwPkdGsOQ4pHDIGF83/202i7LLx5FG4SCWhJkh9tsnmE3v3rmnziIAXgQyZ3UqQsSi2SsyM mbwdMHi7DxcP15g3E0/73AVlQwW29D+BP6tZEdF9l2y+LX6fqVbl X-Developer-Key: i=konrad.dybcio@linaro.org; a=ed25519; pk=iclgkYvtl2w05SSXO5EjjSYlhFKsJ+5OSZBjOkQuEms= X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS autolearn=unavailable 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?1759392154614437604?= X-GMAIL-MSGID: =?utf-8?q?1759392154614437604?= Add a node for MPM and wire it up on consumers that use it. This also fixes a very bad and sad assumption I made when initially porting this SoC that the downstream MPM-TLMM mappings were 1-1. That apparently changed some time ago, so with this patch the MPM consumers will actually be hooked up to the correct interrupt lines. Fixes: 59d34ca97f91 ("arm64: dts: qcom: Add initial device tree for SM6375") Signed-off-by: Konrad Dybcio --- arch/arm64/boot/dts/qcom/sm6375.dtsi | 32 ++++++++++++++++++++++++++------ 1 file changed, 26 insertions(+), 6 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/sm6375.dtsi b/arch/arm64/boot/dts/qcom/sm6375.dtsi index 94bb373f8d97..ecb654357288 100644 --- a/arch/arm64/boot/dts/qcom/sm6375.dtsi +++ b/arch/arm64/boot/dts/qcom/sm6375.dtsi @@ -315,6 +315,7 @@ CPU_PD7: power-domain-cpu7 { CLUSTER_PD: power-domain-cpu-cluster0 { #power-domain-cells = <0>; + power-domains = <&wakegic>; domain-idle-states = <&CLUSTER_SLEEP_0>; }; }; @@ -633,7 +634,7 @@ tlmm: pinctrl@500000 { reg = <0 0x00500000 0 0x800000>; interrupts = ; gpio-ranges = <&tlmm 0 0 157>; - /* TODO: Hook up MPM as wakeup-parent when it's there */ + wakeup-parent = <&wakegic>; interrupt-controller; gpio-controller; #interrupt-cells = <2>; @@ -755,7 +756,7 @@ spmi_bus: spmi@1c40000 { <0 0x01c0a000 0 0x26000>; reg-names = "core", "chnls", "obsrvr", "intr", "cnfg"; interrupt-names = "periph_irq"; - interrupts = ; + interrupts-extended = <&wakegic 86 IRQ_TYPE_LEVEL_HIGH>; qcom,ee = <0>; qcom,channel = <0>; #address-cells = <2>; @@ -791,6 +792,25 @@ rpm_msg_ram: sram@45f0000 { reg = <0 0x045f0000 0 0x7000>; }; + wakegic: interrupt-controller@45f01b8 { + compatible = "qcom,mpm"; + reg = <0 0x045f01b8 0 0x1000>; + interrupts = ; + mboxes = <&ipcc IPCC_CLIENT_AOP IPCC_MPROC_SIGNAL_SMP2P>; + interrupt-controller; + #interrupt-cells = <2>; + #power-domain-cells = <0>; + interrupt-parent = <&intc>; + qcom,mpm-pin-count = <96>; + qcom,mpm-pin-map = <5 296>, /* Soundwire wake_irq */ + <12 422>, /* DWC3 ss_phy_irq */ + <86 183>, /* MPM wake, SPMI */ + <89 314>, /* TSENS0 0C */ + <90 315>, /* TSENS1 0C */ + <93 164>, /* DWC3 dm_hs_phy_irq */ + <94 165>; /* DWC3 dp_hs_phy_irq */ + }; + sram@4690000 { compatible = "qcom,rpm-stats"; reg = <0 0x04690000 0 0x400>; @@ -1185,10 +1205,10 @@ usb_1: usb@4ef8800 { <&gcc GCC_USB30_PRIM_MASTER_CLK>; assigned-clock-rates = <19200000>, <133333333>; - interrupts = , - , - , - ; + interrupts-extended = <&intc GIC_SPI 302 IRQ_TYPE_LEVEL_HIGH>, + <&wakegic 12 IRQ_TYPE_LEVEL_HIGH>, + <&wakegic 93 IRQ_TYPE_LEVEL_HIGH>, + <&wakegic 94 IRQ_TYPE_LEVEL_HIGH>; interrupt-names = "hs_phy_irq", "ss_phy_irq", "dm_hs_phy_irq", From patchwork Fri Mar 3 21:58:13 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 64110 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:5915:0:0:0:0:0 with SMTP id v21csp685470wrd; Fri, 3 Mar 2023 15:54:16 -0800 (PST) X-Google-Smtp-Source: AK7set840H0qk26ecszvcud9kRaR313GFDAHtGIE3MpuEpJbmNytAAnzVwzoivNzYr1lofY70uqV X-Received: by 2002:aa7:ccd6:0:b0:4af:59c0:5add with SMTP id y22-20020aa7ccd6000000b004af59c05addmr3382995edt.37.1677887656585; Fri, 03 Mar 2023 15:54:16 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1677887656; cv=none; d=google.com; s=arc-20160816; b=KGeYy2p7ANuGuuH+PVaDEgdTe/KfE0BCEBGjzXX2SViSvBqm+2ZhXW9mJFkbsvDiyH dUEjB6mCiu7IzSzfZga9E8aoNajWN9CmpAX/0Ton+G1v4SuRmy/m+U/YD0G6CiJ4Bn7t ZqEm5cRyzyGSzCxn74/vEWEBDQsgYJWZhNur/Q+tuAhtvvB+96rRQHkLUUPBJJems6iu 6RymDKHp92nHjaIeoFoVDQtMxypz/5DL1gHMb8ZXtifNU2rIgHMBv1/GCY+upC+pqP6/ VuGK8tMft73puHd/LnV1fcaDVN5FzXa0Uatqbd79Sk+Q0Qqw7omGFmeIYyLRky7H39E2 jy/Q== 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=xMUNS7sepBti40evG3v1VzCcdXq5T/S+i6PiT3G+pfs=; b=QFKgCiNs7Ax5BvYFanOXaxLozXAEHdYxbwOsl6ExkBMzj0EXNxu6z3iVRxGn5lLMtB tk+amBddG165pv3SKXQD22hrSLxvMsaCRW+y7PXO50CLLzZYYnTN2gx6kEU1piAvsKjF OX98NJmcsTq5f754583xdaff/VKcZE00abY4FwMuTNEeSLIAHRAPrI+OK3Lu8L3uL2zV poESwkzWeOao0crbY3b2o8vq+MaDiHktseixEtsgclI3cZp9KVqY0M7zHfIX0SdqWXAJ hldGdERjlCs7hUq7YjgDfP5pWm/lvvbOwZk16Dn4GIbsROuPV7UAGaa4l7R7w6Au90cJ G56g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=mwKCN8Hd; 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 w4-20020aa7d284000000b004ad02463b96si3570958edq.108.2023.03.03.15.53.52; Fri, 03 Mar 2023 15:54:16 -0800 (PST) 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=mwKCN8Hd; 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 S233719AbjCCWJ3 (ORCPT + 99 others); Fri, 3 Mar 2023 17:09:29 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56996 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233654AbjCCWI7 (ORCPT ); Fri, 3 Mar 2023 17:08:59 -0500 Received: from mail-lf1-x130.google.com (mail-lf1-x130.google.com [IPv6:2a00:1450:4864:20::130]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B617B64868 for ; Fri, 3 Mar 2023 13:59:36 -0800 (PST) Received: by mail-lf1-x130.google.com with SMTP id t11so5415881lfr.1 for ; Fri, 03 Mar 2023 13:59:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1677880710; 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=xMUNS7sepBti40evG3v1VzCcdXq5T/S+i6PiT3G+pfs=; b=mwKCN8Hd+7f+HoC4Zlb2O3XOI1pWE/V8SEf7jIDFZQ9ruRjREK4sfNVuT5Yy0aFDNI 4R2K/z/WIPEP2xGN8+VxguMd7cNNHgjWbZGHe9dmyni4dnXxrFc1yiuzicXnAaUXnmWO hVFoBMAshKj2qEiajhjiFUdgw5veq2UWUqDR91c2VIP79cVQt/h/gqgYoZOvvC3VsbwE 8sbOjdGO+H5tf9ElRaLB3LARiEKYT8A0xrUFiqPRA9MUkgTr+tyJ9z8zVrU97L1VOvcz M0agUjPa21WPgjlld+gGkwHzucMwDInRBkQPIMewB5ZlBKjS/j9OYyBHi66Lla2EfsMO rF/w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1677880710; 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=xMUNS7sepBti40evG3v1VzCcdXq5T/S+i6PiT3G+pfs=; b=n12mPw3h8w6QfFWAQAECoac7J7bXba9ZG88OOW3bqmvcOmTvkxX/oIS3Yd7JMv2JUA ZkFaeitmosO7Izp5+Zc1a7HX2gDX8dKepapOPoCgjr+5UYfF+K4Mk915TmvrCP4hQUnM a4OCip7o+F7P737BUsMWr3G36B2F0HakzszTGh3ziDoGeSWXgdrfZqRF02GJVk6kk/TP cZaWysmwZIWM2kOs2ZeM3fP2U5aEDUPLlJM2qFVmpsuzqfSPTWKhO/9iRlunPlh5rLTD jtVFvwCijnO3Li1jecmIAdQQ7fCtipRRPoL5jvI3F8QpCJU/MhzfHDe28WaQTbo0+KI1 LaIQ== X-Gm-Message-State: AO0yUKXxrxlnUX4PAOcd562C4dM3v4QkxkjGq7DDpO0BuS5dWdKFZl1z 8M0+1EUaLWH2Wi9o+Ue6bKvDOQ== X-Received: by 2002:a19:7405:0:b0:4e1:7d1c:85ce with SMTP id v5-20020a197405000000b004e17d1c85cemr910940lfe.27.1677880710686; Fri, 03 Mar 2023 13:58:30 -0800 (PST) Received: from [192.168.1.101] (abym99.neoplus.adsl.tpnet.pl. [83.9.32.99]) by smtp.gmail.com with ESMTPSA id e27-20020ac2547b000000b004cafa01ebbfsm552670lfn.101.2023.03.03.13.58.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 03 Mar 2023 13:58:30 -0800 (PST) From: Konrad Dybcio Date: Fri, 03 Mar 2023 22:58:13 +0100 Subject: [PATCH 13/15] arm64: dts: qcom: sm6375: Bump CPU rail power collapse index MIME-Version: 1.0 Message-Id: <20230303-topic-sm6375_features0_dts-v1-13-8c8d94fba6f0@linaro.org> References: <20230303-topic-sm6375_features0_dts-v1-0-8c8d94fba6f0@linaro.org> In-Reply-To: <20230303-topic-sm6375_features0_dts-v1-0-8c8d94fba6f0@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, Konrad Dybcio X-Mailer: b4 0.12.1 X-Developer-Signature: v=1; a=ed25519-sha256; t=1677880689; l=2856; i=konrad.dybcio@linaro.org; s=20230215; h=from:subject:message-id; bh=Qo/t+wBOxYfbhVIzvJopzDAhr8R83GF/inpNjIKH5i4=; b=g235hPJZ2ZyXkacBlAhRPLIHA1uGZC7mNoBH5+i+M1wYXAToQ+XNthEFZmTV3B9F+OBYu7mYBkwF dpZhHdtcBlItLd+uTPAzfc0bCew7lPkDsplDEmTL1vif1Eaa8jYq X-Developer-Key: i=konrad.dybcio@linaro.org; a=ed25519; pk=iclgkYvtl2w05SSXO5EjjSYlhFKsJ+5OSZBjOkQuEms= X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS autolearn=ham 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?1759392727743553151?= X-GMAIL-MSGID: =?utf-8?q?1759392727743553151?= 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 ecb654357288..05d8d6a012b6 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 Fri Mar 3 21:58:14 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 64105 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:5915:0:0:0:0:0 with SMTP id v21csp681581wrd; Fri, 3 Mar 2023 15:41:17 -0800 (PST) X-Google-Smtp-Source: AK7set8DqQ3pyll+6JsCKwsPsNRwEgepLbI/HJKJmifb3Bje27tn4FK91YqBwLRU+mG1AU3mp1oY X-Received: by 2002:aa7:d958:0:b0:4ac:bf55:e943 with SMTP id l24-20020aa7d958000000b004acbf55e943mr3502002eds.34.1677886876915; Fri, 03 Mar 2023 15:41:16 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1677886876; cv=none; d=google.com; s=arc-20160816; b=L475xrBZLs35pGM589Kq6Kljw+bHMkeGkoQ851Y6jqHdQej3jrT7+pJ+TP8yWenMaw ZGW7h9d9KgN4sqksJPKsxVvNsKDjuB/bK7GRdxw1aSc1acV0bZwEJ5I/k2kFYb3uAbeV mlXim7W8j4GQ3KSKvWam8fSXLynvk2zCSqOlGWQR8Tuptug6qiT9uiwsdtf0ivkvEZiw 49UjbDGxmJq7pClsvvJmn2+6wa7Pvi0FKH+wHtBekGD1+hEE8xb0Lmaymt6RcM/tdHAG 4kMB+mzrmGrB58AH4Q3qAqMC0CTEqMrlph8Cu5yYUE6z945X398pj4LU69UhbpLtbinb s7Ig== 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=VobSYi7qd6A4yHO64hTT2lEY0pFxLrSpNBSai03mo5k=; b=PcuBC0vstp5dnJDb6D1iK5EuGGZLe/lG6jcnIL/RZkjgO68MZaY4gItvj5KIS6u4dD FAfbK2MpXYy3HDLcvm5UIGbj75LNXnO/WF7mSxBNXRrlGIgRBKaGDwD/tTx4t6//dkH/ 7Tn7qB/0/CSFsQ82p66V/WmNxMRfpVU4IhFaPyCUwlQnABMrR0GL7qyioBfaX7iv6hVn tW1G7YcLYMaRi3ku1UgaH4TszhT6fHc2F2Z/r7kgfQGyW43x2Q/8duPAzmXmXv9c2YD7 /Yeg/qyyBertK8fRb0UvrtRK6UxvfsYDhldFxjbwpdrOQQCAg15JGHtkrisV6HYSbAf+ KGgQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=C9TJChBA; 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 m3-20020a50ef03000000b004acc00fed01si3620040eds.589.2023.03.03.15.40.52; Fri, 03 Mar 2023 15:41:16 -0800 (PST) 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=C9TJChBA; 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 S232039AbjCCWYM (ORCPT + 99 others); Fri, 3 Mar 2023 17:24:12 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56128 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233761AbjCCWXv (ORCPT ); Fri, 3 Mar 2023 17:23:51 -0500 Received: from mail-ed1-f46.google.com (mail-ed1-f46.google.com [209.85.208.46]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 16A506BC06 for ; Fri, 3 Mar 2023 14:16:23 -0800 (PST) Received: by mail-ed1-f46.google.com with SMTP id g3so16045656eda.1 for ; Fri, 03 Mar 2023 14:16:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1677881410; 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=VobSYi7qd6A4yHO64hTT2lEY0pFxLrSpNBSai03mo5k=; b=C9TJChBA8vpMjOyzGxRMzpxr5Zg/8kF/D3jTofcS3rFayM7ph23x0lpzX9Es8bWBar Pzhy3fmVnEGGzmDfhuOAXBqVVCoYrZAQMRq8gZlRdA58obJky7NM5KIDvxPfVRHUA6Se nEzwZo+lmybu7FeLEc728rDw9vW40LQU4gUkGpVTMoztXMR1ImzarDxgY/p4e+yUGEyj 2HAW2hjWoaSz6Z3HSj3DT3L8an9ygvVO1iwhSqDgSkdudej3FxYJlov/KQkG5/EdzAwf wlK5cFgdwgIqCbXHD9toic2nre6daJjUdAYLDI422gUfFoeI4HbcRlLxxFu/D2QMCHgh qhvQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1677881410; 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=VobSYi7qd6A4yHO64hTT2lEY0pFxLrSpNBSai03mo5k=; b=KWQjcMNJUY+6NFn0K2k2jwv7IrggylfHh7CBsvVwWuP69P3B7NQfhRevS8h9Ss9hZE 5KGUjGK2ymJPvMit7VOwoLI0ALNCHk2dwd+/oNcDXRrIHBWxVmIzHCqRmAFH3MHdK+yV FUFRx6I/yy4gOXoYPPCWG0DPBjTrrJ5AToI23m/C433MzCOjQzqmr37bRrYq8EFapjVl bM9ZwOUVeNIWg0L8C2tU2YFbt2ALjDVfKJi7vQxFE6CQBNUF1NboF33wJxuAMFbPA+yd CW8LoWROYCFGIFmCo1I81FBSUAa24qBS3JDpaWl/eQng4roJ59f0aT/Lt0+EKdQ20ufA uRZQ== X-Gm-Message-State: AO0yUKUOtg1l/YBB2l8btl/af69D+OLupvnboio+Max41diZbAkNg/CF pWpZ0XiYulCgT2LH5QJWk96xeQb1pRPfn6tWu2E= X-Received: by 2002:ac2:522e:0:b0:4db:56e:427c with SMTP id i14-20020ac2522e000000b004db056e427cmr838136lfl.56.1677880712122; Fri, 03 Mar 2023 13:58:32 -0800 (PST) Received: from [192.168.1.101] (abym99.neoplus.adsl.tpnet.pl. [83.9.32.99]) by smtp.gmail.com with ESMTPSA id e27-20020ac2547b000000b004cafa01ebbfsm552670lfn.101.2023.03.03.13.58.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 03 Mar 2023 13:58:31 -0800 (PST) From: Konrad Dybcio Date: Fri, 03 Mar 2023 22:58:14 +0100 Subject: [PATCH 14/15] arm64: dts: qcom: sm6375: Introduce C3 power state for both ARM clusters MIME-Version: 1.0 Message-Id: <20230303-topic-sm6375_features0_dts-v1-14-8c8d94fba6f0@linaro.org> References: <20230303-topic-sm6375_features0_dts-v1-0-8c8d94fba6f0@linaro.org> In-Reply-To: <20230303-topic-sm6375_features0_dts-v1-0-8c8d94fba6f0@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, Konrad Dybcio X-Mailer: b4 0.12.1 X-Developer-Signature: v=1; a=ed25519-sha256; t=1677880689; l=3486; i=konrad.dybcio@linaro.org; s=20230215; h=from:subject:message-id; bh=BoPm/b3+zv1C9oti+VeDmiDfZTtPEFlzg5/g/B0wkuM=; b=r1bhNl8KZSXM0Ex+wdQb5ZfkteY5xsSugf2fNelDZMgFcAYPBGdoIDJjokE8XJrDiDxGTrPSn3KA Wcb7o/30AXeoYYWSE+v6cDp0kLjcR1KnXuNsyGhet+Wv4Rlrcf9s X-Developer-Key: i=konrad.dybcio@linaro.org; a=ed25519; pk=iclgkYvtl2w05SSXO5EjjSYlhFKsJ+5OSZBjOkQuEms= X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS autolearn=unavailable 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?1759391909785728425?= X-GMAIL-MSGID: =?utf-8?q?1759391909785728425?= 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 05d8d6a012b6..5a6661dbde08 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 Fri Mar 3 21:58:15 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 64104 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:5915:0:0:0:0:0 with SMTP id v21csp678336wrd; Fri, 3 Mar 2023 15:31:13 -0800 (PST) X-Google-Smtp-Source: AK7set9ZGfVTQ5uhuEVqfdJ/F7uJrLMaMVzr+zxVM0+DwEmBld7yJvk5+6Sv6hk1VVYdfoIMlVAU X-Received: by 2002:a17:906:1515:b0:8b1:279c:82c7 with SMTP id b21-20020a170906151500b008b1279c82c7mr3661394ejd.50.1677886272934; Fri, 03 Mar 2023 15:31:12 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1677886272; cv=none; d=google.com; s=arc-20160816; b=TR2/ihwPS14upRtb68+dy6C/wl/kd3kdwT8LWvMi6ggzwrR30PKVAC41rvL08JhOFc /I46Twnwkmx6rxkdh54DOswQiS28A22TlplAG0G2HbRDBVfQoajGJcJAHcYGdDepGINf jXpDo7wLfliVuVOPKk0n+qSNlyp9dqA7SeBzYKl7QVVCMdRHmrxKMyqYl2sAwCqUt40H TIOyR9XAg8GxyG6d2hv4jO0deWax/SvciRAG/7cEoWtLHmPZt5uTbmok/QbLdOFjFSr2 SAhnKJFRghZzf1ZPOYUnBovORBoGVi+bewbIIfQkab6zxORsmAI79FuLJeu9iI7qJko6 k+7Q== 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=yDtB6jjD+AupNMop4IxcDkvykUy9iWGKP3Rrn2ln0S+l/PRTGqCBVo9SA2YX/C/dTy MmsmAokvlKS5vuKG96vl3TIjFKiIgMDlWzP2Fx4HDAt8IinGYiIS4LfoiQ6P5EYBcktC kl7fuItem38kisJzwsov4g4zXlIe83nPqyXtRYMBHXz667fkiZ3CRsWjIVIIex4BSFan L6j7K/F7EBBI8NMPNyQ/nybOGEYVKsPBdSaDKNjIiOQk2KUpgMXJy6qzxEk7SS+OEIzB 5+17NuMsUZDlski8XbDLAG52QiESXGMRwOgoLHeA6eHFrhLPhO4PA/NsseXB8QHpGyrC jrMQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=bpsywCmv; 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 qb6-20020a1709077e8600b008d1ace2d1b3si2166414ejc.335.2023.03.03.15.30.49; Fri, 03 Mar 2023 15:31:12 -0800 (PST) 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=bpsywCmv; 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 S232269AbjCCWKb (ORCPT + 99 others); Fri, 3 Mar 2023 17:10:31 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56994 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233621AbjCCWJ1 (ORCPT ); Fri, 3 Mar 2023 17:09:27 -0500 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 D3F606782C for ; Fri, 3 Mar 2023 13:59:57 -0800 (PST) Received: by mail-lj1-x231.google.com with SMTP id x6so3804139ljq.1 for ; Fri, 03 Mar 2023 13:59:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1677880713; 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=bpsywCmv25hwZdzAh1PCeTfTnQ8M9UQyOZLcAniWppQtbBrGizltd2VSk9gn0Y4W0Q yzdNQaxAnFvqFLXGWRKFxCIhP0BFTzdfULNUTPwhgUB4xN8zBhsJCfMbOjpNVLP8IrTr XRLZO/3/frAk/71BTSeqKr6YdlNbaufBAvczrkBwpoIedcVrAMcAgnyjXZJjw4xZy7zg OPi3NXwqi3rM98FxJWQcHp12RjDYHlO/9TIZ5qk4cgZa3qr+G9h0MFwpNuBJuc6sQBrz qQvUzANF+qbtVzPY6wXdS4y0VeAcPdQ9Y1KP8+qYIT+6u5UV2d/4ESux7EUS1P0rfVB5 pAIg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1677880713; 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=xXY6Vl4dI+aWFSEYP3kZDafRrmYzs2PXQEWOmmidbyMSY4LkEyqzIJLGX4TwTi/xEQ +IZPg9Rezp0WyL0Loealv8umhqibWjjA/D+eBx0jE0vMgpTMXJfdutUViutQ7ELMg7z+ DjZuZROsRA9JKtPL3CYEw9KmR4LRXoJDXKhFdh35TBzJK7hn6WvnxUFE5E4I4dN3zwfH cEHnh9RxbLRhHeXK/kdvDBUPRaB2rDD5GLrye8JLj11lm1AWlpERDheGf1KM02iLSDPC Al9Gvse1C7fZGUZwxMMBVtbISG97YEp9X9O+qAAlz+FlXqifPbeTpvuB+q0P6W17t3AO zVtg== X-Gm-Message-State: AO0yUKVAYViTMAj/Vbyw41xbz8LeyeZloU/vaim1WgHCmrE3JbVttJdB B6S+QR8i6QL18anY12/VCY5c4Q== X-Received: by 2002:a2e:8e8c:0:b0:295:9f20:bf16 with SMTP id z12-20020a2e8e8c000000b002959f20bf16mr834883ljk.51.1677880713790; Fri, 03 Mar 2023 13:58:33 -0800 (PST) Received: from [192.168.1.101] (abym99.neoplus.adsl.tpnet.pl. [83.9.32.99]) by smtp.gmail.com with ESMTPSA id e27-20020ac2547b000000b004cafa01ebbfsm552670lfn.101.2023.03.03.13.58.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 03 Mar 2023 13:58:33 -0800 (PST) From: Konrad Dybcio Date: Fri, 03 Mar 2023 22:58:15 +0100 Subject: [PATCH 15/15] arm64: dts: qcom: sm6375-pdx225: Add volume down GPIO key MIME-Version: 1.0 Message-Id: <20230303-topic-sm6375_features0_dts-v1-15-8c8d94fba6f0@linaro.org> References: <20230303-topic-sm6375_features0_dts-v1-0-8c8d94fba6f0@linaro.org> In-Reply-To: <20230303-topic-sm6375_features0_dts-v1-0-8c8d94fba6f0@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, Konrad Dybcio X-Mailer: b4 0.12.1 X-Developer-Signature: v=1; a=ed25519-sha256; t=1677880689; l=1409; i=konrad.dybcio@linaro.org; s=20230215; h=from:subject:message-id; bh=lUoSxwe6wDxHMv1iTDzFHuYZxKLyt1OMfELUkCo9Rp0=; b=2D1FYt5g9zW3UaMoHWv3uq5a3I+XMRqi4xOdzwph644K+Ge2XkqIHBvdS5lQ6HhN8VB5CAELrLkC Mc12VKGIBVJrmmDYy3Plyso23gn9bU4RYdv5EBTyg4dMyi2kUOIU X-Developer-Key: i=konrad.dybcio@linaro.org; a=ed25519; pk=iclgkYvtl2w05SSXO5EjjSYlhFKsJ+5OSZBjOkQuEms= X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS autolearn=ham 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?1759391276375989549?= X-GMAIL-MSGID: =?utf-8?q?1759391276375989549?= 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"; };