From patchwork Mon Feb 8 22:57:22 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sergei Shtylyov X-Patchwork-Id: 8255221 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 1C08ABEEE5 for ; Mon, 8 Feb 2016 22:57:29 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id A96F9202EB for ; Mon, 8 Feb 2016 22:57:27 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id F0B7320270 for ; Mon, 8 Feb 2016 22:57:26 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756678AbcBHW50 (ORCPT ); Mon, 8 Feb 2016 17:57:26 -0500 Received: from mail-lf0-f53.google.com ([209.85.215.53]:34748 "EHLO mail-lf0-f53.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756258AbcBHW5Z (ORCPT ); Mon, 8 Feb 2016 17:57:25 -0500 Received: by mail-lf0-f53.google.com with SMTP id j78so105233876lfb.1 for ; Mon, 08 Feb 2016 14:57:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cogentembedded-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:organization:user-agent :in-reply-to:references:mime-version:content-transfer-encoding :content-type; bh=tbJeGE2RbDZuZ9ObMYtXPHDHX2hdJlcom5BvAn01k9E=; b=Pfr3iGKY16Wj78TUVdUTXc6lpBVUrl+AhKJGiQ/El1aNAcn0szWIHjTcLK4vFr9BNe tWJ9flxlatONiBrms7K62D2mw++BphuNawYL+cKHQMqKYzgeEdSGmFNRND1ru0TI5zWO ZfTrUavj3hK9wTy7sOQuL63M9/vAVfkM6CYUykNy0qCPbOwJwlN8xZaqGNC63IsnFS4b LDeYG7qujHyGDI5ZVkW0rwQ9ioF5PM7f0e+JeMixJbzpbwpcG60mOYo23wp4s8AeXap+ SNUJ++nRRANlei5tE2fL4W8HM1ZY37Qb/QX6sdv94v6cojHhI+ke4qaxGuMXJeMuENwC ddJA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:organization :user-agent:in-reply-to:references:mime-version :content-transfer-encoding:content-type; bh=tbJeGE2RbDZuZ9ObMYtXPHDHX2hdJlcom5BvAn01k9E=; b=nLM60BB8j+BiO72AmCeTqRI5Jl4azWPfmA7BMo4dsTQL6Y3DDOgF4ljkxXJsGhDGP+ 7Ql+R/VZxQuyGoL2m3mSYKOqppN+F3BKkVcgJ0hGVErn0XpnorDLOwxkUbOnctA5pbNS 6JHJBdtCithRKSYeHWQe858m/3O5k1wxeVOrplZoqdxHxGG7Xe9v7doBZkYqFw462CKo 369ayx79Tmlo+JQUqzPaOz0jTJI0wO4z1Nqks48evBYYYjRcgQpQhFyunwSD7Vbpj9C6 8vMZhU0LHnKvtRfRh9ktApgjDrZR+eXxXtwAw1+HwTn0++IKTtpBdwRyvhseaI9ACKBY F4xQ== X-Gm-Message-State: AG10YOTsYMzLEImQKRxDk2V+OLFj0/hqIfEp0GbzAf4UpnX2jPhivnrjh+NHPYS0C5wkPg== X-Received: by 10.25.161.144 with SMTP id k138mr12510444lfe.83.1454972244368; Mon, 08 Feb 2016 14:57:24 -0800 (PST) Received: from wasted.cogentembedded.com ([195.16.111.207]) by smtp.gmail.com with ESMTPSA id ke9sm4169463lbc.28.2016.02.08.14.57.23 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 08 Feb 2016 14:57:23 -0800 (PST) From: Sergei Shtylyov To: horms@verge.net.au, linux-renesas-soc@vger.kernel.org, robh+dt@kernel.org, pawel.moll@arm.com, mark.rutland@arm.com, ijc+devicetree@hellion.org.uk, galak@codeaurora.org, devicetree@vger.kernel.org Cc: magnus.damm@gmail.com, linux@arm.linux.org.uk, linux-arm-kernel@lists.infradead.org Subject: [PATCH 1/5] ARM: dts: r8a7794: add audio clocks Date: Tue, 09 Feb 2016 01:57:22 +0300 Message-ID: <1840385.PK7TPc1Pyy@wasted.cogentembedded.com> Organization: Cogent Embedded Inc. User-Agent: KMail/4.14.10 (Linux/4.2.8-200.fc22.x86_64; KDE/4.14.14; x86_64; ; ) In-Reply-To: <4253511.vvGjIdOnb6@wasted.cogentembedded.com> References: <4253511.vvGjIdOnb6@wasted.cogentembedded.com> MIME-Version: 1.0 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=-7.2 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_HI,RP_MATCHES_RCVD,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 Describe the external audio clocks (signals AUDIO_CLK[ABC]) required by the sound driver. Boards that provide audio clocks need to override the clock frequencies. This patch is based on the commit 0d3dbde84a45 ("ARM: shmobile: r8a7791: add audio clock on DTSI"). Signed-off-by: Sergei Shtylyov --- arch/arm/boot/dts/r8a7794.dtsi | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) Index: renesas/arch/arm/boot/dts/r8a7794.dtsi =================================================================== --- renesas.orig/arch/arm/boot/dts/r8a7794.dtsi +++ renesas/arch/arm/boot/dts/r8a7794.dtsi @@ -833,6 +833,30 @@ status = "disabled"; }; + /* + * The external audio clocks are configured as 0 Hz fixed + * frequency clocks by default. Boards that provide audio + * clocks should override them. + */ + audio_clka: audio_clka { + compatible = "fixed-clock"; + #clock-cells = <0>; + clock-frequency = <0>; + clock-output-names = "audio_clka"; + }; + audio_clkb: audio_clkb { + compatible = "fixed-clock"; + #clock-cells = <0>; + clock-frequency = <0>; + clock-output-names = "audio_clkb"; + }; + audio_clkc: audio_clkc { + compatible = "fixed-clock"; + #clock-cells = <0>; + clock-frequency = <0>; + clock-output-names = "audio_clkc"; + }; + /* Special CPG clocks */ cpg_clocks: cpg_clocks@e6150000 { compatible = "renesas,r8a7794-cpg-clocks",