Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp182551imm; Wed, 30 May 2018 21:07:22 -0700 (PDT) X-Google-Smtp-Source: ADUXVKIAVEcGmHT08a7x8qCLcuL5KeMEgQzd2baqRUIJqudddyXrppoD2P3sS3xiwkHcmxMPQwBs X-Received: by 2002:a63:66c3:: with SMTP id a186-v6mr4186987pgc.408.1527739642709; Wed, 30 May 2018 21:07:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527739642; cv=none; d=google.com; s=arc-20160816; b=hSGp07N9Bn0BwRlFla4p7DGmbN7xoxTXauK3FFeTBT2RwRrdm3v4OZhPB+AYTMAYrf 5rTMRArZRt8/T36S1VIl9ipjnRdLFVwhVjALCC0wZTDaJ+MqZExlrtlDDSHQ1bj3oNrU gHIfCedWX4zfuDbdsnIj60s3G/KPw5LqGcFutnVntczN/EYvZUFl6nT5xH7rPABGSvkH 8A54zK/dR0juA5G2lDiVDd9UDOo7GnSE9G3biMrFIu8gro1ZFhDMlCpIDj54undv8I7I iwyfMUO9f6gi5N8M+9uFaBkkJ5xyeBZvKiMZXuljChsjLrL7WyrH3GwiRmAqt/wCHU1X ZOmw== 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=+YWPY7UqW7DXEHI0ojqyO6NFqnn5Iw5BDLpvS/5pY6g=; b=Qj4qWlg8865tL+1MT9KmuxQVhCCYJKRLH1O6/m79EABqozNADnjiSjm/P18q3zhRz4 iYH5I3ZGC3knpPaROudc6e6Sx7Q2o44C91RFgrLngrvaIoRVhQQ6PDAtFomDx2f0r+ZC q9C+NHFUlcVwMjK1P2MCx73gBJ7T3kMlI57FykOtDseQNITDt3OutmDbNSApfFN48feI JONdCdjOg+fvP516KfGDM5NLZrTSahIFjcXf78mh9a8EMoL8TqEcuwUaGjqPC0ilWOed uNqotg/s0YuyRohJGS8uzj9VDlrVh5Wz99gq1pc+OTVmDicazCXcNRnFQAoOg6X+ZOjN YKrQ== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w15-v6si37980097plp.7.2018.05.30.21.07.08; Wed, 30 May 2018 21:07:22 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751282AbeEaEGn (ORCPT + 99 others); Thu, 31 May 2018 00:06:43 -0400 Received: from mail-yb0-f193.google.com ([209.85.213.193]:43992 "EHLO mail-yb0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750868AbeEaEGl (ORCPT ); Thu, 31 May 2018 00:06:41 -0400 Received: by mail-yb0-f193.google.com with SMTP id w3-v6so4548976ybq.10; Wed, 30 May 2018 21:06:41 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=+YWPY7UqW7DXEHI0ojqyO6NFqnn5Iw5BDLpvS/5pY6g=; b=Nu9QO/kEUB/3T6ZyKuT3lTgLbksl2Upo+lJHt44jUccknmjcVo7LhxpgiEwMjo90J2 66KXDqjZrK01bgLCv61gRvPkpBVhijihDldzXlVMSx/pwga4nt7G0mPD5AJSgUk606OD g9/5fGU60BuDEBZoDTLtvNI5pKXPhLw496RxrOGR0dMLAswyJ28OdVlUScbSuji+p0xb +aVQ8kYOb/Il+y3hiwXjs56ILIJvrjRB+WCW5VRxaLaZ/aVvHoCNBfZCi40SJKDyD3QD TWeYbCfVQAbzqpFWzSvl7Q6GmliDA80ITRPN0DnonyrGBZvmtk+BOxO0yOEkagnJVctQ kfcA== X-Gm-Message-State: ALKqPwdSm5glTV2hsZIXyTaKLRCB2FXVLWWhOVQrxRxBoMLuetyIL5e1 ATnR8dND8RRnwfkLoZWc3pvrbCtz1g== X-Received: by 2002:a25:550:: with SMTP id 77-v6mr2986926ybf.324.1527739600892; Wed, 30 May 2018 21:06:40 -0700 (PDT) Received: from localhost (24-223-123-72.static.usa-companies.net. [24.223.123.72]) by smtp.gmail.com with ESMTPSA id v141-v6sm7094289ywc.65.2018.05.30.21.06.40 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 30 May 2018 21:06:40 -0700 (PDT) Date: Wed, 30 May 2018 23:06:38 -0500 From: Rob Herring 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, bcousson@baylibre.com, tony@atomide.com, paul@pwsan.com, t-kristo@ti.com Subject: Re: [PATCH v2 5/6] ARM: dts: Add generic interconnect target module node for MCAN Message-ID: <20180531040638.GA26751@rob-hp-laptop> References: <20180530141133.3711-1-faiz_abbas@ti.com> <20180530141133.3711-6-faiz_abbas@ti.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180530141133.3711-6-faiz_abbas@ti.com> User-Agent: Mutt/1.9.4 (2018-02-28) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, May 30, 2018 at 07:41:32PM +0530, Faiz Abbas wrote: > The ti-sysc driver provides support for manipulating the idlemodes > and interconnect level resets. > > Add the generic interconnect target module node for MCAN to support > the same. > > CC: Tony Lindgren > Signed-off-by: Faiz Abbas > --- > arch/arm/boot/dts/dra76x.dtsi | 19 +++++++++++++++++++ > 1 file changed, 19 insertions(+) > > diff --git a/arch/arm/boot/dts/dra76x.dtsi b/arch/arm/boot/dts/dra76x.dtsi > index bfc82636999c..57b8dc0fe719 100644 > --- a/arch/arm/boot/dts/dra76x.dtsi > +++ b/arch/arm/boot/dts/dra76x.dtsi > @@ -11,6 +11,25 @@ > / { > compatible = "ti,dra762", "ti,dra7"; > > + ocp { > + > + target-module@0x42c00000 { Build your dtb with W=1 and fix warnings you add (drop '0x'). This is a CAN bus controller? If so, then use 'can' for node name. > + compatible = "ti,sysc-dra7-mcan"; > + ranges = <0x0 0x42c00000 0x2000>; > + #address-cells = <1>; > + #size-cells = <1>; > + reg = <0x42c01900 0x4>, > + <0x42c01904 0x4>, > + <0x42c01908 0x4>; > + reg-names = "rev", "sysc", "syss"; > + ti,sysc-mask = <(SYSC_OMAP4_SOFTRESET | > + SYSC_DRA7_MCAN_ENAWAKEUP)>; > + ti,syss-mask = <1>; > + clocks = <&wkupaon_clkctrl DRA7_ADC_CLKCTRL 0>; > + clock-names = "fck"; > + }; > + }; > + > }; > > /* MCAN interrupts are hard-wired to irqs 67, 68 */ > -- > 2.17.0 >