From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752547AbbJFIIw (ORCPT ); Tue, 6 Oct 2015 04:08:52 -0400 Received: from mout.kundenserver.de ([212.227.126.187]:63471 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751137AbbJFIIt (ORCPT ); Tue, 6 Oct 2015 04:08:49 -0400 From: Arnd Bergmann To: Felipe Balbi Cc: linux-arm-kernel@lists.infradead.org, Tony Lindgren , daniel.lezcano@linaro.org, Linux Kernel Mailing List , tglx@linutronix.de, Linux OMAP Mailing List Subject: Re: [RFC/PATCH 11/11] arm: boot: dts: omap: add missing default status for 32k counter Date: Tue, 06 Oct 2015 10:08:44 +0200 Message-ID: <13543270.oBfHhoNL28@wuerfel> User-Agent: KMail/4.11.5 (Linux/3.16.0-10-generic; KDE/4.11.5; x86_64; ; ) In-Reply-To: <87io6lf6i4.fsf@saruman.tx.rr.com> References: <1443559446-26969-1-git-send-email-balbi@ti.com> <20151005175230.GG18784@saruman.tx.rr.com> <87io6lf6i4.fsf@saruman.tx.rr.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-Provags-ID: V03:K0:j1UvYLzfREptay/oNbs3msLZPVeq+PolkiPgiB7la6BbJNU34So cZ89XpDlYPmzJ64fKaWoj1ZV9HAAD3I2nBZviJDLDqj7+edqzASVZ0hJuxl+mivPK8caZ09 JWA+sPQqnnLQ0shk/ngNPSIWu5rA8qLuGR9h1PYoEARCJ5pBbXfEIKyuaFGcuox6uQpiwop zLo7cm3yzGwE6cj0Pf25w== X-UI-Out-Filterresults: notjunk:1;V01:K0:/u7oQs6NdJs=:CJytu6c83AZtl1MikbomLw 18NeSGEetRUO5OFvf1YD6t95kmcX/NliBUQMPcIdO+vva/ZtTM/Mao0OWl8IZUdRWDkVk47gx c35IGtPf+pHh+iy/qJ7mNY2Yiau5KJxC5V8KH0PNhfrZ4+kGTB09nNzR55/PCYxVSCrFPfDVX fQsSU4Atet1tLyPavDVoTuDusxG/6bJyIAdvJv0ebSS9VdNAVqQTkvoAepNo/pyVGs5AQmgjG NYlXUMmjSfc7G3n44IyoRrvwG49tBaJU60l1OBnYXVA7pHHOsMzGkpRHkWKdxOwaFpcMlr+qQ xTXqe1CVuUgLzFsrmxihTAu/Bp4HzCimekap2kxirxdFNNCelI75HrYzfo6+HpY4sOqgmIZfu lu1Pl1uubrbsA71tc/kaoEJhev7dhEOj9hJzHz8klocq4JGjJ7hSQSOj/i80MIzF9M3JQZUpp mrIJPfOMlbwLPQMa+J837rS5JVEndPXyX55R/5kwgl5s4YRLgwf+oUeRJwDEWPzbuPALpLwZn oi3NnykIhZuuEiTwl6j9hdjEN2bwgGmuKvZfsVtKLBv0/qPxpF5LrXPqhRg1gM3I5Wp61dZyH Z9VctiCcTmDyTiEQj/8bl4u/eO5RswMssmRgSGWfISTyf9k4dGs/n6kUbXRisxYtDBx4tO4YN YUNanzV5n6NjsG1FGgwv6dZ5m2S+Hk8YloCG0LBSN7MZvjSGu8hHoSTjkgW47dHIy/As5UoUR MUs+EP8gn/n8rd3/ Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Monday 05 October 2015 14:41:07 Felipe Balbi wrote: > > /** > * omap_get_timer_dt - get a timer using device-tree > * @match - device-tree match structure for matching a device type > * @property - optional timer property to match > * > * Helper function to get a timer during early boot using device-tree for use > * as kernel system timer. Optionally, the property argument can be used to > * select a timer with a specific property. Once a timer is found then mark > * the timer node in device-tree as disabled, to prevent the kernel from > * registering this timer as a platform device and so no one else can use it. > */ > static struct device_node * __init omap_get_timer_dt(const struct of_device_id *match, > const char *property) > { > struct device_node *np; > > for_each_matching_node(np, match) { > if (!of_device_is_available(np)) > continue; > > if (property && !of_get_property(np, property, NULL)) > continue; > > if (!property && (of_get_property(np, "ti,timer-alwon", NULL) || > of_get_property(np, "ti,timer-dsp", NULL) || > of_get_property(np, "ti,timer-pwm", NULL) || > of_get_property(np, "ti,timer-secure", NULL))) > continue; > > of_add_property(np, &device_disabled); > return np; > } > > return NULL; > } > > I'll patch this up and drop $subject > Ah, good. I'm seeing the "ti,timer-alwon" property here, we probably need to take that into account when setting the CLOCK_SOURCE_SUSPEND_NONSTOP flag, if that isn't how it gets done already. Arnd