Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754009AbdIDRyi (ORCPT ); Mon, 4 Sep 2017 13:54:38 -0400 Received: from mout.gmx.net ([212.227.17.20]:64296 "EHLO mout.gmx.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753913AbdIDRyh (ORCPT ); Mon, 4 Sep 2017 13:54:37 -0400 Subject: Re: [PATCH v2] clk: at91: utmi: set the mainck rate To: Ludovic Desroches , linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.org Cc: boris.brezillon@free-electrons.com, mturquette@baylibre.com, sboyd@codeaurora.org, nicolas.ferre@microchip.com, alexandre.belloni@free-electrons.com, linux-kernel@vger.kernel.org References: <20170904095226.29336-1-ludovic.desroches@microchip.com> From: Ingo van Lil Message-ID: Date: Mon, 4 Sep 2017 19:53:57 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 MIME-Version: 1.0 In-Reply-To: <20170904095226.29336-1-ludovic.desroches@microchip.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-MW Content-Transfer-Encoding: 8bit X-Provags-ID: V03:K0:eMBkhk+qCAsKXIpLLLDE5zsvUiFmeLV5yOcwRiC8kaPKYHcyTjB +rFFA2rWNPvaQCYLNCC5yxLz01lT7fGPB1F2D9MPmBkwBrtfl63H1tb2IOnODb4acP/SqNg aC5gn82XZEQg0gOA6JNGRaBmdo40jgXvrw4fRgOOrfG4Po6rKyKD7m6ifBWwO27fDqIDh8l 57RK3wqpBXxFUmQZxOtJg== X-UI-Out-Filterresults: notjunk:1;V01:K0:aCp5Eo+s0IY=:VFa69KaHqvlVwjq7WUJoEx D0SsaiI33PJzwcjpTV2BOfqJehbSPU/wsQtQpLKnhwsT7Bi93zn9/Y1vdjSLbOBdCdz2eClQ/ Hn4XUFJ5MKt64prYJWyiEBKjUgTFnUmNqhq5e22X2VTRehZpmdwZC8Lj70gueI7gy9OoohpYC qgHyPprA4aazFX/5iNOfgwyz5RMo2oRrm//z3+CRlGne+dw3cbeUBSupsYU0Ocz/14auQeLSg XnGWwdprGSZhKlolwE26HDgRD8Dy5qjDVpehVx+GF3RjxtOa4FUo3PXi+Ykb+jOy9/sUj0xYX XtSpNA4t5EbcJlXnq5H+iXmVPuO5oSMsCoomaay5vvKk8fv05IqjDJcrmQcEC9PedHU17LYVL tepZzbULqUxKZXpDd/Fbf6zZex4s8nef1Psp6PCX1CGJe2KdxsoahFxEvqIO5/6MA2h5Ywqm5 9xPBV0vwkX5dNvGxIr+1ViMzR96xwsYhLq1s+Dcfi3tFCDL0PjFjmoh808+a7MSb6uRDlPRau 8cR6RxB2GhqamlgcA9eU1lxoId67fMzOBYQdrV0CYDn+5G/ahBWhTCwgC/sxEf6kr6XgenHm8 QBjlGiaFQDCi99yw4DVrsOgsMxYbj3Xn8oUwHCJU5cCqjtpbVmUtZz+7/hv9jmAKmAlRdP8p7 v9XaR8DEJeo5teAEb5dM+hyK0rP2JyjxKNVLIdukc9SkC8/TU3xnWR+ijON9nA2ZSm97COlwR R2Dd4MpmNKlHOtgxpizNp9ZggDgPuIK/cSj6LS81D/IRkeCMVu1l0jAn+13Z37rzR4gw/Nqy9 QUePdZPOSj709fHhmryNA/KhYxQvzcGPNy3c0OhhA/sF7HllIQ= Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 437 Lines: 15 On 09/04/2017 11:52 AM, Ludovic Desroches wrote: > + /* SFR node missing is not necessarily an issue. */ > + regmap_sfr = syscon_regmap_lookup_by_compatible("atmel,sama5d2-sfr"); > + if (IS_ERR(regmap_sfr)) > + regmap_sfr = NULL; What about SAMA5D3? That chip has an UTMICKTRIM register, too (SAMA5D4 doesn't, though). Otherwise the patch looks good and works fine on both my boards (SAMA5D2 16MHz and SAMA5D3 12MHz). Regards, Ingo