From patchwork Thu Jul 13 07:49:20 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Quentin Schulz X-Patchwork-Id: 107560 Delivered-To: patch@linaro.org Received: by 10.140.101.44 with SMTP id t41csp1883108qge; Thu, 13 Jul 2017 00:49:59 -0700 (PDT) X-Received: by 10.99.185.28 with SMTP id z28mr8027898pge.123.1499932199622; Thu, 13 Jul 2017 00:49:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1499932199; cv=none; d=google.com; s=arc-20160816; b=lMR467STIGb2UMfXdn7R30l0wn3rWKySJMTGsYQxnQ3nPQSlaDkkaFxzYycArS0grE CzkRwt1EMPxaVpAqB+reIMKG1j/SKCD9yuIAooPOu0UltmyDFZZIqFO1DwO/Bkm3C1/V 6BZQKCrDPRWR1KnZEu+wZYrLlD0ISLWBn/0FE4oUB2lHlFyJahmuADe4Irk2eqB7VUti LBmJ0tw31CSXRiyvUYe5iWB456mI/gdQeyr/koJtBVOJaDXEnshIQHhbnrDBYtiajBh8 i6Uq2pENKkLA/lX8D0eOeA0QseU0q9fIWczSYpYK5vseqYc/KMgrFS9LXKh22asXU64Q Qudw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:arc-authentication-results; bh=5deQ78FgqzrEDETGHPE43rnNpFAV4uyw1Rid854tpiQ=; b=ujyWY71ITDRUg7WlQfc9wu6Z1E+AnmOHif5UGyecX8i4ZyD5OVfkh0YfVa41PIjMKf A/igM33/uhmqKiBJAHq+WPPeqACPfiGX4re2ZQ47YpQbf24YhMQ0dLgc5pfhAZ5uqD/D GRfXE6GFlwjskJXeTtMiHR/BmfNg2LWG/bpk+UnkTCBLQ8vTwNahxdicwUP40X/v9F7q GS5Auwe8NPXJGplR8J8Za4zknjWkn/3A50OQLeOzwPgvmiUf2TDxnDVGxvRoIGSsJUuM DzjCtTJsCqhLZNOsUV4yK1ldbNtaMloLf3h8xZ7/lZ5I02UHDmlJ9Bh68bJJ639/bq7w WcEw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a10si3665036pgf.163.2017.07.13.00.49.59; Thu, 13 Jul 2017 00:49:59 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751348AbdGMHtt (ORCPT + 25 others); Thu, 13 Jul 2017 03:49:49 -0400 Received: from mail.free-electrons.com ([62.4.15.54]:48020 "EHLO mail.free-electrons.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751050AbdGMHtm (ORCPT ); Thu, 13 Jul 2017 03:49:42 -0400 Received: by mail.free-electrons.com (Postfix, from userid 110) id 5294221FD1; Thu, 13 Jul 2017 09:49:39 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mail.free-electrons.com X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED,SHORTCIRCUIT, URIBL_BLOCKED shortcircuit=ham autolearn=disabled version=3.4.0 Received: from localhost.localdomain (LStLambert-657-1-97-87.w90-63.abo.wanadoo.fr [90.63.216.87]) by mail.free-electrons.com (Postfix) with ESMTPSA id E857821FCF; Thu, 13 Jul 2017 09:49:38 +0200 (CEST) From: Quentin Schulz To: mturquette@baylibre.com, sboyd@codeaurora.org, robh+dt@kernel.org, mark.rutland@arm.com, lgirdwood@gmail.com, broonie@kernel.org, nicolas.ferre@microchip.com, alexandre.belloni@free-electrons.com, linux@armlinux.org.uk, boris.brezillon@free-electrons.com, perex@perex.cz, tiwai@suse.com Cc: Quentin Schulz , cyrille.pitchen@wedev4u.fr, thomas.petazzoni@free-electrons.com, linux-clk@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, alsa-devel@alsa-project.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH v3 2/9] clk: at91: add audio plls to the compatible list in DT binding Date: Thu, 13 Jul 2017 09:49:20 +0200 Message-Id: <20170713074927.10882-3-quentin.schulz@free-electrons.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20170713074927.10882-1-quentin.schulz@free-electrons.com> References: <20170713074927.10882-1-quentin.schulz@free-electrons.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This new clock driver set allows to have a fractional divided clock that would generate a precise clock particularly suitable for audio applications. The main audio pll clock has two children clocks: one that is connected to the PMC, the other that can directly drive a pad. As these two routes have different enable bits and different dividers and divider formulas, they are handled by two different drivers. This adds the audio plls (frac, pad and pmc) to the compatible list of at91 clocks in DT binding. Signed-off-by: Quentin Schulz Acked-by: Rob Herring --- added in v2: - split from big patch with pll drivers and dt-binding Documentation/devicetree/bindings/clock/at91-clock.txt | 10 ++++++++++ 1 file changed, 10 insertions(+) -- 2.11.0 diff --git a/Documentation/devicetree/bindings/clock/at91-clock.txt b/Documentation/devicetree/bindings/clock/at91-clock.txt index 5f3ad65daf69..51c259a92d02 100644 --- a/Documentation/devicetree/bindings/clock/at91-clock.txt +++ b/Documentation/devicetree/bindings/clock/at91-clock.txt @@ -81,6 +81,16 @@ Required properties: "atmel,sama5d2-clk-generated": at91 generated clock + "atmel,sama5d2-clk-audio-pll-frac": + at91 audio fractional pll + + "atmel,sama5d2-clk-audio-pll-pad": + at91 audio pll CLK_AUDIO output pin + + "atmel,sama5d2-clk-audio-pll-pmc" + at91 audio pll output on AUDIOPLLCLK that feeds the PMC + and can be used by peripheral clock or generic clock + Required properties for SCKC node: - reg : defines the IO memory reserved for the SCKC. - #size-cells : shall be 0 (reg is used to encode clk id).