From mboxrd@z Thu Jan 1 00:00:00 1970 From: heiko@sntech.de (Heiko =?utf-8?q?St=C3=BCbner?=) Date: Tue, 4 Jun 2013 12:52:07 +0200 Subject: [PATCH v2 1/4] clocksource: dw_apb_timer_of: enable the use the clocksource as sched clock In-Reply-To: <201306041137.03319.heiko@sntech.de> References: <201306041136.09566.heiko@sntech.de> <201306041137.03319.heiko@sntech.de> Message-ID: <201306041252.07877.heiko@sntech.de> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org Am Dienstag, 4. Juni 2013, 11:37:02 schrieb Heiko St?bner: > Currently the dw_apb_timer always expects a separate special timer to be > availbable for the sched_clock. Some devices using dw_apb_timers do not > have this sptimer but can use the clocksource as sched_clock instead. > > Therefore enable the driver to distiguish between devices with and without > sptimer based on the devicetree data and select the correct timer as > sched_clock. > > Signed-off-by: Heiko Stuebner in the original thread "arm: add basic support for Rockchip Cortex-A9 SoCs" this patch with the updated description now also got a Acked-by: Linus Walleij From mboxrd@z Thu Jan 1 00:00:00 1970 From: Heiko =?utf-8?q?St=C3=BCbner?= Subject: Re: [PATCH v2 1/4] clocksource: dw_apb_timer_of: enable the use the clocksource as sched clock Date: Tue, 4 Jun 2013 12:52:07 +0200 Message-ID: <201306041252.07877.heiko@sntech.de> References: <201306041136.09566.heiko@sntech.de> <201306041137.03319.heiko@sntech.de> Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Return-path: In-Reply-To: <201306041137.03319.heiko-4mtYJXux2i+zQB+pC5nmwQ@public.gmane.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: devicetree-discuss-bounces+gldd-devicetree-discuss=m.gmane.org-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org Sender: "devicetree-discuss" To: John Stultz Cc: Baruch Siach , devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org, linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Rob Herring , Grant Likely , Jamie Iles , Thomas Gleixner , linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org List-Id: devicetree@vger.kernel.org QW0gRGllbnN0YWcsIDQuIEp1bmkgMjAxMywgMTE6Mzc6MDIgc2NocmllYiBIZWlrbyBTdMO8Ym5l cjoKPiBDdXJyZW50bHkgdGhlIGR3X2FwYl90aW1lciBhbHdheXMgZXhwZWN0cyBhIHNlcGFyYXRl IHNwZWNpYWwgdGltZXIgdG8gYmUKPiBhdmFpbGJhYmxlIGZvciB0aGUgc2NoZWRfY2xvY2suIFNv bWUgZGV2aWNlcyB1c2luZyBkd19hcGJfdGltZXJzIGRvIG5vdAo+IGhhdmUgdGhpcyBzcHRpbWVy IGJ1dCBjYW4gdXNlIHRoZSBjbG9ja3NvdXJjZSBhcyBzY2hlZF9jbG9jayBpbnN0ZWFkLgo+IAo+ IFRoZXJlZm9yZSBlbmFibGUgdGhlIGRyaXZlciB0byBkaXN0aWd1aXNoIGJldHdlZW4gZGV2aWNl cyB3aXRoIGFuZCB3aXRob3V0Cj4gc3B0aW1lciBiYXNlZCBvbiB0aGUgZGV2aWNldHJlZSBkYXRh IGFuZCBzZWxlY3QgdGhlIGNvcnJlY3QgdGltZXIgYXMKPiBzY2hlZF9jbG9jay4KPiAKPiBTaWdu ZWQtb2ZmLWJ5OiBIZWlrbyBTdHVlYm5lciA8aGVpa29Ac250ZWNoLmRlPgoKaW4gdGhlIG9yaWdp bmFsIHRocmVhZCAiYXJtOiBhZGQgYmFzaWMgc3VwcG9ydCBmb3IgUm9ja2NoaXAgQ29ydGV4LUE5 IFNvQ3MiIAp0aGlzIHBhdGNoIHdpdGggdGhlIHVwZGF0ZWQgZGVzY3JpcHRpb24gbm93IGFsc28g Z290IGEKCgpBY2tlZC1ieTogTGludXMgV2FsbGVpaiA8bGludXMud2FsbGVpakBsaW5hcm8ub3Jn PgpfX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fXwpkZXZpY2V0 cmVlLWRpc2N1c3MgbWFpbGluZyBsaXN0CmRldmljZXRyZWUtZGlzY3Vzc0BsaXN0cy5vemxhYnMu b3JnCmh0dHBzOi8vbGlzdHMub3psYWJzLm9yZy9saXN0aW5mby9kZXZpY2V0cmVlLWRpc2N1c3MK From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751969Ab3FDKwZ (ORCPT ); Tue, 4 Jun 2013 06:52:25 -0400 Received: from gloria.sntech.de ([95.129.55.99]:58306 "EHLO gloria.sntech.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751210Ab3FDKwY (ORCPT ); Tue, 4 Jun 2013 06:52:24 -0400 From: Heiko =?utf-8?q?St=C3=BCbner?= To: John Stultz Subject: Re: [PATCH v2 1/4] clocksource: dw_apb_timer_of: enable the use the clocksource as sched clock Date: Tue, 4 Jun 2013 12:52:07 +0200 User-Agent: KMail/1.13.7 (Linux/3.2.0-3-686-pae; KDE/4.8.4; i686; ; ) Cc: Thomas Gleixner , Jamie Iles , Dinh Nguyen , Grant Likely , linux-arm-kernel@lists.infradead.org, Rob Herring , devicetree-discuss@lists.ozlabs.org, linux-kernel@vger.kernel.org, Arnd Bergmann , Linus Walleij , Baruch Siach References: <201306041136.09566.heiko@sntech.de> <201306041137.03319.heiko@sntech.de> In-Reply-To: <201306041137.03319.heiko@sntech.de> MIME-Version: 1.0 Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: 8bit Message-Id: <201306041252.07877.heiko@sntech.de> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Am Dienstag, 4. Juni 2013, 11:37:02 schrieb Heiko Stübner: > Currently the dw_apb_timer always expects a separate special timer to be > availbable for the sched_clock. Some devices using dw_apb_timers do not > have this sptimer but can use the clocksource as sched_clock instead. > > Therefore enable the driver to distiguish between devices with and without > sptimer based on the devicetree data and select the correct timer as > sched_clock. > > Signed-off-by: Heiko Stuebner in the original thread "arm: add basic support for Rockchip Cortex-A9 SoCs" this patch with the updated description now also got a Acked-by: Linus Walleij