From patchwork Thu Aug 10 06:34:02 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Quentin Schulz X-Patchwork-Id: 109781 Delivered-To: patch@linaro.org Received: by 10.140.95.78 with SMTP id h72csp1917619qge; Wed, 9 Aug 2017 23:35:12 -0700 (PDT) X-Received: by 10.98.214.145 with SMTP id a17mr11046074pfl.148.1502346912590; Wed, 09 Aug 2017 23:35:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1502346912; cv=none; d=google.com; s=arc-20160816; b=ZO9A7G9XPAXGBnDAOWkAXcukkvLuC0KxV2aR3Gs2d5goYKXgm9M9xdA2tZDbpSh4zC +FEC8/54e73DN0RQl2EY5AvZqqtmphbTtFeCaWnVWD3FhNd1M4WACg1k6Evw580T4hqz FGwdSLqDdao1NfYHKtlq4raM7FU8HaroDHdCtjdBQkYWWTWEDxnXqXIYg2b5QNxSz0dz NDfuhvgYFIbk18oyblQ+a+K83fCweq09K0+Zq5y5sB8EZ5OYu9u8wFEdSIQx0lHo6Bxi xiuzMUXsw0988gjXAj7RCqUy7y5Co2EW38JvxteIGJfkvkXRYXB8rCPI49hdyMd05uF0 ZPOg== 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:references :in-reply-to:message-id:date:subject:cc:to:from :arc-authentication-results; bh=sWVft38yGh9rrbyvzPaw2Lxd5Pp+clYYCOn0pNVm928=; b=L7FLi3jrB3WJDlcjA2niHc39mz/czVBXjntrsJkJaHXiBAPnEY5TonXQpwioOAmDL2 juzCjnN0CE51DnKpyeUnTqHhUdRWxGdid388fF7zLHnK2L/f+VIR7huNa7Ku3izrgM4Q l8N2e84050el5kHv7X8lBdaVgncjT8YvRqdHBTUYmuMhDGGb/fyMcqPFKP+ATNx0mZOj bu5hDlZJvQyx6LjlFjhiXJR3vhribCXqkxDYOZxN/kYHqHHSso5/7g4I0QVbqfK/d4pH fnjpBu+M160OZT5w2QTpj/1rK2VaTrH45k4+1/P0bDJVU5mXnwuCBxdgAQcga6mNIroX Va7Q== 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 k5si3540255pgp.450.2017.08.09.23.35.12; Wed, 09 Aug 2017 23:35:12 -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 S1752294AbdHJGfJ (ORCPT + 25 others); Thu, 10 Aug 2017 02:35:09 -0400 Received: from mail.free-electrons.com ([62.4.15.54]:42410 "EHLO mail.free-electrons.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751492AbdHJGfB (ORCPT ); Thu, 10 Aug 2017 02:35:01 -0400 Received: by mail.free-electrons.com (Postfix, from userid 110) id CB0FF2096C; Thu, 10 Aug 2017 08:34:58 +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 6C94220967; Thu, 10 Aug 2017 08:34:58 +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: 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, cyrille.pitchen@wedev4u.fr, thomas.petazzoni@free-electrons.com, Quentin Schulz Subject: [PATCH v5 2/7] dt-bindings: clk: at91: add audio plls to the compatible list Date: Thu, 10 Aug 2017 08:34:02 +0200 Message-Id: <09230b9714c7d8fee053d1b014ef6af43c1bebbc.1502346448.git-series.quentin.schulz@free-electrons.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: References: In-Reply-To: References: 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 Acked-by: Boris Brezillon Acked-by: Nicolas Ferre --- Documentation/devicetree/bindings/clock/at91-clock.txt | 10 ++++++++++ 1 file changed, 10 insertions(+) -- git-series 0.9.1 diff --git a/Documentation/devicetree/bindings/clock/at91-clock.txt b/Documentation/devicetree/bindings/clock/at91-clock.txt index 5f3ad65..51c259a 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).