Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752992AbdIFKZw (ORCPT ); Wed, 6 Sep 2017 06:25:52 -0400 Received: from mout.gmx.net ([212.227.15.18]:64216 "EHLO mout.gmx.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752948AbdIFKZs (ORCPT ); Wed, 6 Sep 2017 06:25:48 -0400 Subject: Re: [PATCH v3] 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: <20170906095159.13295-1-ludovic.desroches@microchip.com> From: Ingo van Lil Message-ID: <54f5a2d5-0dd3-e272-12e5-edc91fb2111e@gmx.de> Date: Wed, 6 Sep 2017 12:25:01 +0200 User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.21) Gecko/20090320 Fedora/2.0.0.21-1.fc10 Thunderbird/2.0.0.21 Mnenhy/0.7.6.666 MIME-Version: 1.0 In-Reply-To: <20170906095159.13295-1-ludovic.desroches@microchip.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-NZ Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:4UPLkuz+XNSuXaGbKpZpmLgHCY6ERwrdDtjm3/oWE3xIeIh82L6 G3lqBXGTh53nlklSU1ZGkkjxgcvfjeitxkmzlI1rSbWkhCq4kXHYCW2WjTBrBxKSamXSGID fqiVz/MLrK41oRd9x3HNwNtKeRrK/1V+3xxjb4zu3b+tOymxLHGh4u55I27IVqmySyPX9UX rTFodJ+9g9sXfQ2v3fvIw== X-UI-Out-Filterresults: notjunk:1;V01:K0:+NA62UioGus=:0np3/I9oWnY0akb9jzMO5t +RyLwi8viPKUiESdmzli24Lem5VBYiZbFh/j0ZP1NWoM5Xurekxv80n0rX4UJ9VHkwq524h1E aU30RtCkk/t5/mP+xLTYlqnu5IMeEc0x0K/Y9kLTGpABZC6J0pGRu5763+EUc9Ko6pbRluX8g a1fcdJf6knFdK7/nZRpAJZ1dj5E+b8u/eqidWCd5Pz1EPy8oxJTQ5rEvtGBVwzYVjPWV1yn39 8E8TaIUxK13EgCyqRMI67hue4m1zMpyq2CpOClLWzUGh/TvoI9Mf3e0nhWZeMzKdqC96OqEFE TBlz+HAix8AY5AEWQf4T2ioj1B+hKGyvGGXCxI84llcIKd0PAUM0l/8GVkvQcRRRpII4c836n hARiGj/SzurBCFJjZ2G2cMEyYSdzLflaYdkfi20I7B3ZzjMN336ASdG/UrAVh2fdw9KFs7iqR tHV87r76vn9o9tTTgs+XYsgVBmSPsk0ZAA64rjkX7DHvRQje5nWJHPcSrxb1zYnVgKw9CYyBx mTEgheNhkUxZx53DpGXW/VMmFF9yTRO/bIPqWadtrGsXfctva1G6ZqdNQ46toawSCxx5sY366 0bNwnBZ/d5WsPwbddoWS0/uvfntKKwya0aC8SrNaWfOLnxwl4gw9DPiABIdIInxnl31umUmmw NlfLicsVf2JA2aYKAXL96x44WUGy4BHwPWqgFdvWL9GwFUO1yiDWZJsLyCwbetmY7iVjY7eA9 KybGHu9jkAtt2TKit/OJmevrQrspa03ACOYy8NiMd/Reu70bCArTuaDETFcm082HqPL8kBIsh usxp9WtLZnSePp6QAKV9Jq/YIfkjt6FGe6nCNsPosIm50lfWzc= Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 668 Lines: 20 On 09/06/2017 11:51 AM, Ludovic Desroches wrote: > By default, it is assumed that the UTMI clock is generated from a 12 MHz > reference clock (MAINCK). If it's not the case, the FREQ field of the > SFR_UTMICKTRIM has to be updated to generate the UTMI clock in the > proper way. > > The UTMI clock has a fixed rate of 480 MHz. In fact, there is no > multiplier we can configure. The multiplier is managed internally, > depending on the reference clock frequency, to achieve the target of > 480 MHz. > > Signed-off-by: Ludovic Desroches Works fine with all my boards. Thanks! Acked-by: Ingo van Lil Regards, Ingo