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 Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id B9714C433EF for ; Tue, 7 Dec 2021 13:21:35 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237020AbhLGNZF (ORCPT ); Tue, 7 Dec 2021 08:25:05 -0500 Received: from fllv0016.ext.ti.com ([198.47.19.142]:36662 "EHLO fllv0016.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232535AbhLGNZC (ORCPT ); Tue, 7 Dec 2021 08:25:02 -0500 Received: from fllv0034.itg.ti.com ([10.64.40.246]) by fllv0016.ext.ti.com (8.15.2/8.15.2) with ESMTP id 1B7DLQdU025477; Tue, 7 Dec 2021 07:21:26 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1638883286; bh=9Hn5CJiHBzJ9m6vKnIKivt/HehDv3M4/X9erS7nCy3E=; h=Subject:To:CC:References:From:Date:In-Reply-To; b=K7AK5cVw8E2iPPwaMLacgyHZ69YjdYqGZ7z3V7tW4wHXHz8D8uWZ106eVhNQvyTil pafDp2nuojJdIeI5UPfHNRmApFHGHc1wA0wdDqXsL0+Q/JjzQiJJtEqzGNpx+NG6SV gxQsfcu8dMt0D79s6+9KBN4oVZPZHoQR4QXIP9hU= Received: from DLEE114.ent.ti.com (dlee114.ent.ti.com [157.170.170.25]) by fllv0034.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 1B7DLQ4C029552 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Tue, 7 Dec 2021 07:21:26 -0600 Received: from DLEE110.ent.ti.com (157.170.170.21) by DLEE114.ent.ti.com (157.170.170.25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2308.14; Tue, 7 Dec 2021 07:21:26 -0600 Received: from lelv0327.itg.ti.com (10.180.67.183) by DLEE110.ent.ti.com (157.170.170.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, 7 Dec 2021 07:21:26 -0600 Received: from [10.250.232.32] (ileax41-snat.itg.ti.com [10.172.224.153]) by lelv0327.itg.ti.com (8.15.2/8.15.2) with ESMTP id 1B7DLLGl081317; Tue, 7 Dec 2021 07:21:22 -0600 Subject: Re: [PATCH v5 5/6] arm64: dts: ti: k3-am64-main: Add support for MCAN To: Aswath Govindraju CC: Marc Kleine-Budde , Kishon Vijay Abraham I , Nishanth Menon , Vignesh Raghavendra , Tero Kristo , Rob Herring , , , References: <20211122134159.29936-1-a-govindraju@ti.com> <20211122134159.29936-6-a-govindraju@ti.com> From: Apurva Nandan Message-ID: <18676baa-175d-06db-159c-4a7e5cdd263e@ti.com> Date: Tue, 7 Dec 2021 18:51:20 +0530 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.14.0 MIME-Version: 1.0 In-Reply-To: <20211122134159.29936-6-a-govindraju@ti.com> Content-Type: text/plain; charset="utf-8"; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 22/11/21 7:11 pm, Aswath Govindraju wrote: > Add Support for two MCAN controllers present on the am64x SOC. Both support > classic CAN messages as well as CAN-FD. > > Signed-off-by: Aswath Govindraju Reviewed-by: Apurva Nandan > --- > arch/arm64/boot/dts/ti/k3-am64-main.dtsi | 28 ++++++++++++++++++++++++ > 1 file changed, 28 insertions(+) > > diff --git a/arch/arm64/boot/dts/ti/k3-am64-main.dtsi b/arch/arm64/boot/dts/ti/k3-am64-main.dtsi > index 5ad638b95ffc..07cadbfcc436 100644 > --- a/arch/arm64/boot/dts/ti/k3-am64-main.dtsi > +++ b/arch/arm64/boot/dts/ti/k3-am64-main.dtsi > @@ -1253,4 +1253,32 @@ > bus_freq = <1000000>; > }; > }; > + > + main_mcan0: can@20701000 { > + compatible = "bosch,m_can"; > + reg = <0x00 0x20701000 0x00 0x200>, > + <0x00 0x20708000 0x00 0x8000>; > + reg-names = "m_can", "message_ram"; > + power-domains = <&k3_pds 98 TI_SCI_PD_EXCLUSIVE>; > + clocks = <&k3_clks 98 5>, <&k3_clks 98 0>; > + clock-names = "hclk", "cclk"; > + interrupts = , > + ; > + interrupt-names = "int0", "int1"; > + bosch,mram-cfg = <0x0 128 64 64 64 64 32 32>; > + }; > + > + main_mcan1: can@20711000 { > + compatible = "bosch,m_can"; > + reg = <0x00 0x20711000 0x00 0x200>, > + <0x00 0x20718000 0x00 0x8000>; > + reg-names = "m_can", "message_ram"; > + power-domains = <&k3_pds 99 TI_SCI_PD_EXCLUSIVE>; > + clocks = <&k3_clks 99 5>, <&k3_clks 99 0>; > + clock-names = "hclk", "cclk"; > + interrupts = , > + ; > + interrupt-names = "int0", "int1"; > + bosch,mram-cfg = <0x0 128 64 64 64 64 32 32>; > + }; > }; 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 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 smtp.lore.kernel.org (Postfix) with ESMTPS id DE968C433F5 for ; Tue, 7 Dec 2021 13:23:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:Content-Type: Content-Transfer-Encoding:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:Date:Message-ID:From: References:CC:To:Subject:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=PsCOS17NlTHE4gGTIjBKNS/BXWdrVj53iOHFvnQWPxg=; b=qp/uwoCx43QH9i4g7DUj9kfYKQ upxH1WKjv/R3lGAaBGlF9WCgZcMg8KivC0YZzBBMZOru55lti9U4h5fRzBR+csueLfFU3V+tp/0sg xI979humPZ94eO+wDulGJRh5g3kVKGpUws37qIn+8NzQ1bWol0KE6PNAz7feCOXXFfo9CR6DY73Gw iAh4byumIJanTmRb9UivoZId6PKkUw7gfJKND1zd/WcQGcdMXaQ/d3SIWSE9ySWmvuROUWdqk4w4D OOh8Z8FfggSxjVTgJ1JZrXf1Qs1pvNknKV3YgDVbnkSbgyv58FXJRnoEq7n2kMRiwifwc4lgC/k+a SYYjUPgg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1muaPX-008f30-HA; Tue, 07 Dec 2021 13:21:35 +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 1muaPQ-008f0v-DS for linux-arm-kernel@lists.infradead.org; Tue, 07 Dec 2021 13:21:29 +0000 Received: from fllv0034.itg.ti.com ([10.64.40.246]) by fllv0016.ext.ti.com (8.15.2/8.15.2) with ESMTP id 1B7DLQdU025477; Tue, 7 Dec 2021 07:21:26 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1638883286; bh=9Hn5CJiHBzJ9m6vKnIKivt/HehDv3M4/X9erS7nCy3E=; h=Subject:To:CC:References:From:Date:In-Reply-To; b=K7AK5cVw8E2iPPwaMLacgyHZ69YjdYqGZ7z3V7tW4wHXHz8D8uWZ106eVhNQvyTil pafDp2nuojJdIeI5UPfHNRmApFHGHc1wA0wdDqXsL0+Q/JjzQiJJtEqzGNpx+NG6SV gxQsfcu8dMt0D79s6+9KBN4oVZPZHoQR4QXIP9hU= Received: from DLEE114.ent.ti.com (dlee114.ent.ti.com [157.170.170.25]) by fllv0034.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 1B7DLQ4C029552 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Tue, 7 Dec 2021 07:21:26 -0600 Received: from DLEE110.ent.ti.com (157.170.170.21) by DLEE114.ent.ti.com (157.170.170.25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2308.14; Tue, 7 Dec 2021 07:21:26 -0600 Received: from lelv0327.itg.ti.com (10.180.67.183) by DLEE110.ent.ti.com (157.170.170.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, 7 Dec 2021 07:21:26 -0600 Received: from [10.250.232.32] (ileax41-snat.itg.ti.com [10.172.224.153]) by lelv0327.itg.ti.com (8.15.2/8.15.2) with ESMTP id 1B7DLLGl081317; Tue, 7 Dec 2021 07:21:22 -0600 Subject: Re: [PATCH v5 5/6] arm64: dts: ti: k3-am64-main: Add support for MCAN To: Aswath Govindraju CC: Marc Kleine-Budde , Kishon Vijay Abraham I , Nishanth Menon , Vignesh Raghavendra , Tero Kristo , Rob Herring , , , References: <20211122134159.29936-1-a-govindraju@ti.com> <20211122134159.29936-6-a-govindraju@ti.com> From: Apurva Nandan Message-ID: <18676baa-175d-06db-159c-4a7e5cdd263e@ti.com> Date: Tue, 7 Dec 2021 18:51:20 +0530 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.14.0 MIME-Version: 1.0 In-Reply-To: <20211122134159.29936-6-a-govindraju@ti.com> Content-Language: en-US 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-20211207_052128_576831_AE41ED3E X-CRM114-Status: GOOD ( 15.47 ) 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-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On 22/11/21 7:11 pm, Aswath Govindraju wrote: > Add Support for two MCAN controllers present on the am64x SOC. Both support > classic CAN messages as well as CAN-FD. > > Signed-off-by: Aswath Govindraju Reviewed-by: Apurva Nandan > --- > arch/arm64/boot/dts/ti/k3-am64-main.dtsi | 28 ++++++++++++++++++++++++ > 1 file changed, 28 insertions(+) > > diff --git a/arch/arm64/boot/dts/ti/k3-am64-main.dtsi b/arch/arm64/boot/dts/ti/k3-am64-main.dtsi > index 5ad638b95ffc..07cadbfcc436 100644 > --- a/arch/arm64/boot/dts/ti/k3-am64-main.dtsi > +++ b/arch/arm64/boot/dts/ti/k3-am64-main.dtsi > @@ -1253,4 +1253,32 @@ > bus_freq = <1000000>; > }; > }; > + > + main_mcan0: can@20701000 { > + compatible = "bosch,m_can"; > + reg = <0x00 0x20701000 0x00 0x200>, > + <0x00 0x20708000 0x00 0x8000>; > + reg-names = "m_can", "message_ram"; > + power-domains = <&k3_pds 98 TI_SCI_PD_EXCLUSIVE>; > + clocks = <&k3_clks 98 5>, <&k3_clks 98 0>; > + clock-names = "hclk", "cclk"; > + interrupts = , > + ; > + interrupt-names = "int0", "int1"; > + bosch,mram-cfg = <0x0 128 64 64 64 64 32 32>; > + }; > + > + main_mcan1: can@20711000 { > + compatible = "bosch,m_can"; > + reg = <0x00 0x20711000 0x00 0x200>, > + <0x00 0x20718000 0x00 0x8000>; > + reg-names = "m_can", "message_ram"; > + power-domains = <&k3_pds 99 TI_SCI_PD_EXCLUSIVE>; > + clocks = <&k3_clks 99 5>, <&k3_clks 99 0>; > + clock-names = "hclk", "cclk"; > + interrupts = , > + ; > + interrupt-names = "int0", "int1"; > + bosch,mram-cfg = <0x0 128 64 64 64 64 32 32>; > + }; > }; _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel