From patchwork Tue Jan 17 12:08:48 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Neil Armstrong X-Patchwork-Id: 9520575 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 0400D6020A for ; Tue, 17 Jan 2017 12:09:10 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 03F1628491 for ; Tue, 17 Jan 2017 12:09:10 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id EBB4428515; Tue, 17 Jan 2017 12:09:09 +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 9B13328491 for ; Tue, 17 Jan 2017 12:09:09 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751089AbdAQMI4 (ORCPT ); Tue, 17 Jan 2017 07:08:56 -0500 Received: from mail-wm0-f41.google.com ([74.125.82.41]:37785 "EHLO mail-wm0-f41.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750985AbdAQMIz (ORCPT ); Tue, 17 Jan 2017 07:08:55 -0500 Received: by mail-wm0-f41.google.com with SMTP id c206so219579290wme.0 for ; Tue, 17 Jan 2017 04:08:54 -0800 (PST) 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; bh=CbuS1Z5Q4tE9gt6KUVZ10585Z96CrYxZ+PYYycVqej0=; b=XrFVDLYxzjcENRXCZpA/kERE3dMoR+cOpjAqAt2lWPjVaG+g8Rw/ETXWET1TDNhgUr Aao11iQfjQ3kSqZh+ujkIzrXUsjNXudKdbXNBI4juS/sliRB0mRa7gmGC11R4525qC07 +IseRu7Le0Y0AmzHSPFzt+KXct6B6fJjxn9y4zQpxh9mlCtwbCJ/zsJkuIMBquRSTj5d tseRtbmtXqpJImI4940poiXVP8F3yNKotrEnUQo9EyyvkvM8UKsLaBMXfN2iWfoDDif5 U/RYwh0L0ctpeixnsaQbhM9paekP8DNDhy3HVaVVq49EwF4+sN7ImZRPYuTluxmJnjnF xOuQ== 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; bh=CbuS1Z5Q4tE9gt6KUVZ10585Z96CrYxZ+PYYycVqej0=; b=JPhD7lleR8HngsFGgeH+o/1uwXjGl4EKQvkrHHLcl2OaAQY/qYHsIrDyckT/rNv6TG jUF1OmbNgzJ2tx8GHD2xtmVIxgxKeAuB8dDFxFDDT4whAIAJJ70CXpjyIOzlNiEvDiRX tUHHhz+9rDQetbgELNMrihvfaFdPNW/uXx/PBMoc8d/Kf5cBlKjXMRblpSpXprE6FJW4 s9lJDDlpf/r7cv2pQZnnuC+HeqMdXeW3Ve8BadV3v9oj9IfJ5yqDgxevs8EWsalLEZiT WXp1g7ZC6SkYmC9Z5XT2nEttvEM8z+YBOQ1Mz+l3MpDVIupVB+pRdudexEM2/Bu4VUMT OjWA== X-Gm-Message-State: AIkVDXIU3DOuYfgL1PSjN6QAvB/GGs3KwQ6PLU1iu7jGz1C/Cg/epJW8YI3SGPQWsUF/gkyb X-Received: by 10.28.18.130 with SMTP id 124mr12617376wms.8.1484654933507; Tue, 17 Jan 2017 04:08:53 -0800 (PST) Received: from localhost.localdomain (home.amouriers.starnux.net. [82.228.250.61]) by smtp.gmail.com with ESMTPSA id v143sm22460530wmv.4.2017.01.17.04.08.51 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 17 Jan 2017 04:08:52 -0800 (PST) From: Neil Armstrong To: mturquette@baylibre.com, sboyd@codeaurora.org, khilman@baylibre.com, carlo@caione.org Cc: Neil Armstrong , linux-clk@vger.kernel.org, linux-amlogic@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org Subject: [PATCH] clk: meson-gxbb: Export HDMI clocks Date: Tue, 17 Jan 2017 13:08:48 +0100 Message-Id: <1484654928-5640-1-git-send-email-narmstrong@baylibre.com> X-Mailer: git-send-email 1.9.1 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 Export HDMI clock from internal to dt-bindings. Signed-off-by: Neil Armstrong Acked-by: Kevin Hilman Acked-by: Stephen Boyd --- 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 0252939..2139e97 100644 --- a/drivers/clk/meson/gxbb.h +++ b/drivers/clk/meson/gxbb.h @@ -231,7 +231,7 @@ #define CLKID_AHB_DATA_BUS 60 #define CLKID_AHB_CTRL_BUS 61 #define CLKID_HDMI_INTR_SYNC 62 -#define CLKID_HDMI_PCLK 63 +/* CLKID_HDMI_PCLK */ /* CLKID_USB1_DDR_BRIDGE */ /* CLKID_USB0_DDR_BRIDGE */ #define CLKID_MMC_PCLK 66 @@ -245,7 +245,7 @@ #define CLKID_VCLK2_VENCI1 74 #define CLKID_VCLK2_VENCP0 75 #define CLKID_VCLK2_VENCP1 76 -#define CLKID_GCLK_VENCI_INT0 77 +/* CLKID_GCLK_VENCI_INT0 */ #define CLKID_GCLK_VENCI_INT 78 #define CLKID_DAC_CLK 79 #define CLKID_AOCLK_GATE 80 diff --git a/include/dt-bindings/clock/gxbb-clkc.h b/include/dt-bindings/clock/gxbb-clkc.h index baade6f..da1d473 100644 --- a/include/dt-bindings/clock/gxbb-clkc.h +++ b/include/dt-bindings/clock/gxbb-clkc.h @@ -18,8 +18,10 @@ #define CLKID_USB0 50 #define CLKID_USB1 51 #define CLKID_USB 55 +#define CLKID_HDMI_PCLK 63 #define CLKID_USB1_DDR_BRIDGE 64 #define CLKID_USB0_DDR_BRIDGE 65 +#define CLKID_GCLK_VENCI_INT0 77 #define CLKID_AO_I2C 93 #define CLKID_SD_EMMC_A 94 #define CLKID_SD_EMMC_B 95