From patchwork Thu Jun 11 15:29:44 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Suman Anna X-Patchwork-Id: 187812 Delivered-To: patch@linaro.org Received: by 2002:a92:cf06:0:0:0:0:0 with SMTP id c6csp1503596ilo; Thu, 11 Jun 2020 08:30:04 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwlcUkeYzholKPZo5eHZoWxk8z/Tj6I0gSY2o0VX/3lBovD4bsxSw7oOJph9xNY24Yrq0s3 X-Received: by 2002:a17:906:28da:: with SMTP id p26mr8461120ejd.551.1591889403958; Thu, 11 Jun 2020 08:30:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1591889403; cv=none; d=google.com; s=arc-20160816; b=XKuyuXoErhuMAJbXp01Ddx3Blw4CG7jtv+0lYxkpIjkZ0wUv9BZCfm77jhSr1hmH// abyGmqOUlHd0iUzPKhGMr4EmtBurB5K/6zio5TgQEAmCOUNLK0x2h4bau9qYVC4WpzgY a1RE2sSJCEobNJcnjOGMEusXkTyceyib5OVXsvK/SwZK+beBC4zi7D+vU8XfrojUoAf3 Jo7+YnQQtRS99FzsHmo9F2tSrioznCR+Jfw/7oaptCZubNmLYB9V/2UaAqFRAAR0IlZB s7WEEK80M7eNGdZA7SrnyZnuQsfnjLsesSZn6AJy2H6Kmxkz6Xyz049w2xI1ojOeGZf4 DzoQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=hbtuhUNZ9tzwg2QjtHoSOIKYGRSF668PaftacXVIw3Y=; b=eIdvHwW0GOA6FpsIZM6xPMSIwRC2n4wDyUZosSCw/SnEBC9bITsucb1wVJvs9Qa42F Cs9K1gCutBLylhVt/Ik98cbcyPxpkILKOMdaPPE29kMHznxOICewgGmp9yFI720MKQDm zRZ5KoZtftSfJBPtrUFvpPZX9xi6BNskaPzQ7LLFWxMzCa7Zd1jiMSJzewK4irZh75Cu PNNxMaFuy6YeUjYmaZe9QicLpcUNRQovGtyexK1I+VEwm/B8Zl1G7iZOFOvUEuOug8uP Zx7ggJJEgxmXVpyR6Z6tZoNdfrW6Ibiw1BP3cBEUNUPVhUaLwCO7x9d7LaBuGSrZ1xDx n8Jg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b="uhChi/QN"; spf=pass (google.com: domain of devicetree-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id u2si2055835edx.353.2020.06.11.08.30.03; Thu, 11 Jun 2020 08:30:03 -0700 (PDT) Received-SPF: pass (google.com: domain of devicetree-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b="uhChi/QN"; spf=pass (google.com: domain of devicetree-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728643AbgFKP37 (ORCPT + 6 others); Thu, 11 Jun 2020 11:29:59 -0400 Received: from lelv0142.ext.ti.com ([198.47.23.249]:50272 "EHLO lelv0142.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728411AbgFKP36 (ORCPT ); Thu, 11 Jun 2020 11:29:58 -0400 Received: from lelv0266.itg.ti.com ([10.180.67.225]) by lelv0142.ext.ti.com (8.15.2/8.15.2) with ESMTP id 05BFTtIv130248; Thu, 11 Jun 2020 10:29:55 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1591889395; bh=hbtuhUNZ9tzwg2QjtHoSOIKYGRSF668PaftacXVIw3Y=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=uhChi/QNSJPqJWTW3VjDEL066AKDT5+gTcLwHyQLVw5m7hXVv4enjpYse4xWwsPDg cojtk5idlOaciAcz9OjygM6waMeYkgVc1NBaRyrHPQZ6Yq8o65NwGaCnYAU2zC7Hkv 4GzZfuQo5frwrwhM+SIdGaKxVZwDa6shAphRA3AE= Received: from DLEE109.ent.ti.com (dlee109.ent.ti.com [157.170.170.41]) by lelv0266.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 05BFTt4a083053 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Thu, 11 Jun 2020 10:29:55 -0500 Received: from DLEE104.ent.ti.com (157.170.170.34) by DLEE109.ent.ti.com (157.170.170.41) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1979.3; Thu, 11 Jun 2020 10:29:55 -0500 Received: from lelv0326.itg.ti.com (10.180.67.84) by DLEE104.ent.ti.com (157.170.170.34) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1979.3 via Frontend Transport; Thu, 11 Jun 2020 10:29:54 -0500 Received: from lelv0597.itg.ti.com (lelv0597.itg.ti.com [10.181.64.32]) by lelv0326.itg.ti.com (8.15.2/8.15.2) with ESMTP id 05BFTswZ021089; Thu, 11 Jun 2020 10:29:54 -0500 Received: from localhost ([10.250.48.148]) by lelv0597.itg.ti.com (8.14.7/8.14.7) with ESMTP id 05BFTsVs085866; Thu, 11 Jun 2020 10:29:54 -0500 From: Suman Anna To: Tony Lindgren CC: Jason Kridner , Caleb Robey , Drew Fustini , Robert Nelson , , , , Suman Anna Subject: [PATCH 1/2] ARM: dts: am5729-beaglebone-ai: Enable IPU & DSP rprocs Date: Thu, 11 Jun 2020 10:29:44 -0500 Message-ID: <20200611152945.27656-2-s-anna@ti.com> X-Mailer: git-send-email 2.26.0 In-Reply-To: <20200611152945.27656-1-s-anna@ti.com> References: <20200611152945.27656-1-s-anna@ti.com> MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Assign the previously added CMA reserved memory nodes to the respective IPU and DSP rproc device nodes, and enable these rproc nodes so that these remote processors can be booted on the AM5729 BeagleBone AI board. The addresses and sizes of the CMA pools are identical to those used on various other TI AM572x/AM574x based boards. The mailboxes, timers and watchdog-timers for all these remoteprocs are inherited by including the common dra72-ipu-dsp-common.dtsi file. An associated pair of the rproc node and its CMA node can be disabled later on if there is no use-case defined to use that remote processor. Signed-off-by: Suman Anna --- arch/arm/boot/dts/am5729-beagleboneai.dts | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) -- 2.26.0 diff --git a/arch/arm/boot/dts/am5729-beagleboneai.dts b/arch/arm/boot/dts/am5729-beagleboneai.dts index 9877d7709d41..619e75927224 100644 --- a/arch/arm/boot/dts/am5729-beagleboneai.dts +++ b/arch/arm/boot/dts/am5729-beagleboneai.dts @@ -8,6 +8,7 @@ #include "dra74x.dtsi" #include "am57xx-commercial-grade.dtsi" #include "dra74x-mmc-iodelay.dtsi" +#include "dra74-ipu-dsp-common.dtsi" #include #include #include @@ -729,3 +730,23 @@ opp_slow-500000000 { opp-shared; }; }; + +&ipu2 { + status = "okay"; + memory-region = <&ipu2_memory_region>; +}; + +&ipu1 { + status = "okay"; + memory-region = <&ipu1_memory_region>; +}; + +&dsp1 { + status = "okay"; + memory-region = <&dsp1_memory_region>; +}; + +&dsp2 { + status = "okay"; + memory-region = <&dsp2_memory_region>; +}; From patchwork Thu Jun 11 15:29:45 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Suman Anna X-Patchwork-Id: 187813 Delivered-To: patch@linaro.org Received: by 2002:a92:cf06:0:0:0:0:0 with SMTP id c6csp1503631ilo; Thu, 11 Jun 2020 08:30:06 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxtLM0a/HcVs3bjfPOp4Mw4AOdG5nW9Vc9EKTqi9QaFOO8uAA1HfWP4fHrc1LKys20Pd9Wv X-Received: by 2002:aa7:d7cc:: with SMTP id e12mr7209978eds.70.1591889406085; Thu, 11 Jun 2020 08:30:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1591889406; cv=none; d=google.com; s=arc-20160816; b=I1tTLF+bw7NCOJ7U88bNuKtcf71h/oS+jQn+HcpbYnC/yrlyrezonkRY081ZiDFDMa voJBywVC5EFg1kYBa9nD3Hglsp6PVAhofHbxfq9TqoUnpxRIG3vHLBGbmmJVrisDDJOI QtBV7reQLtc4+x7gSNh/Fy57AKJ/Hpr2VJrVjpjoHO/hbXXbTnEWldW+DhGWm3Fs0jA9 VgZtBGMR3XV56RnMiyWB2K63zWuyTgqQGGTghX2OL5ZjMJCLSzXWiV0zEYjRRlYtRNbI LyXHJy4AZMCzwYwG2s7O/92IZXub1j6hEsP9KEBGC+kN51yn3ym+lMrMC3uRQcQhlfIt ICJA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=Ts4mOPmUuwp74G9T2QNmDc9S2nOXuXjnktWeWg0tJhE=; b=okBD+Gx+HkWx8lu6n7PEHf/MhBj7N2jpskQcyKZ6TNqsn2um6O7nmJmJgvVZ5nte7z LtTB6bSwaxJRXxZY7AKegE8Hlj+BCd2etn9VP1c24NVUaF8PbwZis/n9YVZSRVYXNSbc SB8yOLCfyTTyWIuoynMt1512b1jd2q5Clu9EJjXZ2nJCpC5XJEaX4nTV3cQoofXYo9vF y7iYNf19jlRO/oQtrFq6FYBZFo+48ZkH/M0AGuPPI929agmjD3pjr+G/tiLsox5Xj7wC kNV9iyG82wvz8x2YKLZxzQjJ+MdQt4kJUx1gYqBGdDmtQFZBt9JdbvmE6Vek5wDFbYXY LX4w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=JNIGK39a; spf=pass (google.com: domain of devicetree-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id u2si2055835edx.353.2020.06.11.08.30.05; Thu, 11 Jun 2020 08:30:06 -0700 (PDT) Received-SPF: pass (google.com: domain of devicetree-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=JNIGK39a; spf=pass (google.com: domain of devicetree-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728666AbgFKPaE (ORCPT + 6 others); Thu, 11 Jun 2020 11:30:04 -0400 Received: from lelv0143.ext.ti.com ([198.47.23.248]:56140 "EHLO lelv0143.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728411AbgFKPaB (ORCPT ); Thu, 11 Jun 2020 11:30:01 -0400 Received: from fllv0034.itg.ti.com ([10.64.40.246]) by lelv0143.ext.ti.com (8.15.2/8.15.2) with ESMTP id 05BFTwhu011625; Thu, 11 Jun 2020 10:29:58 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1591889398; bh=Ts4mOPmUuwp74G9T2QNmDc9S2nOXuXjnktWeWg0tJhE=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=JNIGK39aypt0c6wbZOXG5zQIKDoTZMuHIBsuuwFUsbFxheXyBVzMyjBUyfOcNT+mZ P0pYewUA86E6gH77kMePNW9exU+bGU2L3Gqcfk7gR2ziRd1yeZLAH91jRe63uv2a9D qbDTNYzuvY7V+rN37xV0pS/EZq0KzexO9UeE5JSE= Received: from DFLE104.ent.ti.com (dfle104.ent.ti.com [10.64.6.25]) by fllv0034.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 05BFTwaq040509 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Thu, 11 Jun 2020 10:29:58 -0500 Received: from DFLE105.ent.ti.com (10.64.6.26) by DFLE104.ent.ti.com (10.64.6.25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1979.3; Thu, 11 Jun 2020 10:29:55 -0500 Received: from lelv0326.itg.ti.com (10.180.67.84) by DFLE105.ent.ti.com (10.64.6.26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1979.3 via Frontend Transport; Thu, 11 Jun 2020 10:29:55 -0500 Received: from lelv0597.itg.ti.com (lelv0597.itg.ti.com [10.181.64.32]) by lelv0326.itg.ti.com (8.15.2/8.15.2) with ESMTP id 05BFTtAK021115; Thu, 11 Jun 2020 10:29:55 -0500 Received: from localhost ([10.250.48.148]) by lelv0597.itg.ti.com (8.14.7/8.14.7) with ESMTP id 05BFTtiE085869; Thu, 11 Jun 2020 10:29:55 -0500 From: Suman Anna To: Tony Lindgren CC: Jason Kridner , Caleb Robey , Drew Fustini , Robert Nelson , , , , Suman Anna Subject: [PATCH 2/2] ARM: dts: am5729-beaglebone-ai: Disable ununsed mailboxes Date: Thu, 11 Jun 2020 10:29:45 -0500 Message-ID: <20200611152945.27656-3-s-anna@ti.com> X-Mailer: git-send-email 2.26.0 In-Reply-To: <20200611152945.27656-1-s-anna@ti.com> References: <20200611152945.27656-1-s-anna@ti.com> MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org The IPU and DSP remote processors use sub-mailbox nodes only from a limited set of System Mailboxes 5 and 6 to achieve the Remote Processor Messaging (RPMsg) communication stack between the MPU host processor and the respective remote processor. These are all defined and enabled through the inherited common dra74-ipu-dsp-common.dtsi file. The other System Mailboxes do not define any actual sub-mailboxes, so they serve no purpose and can all be safely dropped. Signed-off-by: Suman Anna --- arch/arm/boot/dts/am5729-beagleboneai.dts | 52 ----------------------- 1 file changed, 52 deletions(-) -- 2.26.0 diff --git a/arch/arm/boot/dts/am5729-beagleboneai.dts b/arch/arm/boot/dts/am5729-beagleboneai.dts index 619e75927224..d3e345d6634a 100644 --- a/arch/arm/boot/dts/am5729-beagleboneai.dts +++ b/arch/arm/boot/dts/am5729-beagleboneai.dts @@ -630,58 +630,6 @@ &bandgap { status = "okay"; }; -&mailbox1 { - status = "okay"; -}; - -&mailbox2 { - status = "okay"; -}; - -&mailbox3 { - status = "okay"; -}; - -&mailbox4 { - status = "okay"; -}; - -&mailbox5 { - status = "okay"; -}; - -&mailbox6 { - status = "okay"; -}; - -&mailbox7 { - status = "okay"; -}; - -&mailbox8 { - status = "okay"; -}; - -&mailbox9 { - status = "okay"; -}; - -&mailbox10 { - status = "okay"; -}; - -&mailbox11 { - status = "okay"; -}; - -&mailbox12 { - status = "okay"; -}; - -&mailbox13 { - status = "okay"; -}; - &cpu_alert0 { temperature = <55000>; /* milliCelsius */ };