From patchwork Mon Mar 13 13:26:43 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Neil Armstrong X-Patchwork-Id: 9620845 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 2EEC160522 for ; Mon, 13 Mar 2017 13:27:13 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 2259426BE9 for ; Mon, 13 Mar 2017 13:27:13 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 1559D27F9A; Mon, 13 Mar 2017 13:27:13 +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 A7F7C26BE9 for ; Mon, 13 Mar 2017 13:27:12 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752380AbdCMN1K (ORCPT ); Mon, 13 Mar 2017 09:27:10 -0400 Received: from mail-wm0-f41.google.com ([74.125.82.41]:37922 "EHLO mail-wm0-f41.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751245AbdCMN07 (ORCPT ); Mon, 13 Mar 2017 09:26:59 -0400 Received: by mail-wm0-f41.google.com with SMTP id t189so39868403wmt.1 for ; Mon, 13 Mar 2017 06:26:58 -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=e3eMcZ3sptZHcwcwGPjfgajUE8IFonXnXNJHDTJHS4I=; b=gw73Tg2UROScCmIp13JiSb/3Edp591zgAZpYmCZgOYNd0XfLjApdBBLmbwHq5wYQXr wyyr2pLhEL4VGRszkTgDmAUUdZkpSAv8Z8XIzVqVMFUQ1xHYM3PMEL/6W7sEwIROqNK+ POnRHd1MJP4UhCRUwtsyxL2R4utxQ/oS5SXWC4nI+8ELRnsnfjavivGTUGOVxs8UW/cb gVGpJ0q+mk4cWO51c3W2e+48YtXZsvPRbq3Nah7kLLMVR5NAEtE821kitvflLRDKu0Os LCPXkpwTMqck8i1lUDC0kEcKGRK9ClgHwjNlMVKL1Td4ZGBNLt13znmJhs9Nrm/Vwq4w XkHg== 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=e3eMcZ3sptZHcwcwGPjfgajUE8IFonXnXNJHDTJHS4I=; b=D1j8hizrjI5UipUFHDoZm2moOZ2EVm0TkMgX8Wy1JOsaOEk/SEU3PqxUuOqNLdv/fc maqz8ICjRNgq36ssFNeA0RNT/9+x5l/IFbQFiFrjlzukjOgj13FwmWc90Qj22V2+aNkL v3aYrzIJV9DipS6fWjQPFe8qoKd+e3DnLvPg7oq8OPAG1QbVQv2iZGMN8ZsXxSqTlmA5 V1azSll/AwXdZMAe+iGF555cFBVBHgAYsZaozegREI/6zIwKWa4BAfXx3a+iBSMl06r5 4RfMdkPUMs4Xsho58RKT2QqyT1VGSJkNznXInptm3lrwv9jfejhmYkYiw1xDaHTLyL6v 5HFg== X-Gm-Message-State: AFeK/H0YO59uSJpJ+OkmPeAZwbgDTLyQgj4v2RMwDil89Sx0dV3i20q5Ozme3FUkBJxkOah1 X-Received: by 10.28.125.212 with SMTP id y203mr10991883wmc.90.1489411616660; Mon, 13 Mar 2017 06:26:56 -0700 (PDT) Received: from localhost.localdomain ([90.63.244.31]) by smtp.gmail.com with ESMTPSA id 5sm24968931wrd.58.2017.03.13.06.26.55 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 13 Mar 2017 06:26:56 -0700 (PDT) From: Neil Armstrong To: mturquette@baylibre.com, sboyd@codeaurora.org, carlo@caione.org, khilman@baylibre.com 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 4/5] clk: meson-gxbb: Expose GP0 dt-bindings clock id Date: Mon, 13 Mar 2017 14:26:43 +0100 Message-Id: <1489411604-18700-5-git-send-email-narmstrong@baylibre.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1489411604-18700-1-git-send-email-narmstrong@baylibre.com> References: <1489411604-18700-1-git-send-email-narmstrong@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 This patch exposes the GP0 PLL clock id in the dt bindings. Signed-off-by: Neil Armstrong --- drivers/clk/meson/gxbb.h | 2 +- include/dt-bindings/clock/gxbb-clkc.h | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/clk/meson/gxbb.h b/drivers/clk/meson/gxbb.h index 7f99bf6..89f1a2c 100644 --- a/drivers/clk/meson/gxbb.h +++ b/drivers/clk/meson/gxbb.h @@ -179,7 +179,7 @@ /* CLKID_FCLK_DIV4 */ #define CLKID_FCLK_DIV5 7 #define CLKID_FCLK_DIV7 8 -#define CLKID_GP0_PLL 9 +/* CLKID_GP0_PLL */ #define CLKID_MPEG_SEL 10 #define CLKID_MPEG_DIV 11 /* CLKID_CLK81 */ diff --git a/include/dt-bindings/clock/gxbb-clkc.h b/include/dt-bindings/clock/gxbb-clkc.h index 692846c..febef8b 100644 --- a/include/dt-bindings/clock/gxbb-clkc.h +++ b/include/dt-bindings/clock/gxbb-clkc.h @@ -10,6 +10,7 @@ #define CLKID_FCLK_DIV2 4 #define CLKID_FCLK_DIV3 5 #define CLKID_FCLK_DIV4 6 +#define CLKID_GP0_PLL 9 #define CLKID_CLK81 12 #define CLKID_MPLL2 15 #define CLKID_SPI 34