Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751845AbdFAJiV (ORCPT ); Thu, 1 Jun 2017 05:38:21 -0400 Received: from mout.kundenserver.de ([212.227.126.130]:52531 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751914AbdFAJhx (ORCPT ); Thu, 1 Jun 2017 05:37:53 -0400 Date: Thu, 1 Jun 2017 11:36:53 +0200 (CEST) From: Stefan Wahren To: Phil Elwell , linux-clk@vger.kernel.org, Eric Anholt , linux-kernel@vger.kernel.org, Michael Turquette , Stephen Boyd , Florian Fainelli , linux-rpi-kernel@lists.infradead.org Message-ID: <215281225.100959.1496309813326@email.1und1.de> In-Reply-To: References: Subject: Re: [PATCH v3 0/2] clk: bcm2835: PCM clock improvements MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Priority: 3 Importance: Medium X-Originating-Client: open-xchange-appsuite X-Mailer: Open-Xchange Mailer v7.8.2-Rev34 X-Provags-ID: V03:K0:X6PMPOeiuBJ3MoyDVrCW3TZcgZZwKDNWE5GSrmHwC7ThP/hlOvv 6d4FCXU2cbFoz5x72a0FAPI8hHvGwzT8Tmk+pSdYilyZQiwP5FQKPC0X2TNWaj3pVLZZb4E HAYo3XT4q3KrL72h4HhD1u1yuobgL7EtH8ne3mTdm7oloUsHRswXnGoMzTJhJc5uhCqBLuU 0cq+/OYExHcOLCCyACa/A== X-UI-Out-Filterresults: notjunk:1;V01:K0:fFR88bX3heE=:z0pnW8wckwG3ywU9FIRbtR FxZKGPtVnHG9Jm3meuoXIOCPwPxETPv5sno8tPNwO1jsxm3JqyTYx9L5azIhc8ZSHugC+HMxg NLNWyDrqLoXWTpRS3NfEo1nMGU+E7v9YTnGNTYAIJJuy/f/PxY7YNpttnQZJxaryt8iPDhJCz pjPD98m/HjOXufROXo1hzFHwYH+tkP/sb3QlWktLiLx8C210ckbEN2jYdBkeSRHY2ZKH2CIgF W3j9vWeYgHVSdLDGl2GMCQgPxKzDi6/NYSsnZMZMGKXcYnYwLPjNkJjMJL5oqlrHpl8cJ3XD8 qw85QOusx1/tAiHgC7BR6Xzm7VULSouN9SNV4Sh+QA5y2EZ1xCqN2oTEa6LjnH6rhmQQJ+3ge FMVjm7Vhyazv533M1PQ0WUNtaxKSACJCFGspoxvuv2VYyUj7uHMeREzRUFtaKpCasA5sNo+75 cPK48K4oNSKYXCrGWMxR4vD5vaTmGIg71Aj+930J37VNyiY9qPBmo6FFY5rIsKk8YEsjyjP/G pyafUEfoKuqb23fSgQ5f/be9OW2uxaNkeNyBcNJklMcGj9SwD/iBfBYykTnAEJe9rFPWvfq3w 5YdI634mZl9Io5Q5gem3ye4DYpYs4zfMRVDSBLcE3qv80AHKKQqLrA/iFgLSnQ1eM27DkGlIS 5luT/ARP0zuqbycBVEZ/9v58Ex0rWBH0dtChZkGdCafZaBE4kfVF9f4uQyf6kGm6ZVRy48RjZ xQgek0gY+Or2mDBU Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1000 Lines: 22 > Phil Elwell hat am 1. Juni 2017 um 11:10 geschrieben: > > > The switch to using the upstream bcm2835_cprman clock driver caused a > few problems for users of PCM (I2S) peripherals. Audio applications > require accurate, stable clocks, and the cprman driver wasn't > conservative enough in its choice of clock sources. > > These patches restrict the clock sources for the PCM peripheral in two > ways: the first causes all possible sources except OSC and PLLD_PER > to be ignored, while the second allows clocks to be specified as > "low_jitter", causing the effects of fractional divisors to be taken > into account when comparing potential clocks for accuracy. In practice, > the combined effect of the two patches is to choose OSC as a source if > an integer divisor can be used, otherwise PLLD_PER is chosen. > > Changes in v3: > * Elimination of temporary variable from patch 2. Acked-by: Stefan Wahren still applies to the complete series