From patchwork Mon Aug 22 12:49:37 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Neil Armstrong X-Patchwork-Id: 9293469 X-Patchwork-Delegate: sboyd@codeaurora.org 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 1FD8A607FF for ; Mon, 22 Aug 2016 12:49:47 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 09F612898A for ; Mon, 22 Aug 2016 12:49:47 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id F2C772898C; Mon, 22 Aug 2016 12:49:46 +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 C2B342898A for ; Mon, 22 Aug 2016 12:49:45 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753629AbcHVMto (ORCPT ); Mon, 22 Aug 2016 08:49:44 -0400 Received: from mail-wm0-f54.google.com ([74.125.82.54]:38801 "EHLO mail-wm0-f54.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752682AbcHVMtn (ORCPT ); Mon, 22 Aug 2016 08:49:43 -0400 Received: by mail-wm0-f54.google.com with SMTP id o80so142159039wme.1 for ; Mon, 22 Aug 2016 05:49:43 -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; bh=mac5+P2Md9CqHjwStbe2jgf2uYu3oN6rwd7uel4OZew=; b=k9QEpfyL57YtVdQo/gwn4rO5l02aMHCW3mEdTwaRS0HMmxLC/riZrx+9uUqOlzPX3y ou/gBupb3Z/453foVJTFdre+U6ITWcE8qnhCn588M2qhAIUziS5cpLMYzH6o5ARCE/pt S54kqWO4Dc3oxvQTUQgSljgLSlAvwF5XDYKXPTT03tiXJ8CDUwXgXQxnfeNJORjdxvx/ 7iVQKBsOnMgrnAG66KLbuBPIgvWyMzuf5I0pTvgWK+zkR7plKQG3s6kCLYaogVaaELJE V9/W+fYk1Hy3mVcG8dyRiufmLtJOrrwoNtyW7TzuUiDsXECUuCicZpAwfJ6owmIyHdU6 8LQA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=mac5+P2Md9CqHjwStbe2jgf2uYu3oN6rwd7uel4OZew=; b=IVWILTROeMF47atLHvINHcWuwCcmW7r8qiNFoEZql9TagSQLHJ3kPeMnzw0NSiZtma fFKT1rSG7ASP94o/VWD6MsK1FHH7u/U1JHmrKxCtGJ/kSznKBIxWorRI1tdNOdmpCskH oW9k+MZMNnlonayqS6daQ1Z7kLIuGtdFkq5fT2QJ42PsH/uCPcQQOH4694a7Wjxjz5hs PjQOGhnzndOnqyXQneLImEMQu03adkZILE9i9Ai+XTEmJ15DBR33zk/Dva67w6UToJHd hwI7vLS7VAQ5KL/3ulG9CyUU7BMEhpRdafiZDFLFLZGhCAyPWt41O43cKGOcE6SjCn+9 UmAQ== X-Gm-Message-State: AEkoouslL6gzx+dTAvXMEqbZHdjY4zmi4iQQgcTvEEYOHr3/X/jhFDhbEEYegJbb24GcGGIt X-Received: by 10.194.115.99 with SMTP id jn3mr19085209wjb.194.1471870182136; Mon, 22 Aug 2016 05:49:42 -0700 (PDT) Received: from localhost.localdomain ([90.63.244.31]) by smtp.gmail.com with ESMTPSA id n2sm23897764wjd.1.2016.08.22.05.49.40 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 22 Aug 2016 05:49:41 -0700 (PDT) From: Neil Armstrong To: sboyd@codeaurora.org, carlo@caione.org, khilman@baylibre.com, devicetree@vger.kernel.org Cc: Neil Armstrong , linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-amlogic@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH] clk: meson-gxbb: Export PWM related clocks for DT Date: Mon, 22 Aug 2016 14:49:37 +0200 Message-Id: <1471870177-10609-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 Add the PWM related clocks in order to be referenced as PWM source clocks. Signed-off-by: Neil Armstrong Acked-by: Stephen Boyd --- drivers/clk/meson/gxbb.h | 6 +++--- include/dt-bindings/clock/gxbb-clkc.h | 3 +++ 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/drivers/clk/meson/gxbb.h b/drivers/clk/meson/gxbb.h index a2adf34..523b494 100644 --- a/drivers/clk/meson/gxbb.h +++ b/drivers/clk/meson/gxbb.h @@ -170,11 +170,11 @@ */ #define CLKID_SYS_PLL 0 /* CLKID_CPUCLK */ -#define CLKID_HDMI_PLL 2 +/* CLKID_HDMI_PLL */ #define CLKID_FIXED_PLL 3 #define CLKID_FCLK_DIV2 4 -#define CLKID_FCLK_DIV3 5 -#define CLKID_FCLK_DIV4 6 +/* CLKID_FCLK_DIV3 */ +/* CLKID_FCLK_DIV4 */ #define CLKID_FCLK_DIV5 7 #define CLKID_FCLK_DIV7 8 #define CLKID_GP0_PLL 9 diff --git a/include/dt-bindings/clock/gxbb-clkc.h b/include/dt-bindings/clock/gxbb-clkc.h index f889d80..a5897f3 100644 --- a/include/dt-bindings/clock/gxbb-clkc.h +++ b/include/dt-bindings/clock/gxbb-clkc.h @@ -6,6 +6,9 @@ #define __GXBB_CLKC_H #define CLKID_CPUCLK 1 +#define CLKID_HDMI_PLL 2 +#define CLKID_FCLK_DIV3 5 +#define CLKID_FCLK_DIV4 6 #define CLKID_CLK81 12 #define CLKID_ETH 36