From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tony Lindgren Subject: Re: [PATCH DO NOT MERGE 5/6] ARM: dts: omap4: add some sample clkctrl data Date: Mon, 6 Mar 2017 14:45:36 -0800 Message-ID: <20170306224535.GP20572@atomide.com> References: <1486992157-10673-1-git-send-email-t-kristo@ti.com> <1486992157-10673-6-git-send-email-t-kristo@ti.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <1486992157-10673-6-git-send-email-t-kristo@ti.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=m.gmane.org@lists.infradead.org To: Tero Kristo Cc: mturquette@baylibre.com, linux-omap@vger.kernel.org, sboyd@codeaurora.org, linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.org List-Id: linux-omap@vger.kernel.org * Tero Kristo [170213 05:24]: > @@ -304,6 +339,8 @@ > #gpio-cells = <2>; > interrupt-controller; > #interrupt-cells = <2>; > + clocks = <&cm_l4per_clkctrl OMAP4_GPIO2_CLKCTRL 0>; > + clock-names = "clkctrl"; > }; > > gpio3: gpio@48057000 { > @@ -315,6 +352,8 @@ > #gpio-cells = <2>; > interrupt-controller; > #interrupt-cells = <2>; > + clocks = <&cm_l4per_clkctrl OMAP4_GPIO3_CLKCTRL 0>; > + clock-names = "clkctrl"; > }; > > gpio4: gpio@48059000 { > @@ -384,6 +423,8 @@ > interrupts = ; > ti,hwmods = "uart1"; > clock-frequency = <48000000>; > + clocks = <&cm_l4per_clkctrl OMAP4_UART1_CLKCTRL 0>; > + clock-names = "clkctrl"; > }; BTW, one thing you might want to test also is that the opt clocks can be mapped here properly for gpios to reset. That can be easily tested by kexec booting on beagle-x15 where we currently get warnings on kexec boot about GPIOs failing to reset. Regards, Tony