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: 695049 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7B80AEB64DD for ; Thu, 22 Jun 2023 15:56:24 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231623AbjFVP4X (ORCPT ); Thu, 22 Jun 2023 11:56:23 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43594 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231723AbjFVP4V (ORCPT ); Thu, 22 Jun 2023 11:56:21 -0400 Received: from mail-lf1-x136.google.com (mail-lf1-x136.google.com [IPv6:2a00:1450:4864:20::136]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 252FC19A1 for ; Thu, 22 Jun 2023 08:56:20 -0700 (PDT) Received: by mail-lf1-x136.google.com with SMTP id 2adb3069b0e04-4f8792d2e86so5356102e87.1 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=Dje3zhejMQOjizELob27pefAwjinpQDksQAtjO0Wt8CQdetvC9DhxamqI/KgQ8jIy5 RrXPk0LMZpGhUXSSaiHqFrII4vvBCa1hcomXgptLgBk00ZbD41epkbBPG5XfaTeMIY59 98LTHHmCthSIyw6TI0Z4J4LuZXQZf/G+y83b6rUqjAjvrVTUjgJXPlqraXLHKfzvJQhz Qtq3CbkA/UXofk238vVixA19CxoaK2IZf+iw5w2qlRt95NuvY/h9JpG8i7d/a1pyl9Lk LI++CZwt8K0ZXGIQM5O9sB8Iqgy3ET7FgzfnnVkbF7OfHMFMBARiiKRcKzRxnge0LgLw jk5Q== X-Gm-Message-State: AC+VfDwN2crjWRUdP3nqmuY+Pka9VpwLqOUOu4N+Fzos+oEQKUTVGeJn pMCz3UKSeXEQLXFPJ1zwUSJe/w== X-Google-Smtp-Source: ACHHUZ4hBVeDcoulULfDaMl1yIeXGI22tR3XwUEz6R+XRPxoedJos8Jil8c3Qan5JZ17LOEOg+v0wg== 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= Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org 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: 696003 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 58557EB64DC for ; Thu, 22 Jun 2023 15:56:25 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230252AbjFVP4Y (ORCPT ); Thu, 22 Jun 2023 11:56:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43612 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231802AbjFVP4X (ORCPT ); Thu, 22 Jun 2023 11:56:23 -0400 Received: from mail-lj1-x235.google.com (mail-lj1-x235.google.com [IPv6:2a00:1450:4864:20::235]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9FEB41992 for ; Thu, 22 Jun 2023 08:56:21 -0700 (PDT) Received: by mail-lj1-x235.google.com with SMTP id 38308e7fff4ca-2b47a15ca10so71860371fa.1 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=WdCgBPzHD4fLW8PDagGl8oYcXrY494g4XPhk2PbqhgRe54f1LWeLf7WhyqldL/07s8 2Vetv411yyDE1+4UY5VTcqUqH153aUD9i9AdnEJseIGk/oWaD0CM0N8YLHibEwghqsUX 9IYNOKL2SAIDzfncFmK7iBMqlHM9ut/IhgiUJC1oYTIZZiEWofPh3DMnrzeckzaLAy7x w1U3K/6NE+iOlaaI8MNk9Fg+238MI47E9WsbWQc1axo7d8FoUhoM2YA6xbGhJSf/A4k4 B+TXgltpzlNyCxLl6E9TJFm4VMIHjS3bYmYpvTiNhwZ87e8OTjaappttBioVuyR+7QaU DBKg== X-Gm-Message-State: AC+VfDziTWWjSHsq6bCc3tDwVFXDgIfuL7XPaDgzCbBWKeqpv9sOt8Ox 3/XRoOebcBqmHWsUn4/C9Dck7g== X-Google-Smtp-Source: ACHHUZ45KLmkDj4mnujXGEY6jCtLWMORO5pw/AK4vZMy3tS3mdPCy/TcTsCI+Ou3bbAWg7eDzXTFDA== 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= Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org 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>; }; };