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: 9598205 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 9F52A60429 for ; Wed, 1 Mar 2017 10:47:22 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id CAF3A28474 for ; Wed, 1 Mar 2017 10:47:22 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id BD4BF284CB; Wed, 1 Mar 2017 10:47:22 +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=-1.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 79A7227D0E for ; Wed, 1 Mar 2017 10:47:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=lWmpTI3To/Xl5wlL4Stwe/5APFnwtdR//ZmZOMOfPiw=; b=emMH0jvVUbDe7+N8KBKUFk42gP zY/EHsPyXZWCuk2oY7WAI1dioYptHkS7OF3K9TuKeNjVOIVYXFzyEAAISU7xuDFkHYkkzp9EX/4Ld 6uNWjWT5nMPEIDkCBz4IewJ6r5860c2iuSgmxcpog0w9jiQGDxiLQJ7kVltNCvqwBjHOnkEAqDwij +2j+6dZCsiv6bCuEJR4yOK8PBoXzEJRnFelnPT5cGifpElUL3oLSY+/3NVh8e3Jdn+c4uTEbZQFDm I6UrRF1hB9+Lm3rKxoFEdExVlyG5GX/ZwItgZBe/c2ZrVlmF6l9c7SNt+L09sqGnb8bAN3jcJ9Bvt xDM4hzKg==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1cj1mw-00073O-FO; Wed, 01 Mar 2017 10:47:18 +0000 Received: from mail-wr0-x234.google.com ([2a00:1450:400c:c0c::234]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1cj1mD-0006HO-3u for linux-arm-kernel@lists.infradead.org; Wed, 01 Mar 2017 10:46:37 +0000 Received: by mail-wr0-x234.google.com with SMTP id u108so27220716wrb.3 for ; Wed, 01 Mar 2017 02:46:12 -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=lIJm2TUBDBS7+MQ9dIHoGcyywx8utK4lJuzXhR8QAQhCXCw3xD2QTxqTmy/qxLA29k d+1aU3oiJLfyATgU79+hIwZecTqlhRhdF0jp+cEl2DXyGcwgC4AKoFId8DCnahC2oLCZ e65PHUmR8k0wtrhtcsbpj9t0/8x/qZFpRZMLUbI3TIp3p9wFhhbx3+kcJyzFT+ecB2Py XR89JfCzduPg16pz2maCwISz4MUjZCoWzdJhaWVtDttch22VUH4qcM8BztCAKTSVEw1r yai1PdnwXqxAJ+pojE1O3+Zs0omUE3fZZchZDo/CC+VCpGqvnEI/aPJz8LdrCzvdBmXV EF5w== X-Gm-Message-State: AMke39kq2TYgqlfhAKKNZiooGLHQGqIrwtUJqzCSPfiRdf1+IsNRX+eiF6vWtRotV7NVq3YX 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 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> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170301_024633_414651_A03A0C68 X-CRM114-Status: GOOD ( 10.45 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-amlogic@lists.infradead.org, linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Neil Armstrong MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.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 */