From patchwork Thu Mar 9 12:53:45 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Neil Armstrong X-Patchwork-Id: 9613281 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 DBCF0602B4 for ; Thu, 9 Mar 2017 12:55:03 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id DAAFB285C1 for ; Thu, 9 Mar 2017 12:55:03 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id CE2DF2861E; Thu, 9 Mar 2017 12:55:03 +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 7F054285C1 for ; Thu, 9 Mar 2017 12:55:03 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754624AbdCIMx5 (ORCPT ); Thu, 9 Mar 2017 07:53:57 -0500 Received: from mail-wr0-f179.google.com ([209.85.128.179]:33566 "EHLO mail-wr0-f179.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754520AbdCIMx4 (ORCPT ); Thu, 9 Mar 2017 07:53:56 -0500 Received: by mail-wr0-f179.google.com with SMTP id u48so44430326wrc.0 for ; Thu, 09 Mar 2017 04:53:55 -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=WCOI9a3MCanN3inEBCdeaNroTAMNEW3Ro7riwqRCogI=; b=IQHJt/jw5RSvINjnzn+krYPJPnSgW5wXIs8EcnhwycIECp/ultBFLIcB+J6Ym6lJou v3vCW2NHnReQx8+L6NfX80LyrkAoD6XXyecYLPLAx0qhKlEBEdsnpihLY29OVV2QuzN2 elzo6BgcYBEEaTS4wbjQRodkcosgK7SCDbeIpIzoP2aR77AJNnKYju6+mkYLsLskb4to dow21wur1Z0GuRL0KGDokwJvU0ie2Q4V82podkIwUvFQ16aSWjyeOwxmzEBBeeIRut+K m+c7mYk/A2eg+6MWhDgFsDldH7NjS1Ujc5BWu+9eVk0xu/c0VIumRpqVpHk1BzoIZl2+ e5eQ== 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=WCOI9a3MCanN3inEBCdeaNroTAMNEW3Ro7riwqRCogI=; b=DCVbjPrIMCAuFpMjmRZMmmUcjkkzdB8D3+C9eX0kmsF+Ikyj1BEhWAQiDbzh16gkbD dSc1WW1B/4HrtkUo+3mAeT92f4Qi5cjqx0NY5b4WqzC5luo7dw1Cc9GmBpg9iVAmH20n Cu7wVa40RXObTn44mfYPcSiaO5YLCLdxBfqmn0O3dQd07U3iasnQjiCxPvEVcqyy5aPS 4+cDTCZfbIJU0cZstppIa/xdx7Xy1c+qsRr1grvimSG0tGNKjhXHcgzbsAEpSIJ+FQqm ROrsJ18NEN3LOyYteubMQRANYSpHrR5LUQMRu+Fp2dQ66X21lXUgfDgIENuzELCjqrxD d5HA== X-Gm-Message-State: AMke39ncBujb4dPtlAsehC7ZQxjd9hJs/9oI66q+3el2pz3vK0zYLPXHE73a58yH5zBK6tL1 X-Received: by 10.223.169.171 with SMTP id b40mr11229111wrd.132.1489064035030; Thu, 09 Mar 2017 04:53:55 -0800 (PST) Received: from localhost.localdomain ([90.63.244.31]) by smtp.gmail.com with ESMTPSA id x193sm8695777wme.23.2017.03.09.04.53.54 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 09 Mar 2017 04:53:54 -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 v3 1/3] clk: meson-gxbb: Add MALI clock IDS Date: Thu, 9 Mar 2017 13:53:45 +0100 Message-Id: <1489064027-18004-2-git-send-email-narmstrong@baylibre.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1489064027-18004-1-git-send-email-narmstrong@baylibre.com> References: <1489064027-18004-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 274f587..73efdc3 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 */