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: 9649861 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 55602601E9 for ; Tue, 28 Mar 2017 14:46:58 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 473BB2003F for ; Tue, 28 Mar 2017 14:46:58 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 3BA3520008; Tue, 28 Mar 2017 14:46:58 +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=-1.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id CCCCD283A6 for ; Tue, 28 Mar 2017 14:46:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=lHHt2jEGGhbEkYkXFIVwRiMl67QRKHCh+XGNa0IfXgM=; b=aTwwMVvbSK9LZXMHZkeqM0AxXm oHIhH0zOQ0mAUarUlVCMJ3YLFtQQgBer5zoCr9joAXYN1AIogUWPAxpR/ueksqnhmOl/PFPr8L6vq ODL7JBIMTjryEhpQ99ut3OPlAoSmEyLVvpCwOYJ99V4U1Zq6v2jkhQt2udvkLwwaVIUdk5N8+16yO X9PLvzCnTe7AYj+raMNUvwxpKqDTAQoa5ATvP5x/M+Q6MTZJ+ZClr73V4EakMA8PuoxkeHBiM03T0 82B8hx1Gt/rxRbVNjbsOlGvdQ1cpJG2uEJ5KsANT7MPTE7ShwFHp2sXw2/OXn/aKPRis4ft5PoGqx 4Ey9C7QA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1cssOa-0000M8-7T; Tue, 28 Mar 2017 14:46:52 +0000 Received: from mail-wr0-x22e.google.com ([2a00:1450:400c:c0c::22e]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1cssOS-0008UY-PA for linux-amlogic@lists.infradead.org; Tue, 28 Mar 2017 14:46:46 +0000 Received: by mail-wr0-x22e.google.com with SMTP id w11so89656856wrc.3 for ; Tue, 28 Mar 2017 07:46:24 -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=It1nvbQ4GnLLxjCaYL8DaC3vaiIFVUGhWHUW6RI/axnWTiutdk0eQal5ONxGs2KZW6 Rt/4HdQUTp3UV13UZTI0weMzjJNxXZUrCkXTUYFpXRxFvmm2foHzbytmjJkh8ZxonnO1 IBAmmb685xy6DspPkfqHCMgOkeqQ4b5GKCpFt8Tzt8w3aaNG1kOpNTcP/yyprXU0Z6JQ P42Xc9UX2c3noA/L6bhZhmghst68fJf1iUk/NeLKtGy/NAp74DQM/dams8D2vpKn+QKX qdKCUcZWLOrHdP3QRE0Mj0U8PM/pEoHn2tMUXFjc2GxqIfeHDG4pGyQuhM85FlUbmLtO 0hxQ== X-Gm-Message-State: AFeK/H26+MKGhvf5NKBgCHSTCLKNMNjUNO2eSGdoCNhyygWJh/rlKcDdzvwYjpaNx16iT8L5 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 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> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170328_074644_981657_0F44D5B3 X-CRM114-Status: UNSURE ( 7.91 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-amlogic@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-amlogic@lists.infradead.org, devicetree@vger.kernel.org, linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org, Jerome Brunet MIME-Version: 1.0 Sender: "linux-amlogic" Errors-To: linux-amlogic-bounces+patchwork-linux-amlogic=patchwork.kernel.org@lists.infradead.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 */