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 1dhvv9-0000A5-Gf for barebox@lists.infradead.org; Wed, 16 Aug 2017 10:51:35 +0000 Message-ID: <1502880666.5286.18.camel@pengutronix.de> From: Jan =?ISO-8859-1?Q?L=FCbbe?= Date: Wed, 16 Aug 2017 12:51:06 +0200 In-Reply-To: <20170816081741.bcoctdw4dtai3tb4@pengutronix.de> References: <20170815094737.27407-1-jlu@pengutronix.de> <20170816081741.bcoctdw4dtai3tb4@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: Re: [PATCH] ARM: mvebu: armada-xp: configure PLL and PHY register To: Uwe =?ISO-8859-1?Q?Kleine-K=F6nig?= Cc: barebox@lists.infradead.org T24gV2VkLCAyMDE3LTA4LTE2IGF0IDEwOjE3ICswMjAwLCBVd2UgS2xlaW5lLUvDtm5pZyB3cm90 ZToKPiBIYWxsbyBKYW4sCj4gCj4gT24gVHVlLCBBdWcgMTUsIDIwMTcgYXQgMTE6NDc6MzdBTSAr MDIwMCwgSmFuIEx1ZWJiZSB3cm90ZToKPiA+IFRoZSBQTEwgc2V0dXAgaXMgbmVlZGVkIHRvIHVz ZSB0aGUgVVNCIHBvcnRzIGluIExpbnV4Lgo+ID4gCj4gPiBUaGlzIGNvZGUgaXMgcG9ydGVkIGZy b20gbWFpbmxpbmUgVS1Cb290IGFyY2gvYXJtL21hY2gtbXZlYnUvY3B1LmMuCj4gCj4gQWN0dWFs bHkgdGhpcyBpcyBhIHdvcmsgYXJvdW5kIGJlY2F1c2UgTGludXggZG9lc24ndCBkbyB0aGUgbmVj ZXNzYX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