From patchwork Wed Mar 1 10:46:02 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Neil Armstrong X-Patchwork-Id: 9598225 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 0124760453 for ; Wed, 1 Mar 2017 10:56:38 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 10FE62842B for ; Wed, 1 Mar 2017 10:56:38 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 058D8284F5; Wed, 1 Mar 2017 10:56:38 +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 7817C2842B for ; Wed, 1 Mar 2017 10:56:37 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750703AbdCAK4K (ORCPT ); Wed, 1 Mar 2017 05:56:10 -0500 Received: from mail-wr0-f170.google.com ([209.85.128.170]:36515 "EHLO mail-wr0-f170.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752476AbdCAKzU (ORCPT ); Wed, 1 Mar 2017 05:55:20 -0500 Received: by mail-wr0-f170.google.com with SMTP id u108so27383526wrb.3 for ; Wed, 01 Mar 2017 02:55:14 -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:in-reply-to:references; bh=RcMNsnbb2yHZk1Xavd2TsvDXuojV2GGttV/BmH/r4Oo=; b=MSZKYih81mQV90csAGL+i/V5THteFd71jEsPK71Wh2Rlt+bN9lTudXaGWg+W7qvV4k ER2SxXNZSp5/bIHucsBktt4C7A5YBoAp1tvHYUuFe5/JnC+ECwKFk/VNq0wVnWQ67c8H /3uQp6Af6iuztPT678vmBcaiOFYy2xXUn1TvFiJD36jNjQNL39alQ8wpGcb/SPq7UBGT G8b5HUt9gViC9HfyjSt0MWNOYkgNzWCcap0fDab+0/SA43mUsd5S+h+NjtMqN5MPb0pa LNd16FoQzspDQ987BECVi8KRNOnAcfEWagT8Lmta8+iW1IGYm2SBIl88ptZJOSANRzKR jb6g== 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=RcMNsnbb2yHZk1Xavd2TsvDXuojV2GGttV/BmH/r4Oo=; b=iUDwqeA+KfWyi2Dz/ilXuc7xZJ42pVIC0toRPymcGtX7vD65MjV6YZRE0NNV/lL0jO HWrh2ZQJptFim8S4XlnX1ZgIqlytPKHAkicsG34QX0QsT8MoYPjIvPZ8dqyo46LodG4o Sgls5KSetVLvDP2Xl6wSsqbmDDP20T5RROJFJhjkTfal9PqWRrB+iCapZj/OBKFQt8a+ 913ppGX0yS1AlEGoN70p70Wc8FNIB7a7a3LZToOHO9037kvdVD1nSYxz5PxKdo8TBtVU XPGU483UoO+yZPgg93S+YqrmjJvBX16cCUOhlPJoMwLpPCe0zHpEdCRWQLkrw7VGKk+z oExg== X-Gm-Message-State: AMke39lYIJzrSzRVdzmv3HWEBvDZ/4dw5n1zSsSJHIxV1TXcv5vz4Okm9RwYcCzSCFODz28e X-Received: by 10.223.134.15 with SMTP id 15mr7287394wrv.102.1488365171428; Wed, 01 Mar 2017 02:46:11 -0800 (PST) Received: from localhost.localdomain ([90.63.244.31]) by smtp.gmail.com with ESMTPSA id m201sm6399691wmd.19.2017.03.01.02.46.10 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 01 Mar 2017 02:46:11 -0800 (PST) From: Neil Armstrong To: sboyd@codeaurora.org, khilman@baylibre.com, carlo@caione.org Cc: Neil Armstrong , linux-amlogic@lists.infradead.org, linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 1/3] clk: meson-gxbb: Add MALI clock IDS Date: Wed, 1 Mar 2017 11:46:02 +0100 Message-Id: <1488365164-22861-2-git-send-email-narmstrong@baylibre.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1488365164-22861-1-git-send-email-narmstrong@baylibre.com> References: <1488365164-22861-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 Add missing MALI clock IDs and expose the muxes and gates in the dt-bindings. Signed-off-by: Neil Armstrong --- drivers/clk/meson/gxbb.h | 9 ++++++++- include/dt-bindings/clock/gxbb-clkc.h | 5 +++++ 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/drivers/clk/meson/gxbb.h b/drivers/clk/meson/gxbb.h index 95a83b7..2ec8f8a 100644 --- a/drivers/clk/meson/gxbb.h +++ b/drivers/clk/meson/gxbb.h @@ -268,8 +268,15 @@ /* CLKID_SAR_ADC_CLK */ /* CLKID_SAR_ADC_SEL */ #define CLKID_SAR_ADC_DIV 99 +/* CLKID_MALI_0_SEL */ +#define CLKID_MALI_0_DIV 101 +/* CLKID_MALI_0 */ +/* CLKID_MALI_1_SEL */ +#define CLKID_MALI_1_DIV 104 +/* CLKID_MALI_1 */ +/* CLKID_MALI */ -#define NR_CLKS 100 +#define NR_CLKS 107 /* include the CLKIDs that have been made part of the stable DT binding */ #include diff --git a/include/dt-bindings/clock/gxbb-clkc.h b/include/dt-bindings/clock/gxbb-clkc.h index f08f06d..ef7d6b7 100644 --- a/include/dt-bindings/clock/gxbb-clkc.h +++ b/include/dt-bindings/clock/gxbb-clkc.h @@ -35,5 +35,10 @@ #define CLKID_SD_EMMC_C 96 #define CLKID_SAR_ADC_CLK 97 #define CLKID_SAR_ADC_SEL 98 +#define CLKID_MALI_0_SEL 100 +#define CLKID_MALI_0 102 +#define CLKID_MALI_1_SEL 103 +#define CLKID_MALI_1 105 +#define CLKID_MALI 106 #endif /* __GXBB_CLKC_H */