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.85_2 #1 (Red Hat Linux)) id 1bk7Fy-0006DR-Cx for barebox@lists.infradead.org; Wed, 14 Sep 2016 10:17:31 +0000 From: =?UTF-8?q?Uwe=20Kleine-K=C3=B6nig?= Date: Wed, 14 Sep 2016 12:17:05 +0200 Message-Id: <1473848225-19039-1-git-send-email-u.kleine-koenig@pengutronix.de> In-Reply-To: <1473846672.2243.39.camel@pengutronix.de> References: <1473846672.2243.39.camel@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 v2] ARM: imx6: reset PLL2's PFD2 on i.MX6D To: barebox@lists.infradead.org VGhlIGNoZWNrIGZvciBpc19pbXg2cSB3YXMgaW50cm9kdWNlZCBpbml0aWFsbHkgaW4KCglmMWY2 ZDc2MzcwYjMgKCJBUk06IGkuTVg2OiBjb3JyZWN0IHdvcmsgZmxvdyBvZiBQRkRzIGZyb20gdWJv b3Qtc291cmNlcyIpCgp0byBkaWZmZXJlbnRpYXRlIGJldHdlZW4gaS5NWDZETCtpLk1YNlNMIGFu ZCBpLk1YNlEuIFRoZSBpLk1YNkQgbXVzdCBiZQpoYW5kbGVkIGxpa2UgdGhlIGxhdHRlciwgc28g ZHJvcCB0aGUgY2hlY2suIGkuTVg2REwraS5NWDZTTCBjYW4gYmUKaWdub3JlZCBoZXJlIHNpbmNl IHNpbmNlCgoJYTY2NTk2MjgyNDEzICgiaW14NjogbG93bGV2ZWxfaW5pdDogRml4IHdvcmthcm91 bmQgZm9yIG5ldyBpLk1YNnMgY2hpcHMiKQoKdGhlIFBGRCBoYW5kbGluZyBpcyBvbmx5I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