Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp2558762rwd; Fri, 16 Jun 2023 05:28:30 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5bzr2J5yVHi0GAeVhVLcEpctZy8sTrZ3GREamVy+5WC+B4i2oECNwMQc6RDj8A7AKLrrs5 X-Received: by 2002:a17:90b:368b:b0:258:d910:6196 with SMTP id mj11-20020a17090b368b00b00258d9106196mr1641882pjb.14.1686918510522; Fri, 16 Jun 2023 05:28:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686918510; cv=none; d=google.com; s=arc-20160816; b=K9/dLBsVcwjGqxtiGiiyMOS83D8TWDVY2cKs9RHSdBMZsam+8VyL5LWmaUjKSz3a0m JiYvYwOYeIVMr+2TIcgH3JZO7k71YXEXY9NtPPy6AYSdVh10oZ/XrREwZOp1fI8Z02sp vrHL/BXE+K4MeXPK0v5r4UJKU7+yf00atSymPv3xgUNlCOAhVkhJ7BcKLNINoggKkRQB 8hxhTltyJ7Z/iDTy3MXFxxBE3YW9QU7LZTGMPuXXoKRadmhlxMpqwbnfKoBXc61NAejD y1GMiOgIYfpwaoAGmgLwNfuigsZecL8yLFv9Y7NLJ94Jz0zmPcX4VLnRU6nq2TkG2g6W J6uQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=g+WWQjzaqyLuHurOdmji5vPTP00/8dVGSic1lC1Z87s=; b=MXtgp/AbNa06UO0F7lPW5iFtLEE+cSPqjlds+shY30/OcirDhIg5PWikT9+/QJWnnx 8L9fLMZwJG5mbVOuTfRZnU0npdDvoC7PRvdLS1VHs9WjQX7Ul9JZb+8knxWxs1yFA+z8 BcF7tc48IA7teEAykMiKa3e0kRS6VKBhU7XPvr5C306O3jpq/nUYNYNY+sDUMm+dnqy5 20EyJcvHZbi4o521POk7xvI3jdJyBqQ1G3D4VPsptOEKkVSrAosMOjz0bt0rPNSzK4R8 Jb095rSVDpNTHPMBIR9Ybqe3Lq5tIr6b+a5RcUP/dH9xPjBFrTMAyJ9OQJINvwesZeIT 3pww== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id mr15-20020a17090b238f00b0025bdc4a4105si1454114pjb.117.2023.06.16.05.28.15; Fri, 16 Jun 2023 05:28:30 -0700 (PDT) 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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1344888AbjFPMBR (ORCPT + 99 others); Fri, 16 Jun 2023 08:01:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45002 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233955AbjFPMBP (ORCPT ); Fri, 16 Jun 2023 08:01:15 -0400 Received: from mail11.truemail.it (mail11.truemail.it [IPv6:2001:4b7e:0:8::81]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 49677273F; Fri, 16 Jun 2023 05:01:12 -0700 (PDT) Received: from francesco-nb.int.toradex.com (93-49-2-63.ip317.fastwebnet.it [93.49.2.63]) by mail11.truemail.it (Postfix) with ESMTPA id 345E22168C; Fri, 16 Jun 2023 14:01:08 +0200 (CEST) Date: Fri, 16 Jun 2023 14:01:02 +0200 From: Francesco Dolcini To: Judith Mendez Cc: Chandrasekar Ramakrishnan , Wolfgang Grandegger , Marc Kleine-Budde , "David S . Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Schuyler Patton , Nishanth Menon , Vignesh Raghavendra , Tero Kristo , Rob Herring , Krzysztof Kozlowski , Oliver Hartkopp , linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-can@vger.kernel.org, netdev@vger.kernel.org Subject: Re: [PATCH 4/4] DO_NOT_MERGE arm64: dts: ti: Enable MCU MCANs for AM62x Message-ID: References: <20230419223323.20384-1-jm@ti.com> <20230419223323.20384-5-jm@ti.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230419223323.20384-5-jm@ti.com> X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_PASS, SPF_PASS,T_SCC_BODY_TEXT_LINE 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 On Wed, Apr 19, 2023 at 05:33:23PM -0500, Judith Mendez wrote: > On AM62x there are no hardware interrupts routed to GIC interrupt > controller for MCU MCAN IP, A53 Linux cannot receive hardware > interrupts. Since an hrtimer will be used to generate software > interrupts, add MCU MCAN nodes to dtsi and default to disabled. > > AM62x does not carry on-board CAN transceivers, so instead of > changing DTB permanently use an overlay to enable MCU MCANs and to > add CAN transceiver nodes. > > If an hrtimer is used to generate software interrupts, the two > required interrupt attributes in the MCAN node do not have to be > included. > > Signed-off-by: Judith Mendez [...] > + mcu_mcan1: can@4e00000 { this should be mcu_mcan0 > + compatible = "bosch,m_can"; > + reg = <0x00 0x4e00000 0x00 0x8000>, > + <0x00 0x4e08000 0x00 0x200>; [...] > + mcu_mcan2: can@4e10000 { mcu_mcan1 > + compatible = "bosch,m_can"; > + reg = <0x00 0x4e10000 0x00 0x8000>, > + <0x00 0x4e18000 0x00 0x200>; Francesco