From patchwork Tue Mar 28 14:46:05 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jerome Brunet X-Patchwork-Id: 9649877 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 B0746601E9 for ; Tue, 28 Mar 2017 14:48:06 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A379527F9F for ; Tue, 28 Mar 2017 14:48:06 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 98395282E8; Tue, 28 Mar 2017 14:48:06 +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.3 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI, RCVD_IN_SORBS_SPAM, 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 4B3C027F9F for ; Tue, 28 Mar 2017 14:48:06 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753828AbdC1Oqg (ORCPT ); Tue, 28 Mar 2017 10:46:36 -0400 Received: from mail-wr0-f177.google.com ([209.85.128.177]:32952 "EHLO mail-wr0-f177.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753866AbdC1Oqf (ORCPT ); Tue, 28 Mar 2017 10:46:35 -0400 Received: by mail-wr0-f177.google.com with SMTP id w43so93607538wrb.0 for ; Tue, 28 Mar 2017 07:46:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=ktrl+fC4t8z3AeopjQ7OPKQm0dFemoFebntry+Yu25E=; b=XzmlveWgkPwHl7oSdt3Y05fROTBuF7W2VToZbzb59emdPJdA2SZ+B+xGrm8ApALGKM HDlcVbAdOkQe2+kKZruCMgrsag2jRQdr4kmnDIyTLeW7W0WWNs830Ny14RscSDsiucNg mdKg+qh4F/Zi+6eArdfXqwdizobAi49M7Dv++7vBR7L7vq2ktqzya91h/YxKnZudfIqk 6DqvU8j8cEol97O4ahs1fGg+qH220PmO37FkjiGK0aEjt/Vo/ZniU9/SXFRzjORAu8uT BlBZd54Jll1WV6MFahZW4n92rg9+e0V/oTfGS1yxHRYVF+YyNWKCl44F1ODL3m9PL9uA qtZQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=ktrl+fC4t8z3AeopjQ7OPKQm0dFemoFebntry+Yu25E=; b=IoH7k3Hb3u9FYG/LaJcBg2tnrZF+u3mjtkMeQqkrM0P9z/XZcCEbuguUzsCfCmpHx8 S+gpqLry4EZawHxZSQIfGHCw1s5rAV/hY2FoKfHpGOVBv/zTi5EuNHWih3X7rqUeifn+ UIsSCx7dUJjNtn6RaDxfM+BBLv2HocBFuClNVBEvd2CDN4Wqh22OgcQ6YmIBmIuW+x7w fc+68DchVW1jygzrlbScPsRgaUUzYhU/4VXdhthJmqeippZUgRrJqFN+gWfgk3zdc3BC I5Ixm/4kHM0EXXi5Nzk6jRq8JYE3h/XVCiP+B1//uq6OOOKrqFwVympTNQ7tFRcWhDK2 3/vQ== X-Gm-Message-State: AFeK/H14kmdABLwUXMYpAh7P65y064u0Av8Kzvj8cqrNcekiZ5P5Kw7dTUW+daB9ZmukI8xb X-Received: by 10.223.175.84 with SMTP id z78mr28508610wrc.84.1490712383085; Tue, 28 Mar 2017 07:46:23 -0700 (PDT) Received: from localhost.localdomain (cag06-3-82-243-161-21.fbx.proxad.net. [82.243.161.21]) by smtp.googlemail.com with ESMTPSA id a18sm5159457wrc.58.2017.03.28.07.46.21 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 28 Mar 2017 07:46:22 -0700 (PDT) From: Jerome Brunet To: Michael Turquette , Stephen Boyd , Kevin Hilman , Carlo Caione Cc: Jerome Brunet , linux-clk@vger.kernel.org, linux-amlogic@lists.infradead.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org Subject: [PATCH v1 8/8] dt-bindings: clock: gxbb: expose spdif master clock Date: Tue, 28 Mar 2017 16:46:05 +0200 Message-Id: <20170328144605.25278-9-jbrunet@baylibre.com> X-Mailer: git-send-email 2.9.3 In-Reply-To: <20170328144605.25278-1-jbrunet@baylibre.com> References: <20170328144605.25278-1-jbrunet@baylibre.com> 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 Expose the spdif master clock and the mux to select the appropriate spdif clock parent depending on the data source. Signed-off-by: Jerome Brunet --- drivers/clk/meson/gxbb.h | 4 ++-- include/dt-bindings/clock/gxbb-clkc.h | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/drivers/clk/meson/gxbb.h b/drivers/clk/meson/gxbb.h index 742bc3b42565..17c6aef033ff 100644 --- a/drivers/clk/meson/gxbb.h +++ b/drivers/clk/meson/gxbb.h @@ -280,10 +280,10 @@ /* CLKID_CTS_AMCLK */ #define CLKID_CTS_AMCLK_SEL 108 #define CLKID_CTS_AMCLK_DIV 109 -#define CLKID_CTS_MCLK_I958 110 +/* CLKID_CTS_MCLK_I958 */ #define CLKID_CTS_MCLK_I958_SEL 111 #define CLKID_CTS_MCLK_I958_DIV 112 -#define CLKID_CTS_I958 113 +/* CLKID_CTS_I958 */ #define NR_CLKS 114 diff --git a/include/dt-bindings/clock/gxbb-clkc.h b/include/dt-bindings/clock/gxbb-clkc.h index 0d231bef92e0..4516bc4253b5 100644 --- a/include/dt-bindings/clock/gxbb-clkc.h +++ b/include/dt-bindings/clock/gxbb-clkc.h @@ -44,5 +44,7 @@ #define CLKID_MALI_1 105 #define CLKID_MALI 106 #define CLKID_CTS_AMCLK 107 +#define CLKID_CTS_MCLK_I958 110 +#define CLKID_CTS_I958 113 #endif /* __GXBB_CLKC_H */