From patchwork Fri Mar 31 13:04:04 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jerome Brunet X-Patchwork-Id: 9656317 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 4F8F9601D2 for ; Fri, 31 Mar 2017 13:05:01 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 40C61285EF for ; Fri, 31 Mar 2017 13:05:01 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 354A628618; Fri, 31 Mar 2017 13:05:01 +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 E9B63285EF for ; Fri, 31 Mar 2017 13:05:00 +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=To9099lBhp2vkDQGpZy3Xw6Iq5kPw45MjY7ooOvd94s=; b=IapAm/EynRFjXUuHSoVGB8fn+4 G0gVLYrgbrareBCDfvoKvXX1c7AqlykYae3gnb7ZrF+oXfpnJAXKTHHqkD22+vw36lgSY3srKK/cW QOVTuR22P1y21s7bEkPSkQ9OECrCi7Ch4zZWgMJAf2Rut805RMF74MswgeFVG1/Nk3UQPv0a8OUN7 O/+DZZlgJwtknvLhOSE+EQi/j/1RbFShf7VFsFyf/WFR43ydLi0uHYT1TI2GHnLNZjIvKbb32SToT TNS2irjaqaSlhv+LTgQtS+NLwX00PVFnE2FZp02FilLk4qroTPqjw5Adz+enfQNJatgSI06KUKva+ 2Z+CvL5Q==; 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 1ctwEZ-00035O-4C; Fri, 31 Mar 2017 13:04:55 +0000 Received: from mail-wr0-x234.google.com ([2a00:1450:400c:c0c::234]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1ctwEJ-0002sa-Jy for linux-amlogic@lists.infradead.org; Fri, 31 Mar 2017 13:04:46 +0000 Received: by mail-wr0-x234.google.com with SMTP id w43so105082603wrb.0 for ; Fri, 31 Mar 2017 06:04: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=HKpvL2/Lrpcbmp7usrHHGRuyb4I1F1n5mmAnU8/hD14=; b=OFMZBW1XGKLWFAbRAktdRz0BDipGBDtH9xVdoTvS2kpHZIuS4oi7+aokFD4WfG+J9x R9CP5IyPQB+KX9KLGZerNcpaT1gqiYqtmWLufWfe62vndIxjrD1Qj5T/Qqa5ola0On4M TiZDxMOpYrE8OUa7XQ4w6uEgTFaMhWfcjvR7iebEylsVxuuP3eYhHpjqFMDVZnf0+ytc 984aAXBSZlswF6Oft6C92sDJf9GsWHy1PBs1rOkqdQ7+u5baHKkx2Fig3mQNPOLzJUrD F4AVYz7LVUKncMMXzDjLy4q3JDuCT1lzXMEs3BpKOQmxibjQ7EYuocjzkcDaRK2cx19K 6Z7Q== 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=HKpvL2/Lrpcbmp7usrHHGRuyb4I1F1n5mmAnU8/hD14=; b=btzwCiOa6eJzY+O5lp63YXBOyN83op2VUhhCyfJRKjRS64UDi/7HAqlFaSDa4id3nF jYoqvlfYgr5HQPCTFhRSFIesC83nfVYPmLq9hAJTd88rpGbh/DfN967ZTyaFtY2r7yBX hoEc64HYi7RDd6FRMn41Jq0zoOXMCtugX7NGmWrw9B0KsIWH++j12dQZtT1yd528HmAM ql8Y1nCMgRTf4x7SJrl56CLyaPHGB3X/GaX5nBK9EJ9XD0XcoWQ1Z/pxIj06BrTH43Q4 +XyrwLqN5+lpCvWYWILU9gGYotYOBV88qZySBkF9vyot49pxgEPLOv6q9CiSalsN9Hh4 dwtQ== X-Gm-Message-State: AFeK/H3bcGL/ZEACdf1wJbqSlQi38XCFSYmz0CbjHFSmaC6+89jDm+6HDZICJWhhZLqa6QMN X-Received: by 10.28.19.207 with SMTP id 198mr2639105wmt.49.1490965456634; Fri, 31 Mar 2017 06:04:16 -0700 (PDT) Received: from localhost.localdomain (uluru.liltaz.com. [163.172.81.188]) by smtp.googlemail.com with ESMTPSA id 189sm2844439wmm.31.2017.03.31.06.04.15 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 31 Mar 2017 06:04:16 -0700 (PDT) From: Jerome Brunet To: Neil Armstrong , Michael Turquette , Stephen Boyd , Kevin Hilman , Carlo Caione Subject: [PATCH v2 1/8] dt-bindings: clock: gxbb: expose spdif clock gates Date: Fri, 31 Mar 2017 15:04:04 +0200 Message-Id: <20170331130411.4781-2-jbrunet@baylibre.com> X-Mailer: git-send-email 2.9.3 In-Reply-To: <20170331130411.4781-1-jbrunet@baylibre.com> References: <20170331130411.4781-1-jbrunet@baylibre.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170331_060439_857218_D5C592EC X-CRM114-Status: UNSURE ( 8.37 ) 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 clock gates required for the spdif output Acked-by: Michael Turquette 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