From patchwork Mon Nov 14 10:59:11 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 19685 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp2079879wru; Mon, 14 Nov 2022 03:00:37 -0800 (PST) X-Google-Smtp-Source: AA0mqf4LUPuRKpevMhgBlY8QArn7UqtT8KggUDWpScB8dVtyhBnv2Vcw+vM1q1gAj3q/sWHvbPV3 X-Received: by 2002:a05:6402:158c:b0:463:19ca:a573 with SMTP id c12-20020a056402158c00b0046319caa573mr10596260edv.31.1668423637421; Mon, 14 Nov 2022 03:00:37 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668423637; cv=none; d=google.com; s=arc-20160816; b=VLSi1hIKo4J8e15szeZrXjR8PEzrWqhWg3m5flnGwgAe+XUgB6i9M3CtfjPxf0kcRx 6VZTLInwf0o3wZCZBrf+4QETFn9evPyxSTDUcBzlc7Cj4q7xCh7JyOtcLpSd/Ep6jikD Y2gdiKCMciYpn6+0UHtnepnbFj/0vDMZVrQGG681Rcj6tfDZIgvzCJFdjtOoxnz33DG3 I/+XH974Moe3lh6B681bRTHg6c3ZEi8jjBjv08Bh1qKPL5j1TjI/uRBescpq9Vp07L33 HKAbqC+fgn7XEXUgmx+815zGEFAaIiLteUedJZraIiWs8gf89U9tp2VOh4c7VUiXeyr5 axXA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=UHhx2umn0ww7s/9z+eMU/waqeQBTYIwIbE0ugx524dM=; b=tgJts0ZkbkgHzu5iHB6kRNh52LxJhkHQ2TQGc4Rg5H552sjN/R/zYNDvP80+PLolnu ZE40EZWVURk1rSrsFAtMDKxEQwVyCclfEP4IPJF+06BSt4+mr3ugABxYFyAr6z18vwbT LeQgqLx4bDUwvWQ8mfd4m9jtkebqILpED2xJz+nVCq8NFqAVSPS6L6FmEoFLUn3tYQcK LDPTk8pdFyjS2iOYVTeC/LXcaz9sQ40BjDlGcshX7ftLrT6YWZdf+HDXQFGuKVO/Xc4N b7Qx2rQYjnA1UvVunzLiADGiTe91LvDzKfxDun8WZIQFvfWHW4X4YQ8WCKWFwKMDYoGB BLQA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=rwzzB3Hg; 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 n13-20020a05640205cd00b00461c7ad026csi3135513edx.61.2022.11.14.03.00.13; Mon, 14 Nov 2022 03:00:37 -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=rwzzB3Hg; 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 S236201AbiKNK7Y (ORCPT + 99 others); Mon, 14 Nov 2022 05:59:24 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54122 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236275AbiKNK7V (ORCPT ); Mon, 14 Nov 2022 05:59:21 -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 48958FAF2 for ; Mon, 14 Nov 2022 02:59:20 -0800 (PST) Received: by mail-ed1-x52d.google.com with SMTP id f7so16701992edc.6 for ; Mon, 14 Nov 2022 02:59:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=UHhx2umn0ww7s/9z+eMU/waqeQBTYIwIbE0ugx524dM=; b=rwzzB3HgcOU2YnzrrqqsfG0WPxm01HgiqXZ37TcdN0fMgW0gPCD+RHOJBC86kNkaHb JiJ6iS3AdY+alzVPIZHti5RygvySjEZItzEqXSbzggioBXmVz3O6xjGjidNhHWYrd/Wa xr5kFfkCR/IyfBkg9x/zQ+7FLxxvZhrOgk57RDosgTAJOs8DV+kAFDr6I9TTCPyL3sgO sXP0ZA8RYEbATPkw2Sx+msmMbhnXsfS39zauX1oWaYglQBjYmIXkCiR9itOMv5jvrcJ1 elhPwRyYYZNOov9OQBJgmmD2WgPDdwtnmxV0eOb+PxbXM4FucwLqnF4BbPA+Hs2ezLi4 43HA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=UHhx2umn0ww7s/9z+eMU/waqeQBTYIwIbE0ugx524dM=; b=1z6msiK6tOHZcKOG5LgkLaTxZAyHGmmDw6BiUwgPGcfPq5LMf4AHh4GGOUnmfw3X7v 0/wIjuYkwpGnvfAoZaNXfWnZQ5DjAeTXVhQDsXWCobHNMYf+25HVz8gmN+Cbcxk/CGYy 486pKQRcMjahnIsvt5L11RwzReEYqtvfmlrjcwY94AVXdlE1MULLEZ58TLhV7TUqFp9p LncZ9iOMe0CFTHVBuqq043VysGMBo9k2ES0Joe7hGt5SVmxHrTGUfC0uFj/toywK5wm6 jMjlT2QayOB5wVLcn9bfEFPKf7nNzmeX3nPfc/XsFcXd1z2F6aeX/+Yd2nQqwBIap6ld 82ZQ== X-Gm-Message-State: ANoB5pnyeBkA/EcJXurOR+u7c/vOFDiAl9FOPRlntcSQzmBTO4YSnAkx 2s9Bs27rDOVN00AFrjjL+vm32w== X-Received: by 2002:aa7:d352:0:b0:467:78ce:5fe6 with SMTP id m18-20020aa7d352000000b0046778ce5fe6mr8232475edr.325.1668423558882; Mon, 14 Nov 2022 02:59:18 -0800 (PST) Received: from localhost.localdomain ([194.29.137.22]) by smtp.gmail.com with ESMTPSA id 9-20020a170906210900b007a4e02e32ffsm4036308ejt.60.2022.11.14.02.59.17 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Mon, 14 Nov 2022 02:59:18 -0800 (PST) From: Konrad Dybcio To: linux-arm-msm@vger.kernel.org, andersson@kernel.org, agross@kernel.org, krzysztof.kozlowski@linaro.org Cc: patches@linaro.org, Konrad Dybcio , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 1/3] arm64: dts: qcom: sm6375: Add SMP2P for ADSP&CDSP Date: Mon, 14 Nov 2022 11:59:11 +0100 Message-Id: <20221114105913.37044-2-konrad.dybcio@linaro.org> X-Mailer: git-send-email 2.32.0 (Apple Git-132) In-Reply-To: <20221114105913.37044-1-konrad.dybcio@linaro.org> References: <20221114105913.37044-1-konrad.dybcio@linaro.org> MIME-Version: 1.0 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?1749468983810342042?= X-GMAIL-MSGID: =?utf-8?q?1749468983810342042?= Add nodes for ADSP&CDSP SMP2P. Signed-off-by: Konrad Dybcio --- arch/arm64/boot/dts/qcom/sm6375.dtsi | 48 ++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sm6375.dtsi b/arch/arm64/boot/dts/qcom/sm6375.dtsi index a5cf9852428b..a904fe5dd9dc 100644 --- a/arch/arm64/boot/dts/qcom/sm6375.dtsi +++ b/arch/arm64/boot/dts/qcom/sm6375.dtsi @@ -508,6 +508,54 @@ rpmpd_opp_turbo_no_cpr: opp9 { }; }; + smp2p-adsp { + compatible = "qcom,smp2p"; + qcom,smem = <443>, <429>; + interrupts-extended = <&ipcc IPCC_CLIENT_LPASS + IPCC_MPROC_SIGNAL_SMP2P + IRQ_TYPE_EDGE_RISING>; + mboxes = <&ipcc IPCC_CLIENT_LPASS + IPCC_MPROC_SIGNAL_SMP2P>; + + qcom,local-pid = <0>; + qcom,remote-pid = <2>; + + smp2p_adsp_out: master-kernel { + qcom,entry-name = "master-kernel"; + #qcom,smem-state-cells = <1>; + }; + + smp2p_adsp_in: slave-kernel { + qcom,entry-name = "slave-kernel"; + interrupt-controller; + #interrupt-cells = <2>; + }; + }; + + smp2p-cdsp { + compatible = "qcom,smp2p"; + qcom,smem = <94>, <432>; + interrupts-extended = <&ipcc IPCC_CLIENT_CDSP + IPCC_MPROC_SIGNAL_SMP2P + IRQ_TYPE_EDGE_RISING>; + mboxes = <&ipcc IPCC_CLIENT_CDSP + IPCC_MPROC_SIGNAL_SMP2P>; + + qcom,local-pid = <0>; + qcom,remote-pid = <5>; + + smp2p_cdsp_out: master-kernel { + qcom,entry-name = "master-kernel"; + #qcom,smem-state-cells = <1>; + }; + + smp2p_cdsp_in: slave-kernel { + qcom,entry-name = "slave-kernel"; + interrupt-controller; + #interrupt-cells = <2>; + }; + }; + soc: soc@0 { #address-cells = <2>; #size-cells = <2>; From patchwork Mon Nov 14 10:59:12 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 19684 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp2079658wru; Mon, 14 Nov 2022 03:00:15 -0800 (PST) X-Google-Smtp-Source: AA0mqf5joHUINX1EPpNPjNtCB+RYxiRx0Be7fZN7ZaTAf/GRXrGrGlsGsBjrdC32mBT7uwA1M4NE X-Received: by 2002:a17:906:49d0:b0:7a8:a957:5b4e with SMTP id w16-20020a17090649d000b007a8a9575b4emr10168726ejv.305.1668423615294; Mon, 14 Nov 2022 03:00:15 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668423615; cv=none; d=google.com; s=arc-20160816; b=v9hOWlPxir49CcOnh4aeLnJVOOEkNkq6656ICIAz71lkRmn8EzgbAfb8BU7nKBKQ/L kBxKb1EgS4/DFqUXz71hs/8ch2voVaB7mF9Y1gVrde3JksbK/EeRMLgIYxQ4u0kGFdsW xGTDKUwKfvQ9HJWNwTvjjQM2OxhU15TziqRhu6/KY59tj33KkGDvgVUHSepfVYhJth4m aKg0YpRyJp2xtwOuMLb2ozmNmENv1sgESyCLQ107vt/wpqycIcpCP4roCcsLhLn9A+5O JdzWKtDJHA86oy5I0u8u/OVpLKUvrrrznfT2q7JOyIYX3rMrdnHNBc2u34GF/BGLw8dV Bp5g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=2JOm5jWN9xRPXYMdaN1ZlzDy4ypsi7edfBi0i6SO7gc=; b=BwPc899RXdia2lyE5t2n81+cZT4Ns2tk5S+dd2yjdGjLlJFt+SldFNdXMt/tRFoGmR OgUrwDk1ojasAUm4WLrPTaXtxNqyFtVMp88pgt9j+RloC6mpAVt+1NSB0T+IzFGgINVO ymkNw8nH3uwtDX3YKKzK2fUyntTAYrHzT5w1pOXiJkHWrvmTwYBdRPIuJSHVOV6UazmO Aw6IlbkYWd44oQ4JT9FuqhPIvGvJTzf5MAsUlFymJr4cYShrYT1yzDlhl99YyAtcTh2g cxxdMxrm9NBwcfdGeaoDo7+jXXCETAdW5sq7SiEhYzbmA7CXboZI/98eJx6sReOlKYXA IHCQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=nM3NZUpY; 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 z11-20020aa7d40b000000b0045c93142111si6966262edq.70.2022.11.14.02.59.51; Mon, 14 Nov 2022 03:00:15 -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=nM3NZUpY; 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 S236318AbiKNK70 (ORCPT + 99 others); Mon, 14 Nov 2022 05:59:26 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54148 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236216AbiKNK7W (ORCPT ); Mon, 14 Nov 2022 05:59:22 -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 BF5671C10D for ; Mon, 14 Nov 2022 02:59:21 -0800 (PST) Received: by mail-ed1-x52d.google.com with SMTP id e13so7726297edj.7 for ; Mon, 14 Nov 2022 02:59:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=2JOm5jWN9xRPXYMdaN1ZlzDy4ypsi7edfBi0i6SO7gc=; b=nM3NZUpYdwyVsES7N6U6T76ClRffBnOhR6esn088EYMEfqK4S4nIxp1fAylrikCbWI xQHBPg2Rdj0+ZiOU/AQ9tKUUSMS5IAtiQYxSyBNtkpMOoSf8dsKQ4AMNjYOMfdJnqktp ctDywoTauajyHQKpE3cnnZHrBtmWYz1qLWAt3VqFxEzg9NWO3u+16z8gprxF7a/RU6wc Dw02ro4BmJlrQUM4CV4EorLStDPSHmLR2C0ei0t6+sttGMGXwURvfqwzALw3mgdgyYfR kXEQp+PCaZzSEtpu9ew9bOsKDSdynuUw4538JLDm3qScBctUuYJBidMka/tLnB6bmunr UYIA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=2JOm5jWN9xRPXYMdaN1ZlzDy4ypsi7edfBi0i6SO7gc=; b=mXMp0gL2n4YyYFAjJamPU+nVu1efCBEKI1d6/aGgbET2/dqxIot+20AULei05495/L VcCRnmNelMCri0LvtIA/kbMDeiEnFa0xwGgkQlMkcsSKPN9eSMOFlU/M51+gJT6UTU/w ZxbQS801To4IQraLzCsqSD+bqxyzZyP6PAIcLIDb/i6s+94rHf7ORz4AaYhSmaCirgjN /yuO6SZXHLF7fKDrwmoD2vrwGNIuS1ZHU8ZHQ+d3Ce3xqLeLrdvS6b3iCjs6ZBkZW+Wn idepgHOWtVaX7DxxBxwATpwF3tBcUlYORLjM0lvGdTOv9Q3WysvhS7mLLK2a+hbfuwYV G78w== X-Gm-Message-State: ANoB5pm1faojjlaNdGMbz3fEeyweHqy4QP0LDOgxBmglMmPnP5QtIoGA wXGGQ1bKxBBiNd1cTSD0uk+0NQ== X-Received: by 2002:aa7:d497:0:b0:45c:a651:8849 with SMTP id b23-20020aa7d497000000b0045ca6518849mr10643340edr.209.1668423560389; Mon, 14 Nov 2022 02:59:20 -0800 (PST) Received: from localhost.localdomain ([194.29.137.22]) by smtp.gmail.com with ESMTPSA id 9-20020a170906210900b007a4e02e32ffsm4036308ejt.60.2022.11.14.02.59.19 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Mon, 14 Nov 2022 02:59:20 -0800 (PST) From: Konrad Dybcio To: linux-arm-msm@vger.kernel.org, andersson@kernel.org, agross@kernel.org, krzysztof.kozlowski@linaro.org Cc: patches@linaro.org, Konrad Dybcio , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 2/3] arm64: dts: qcom: sm6375: Add ADSP&CDSP Date: Mon, 14 Nov 2022 11:59:12 +0100 Message-Id: <20221114105913.37044-3-konrad.dybcio@linaro.org> X-Mailer: git-send-email 2.32.0 (Apple Git-132) In-Reply-To: <20221114105913.37044-1-konrad.dybcio@linaro.org> References: <20221114105913.37044-1-konrad.dybcio@linaro.org> MIME-Version: 1.0 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?1749468960896422127?= X-GMAIL-MSGID: =?utf-8?q?1749468960896422127?= Add ADSP & CDSP remote processors. Signed-off-by: Konrad Dybcio --- arch/arm64/boot/dts/qcom/sm6375.dtsi | 73 ++++++++++++++++++++++++++++ 1 file changed, 73 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sm6375.dtsi b/arch/arm64/boot/dts/qcom/sm6375.dtsi index a904fe5dd9dc..ca2f99333abd 100644 --- a/arch/arm64/boot/dts/qcom/sm6375.dtsi +++ b/arch/arm64/boot/dts/qcom/sm6375.dtsi @@ -1358,6 +1358,79 @@ dispcc: clock-controller@5f00000 { #reset-cells = <1>; }; + remoteproc_adsp: remoteproc@a400000 { + compatible = "qcom,sm6375-adsp-pas"; + reg = <0 0x0a400000 0 0x100>; + + interrupts-extended = <&intc GIC_SPI 282 IRQ_TYPE_LEVEL_HIGH>, + <&smp2p_adsp_in 0 IRQ_TYPE_EDGE_RISING>, + <&smp2p_adsp_in 1 IRQ_TYPE_EDGE_RISING>, + <&smp2p_adsp_in 2 IRQ_TYPE_EDGE_RISING>, + <&smp2p_adsp_in 3 IRQ_TYPE_EDGE_RISING>; + interrupt-names = "wdog", "fatal", "ready", + "handover", "stop-ack"; + + clocks = <&rpmcc RPM_SMD_XO_CLK_SRC>; + clock-names = "xo"; + + power-domains = <&rpmpd SM6375_VDD_LPI_CX>, + <&rpmpd SM6375_VDD_LPI_MX>; + power-domain-names = "lcx", "lmx"; + + memory-region = <&pil_adsp_mem>; + + qcom,smem-states = <&smp2p_adsp_out 0>; + qcom,smem-state-names = "stop"; + + status = "disabled"; + + glink-edge { + interrupts-extended = <&ipcc IPCC_CLIENT_LPASS + IPCC_MPROC_SIGNAL_GLINK_QMP + IRQ_TYPE_EDGE_RISING>; + mboxes = <&ipcc IPCC_CLIENT_LPASS + IPCC_MPROC_SIGNAL_GLINK_QMP>; + + label = "lpass"; + qcom,remote-pid = <2>; + }; + }; + + remoteproc_cdsp: remoteproc@b000000 { + compatible = "qcom,sm6375-cdsp-pas"; + reg = <0x0 0x0b000000 0x0 0x100000>; + + interrupts-extended = <&intc GIC_SPI 265 IRQ_TYPE_EDGE_RISING>, + <&smp2p_cdsp_in 0 IRQ_TYPE_EDGE_RISING>, + <&smp2p_cdsp_in 1 IRQ_TYPE_EDGE_RISING>, + <&smp2p_cdsp_in 2 IRQ_TYPE_EDGE_RISING>, + <&smp2p_cdsp_in 3 IRQ_TYPE_EDGE_RISING>; + interrupt-names = "wdog", "fatal", "ready", + "handover", "stop-ack"; + + clocks = <&rpmcc RPM_SMD_XO_CLK_SRC>; + clock-names = "xo"; + + power-domains = <&rpmpd SM6375_VDDCX>; + + memory-region = <&pil_cdsp_mem>; + + qcom,smem-states = <&smp2p_cdsp_out 0>; + qcom,smem-state-names = "stop"; + + status = "disabled"; + + glink-edge { + interrupts-extended = <&ipcc IPCC_CLIENT_CDSP + IPCC_MPROC_SIGNAL_GLINK_QMP + IRQ_TYPE_EDGE_RISING>; + mboxes = <&ipcc IPCC_CLIENT_CDSP + IPCC_MPROC_SIGNAL_GLINK_QMP>; + label = "cdsp"; + qcom,remote-pid = <5>; + }; + }; + apps_smmu: iommu@c600000 { compatible = "qcom,sm6375-smmu-500", "arm,mmu-500"; reg = <0 0x0c600000 0 0x100000>; From patchwork Mon Nov 14 10:59:13 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 19686 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp2080247wru; Mon, 14 Nov 2022 03:01:19 -0800 (PST) X-Google-Smtp-Source: AA0mqf5NGQGDUV2S3O5rg7tr/xwX0xsoBtlNaHninUIOHh8x1tMSZGzDdVeHyQoQ+tbwOUymZB/V X-Received: by 2002:a17:906:33da:b0:78d:b046:aaae with SMTP id w26-20020a17090633da00b0078db046aaaemr9483368eja.218.1668423679200; Mon, 14 Nov 2022 03:01:19 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668423679; cv=none; d=google.com; s=arc-20160816; b=eBe03LGiNzyIo09nZM4NKuaImUzL/+FJZiHQpLZediYBHqlGmvRjPBH6GHQbIdA5/o g8sGir2GF3JhJepTofzczElFrhrPKBSw9JtI8WOw+ow7vTeWTv4xZ/dP+6+Vr3yaoPGh aJuHj7hEIyUmcDkyOoExH4XeCXOsyNb76gNQ4wohKWStQiWxHTsiZE705ShLm8aRUT6e k2axYuhpsCODibKh1nMK1K4uBjXwR29GNugOovytl+XEYfUc+5zPwACAbRAeH58fzvCt 2SExS3yV8WnqVgU50CLGqvBn7YEeg5/pGv+QcazCXnqlNGpCJ9K1xL2FhL9rleIfgo1q /WoQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=TFo6xyXzYm1Z62iYsNaJ8ArmDJI5GLoTpJMyLcKsERg=; b=RP8A2K3li5sShbT2/f7l4neiQ/wujuIWRc/BXzr0Q/Z1vj9vl1P0AyJG4dVUvP76UE pQq5jY9WPY/kMamn5Gsr7Q3IHxbu0Sk/W9bTYTnGh6ouc2uQ7E2gkLjxU3vZzE4fTbwd InNRqIcfeJGWyzZlaLn1G//2rTNKtyPpbH0svUxq2Y8b3/+hKWByLK9ger/C3VQb2piW FbzxNP36I79UBVcVdNSXdHf5uhpteNCKaRIbz80B33iVpR1YdJqYT+CMMw4MHR8Gjp+3 ryJkBk5dQqgYQ8YXGO0/2X4RTcmUF43LnCeZRRAdoTfv0ideILy3+s1YYA5SZiFGkJjI 61iw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Ri+2vTND; 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 gb17-20020a170907961100b007827639faffsi8955508ejc.760.2022.11.14.03.00.55; Mon, 14 Nov 2022 03:01:19 -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=Ri+2vTND; 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 S236376AbiKNK73 (ORCPT + 99 others); Mon, 14 Nov 2022 05:59:29 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54170 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236316AbiKNK7Y (ORCPT ); Mon, 14 Nov 2022 05:59:24 -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 5397613DC3 for ; Mon, 14 Nov 2022 02:59:23 -0800 (PST) Received: by mail-ed1-x52a.google.com with SMTP id u24so16653844edd.13 for ; Mon, 14 Nov 2022 02:59:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=TFo6xyXzYm1Z62iYsNaJ8ArmDJI5GLoTpJMyLcKsERg=; b=Ri+2vTNDvigT+aG4H1KgN64EAR0ptZzMaKxGsKFn2h3BI+WhllUqRbpLVsu0Q63Aeg S7EVSsYBGL49Q7AxLfsID4aHPXnP99HwgncT1REK3RkpVhhLsHVoiCjc5xgowFgAGogK Zmy6GEd9Z5/eQ3lg5ZnvocewVT5tT9+F/jcU8wQzcB48uUCIPsOnCobdu0Ue1I2Yx7BO vRTDybPzGN5q2NIMI8x09xLHVh+kOtRmg6407ZHB+Xmm5zGzoHZWdq/fD8nLXxyOzH1u sMEGfmnZMEHC6JU8BFnli7cfsEq6jInacSujBjDdI/YcqllwWnSnuijXQDkK8sEhX0JP YC3Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=TFo6xyXzYm1Z62iYsNaJ8ArmDJI5GLoTpJMyLcKsERg=; b=cNEnlHPBMzDMKNycUN1BTW2YNR4iDrHDpGjnI+JOVBGwdFPPmDhpgdU1lIohkZQ+9G h8zfNzvPQYACWkJuSBNJ6fwHeQ3Ih/G+gDi+1RvSoJ3JFTze4Md1UEKQrjH5HInX/rnX c5+R1+xXzs2QBKoWXb9klmwN0qjtdgM/rq8WxYeYD9pBTVm89Cxvbc0bM69yhGpmq7O3 ZljqBlrT5fitbtV/39Z5kDIf+xT1jvnLaldFKTlL9e3+UodgdJ9Wby2LmtAA3XYe72Pg MVyAdmHTa37PjDiHcpvBSLqpX6UH/0gUa6R5pmWTZjDA/GYVBso3KQ3eUxvVPCZkFAvd PJng== X-Gm-Message-State: ANoB5pmuOfZJRPN35aqF4asQZJNbkXDBlw0NU2pS1mzkNQJRc3RMMNWz ZyjykokprSuLdZQu48YlnPp3OQ== X-Received: by 2002:a05:6402:17d0:b0:458:d064:a8c2 with SMTP id s16-20020a05640217d000b00458d064a8c2mr10642182edy.346.1668423561949; Mon, 14 Nov 2022 02:59:21 -0800 (PST) Received: from localhost.localdomain ([194.29.137.22]) by smtp.gmail.com with ESMTPSA id 9-20020a170906210900b007a4e02e32ffsm4036308ejt.60.2022.11.14.02.59.20 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Mon, 14 Nov 2022 02:59:21 -0800 (PST) From: Konrad Dybcio To: linux-arm-msm@vger.kernel.org, andersson@kernel.org, agross@kernel.org, krzysztof.kozlowski@linaro.org Cc: patches@linaro.org, Konrad Dybcio , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 3/3] arm64: dts: qcom: sm6375-pdx225: Enable ADSP & CDSP Date: Mon, 14 Nov 2022 11:59:13 +0100 Message-Id: <20221114105913.37044-4-konrad.dybcio@linaro.org> X-Mailer: git-send-email 2.32.0 (Apple Git-132) In-Reply-To: <20221114105913.37044-1-konrad.dybcio@linaro.org> References: <20221114105913.37044-1-konrad.dybcio@linaro.org> MIME-Version: 1.0 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?1749469027715599754?= X-GMAIL-MSGID: =?utf-8?q?1749469027715599754?= Enable the newly added remote processors and assign them a firmware path. Signed-off-by: Konrad Dybcio --- .../boot/dts/qcom/sm6375-sony-xperia-murray-pdx225.dts | 10 ++++++++++ 1 file changed, 10 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 4741b9120aa2..25b0c5a33c74 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 @@ -123,6 +123,16 @@ &qupv3_id_1 { status = "okay"; }; +&remoteproc_adsp { + firmware-name = "qcom/Sony/murray/adsp.mbn"; + status = "okay"; +}; + +&remoteproc_cdsp { + firmware-name = "qcom/Sony/murray/cdsp.mbn"; + status = "okay"; +}; + &rpm_requests { regulators-0 { compatible = "qcom,rpm-pm6125-regulators";