Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp8573744ybi; Tue, 23 Jul 2019 11:01:27 -0700 (PDT) X-Google-Smtp-Source: APXvYqwMaR+f36H7hLdZek4OWqK3zFAyvhP2lLTWS+f2b+ePRjeRhySmmfW4uI/jy5nPL3EEuQS5 X-Received: by 2002:a65:6846:: with SMTP id q6mr38757140pgt.150.1563904887007; Tue, 23 Jul 2019 11:01:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1563904886; cv=none; d=google.com; s=arc-20160816; b=EdhBmVTl/iwH4gWSLlMlL6hEjd7xQ4SstX8CHWr8r55VawB9WO7lfqb2DjYrYyM8ol 2dhe/n858qvI5DWSi9TB8lu1rVKzHfEf6jyUgmVNlljUZkFBihEgo3Zjybr2AL84Ud5I I0NlvWN1ltAWAFf1I2uOI0lsiehWixVEYHed7RfvQ8CdaeVkkQEisX9jDWpHm8Qs1Pj0 3YVeLXaRriKxon12UbySjllwLBfJyiYXG0i/ExC2Oa/6ham8Ru/qb2LKme9vCnFgWwD2 i14pdmDQdpZson2iXEU0O44fUTuc+VvzzQt8svp5Mya5OanJO4itO0+IpXFjFxXeYfde yfXg== 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; bh=xCk6KoeKQLmDzTssXQVKDr6MVYJovwtmE1MBuVi8YNI=; b=tSC+oxFFjX1xR6JBB25oIq28OvnZPb73ejdapVccQt8nbmh0mG/RyI+oslanrTPpAL v9Fk3n82zc7sYRPdFEVKV6AOR2poMaxdBhSySTgbSq9ja/BxXoLZvtl7OPKyoZsUjFJl Q8mrY7MAi3RgfishSenUamNBIU3SGvWbjleltTyCUHZOj4aqgRkJucZ7gsOzEy+r8pNl tybD5Zvby7gMVSs7qxutLb5kg+bwMxokfaL9q9dVdeCc2Ak3/vVfI7ZLCPwaXZb8PCVz PIU8ijHLf0TjB5Fkz4Afd8tZYet3x25tPRuRkb7KZorW3ET5q5S8F4W651rnBme+pasy Ts4w== 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 a64si13781146pfb.60.2019.07.23.11.01.11; Tue, 23 Jul 2019 11:01:26 -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 S2387594AbfGWImS (ORCPT + 99 others); Tue, 23 Jul 2019 04:42:18 -0400 Received: from muru.com ([72.249.23.125]:55596 "EHLO muru.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727109AbfGWImS (ORCPT ); Tue, 23 Jul 2019 04:42:18 -0400 Received: from atomide.com (localhost [127.0.0.1]) by muru.com (Postfix) with ESMTPS id 5AD4F808C; Tue, 23 Jul 2019 08:42:42 +0000 (UTC) Date: Tue, 23 Jul 2019 01:42:13 -0700 From: Tony Lindgren To: David Lechner Cc: linux-iio@vger.kernel.org, linux-omap@vger.kernel.org, devicetree@vger.kernel.org, Rob Herring , Mark Rutland , =?utf-8?Q?Beno=C3=AEt?= Cousson , William Breathitt Gray , Thierry Reding , linux-kernel@vger.kernel.org, linux-pwm@vger.kernel.org Subject: Re: [PATCH 3/4] ARM: dts: am33xx: Add nodes for eQEP Message-ID: <20190723084213.GR5447@atomide.com> References: <20190722154538.5314-1-david@lechnology.com> <20190722154538.5314-4-david@lechnology.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190722154538.5314-4-david@lechnology.com> User-Agent: Mutt/1.11.4 (2019-03-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org * David Lechner [190722 15:46]: > This adds new nodes for the Texas Instruments Enhanced Quadrature > Encoder Pulse (eQEP) module in the PWM subsystem on AM33XX. > > Signed-off-by: David Lechner > --- > arch/arm/boot/dts/am33xx-l4.dtsi | 27 +++++++++++++++++++++++++++ > 1 file changed, 27 insertions(+) > > diff --git a/arch/arm/boot/dts/am33xx-l4.dtsi b/arch/arm/boot/dts/am33xx-l4.dtsi > index 3b1fb2ba4dff..7fdc2f61c553 100644 > --- a/arch/arm/boot/dts/am33xx-l4.dtsi > +++ b/arch/arm/boot/dts/am33xx-l4.dtsi > @@ -1908,6 +1908,15 @@ > status = "disabled"; > }; > > + eqep0: eqep@180 { > + compatible = "ti,am3352-eqep"; > + reg = <0x180 0x80>; > + clocks = <&l4ls_gclk>; > + clock-names = "fck"; > + interrupts = <79>; > + status = "disabled"; > + }; > + You probably no longer need to map any clocks here as this is now a child of the interconnect target module managed by ti-sysc driver. I have not checked but probably l4ls_gclk is same as clocks = <&l4ls_clkctrl AM3_L4LS_EPWMSS0_CLKCTRL 0> already managed by ti-sysc. If so, then just using runtime PM calls in any of the child device drivers will keep it enabled. If l4ls_gclk is a separate functional clock, then it still needs to be managed by the child device driver directly. Regards, Tony