From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-17.6 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_CR_TRAILER,INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, USER_AGENT_SANE_1 autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 8C8B2C433EF for ; Tue, 14 Sep 2021 20:16:41 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 72ABC60724 for ; Tue, 14 Sep 2021 20:16:41 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233406AbhINUR6 (ORCPT ); Tue, 14 Sep 2021 16:17:58 -0400 Received: from fllv0016.ext.ti.com ([198.47.19.142]:38726 "EHLO fllv0016.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232545AbhINUR4 (ORCPT ); Tue, 14 Sep 2021 16:17:56 -0400 Received: from lelv0266.itg.ti.com ([10.180.67.225]) by fllv0016.ext.ti.com (8.15.2/8.15.2) with ESMTP id 18EKGX3m118731; Tue, 14 Sep 2021 15:16:33 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1631650593; bh=uWPQHA6IGjfDQPaAbnzSASJkiTweOzUE4gDEBM2O0tU=; h=Date:From:To:CC:Subject:References:In-Reply-To; b=EW6pD1vnBi/Yk6vGXT2dl9WZvbBND/dvVD3DrmlADqZo3XXleeRIjbXHU6kOJbW1q QZ5EQeV9yEEZJi2+HNyJ2CJ1uQ/pJbOpgYul87ar7nuZ8MQu0Ya5+hXINL6xCQkoKp h9CZ/gqniNJ13D/S7WLaYISrTdtr1vKxFdoI9qbU= Received: from DFLE114.ent.ti.com (dfle114.ent.ti.com [10.64.6.35]) by lelv0266.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 18EKGXFx076008 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Tue, 14 Sep 2021 15:16:33 -0500 Received: from DFLE100.ent.ti.com (10.64.6.21) by DFLE114.ent.ti.com (10.64.6.35) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2308.14; Tue, 14 Sep 2021 15:16:32 -0500 Received: from fllv0040.itg.ti.com (10.64.41.20) by DFLE100.ent.ti.com (10.64.6.21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2308.14 via Frontend Transport; Tue, 14 Sep 2021 15:16:32 -0500 Received: from localhost (ileax41-snat.itg.ti.com [10.172.224.153]) by fllv0040.itg.ti.com (8.15.2/8.15.2) with ESMTP id 18EKGWrH111951; Tue, 14 Sep 2021 15:16:32 -0500 Date: Tue, 14 Sep 2021 15:16:32 -0500 From: Nishanth Menon To: Jan Kiszka CC: Tero Kristo , Rob Herring , , , , Bao Cheng Su , Chao Zeng Subject: Re: [PATCH v3 3/5] arm64: dts: ti: iot2050: Add/enabled mailboxes and carve-outs for R5F cores Message-ID: <20210914201632.q5ato3bkvk3qd34s@easiness> References: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: User-Agent: NeoMutt/20171215 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 21:41-20210909, Jan Kiszka wrote: > From: Jan Kiszka > > Analogously to the am654-base-board, configure the mailboxes for the the s/the the/the -> could you checkpatch and dtbs_checks please? > two R5F cores, add them and the already existing memory carve-outs to > the related MCU nodes. Allows to load applications under Linux onto the > cores, e.g. the RTI watchdog firmware. > > Signed-off-by: Jan Kiszka > --- > .../boot/dts/ti/k3-am65-iot2050-common.dtsi | 26 +++++++++++++++++-- > 1 file changed, 24 insertions(+), 2 deletions(-) > > diff --git a/arch/arm64/boot/dts/ti/k3-am65-iot2050-common.dtsi b/arch/arm64/boot/dts/ti/k3-am65-iot2050-common.dtsi > index 58c8e64d5885..b29537088289 100644 > --- a/arch/arm64/boot/dts/ti/k3-am65-iot2050-common.dtsi > +++ b/arch/arm64/boot/dts/ti/k3-am65-iot2050-common.dtsi > @@ -658,11 +658,21 @@ &pcie1_ep { > }; > > &mailbox0_cluster0 { > - status = "disabled"; > + interrupts = <436>; > + > + mbox_mcu_r5fss0_core0: mbox-mcu-r5fss0-core0 { > + ti,mbox-tx = <1 0 0>; > + ti,mbox-rx = <0 0 0>; > + }; > }; > > &mailbox0_cluster1 { > - status = "disabled"; > + interrupts = <432>; > + > + mbox_mcu_r5fss0_core1: mbox-mcu-r5fss0-core1 { > + ti,mbox-tx = <1 0 0>; > + ti,mbox-rx = <0 0 0>; > + }; > }; > > &mailbox0_cluster2 { > @@ -705,6 +715,18 @@ &mailbox0_cluster11 { > status = "disabled"; > }; > > +&mcu_r5fss0_core0 { > + memory-region = <&mcu_r5fss0_core0_dma_memory_region>, > + <&mcu_r5fss0_core0_memory_region>; > + mboxes = <&mailbox0_cluster0 &mbox_mcu_r5fss0_core0>; > +}; > + > +&mcu_r5fss0_core1 { > + memory-region = <&mcu_r5fss0_core1_dma_memory_region>, > + <&mcu_r5fss0_core1_memory_region>; > + mboxes = <&mailbox0_cluster1 &mbox_mcu_r5fss0_core1>; > +}; > + > &icssg0_mdio { > status = "disabled"; > }; > -- > 2.31.1 > -- Regards, Nishanth Menon Key (0xDDB5849D1736249D) / Fingerprint: F8A2 8693 54EB 8232 17A3 1A34 DDB5 849D 1736 249D From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-15.6 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 60FCEC433EF for ; Tue, 14 Sep 2021 20:18:34 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 20BBD6023F for ; Tue, 14 Sep 2021 20:18:34 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 20BBD6023F Authentication-Results: mail.kernel.org; dmarc=fail (p=quarantine dis=none) header.from=ti.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:CC:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=L5702cn8hLutse1N4K8vrNsc6/SMZJ6gSVny1E5wmYU=; b=qUFW4PKU27zMzh bI++w+3qmmDCMMemV5tKtGBS/TsazQdigIPuLgcaWS9nASXy11PZvJgtwApPxDm5KrfxfcUDKWmer rHzihpcrojmRoHyTUEpS8WD+mK9i8shZ4irZNXGmvFBqdtLHBc3dnLSq1z7Gpy6HRGEyqeXFHoAZ1 Z73Mp7dd22cZSEJRuK9sBlq0QUE4pj1IhtnExznzy3EEFElI0v2r1W+4q0p1UQ2VXKNt3++xC+8jn YAyNYnXFQiQiNPgs6bkmjby33Jzn5ZDzAaub0+bSrl3aE9uj2Fopffz+9/d6JXvdB8N1cbM/mQ6Ca g6nK7fKgvTNLLF9BajxA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mQEr8-006znv-Nm; Tue, 14 Sep 2021 20:16:38 +0000 Received: from fllv0016.ext.ti.com ([198.47.19.142]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mQEr4-006znA-Lh for linux-arm-kernel@lists.infradead.org; Tue, 14 Sep 2021 20:16:36 +0000 Received: from lelv0266.itg.ti.com ([10.180.67.225]) by fllv0016.ext.ti.com (8.15.2/8.15.2) with ESMTP id 18EKGX3m118731; Tue, 14 Sep 2021 15:16:33 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1631650593; bh=uWPQHA6IGjfDQPaAbnzSASJkiTweOzUE4gDEBM2O0tU=; h=Date:From:To:CC:Subject:References:In-Reply-To; b=EW6pD1vnBi/Yk6vGXT2dl9WZvbBND/dvVD3DrmlADqZo3XXleeRIjbXHU6kOJbW1q QZ5EQeV9yEEZJi2+HNyJ2CJ1uQ/pJbOpgYul87ar7nuZ8MQu0Ya5+hXINL6xCQkoKp h9CZ/gqniNJ13D/S7WLaYISrTdtr1vKxFdoI9qbU= Received: from DFLE114.ent.ti.com (dfle114.ent.ti.com [10.64.6.35]) by lelv0266.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 18EKGXFx076008 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Tue, 14 Sep 2021 15:16:33 -0500 Received: from DFLE100.ent.ti.com (10.64.6.21) by DFLE114.ent.ti.com (10.64.6.35) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2308.14; Tue, 14 Sep 2021 15:16:32 -0500 Received: from fllv0040.itg.ti.com (10.64.41.20) by DFLE100.ent.ti.com (10.64.6.21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2308.14 via Frontend Transport; Tue, 14 Sep 2021 15:16:32 -0500 Received: from localhost (ileax41-snat.itg.ti.com [10.172.224.153]) by fllv0040.itg.ti.com (8.15.2/8.15.2) with ESMTP id 18EKGWrH111951; Tue, 14 Sep 2021 15:16:32 -0500 Date: Tue, 14 Sep 2021 15:16:32 -0500 From: Nishanth Menon To: Jan Kiszka CC: Tero Kristo , Rob Herring , , , , Bao Cheng Su , Chao Zeng Subject: Re: [PATCH v3 3/5] arm64: dts: ti: iot2050: Add/enabled mailboxes and carve-outs for R5F cores Message-ID: <20210914201632.q5ato3bkvk3qd34s@easiness> References: MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: User-Agent: NeoMutt/20171215 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210914_131634_837523_EFF2215C X-CRM114-Status: GOOD ( 17.62 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On 21:41-20210909, Jan Kiszka wrote: > From: Jan Kiszka > > Analogously to the am654-base-board, configure the mailboxes for the the s/the the/the -> could you checkpatch and dtbs_checks please? > two R5F cores, add them and the already existing memory carve-outs to > the related MCU nodes. Allows to load applications under Linux onto the > cores, e.g. the RTI watchdog firmware. > > Signed-off-by: Jan Kiszka > --- > .../boot/dts/ti/k3-am65-iot2050-common.dtsi | 26 +++++++++++++++++-- > 1 file changed, 24 insertions(+), 2 deletions(-) > > diff --git a/arch/arm64/boot/dts/ti/k3-am65-iot2050-common.dtsi b/arch/arm64/boot/dts/ti/k3-am65-iot2050-common.dtsi > index 58c8e64d5885..b29537088289 100644 > --- a/arch/arm64/boot/dts/ti/k3-am65-iot2050-common.dtsi > +++ b/arch/arm64/boot/dts/ti/k3-am65-iot2050-common.dtsi > @@ -658,11 +658,21 @@ &pcie1_ep { > }; > > &mailbox0_cluster0 { > - status = "disabled"; > + interrupts = <436>; > + > + mbox_mcu_r5fss0_core0: mbox-mcu-r5fss0-core0 { > + ti,mbox-tx = <1 0 0>; > + ti,mbox-rx = <0 0 0>; > + }; > }; > > &mailbox0_cluster1 { > - status = "disabled"; > + interrupts = <432>; > + > + mbox_mcu_r5fss0_core1: mbox-mcu-r5fss0-core1 { > + ti,mbox-tx = <1 0 0>; > + ti,mbox-rx = <0 0 0>; > + }; > }; > > &mailbox0_cluster2 { > @@ -705,6 +715,18 @@ &mailbox0_cluster11 { > status = "disabled"; > }; > > +&mcu_r5fss0_core0 { > + memory-region = <&mcu_r5fss0_core0_dma_memory_region>, > + <&mcu_r5fss0_core0_memory_region>; > + mboxes = <&mailbox0_cluster0 &mbox_mcu_r5fss0_core0>; > +}; > + > +&mcu_r5fss0_core1 { > + memory-region = <&mcu_r5fss0_core1_dma_memory_region>, > + <&mcu_r5fss0_core1_memory_region>; > + mboxes = <&mailbox0_cluster1 &mbox_mcu_r5fss0_core1>; > +}; > + > &icssg0_mdio { > status = "disabled"; > }; > -- > 2.31.1 > -- Regards, Nishanth Menon Key (0xDDB5849D1736249D) / Fingerprint: F8A2 8693 54EB 8232 17A3 1A34 DDB5 849D 1736 249D _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel