From patchwork Mon Jan 18 05:27:57 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Horman X-Patchwork-Id: 8052461 X-Patchwork-Delegate: horms@verge.net.au Return-Path: X-Original-To: patchwork-linux-renesas-soc@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 774FABEEE5 for ; Mon, 18 Jan 2016 05:28:25 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id D716220218 for ; Mon, 18 Jan 2016 05:28:24 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 1E2E420222 for ; Mon, 18 Jan 2016 05:28:24 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750945AbcARF2X (ORCPT ); Mon, 18 Jan 2016 00:28:23 -0500 Received: from kirsty.vergenet.net ([202.4.237.240]:54761 "EHLO kirsty.vergenet.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750919AbcARF2X (ORCPT ); Mon, 18 Jan 2016 00:28:23 -0500 Received: from reginn.isobedori.kobe.vergenet.net (p4139-ipbfp1501kobeminato.hyogo.ocn.ne.jp [114.153.215.139]) by kirsty.vergenet.net (Postfix) with ESMTPA id 09E6325BDE3; Mon, 18 Jan 2016 16:28:19 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=verge.net.au; s=mail; t=1453094899; bh=aIfa0VFFfwtd/KARRBGTRLjrC2P1DyA81tjIhZBBvo4=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=WAv0C5U5/JQuK0dhbmTbewjblVuwcMVXswWmZgUxRA0WYabl7fQJaWt6jsYbfQ1MY mrBD5O88PGmBPtfPFDdEJRog+GnBwl8bmL0L3y4UQQ8jXznhQpTUxI10sSJCJ3rass eTwOQp5iOiuA71KtPEQhNK325B8taZdkBNNDnkjA= Received: by reginn.isobedori.kobe.vergenet.net (Postfix, from userid 7100) id E3A7E940532; Mon, 18 Jan 2016 14:28:17 +0900 (JST) From: Simon Horman To: linux-renesas-soc@vger.kernel.org Cc: linux-arm-kernel@lists.infradead.org, Magnus Damm , Simon Horman , Kuninori Morimoto Subject: [PATCH v4 02/14] ARM: dts: r8a7793: add audio clock to device tree Date: Mon, 18 Jan 2016 14:27:57 +0900 Message-Id: <1453094889-25204-3-git-send-email-horms+renesas@verge.net.au> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1453094889-25204-1-git-send-email-horms+renesas@verge.net.au> References: <1453094889-25204-1-git-send-email-horms+renesas@verge.net.au> Sender: linux-renesas-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-renesas-soc@vger.kernel.org X-Spam-Status: No, score=-6.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,RP_MATCHES_RCVD,T_DKIM_INVALID,UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Instantiate audio clock in r8a7793 device tree. audio_clk_a/b/c are required for R-Car sound. Based on similar work for the r8a7791 by Kuninori Morimoto. Cc: Kuninori Morimoto Acked-by: Geert Uytterhoeven Signed-off-by: Simon Horman --- arch/arm/boot/dts/r8a7793.dtsi | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/arch/arm/boot/dts/r8a7793.dtsi b/arch/arm/boot/dts/r8a7793.dtsi index 221f5707a622..bf6be4a40e31 100644 --- a/arch/arm/boot/dts/r8a7793.dtsi +++ b/arch/arm/boot/dts/r8a7793.dtsi @@ -706,6 +706,29 @@ clock-output-names = "extal"; }; + /* + * The external audio clocks are configured as 0 Hz fixed frequency clocks by + * default. Boards that provide audio clocks should override them. + */ + audio_clk_a: audio_clk_a { + compatible = "fixed-clock"; + #clock-cells = <0>; + clock-frequency = <0>; + clock-output-names = "audio_clk_a"; + }; + audio_clk_b: audio_clk_b { + compatible = "fixed-clock"; + #clock-cells = <0>; + clock-frequency = <0>; + clock-output-names = "audio_clk_b"; + }; + audio_clk_c: audio_clk_c { + compatible = "fixed-clock"; + #clock-cells = <0>; + clock-frequency = <0>; + clock-output-names = "audio_clk_c"; + }; + /* Special CPG clocks */ cpg_clocks: cpg_clocks@e6150000 { compatible = "renesas,r8a7793-cpg-clocks",