From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from metis.ext.pengutronix.de ([2001:67c:670:201:290:27ff:fe1d:cc33]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1dbBZ6-0003De-G6 for barebox@lists.infradead.org; Fri, 28 Jul 2017 20:08:56 +0000 From: =?UTF-8?q?Uwe=20Kleine-K=C3=B6nig?= Date: Fri, 28 Jul 2017 22:08:09 +0200 Message-Id: <20170728200812.27224-1-u.kleine-koenig@pengutronix.de> MIME-Version: 1.0 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Sender: "barebox" Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: [PATCH 1/4] ARM: imx: clocksource: Use per clock for determining parent freq To: barebox@lists.infradead.org Rm9yIGlteDEsIGlteDI1LCBpbXgyNywgaW14MzEsIGlteDM1IGFuZCBpbXg1eCB0aGlzIGRvZXNu J3QgbWFrZSBhCmRpZmZlcmVuY2UgYmVjYXVzZSBjbGtfZ2V0KGRldiwgTlVMTCkgcmV0dXJucyB0 aGUgc2FtZSBjbG9jayBhcwpjbGtfZ2V0KGRldiwgInBlciIpIGJlY2F1c2UgdGhlIGlkIHBhcmFt ZXRlciBpc24ndCBjaGVja2VkIGF0IGFsbCBhbmQKdGhlIHBlciBjbG9jayBpcyByZXR1cm5lZCB1 bmNvbmRpdGlvbmFsbHkuCgpGb3IgaW14NnNsLCBpbXg2c3ggYW5kIGlteDZ1bCBkaWZmZXJlbnQg Y2xvY2tzIGFyZSByZXR1cm5lZCwgYnV0IGJvdGgKYXJlIGdhdGVzIGZvciAicGVyY2xrIi4gRm9y IGlteDZxZGwgY2xrX2dldCguLi4sIE5VTEwpIHJldHVybnMKSU1YNlFETF9DTEtfR1BUX0lQRyB3 aGljaCBpcyBhIGdhdGUgb2YgImlwZyIsIHdoaWxlIGNsa19nZXQoLi4uLC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