From patchwork Tue Mar 28 14:45:58 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jerome Brunet X-Patchwork-Id: 9649839 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 5DB2660349 for ; Tue, 28 Mar 2017 14:46:44 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 5032F28408 for ; Tue, 28 Mar 2017 14:46:44 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 44E7828405; Tue, 28 Mar 2017 14:46:44 +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 9632A26E56 for ; Tue, 28 Mar 2017 14:46:43 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753873AbdC1Oqe (ORCPT ); Tue, 28 Mar 2017 10:46:34 -0400 Received: from mail-wm0-f50.google.com ([74.125.82.50]:37164 "EHLO mail-wm0-f50.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753828AbdC1Oqd (ORCPT ); Tue, 28 Mar 2017 10:46:33 -0400 Received: by mail-wm0-f50.google.com with SMTP id x124so600866wmf.0 for ; Tue, 28 Mar 2017 07:46:18 -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=G0kBKdBvMjTEqWS8bQXU61TDXMblEq9O1ZMJiLJ9QTw=; b=wSrCYjbsXCDj3+u28gV6XNIFc7PCbtvzAhTABDwDhii9KlaHVsnAkOyuanIjo2gsY/ uDZorWAgU+irH7MZwLlWZeTNmSar/XZT+W9PnbX3DTNQMTvWfTHW/xmRdDFuvYlNJcDn UJGjLZsLcu4yomM8j9eMQywwJj2SOllmPdGTqyQBwANsnNO5e7a9BhzTwSmO1fpsDrne SxWnrCsJzGpYAhE+hSUfSI/dPw0vKCkkIRmCyWAdXgHi0SpuyVDFYN8eV+BZemAqzxTZ YN9IGp4dnz/6R/Z7iJ86YkfeqBVF0DiwQLHJp2mSKlwMp5oxJUSJalMiADS+M7J4mRun yFpg== 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=G0kBKdBvMjTEqWS8bQXU61TDXMblEq9O1ZMJiLJ9QTw=; b=K6fz2ov4ZNYwx2GBGyIM/dRuD5qzbl678oAnIb2VrgPObmxqcLlfO2k2Lu4sn69Z1F csSv4SsjQMghfIaNgPh+4/W0WBqhyv+oYMpzepDmyIxVmRXzUqBQ8JUI9KsLE117svdd YzZdXufZbQT1TjnzE8Q14Oz2F+LZj8yVAvPrb9zj37Jts1dzPr2s8QqSyP2jm9ZwhRAv xjreOWqq5AdhsN7m2x3x2Bb0LqF3fLA6OGVQ/F855EtdQyHEdXs2yUpSVI7ArVGznB3v Vo2wV1MvcJlAj4t+xsWeoqapCwK0PgUbVuvV8I9Gh7YoqJm7bVNs4lHk9skVBzugGgcJ KFxw== X-Gm-Message-State: AFeK/H1RLBUIdnQCVLwbesA/swZN6RPetjQHBLkUvDUnmFELpq9vzq0iW/BSoURoXEQcj+F/ X-Received: by 10.28.138.134 with SMTP id m128mr15164657wmd.121.1490712372257; Tue, 28 Mar 2017 07:46:12 -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.10 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 28 Mar 2017 07:46:11 -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 1/8] dt-bindings: clock: gxbb: expose spdif clock gates Date: Tue, 28 Mar 2017 16:45:58 +0200 Message-Id: <20170328144605.25278-2-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 clock gates required for the spdif output 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 9d949244b104..0d535f7e7aed 100644 --- a/drivers/clk/meson/gxbb.h +++ b/drivers/clk/meson/gxbb.h @@ -209,7 +209,7 @@ /* CLKID_ETH */ #define CLKID_DEMUX 37 /* CLKID_AIU_GLUE */ -#define CLKID_IEC958 39 +/* CLKID_IEC958 */ /* CLKID_I2S_OUT */ #define CLKID_AMCLK 41 #define CLKID_AIFIFO2 42 @@ -251,7 +251,7 @@ #define CLKID_GCLK_VENCI_INT 78 #define CLKID_DAC_CLK 79 /* CLKID_AOCLK_GATE */ -#define CLKID_IEC958_GATE 81 +/* CLKID_IEC958_GATE */ #define CLKID_ENC480P 82 #define CLKID_RNG1 83 #define CLKID_GCLK_VENCI_INT1 84 diff --git a/include/dt-bindings/clock/gxbb-clkc.h b/include/dt-bindings/clock/gxbb-clkc.h index cce6cb5418f1..1d4614bc8154 100644 --- a/include/dt-bindings/clock/gxbb-clkc.h +++ b/include/dt-bindings/clock/gxbb-clkc.h @@ -18,6 +18,7 @@ #define CLKID_SAR_ADC 23 #define CLKID_ETH 36 #define CLKID_AIU_GLUE 38 +#define CLKID_IEC958 39 #define CLKID_I2S_OUT 40 #define CLKID_MIXER_IFACE 44 #define CLKID_AIU 47 @@ -30,6 +31,7 @@ #define CLKID_SANA 69 #define CLKID_GCLK_VENCI_INT0 77 #define CLKID_AOCLK_GATE 80 +#define CLKID_IEC958_GATE 81 #define CLKID_AO_I2C 93 #define CLKID_SD_EMMC_A 94 #define CLKID_SD_EMMC_B 95