From patchwork Wed Jul 27 20:59:18 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sergei Shtylyov X-Patchwork-Id: 9250397 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id C086760757 for ; Wed, 27 Jul 2016 21:01:25 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B0837212D6 for ; Wed, 27 Jul 2016 21:01:25 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id A52F32522B; Wed, 27 Jul 2016 21:01:25 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.1 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_MED,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 425BE212D6 for ; Wed, 27 Jul 2016 21:01:25 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.85_2 #1 (Red Hat Linux)) id 1bSVve-0008H7-Sh; Wed, 27 Jul 2016 20:59:46 +0000 Received: from mail-lf0-x234.google.com ([2a00:1450:4010:c07::234]) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1bSVvb-0007tx-F8 for linux-arm-kernel@lists.infradead.org; Wed, 27 Jul 2016 20:59:44 +0000 Received: by mail-lf0-x234.google.com with SMTP id l69so35894889lfg.1 for ; Wed, 27 Jul 2016 13:59:22 -0700 (PDT) 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; bh=8NcU1Dlg0PzVeNSe8gBPTtCCN56Ro2DkbxkXtRpaJ+M=; b=L7iPB37DGytorsiThZQGXGTwt59At0FTdoEi7ySpmJnNJ27aqfUk6PDVVhMeG3B2Ot hHpMpBSsTLBL0hXF5Es8eANfmtfXuA5EXtlEbZFfk1MRDJcP9oUoaseue5I1Rdy4hrNI eBpNSGm/DAGzusvswYNZ1T+8qRPrIrKGRkoNkeUNp+DYLa1s0H0pl5byEppo5l4V4qBN uhuzeagGNmffCgi2zRaOWSMmTcjFqpVFkxn9lP9B9gjRh3rt7CVjLi+6DBMQ7Q30pPEq PiIWOACxCyvzXvdq/r4ApaQZSXrVwjY8LY72L3FjD/siZWBgj3qzCCOp27/6n7l4UooE AaCw== 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; bh=8NcU1Dlg0PzVeNSe8gBPTtCCN56Ro2DkbxkXtRpaJ+M=; b=EEWiYvGfvI8JUxl/GmFSbcKhtH6uY/OoTHNHssMTHyAkuaT3BB6QCntFUbw12paBc8 W9V8tVSwL8U7hNLU7H3LS7C1wcXt1CEAf0dQlyulvYu8K6vfH5mU63qineAxw4r9kz+i HriypD+8rba/bX1uLnw77RovaNm8U7cb0aVSZbsuLXNY5rCDAxIi/1kdPsLlI67Q2SoJ f7bZ76SqO+IeBF4FhHTEc5oRuXp1gwE92BLg27r1v1ZfORd7nUVOLEwlM69cwWFAkWAW ZrXYPKtDBUfooL3KNh4Rq8ceGP7n0fHEsTLundvb2svlB3yX9BoVdonu0UVLVsCK3hcg 1nEg== X-Gm-Message-State: AEkoouveiA6EXBl2owd/+2UerAzDbGMKmNqoi/HlKie+2uIPSPgkCJd+Hz1VAp2jAufZ2g== X-Received: by 10.25.91.149 with SMTP id p143mr10599769lfb.39.1469653161105; Wed, 27 Jul 2016 13:59:21 -0700 (PDT) Received: from wasted.cogentembedded.com ([31.173.85.21]) by smtp.gmail.com with ESMTPSA id p21sm1324381lfp.4.2016.07.27.13.59.19 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 27 Jul 2016 13:59:20 -0700 (PDT) From: Sergei Shtylyov To: horms@verge.net.au, linux-renesas-soc@vger.kernel.org, robh+dt@kernel.org, mark.rutland@arm.com, devicetree@vger.kernel.org Subject: [PATCH v4 1/6] ARM: dts: r8a7794: add audio clocks Date: Wed, 27 Jul 2016 23:59:18 +0300 Message-ID: <4789280.VAzvua9Bym@wasted.cogentembedded.com> Organization: Cogent Embedded Inc. User-Agent: KMail/4.14.10 (Linux/4.6.4-201.fc23.x86_64; KDE/4.14.20; x86_64; ; ) In-Reply-To: <3910788.ckTpUWEs6B@wasted.cogentembedded.com> References: <3910788.ckTpUWEs6B@wasted.cogentembedded.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160727_135943_731118_E4A2F510 X-CRM114-Status: GOOD ( 10.54 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux@arm.linux.org.uk, magnus.damm@gmail.com, linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.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 --- Changes in version 4: - refreshed the patch. Changes in version 3: - removed now redundant "clock-output-names" properties; - reformatted the changelog; - refreshed the patch. arch/arm/boot/dts/r8a7794.dtsi | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) Index: renesas/arch/arm/boot/dts/r8a7794.dtsi =================================================================== --- renesas.orig/arch/arm/boot/dts/r8a7794.dtsi +++ renesas/arch/arm/boot/dts/r8a7794.dtsi @@ -952,6 +952,27 @@ clock-frequency = <0>; }; + /* + * 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>; + }; + audio_clkb: audio_clkb { + compatible = "fixed-clock"; + #clock-cells = <0>; + clock-frequency = <0>; + }; + audio_clkc: audio_clkc { + compatible = "fixed-clock"; + #clock-cells = <0>; + clock-frequency = <0>; + }; + /* Special CPG clocks */ cpg_clocks: cpg_clocks@e6150000 { compatible = "renesas,r8a7794-cpg-clocks",