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: 9319679 X-Patchwork-Delegate: sboyd@codeaurora.org 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 0F1FD60752 for ; Wed, 7 Sep 2016 16:54:15 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 09AC9293FD for ; Wed, 7 Sep 2016 16:54:15 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id F29BC2940B; Wed, 7 Sep 2016 16:54:14 +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=-6.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 79949293FD for ; Wed, 7 Sep 2016 16:54:12 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757161AbcIGQyE (ORCPT ); Wed, 7 Sep 2016 12:54:04 -0400 Received: from dougal.metanate.com ([90.155.101.14]:35140 "EHLO metanate.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1756378AbcIGQyA (ORCPT ); Wed, 7 Sep 2016 12:54:00 -0400 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 Cc: John Keeping , Michael Turquette , Stephen Boyd , Heiko Stuebner , Rob Herring , Mark Rutland , linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, devicetree@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 Sender: linux-clk-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-clk@vger.kernel.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