From patchwork Wed Sep 7 16:53:29 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: John Keeping X-Patchwork-Id: 9319683 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 EF5FF60752 for ; Wed, 7 Sep 2016 16:55:39 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E936B2940D for ; Wed, 7 Sep 2016 16:55:39 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id DAE8629411; Wed, 7 Sep 2016 16:55:39 +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 7EA132940D for ; Wed, 7 Sep 2016 16:55:39 +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 1bhg8P-00025k-PE; Wed, 07 Sep 2016 16:55:37 +0000 Received: from dougal.metanate.com ([90.155.101.14] helo=metanate.com) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1bhg7L-0000nj-4W; Wed, 07 Sep 2016 16:54:32 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=simple/simple; d=metanate.com; s=stronger; h=Message-Id:Date:Subject:Cc:To:From; bh=6xNzn7fcDYQ65A/nhRnHikFVr/pWT5ieY9WND0jfXNQ=; b=ETeTekfPYQoYyjsaXAjWx4+gXgMj2fR/mH0e1unhg8WHqQLe2MeNbLQu8xjPs+751RgUjOfUCvFFs6/3ubHlFb1MDxGx0bmynGYPZNoddKksXWiBFZr2ZT6udGJrXXL784NI0U9plJ6H6oD8sRC/LXRMXmmZ+A1+e6Gj1VBg4P+cMWWIkdkLJQmPjuSSPyzD3omlk81LVLIHBfCOKJsgMx5aWUZYiDrMSZMq35AuUhfOZzt6CzctkjtiQuSB7ZawYR5S+U0d1VAZeSintnU+CQPOB4MLTEH2gGtWfWa/PWlG0J43e7ue5gyl/x7bLXazIpbXsVoDEdCKzJEBTKeezw==; Received: from brian ([192.168.88.1] helo=leela.metanate.com) by shrek.metanate.com with esmtpsa (TLSv1.2:DHE-RSA-AES128-GCM-SHA256:128) (Exim 4.83_RC2) (envelope-from ) id 1bhg6O-00023z-K9; Wed, 07 Sep 2016 17:53:32 +0100 From: John Keeping To: linux-kernel@vger.kernel.org Subject: [PATCH 1/2] clk: rockchip: add I2S internal clock IDs for rk3288 Date: Wed, 7 Sep 2016 17:53:29 +0100 Message-Id: <20160907165330.14607-1-john@metanate.com> X-Mailer: git-send-email 2.9.3.728.g30b24b4.dirty X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160907_095431_539688_EE312750 X-CRM114-Status: UNSURE ( 7.51 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mark Rutland , devicetree@vger.kernel.org, Heiko Stuebner , Michael Turquette , Stephen Boyd , linux-rockchip@lists.infradead.org, Rob Herring , John Keeping , linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+patchwork-linux-rockchip=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP To minimize jitter on the I2S clocks, it is important that the denominator in the fractional divider is much greater than the numerator. Add identifiers for these internal clocks so that the specific clock topology and rates can be specified in the device tree. Signed-off-by: John Keeping --- include/dt-bindings/clock/rk3288-cru.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/dt-bindings/clock/rk3288-cru.h b/include/dt-bindings/clock/rk3288-cru.h index 9a586e2d9c91..9526653383d9 100644 --- a/include/dt-bindings/clock/rk3288-cru.h +++ b/include/dt-bindings/clock/rk3288-cru.h @@ -88,6 +88,9 @@ #define SCLK_PVTM_GPU 124 #define SCLK_CRYPTO 125 #define SCLK_MIPIDSI_24M 126 +#define SCLK_I2S_PRE 127 +#define SCLK_I2S_SRC 128 +#define SCLK_I2S_FRAC 129 #define SCLK_MAC 151 #define SCLK_MACREF_OUT 152