From patchwork Wed Mar 22 10:32:26 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Neil Armstrong X-Patchwork-Id: 9638453 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 3A95F60327 for ; Wed, 22 Mar 2017 10:33:51 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 1A928272F9 for ; Wed, 22 Mar 2017 10:33:51 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 0E76C28452; Wed, 22 Mar 2017 10:33:51 +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 DF64C28451 for ; Wed, 22 Mar 2017 10:33:49 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934120AbdCVKdp (ORCPT ); Wed, 22 Mar 2017 06:33:45 -0400 Received: from mail-wm0-f46.google.com ([74.125.82.46]:38328 "EHLO mail-wm0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758993AbdCVKc7 (ORCPT ); Wed, 22 Mar 2017 06:32:59 -0400 Received: by mail-wm0-f46.google.com with SMTP id t189so33472577wmt.1 for ; Wed, 22 Mar 2017 03:32:40 -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=lQzJhw+Hss8B5w0E7ArOiBrHppYkoT6PcMZ76Nqd5xg=; b=E5KdUgPk7/3ygtVUoI7F/MFRHPdXqzXzR3lmBTsOIQux9IzGxeRaO6PzpUf1An8BEz UkUtOPtueTBugqDrX8YUxTSKT6dGwXjS87jqxkNV6QKH0IrG0/g1BzF4VZKGlAvf0nh9 TiY5+WqKhyzK7LlJsO5Ck/8hmdPoV2qZZRkuZqc/CMaulBRCU67TKCg97clpAbifKjrJ nxM1EQvi6QbwrT2iNwYYRwQc/BUc/GaqtKhPsHR2NTgMueKnNJrC5gfoWyYPYOAhzHQC CsuQS43vmc3TANru+neRf81bFwC5Cf2oWBBbJ0/IOVOUfcB8Qp5bULc0kMTxMjQYpVfj dcPw== 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=lQzJhw+Hss8B5w0E7ArOiBrHppYkoT6PcMZ76Nqd5xg=; b=RO1zBfP2i7of3YBjdQFJNYBIAmoHyIvPNHi1Go0XGQdDNB+V5e1JrwIQjr1ypsUulJ bUtBLQdaTp2qx3d4hkftVMJsxhMRUW/xybDEnkmYrjngJ6RDjybPzdMdbowW6PCrpe+L 2hDUh3nt5655rGRxZmDE0G8FzJbCQQpViQbImKmgQKRL+JsrWNyXpvmzLb7yPQvdvLnO sIl00J2WkuluSQeGsV+LyOsEhmzY/X7+Ny6kVewDpspzXjSjuSXRFP+eZJCk4EWOE2zC 0hZww4ROlJsbUPqwhT8iFacogns5GwBti6HgrFCwWJamqZpiwGUouv/oN6ctiobjjQPF HY8A== X-Gm-Message-State: AFeK/H1VxD+6odG8EnfxczL8KMoV9Ic85yjukF6soPHzXotvIkYvGjozeccqaFQVulACU2y4 X-Received: by 10.28.208.7 with SMTP id h7mr6964257wmg.79.1490178759242; Wed, 22 Mar 2017 03:32:39 -0700 (PDT) Received: from localhost.localdomain ([90.63.244.31]) by smtp.gmail.com with ESMTPSA id 53sm1285309wrt.52.2017.03.22.03.32.38 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 22 Mar 2017 03:32:38 -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 v2 4/5] clk: meson-gxbb: Expose GP0 dt-bindings clock id Date: Wed, 22 Mar 2017 11:32:26 +0100 Message-Id: <1490178747-14837-5-git-send-email-narmstrong@baylibre.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1490178747-14837-1-git-send-email-narmstrong@baylibre.com> References: <1490178747-14837-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 b710e06..9d94924 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 ef7d6b7..cce6cb5 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