From patchwork Thu Jun 22 15:56: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: 111761 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp5183109vqr; Thu, 22 Jun 2023 09:14:20 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ77QEqu66cvH0DawxpzDC94hSve/L7UGrzJhf2hZZSbkOVSen6gq1JBHLjvzmA13LnC+D7l X-Received: by 2002:a05:6a00:2d8c:b0:668:95c1:b4f7 with SMTP id fb12-20020a056a002d8c00b0066895c1b4f7mr9527399pfb.27.1687450460583; Thu, 22 Jun 2023 09:14:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687450460; cv=none; d=google.com; s=arc-20160816; b=rGuhp2hv4QG311bZPAU+1mb7cCl0K4ahJMxX7jkQxWE4xJ/MfpPj2h8CbymCkLEWU8 QyvhSQPlrqMjW444ebtmDShEEL/cKrYYZeSeCK7C17paXteAmlWytyOfEe4FhYPrH/TV aYYpqh85W+r0de7R0VwjzduCa3fpSebJZyL3MFybUSRAUSxN1EabcAshla10jFMX8btr wcZ0F9NSY1f2x086rU4/dfmuvBP7c8z7/i/HEEWISmSoRBcgfUaSIdN2FkP8ST1xyVBi Sqf+Ve+vMBwGf+igqBisI78WVSSsALi5SqYRZ52tYYVF40PSzz45iqLXXXj1l4wGMfmf Fwkg== 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=PZz1MWlumgnM+wp0QVxppezVNb3Fgjy59UxeRVaXANg=; b=ja74xM7Z8VQjGaIyNQRA2ytmgVkbEflXnXzLdToiVB5nChF1Hb9laHZUSnxdOyPIlm RjlrL7W9DKxfqYZOyZMLsE6H6dzYU1xn3o9PghGAMWj/aUmP+xxq8TwHo3TOov2022ND GIQrC6/udXeXgQBvYIogqxewtfwef5zF/c/RfKZHHFmX5ZJt0xKM0PcpLWDlkTmdJoL1 2IAqU9mHWoBGRSKB0Yx5GZPQmr32OSUK5aTRgVLIVSzLvrQ3BfX5HZjTfcsGtFLYKOTt XRet7guIJW7k5lGNw1PR4CQgMmQ18hsx7rQvqr8QZ7vIt11ZPE/Twjc6CHCw/FAUQ0i7 D0Ng== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=AwB2HaEN; 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 v69-20020a638948000000b005132342a587si1760494pgd.610.2023.06.22.09.14.07; Thu, 22 Jun 2023 09:14:20 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=AwB2HaEN; 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 S231261AbjFVP40 (ORCPT + 99 others); Thu, 22 Jun 2023 11:56:26 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43590 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231626AbjFVP4V (ORCPT ); Thu, 22 Jun 2023 11:56:21 -0400 Received: from mail-lf1-x12f.google.com (mail-lf1-x12f.google.com [IPv6:2a00:1450:4864:20::12f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2527A199F for ; Thu, 22 Jun 2023 08:56:20 -0700 (PDT) Received: by mail-lf1-x12f.google.com with SMTP id 2adb3069b0e04-4f867700f36so7874307e87.0 for ; Thu, 22 Jun 2023 08:56:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1687449378; x=1690041378; 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=PZz1MWlumgnM+wp0QVxppezVNb3Fgjy59UxeRVaXANg=; b=AwB2HaENuJfOEm7Alo7cv/DJb+7nWVsLnFkWeNpkUJ0qfFMEAGLEwKkBIw8CBUsqh5 2y8jQ/gSlNbmKV+2Ua1HNgZwpXtYV9k9dKiMsbC8kdu4bnJm03ESeVGgBLVMiNpzVAqj hSw1hjtcJ1qGHzG5BGwhIK3cz6XS8s9i9Elg1aHoDL3bU2mDM2tuVtYhta/SryjjiDNr A1yHMui6vSryO9y8HKCbw9JlOatShHc/oxkCrXbG74gm8AkhbPXAwrvVjGGwb4GCV29E kL8279XUjoX+tOkIe4xC4YFPW0WpfYiEn4/OLJYiqdfSReKZQchT7oTZoi+71VVusB42 diUw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1687449378; x=1690041378; 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=PZz1MWlumgnM+wp0QVxppezVNb3Fgjy59UxeRVaXANg=; b=h3gqN5RkDoO5KsEW3EWKkxsVBfPcEV8cMqPoprQYtqvfSPAuyoj8F4rxmBp0dZCkk1 e1h1vcjCOs3nwcFk/FEFQQlU/zSJjS25b72Kd7lb6ofM5VsiBQNutm/GVSMlektHumDH wDiuIo633Ta9WQ9bIywrjTrJyOfX35Mf/CJcuah+eA7jdYH1vDJnSWzPW7T//4k+f6xh zZRTq3Wqqe0FqVddXIpNEiDDlIGIIiGW5eVhD9pkCwY3yfgPEnT2ifMI7Boetkpl2cCC LWDyyXdNCOSoYQMdclpMTAUkIAGNM1r4Erttoha8GOU12DVD0rJXya8/ZkQC5pjhu5Jq Lf9g== X-Gm-Message-State: AC+VfDxQqz5oJQo/bFnvPP1Il7MefDCWKFVPuz2xib5aDCNX5I5jYSZj 6cK4u63erzjLLg09ltwDewupVw== X-Received: by 2002:a05:6512:b94:b0:4f9:5ff6:c06a with SMTP id b20-20020a0565120b9400b004f95ff6c06amr3246849lfv.67.1687449378499; Thu, 22 Jun 2023 08:56:18 -0700 (PDT) Received: from [192.168.1.101] (abyl165.neoplus.adsl.tpnet.pl. [83.9.31.165]) by smtp.gmail.com with ESMTPSA id h25-20020ac25979000000b004f8747e519bsm1146876lfp.125.2023.06.22.08.56.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 22 Jun 2023 08:56:18 -0700 (PDT) From: Konrad Dybcio Date: Thu, 22 Jun 2023 17:56:15 +0200 Subject: [PATCH 1/2] dt-bindings: firmware: qcom,scm: Allow interconnect on SC8280XP MIME-Version: 1.0 Message-Id: <20230622-topic-8280scmicc-v1-1-6ef318919ea5@linaro.org> References: <20230622-topic-8280scmicc-v1-0-6ef318919ea5@linaro.org> In-Reply-To: <20230622-topic-8280scmicc-v1-0-6ef318919ea5@linaro.org> To: Andy Gross , Bjorn Andersson , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Robert Marko , Das Srinagesh , Johan Hovold Cc: Marijn Suijten , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Krzysztof Kozlowski , Konrad Dybcio , Konrad Dybcio X-Mailer: b4 0.12.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1687449375; l=804; i=konrad.dybcio@linaro.org; s=20230215; h=from:subject:message-id; bh=+UfpFZ/wJIEsyc9bAr5nQcF5M174YsTVUpB1F+LOz78=; b=AAB3uEjnIq3Yp4vPg9MT0jrLckhsxK5SY3wooS5vMPCEk/YX6VcbVC9j6NPknxySEaG0jWp5p /Ie22N51PNTDvIjLrVdZLOv/ze2vEzwG34HXjx99BWl5/eNdu5gHkFo 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,T_SCC_BODY_TEXT_LINE 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?1769420054052142841?= X-GMAIL-MSGID: =?utf-8?q?1769420054052142841?= Just like all other Qualcomm SoCs, SC8280XP SCM should be fed an interconnect path. Do so. Signed-off-by: Konrad Dybcio Acked-by: Conor Dooley --- Documentation/devicetree/bindings/firmware/qcom,scm.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/firmware/qcom,scm.yaml b/Documentation/devicetree/bindings/firmware/qcom,scm.yaml index 09073e1d88ff..42d064be753b 100644 --- a/Documentation/devicetree/bindings/firmware/qcom,scm.yaml +++ b/Documentation/devicetree/bindings/firmware/qcom,scm.yaml @@ -174,6 +174,7 @@ allOf: contains: enum: - qcom,scm-qdu1000 + - qcom,scm-sc8280xp - qcom,scm-sm8450 - qcom,scm-sm8550 then: From patchwork Thu Jun 22 15:56:16 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 111759 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp5182720vqr; Thu, 22 Jun 2023 09:13:42 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ53+qTmKYSwXLuiQlMpSNouFpfmwsteMJDOU8qjeqv01Ln9f1Iy6igqW+5CB7bp3WsFRP0g X-Received: by 2002:a05:6a00:2e8d:b0:644:d775:60bb with SMTP id fd13-20020a056a002e8d00b00644d77560bbmr17248320pfb.20.1687450422406; Thu, 22 Jun 2023 09:13:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687450422; cv=none; d=google.com; s=arc-20160816; b=tiryT2/xothFHD2L5wxjSsNXNgkw0PZVByRP8pB7fr0lNo+Gqs39jb9j+Qw0bnl155 wEifSobCtDQyti/y26sb38EHg435vfvQ/r2gUnE8fAcUNF+cyj0cnxZk8tpca2OtHO3H zds26gyBMW7w3HP/nZrRo3jfLYovjTbbwfudshDYgS0eFTp3j8CyMSeQaisCT0FPM18q meWrNenXU04q3A1s5zZ9B3o+nfTqVzQnL+8bwIFWtOXPlHkr26AryrnVpv3jneURCw3N Pz/aDAE36F8+atIFOkSzIDqZSsh7cjVDEZtIfYBI4dgQEvTZ/pkhubfHI6wshHrx6Ssf ug0A== 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=bVNrmV62YGYAQclYMSUvX/eEvXhGpa0L72Uy0QPgV9s=; b=rs56mtLvb3phrvqYjtyUxeUi6+g5itUkE6LcO+If/0MjbY14xmWYGnQgReZDu6NHNx YmrOp9b4vmpF04Hi4HgfnHvqprOxATe528px75w7QUAr8FRYbN06en+dMKyZlKHAbigY 8xIjhM7KM6EW7cP2LjTcg9tlRZP5+7pMRQdH0CgKeVta40g0uHC5hAZa9Vc7y/M496n7 tFMKO1m7Lt4rZEuwXY5HCmWUo19nYF1xlvTzkta90XTwY8PhRj7qwNGFPEN2Or+KkB9a +ngihZ1EivMMnzAmc4mSTPqfYNvK2VlahDzSwC46JHGcmGI17vpeSvb8nsyeRf2FU2D3 SjHw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=BzVSalBJ; 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 f10-20020a63de0a000000b0054405fa924fsi6641181pgg.891.2023.06.22.09.13.29; Thu, 22 Jun 2023 09:13:42 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=BzVSalBJ; 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 S229866AbjFVP42 (ORCPT + 99 others); Thu, 22 Jun 2023 11:56:28 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43610 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231773AbjFVP4X (ORCPT ); Thu, 22 Jun 2023 11:56:23 -0400 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 A03CA199B for ; Thu, 22 Jun 2023 08:56:21 -0700 (PDT) Received: by mail-lf1-x130.google.com with SMTP id 2adb3069b0e04-4f866a3d8e4so8210568e87.0 for ; Thu, 22 Jun 2023 08:56:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1687449380; x=1690041380; 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=bVNrmV62YGYAQclYMSUvX/eEvXhGpa0L72Uy0QPgV9s=; b=BzVSalBJO+Ok0bneB2AbcR9n2rGZ0Sm2D88rJqBgvzTAfgKlFlc2bYTTTefvfUFq0k vmTSqz+3to603Mg6XqQafFXZ54QTAFMOQXroRcm2weX+xKYI0y/VR0nmzBOp1RwlfgM0 WmAXL8VAtQ4/lBN2ZgMmGW2eCOZ/DgITv7y3/kXpLUt+f+W5CADIl6HIavAn14cbnn1G +H3oYCexGn2MxsrLNgCrkSJOaWbhLC+b2p0iQDsFEgptlQiCOLOc26+9SB13uIeoePrZ iQ8vdWhKMKsDSntfQyvfK2oZ7jPOx4sdnn9NfRbWIXmU4uRrDAt1XEqN1X/4m248c+i+ lU6g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1687449380; x=1690041380; 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=bVNrmV62YGYAQclYMSUvX/eEvXhGpa0L72Uy0QPgV9s=; b=LuWLSdYVQYwd+yrjTZv3XJhMg05+g/UWj0uL2O3gY32e6gtn5S4yX1198KDA1E4QN8 TBuvQBoT26gGlHxcSfAjQGKA6GkJUkJNsa9n8cIVOj5GCfmfnL48XziR1NKfIZddWzhQ k6p60xnB0QZ3a1VuI3HuKgClWhT4xm+0KESszedyYTLRhRlLReyW0WpUk5FXzj0lzGyN FH5tv3O8vwXxanlUPdKk+gIURTV48EGk4tnyzejegp7/Qcg9CABoEYbcUJ+GMC/bGZ1m zzRB7SUJRIPUTKq1KpgQRQ+L9aNIBUMMjR8GwtTs3IbkvFp2k9REEmHdweAIYtFUpZ9a EKCg== X-Gm-Message-State: AC+VfDycZ8jddL6ngjeiOvMIQxQYuJaaxWvbl523+A0yjDbiHf3oD5w1 iPiFvmZiF+6YY/FjrJqiXRHHbQ== X-Received: by 2002:a19:e346:0:b0:4f8:3b17:e0c7 with SMTP id c6-20020a19e346000000b004f83b17e0c7mr11277064lfk.7.1687449379838; Thu, 22 Jun 2023 08:56:19 -0700 (PDT) Received: from [192.168.1.101] (abyl165.neoplus.adsl.tpnet.pl. [83.9.31.165]) by smtp.gmail.com with ESMTPSA id h25-20020ac25979000000b004f8747e519bsm1146876lfp.125.2023.06.22.08.56.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 22 Jun 2023 08:56:19 -0700 (PDT) From: Konrad Dybcio Date: Thu, 22 Jun 2023 17:56:16 +0200 Subject: [PATCH 2/2] arm64: dts: qcom: sc8280xp: Add missing SCM interconnect MIME-Version: 1.0 Message-Id: <20230622-topic-8280scmicc-v1-2-6ef318919ea5@linaro.org> References: <20230622-topic-8280scmicc-v1-0-6ef318919ea5@linaro.org> In-Reply-To: <20230622-topic-8280scmicc-v1-0-6ef318919ea5@linaro.org> To: Andy Gross , Bjorn Andersson , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Robert Marko , Das Srinagesh , Johan Hovold Cc: Marijn Suijten , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Krzysztof Kozlowski , Konrad Dybcio , Konrad Dybcio X-Mailer: b4 0.12.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1687449375; l=727; i=konrad.dybcio@linaro.org; s=20230215; h=from:subject:message-id; bh=NT3m86WoL3MkuuKoi81cggAgHYdFEiNVsimtMtL3KRo=; b=AjjwFA8GMpl1wQJjRKRh/1ni1Ey8g62u9DCNUSpyVhDBY1R27Po0DTh92p2G0bmvoR3aZQmCk yrQaRrGnWOmAClZ9QI1ighmZqb4YKlwMulT9fJKqD0wrTl6SThyx9Mp 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,T_SCC_BODY_TEXT_LINE 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?1769420014238013871?= X-GMAIL-MSGID: =?utf-8?q?1769420014238013871?= The SCM interconnect path was missing. Add it. Fixes: 152d1faf1e2f ("arm64: dts: qcom: add SC8280XP platform") Signed-off-by: Konrad Dybcio --- arch/arm64/boot/dts/qcom/sc8280xp.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/boot/dts/qcom/sc8280xp.dtsi b/arch/arm64/boot/dts/qcom/sc8280xp.dtsi index ac0596dfdbc4..0756b7c141ff 100644 --- a/arch/arm64/boot/dts/qcom/sc8280xp.dtsi +++ b/arch/arm64/boot/dts/qcom/sc8280xp.dtsi @@ -298,6 +298,7 @@ CLUSTER_SLEEP_0: cluster-sleep-0 { firmware { scm: scm { compatible = "qcom,scm-sc8280xp", "qcom,scm"; + interconnects = <&aggre2_noc MASTER_CRYPTO 0 &mc_virt SLAVE_EBI1 0>; }; };