Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp4580381imm; Wed, 30 May 2018 08:10:08 -0700 (PDT) X-Google-Smtp-Source: ADUXVKIEQYDKmSZtt0f4pvpV/cN4vipJZ+STcPEWro2p1K8QzbpJmsTWo5d9OFvLKROKThynDGnF X-Received: by 2002:a63:a401:: with SMTP id c1-v6mr2546034pgf.110.1527693008370; Wed, 30 May 2018 08:10:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527693008; cv=none; d=google.com; s=arc-20160816; b=rcxuPIEG0/LiYYbsQrUjrCROvRUEaVe8VXgbpQGcgbryjP6d3h/ZmMfObx0IwjpV0T nhTrgJE5I/dpq/9wF9lZIN0Zb/cHuAFDpLCovp0c7bZ4y2mjhnVQRa+tJ5Yzst07aILb TOkvL+aUypp2EUfA5s9HNN8x+u4aP62CToGwm4Vm1e5sLHRhDE06VSRe5nuD/qsdkF4W gjUd8VPPImOPxomG3mHk5+d0hzKQPBLpMrdrmXPAnugSw7VAl7alsNFYzd11A1JGXOdW JpgXIFb4gQ8UwcdJ96VlanZPujLDB6FTC7zUMIRw8aH0x80CSW8qmI8sSvrLY3qYWmoO h33Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:arc-authentication-results; bh=GwSmekFU4dPQFSW7R+o27KOOnPq2FLv6cZ7QKhSyB5I=; b=aGBZH8wMmkh2EPDgbcwKair7a4IGBKkQ5/x1Pb4cXZw+cMDaNy33/y3LGj/xorwqsM 26fuO+03r5XnIT5btMR5o5iPbpsEv6wLNjJBV65JOITq12bJLLSYhQPIJ2b1uAymymri uuD2ttnO66OS0OKWIFepoDGuz/8v1cyQJz30dXsysRpatsI88Poft8zPLGiHAYO7QmLP l+1h4o8SdzDpSUdxFyeC9DyDt9f9XZ6Mck61cktogDSpuFXTMAj//nauZAAkHjnWDZHx LXah15yuvH3R+k1reWege6OrVD72yvmUo68uGvELuvBJ3wYxZveMx1txii9EJd8ftHqG uHeA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m9-v6si34794773pfc.9.2018.05.30.08.09.53; Wed, 30 May 2018 08:10:08 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932096AbeE3PID (ORCPT + 99 others); Wed, 30 May 2018 11:08:03 -0400 Received: from muru.com ([72.249.23.125]:45242 "EHLO muru.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753695AbeE3PIB (ORCPT ); Wed, 30 May 2018 11:08:01 -0400 Received: from atomide.com (localhost [127.0.0.1]) by muru.com (Postfix) with ESMTPS id 390FD80CE; Wed, 30 May 2018 15:10:22 +0000 (UTC) Date: Wed, 30 May 2018 08:07:57 -0700 From: Tony Lindgren To: Faiz Abbas Cc: linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-omap@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-clk@vger.kernel.org, robh+dt@kernel.org, bcousson@baylibre.com, paul@pwsan.com, t-kristo@ti.com Subject: Re: [PATCH v2 6/6] ARM: dts: dra76x: Add MCAN node Message-ID: <20180530150757.GF5705@atomide.com> References: <20180530141133.3711-1-faiz_abbas@ti.com> <20180530141133.3711-7-faiz_abbas@ti.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180530141133.3711-7-faiz_abbas@ti.com> User-Agent: Mutt/1.9.5 (2018-04-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org * Faiz Abbas [180530 14:12]: > From: Franklin S Cooper Jr > > Add support for the MCAN peripheral which supports both classic > CAN messages along with the new CAN-FD message. ... > --- a/arch/arm/boot/dts/dra76x.dtsi > +++ b/arch/arm/boot/dts/dra76x.dtsi > @@ -27,6 +27,21 @@ > ti,syss-mask = <1>; > clocks = <&wkupaon_clkctrl DRA7_ADC_CLKCTRL 0>; > clock-names = "fck"; > + > + m_can0: mcan@42c01a00 { > + compatible = "bosch,m_can"; > + reg = <0x1a00 0x4000>, <0x0 0x18FC>; > + reg-names = "m_can", "message_ram"; > + interrupt-parent = <&gic>; > + interrupts = , > + ; > + interrupt-names = "int0", "int1"; > + ti,hwmods = "mcan"; The "ti,hwmods" should be in the parent node now. But you may not even need it, see the reset comment I made for the parent node patch. > + clocks = <&mcan_clk>, <&l3_iclk_div>; > + clock-names = "cclk", "hclk"; > + bosch,mram-cfg = <0x0 0 0 32 0 0 1 1>; > + status = "disabled"; And then you should be able to also leave out status = "disabled" as the hardware is there for sure and we can idle it. Then a board specific dts file can set it to "disabled" if reallly needed. Setting everything manually to "disabled" and then again to "enabled" is the wrong way around, the default is "enabled". Regards, Tony