From patchwork Thu May 4 18:19:19 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Martin Blumenstingl X-Patchwork-Id: 9712483 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 61C0D60387 for ; Thu, 4 May 2017 18:20:24 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 51991286A3 for ; Thu, 4 May 2017 18:20:24 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 46642286AA; Thu, 4 May 2017 18:20:24 +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_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM 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 1378E286B3 for ; Thu, 4 May 2017 18:20:23 +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=BFDg4bq9JsllAPeRG+RyZNn//hFqBCA+r70XhGQG7v8=; b=Iayq3MYAjKMRjy1DH8jIEpxGAV gmRxOeNs7pcxQAVCuJhTn7SIr6gsW3hfOIuHOAGTlILtuAkWaB5gS3fVsNw0gcaACrgCmRjyQaXuB xm2hH+eHXy3m9C7rwTvXrp0DUEoc3Z7Phqutl9M4aL042O91F4FBlv9uGV3twefmIPbnnsQLN93A3 q9k5Qog7Q7h3ZHZvb0ofsu4d7XDeIzhwyaRgIYtWNaAGansu0anxDw0itvB2ncW+MZ7RlsiklY/wp Yq7BWeeKuir1IUdjOVJ1styInyQIGLhCNoQWj/qqmg8GAGIY8+AubiqBA9OhxpwObImxcb5QKpyHE H8rjNBDQ==; 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 1d6LMB-0001hX-8f; Thu, 04 May 2017 18:20:03 +0000 Received: from mail-wm0-x242.google.com ([2a00:1450:400c:c09::242]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1d6LLw-0001Ld-2q; Thu, 04 May 2017 18:19:49 +0000 Received: by mail-wm0-x242.google.com with SMTP id y10so5098094wmh.0; Thu, 04 May 2017 11:19:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=y6WoLiTrvHRrCpib1BNd2UeMEYwCK4EIH84eStv/QrE=; b=kHP0szdpIrxmyJQVIP5F8mtZvwnEMbWuBaBzlmLTNmBIMTQccapuUDYBVgWbPdqk3p vgkDLhaiHRDzbUMcOV081AEKxd+fhGsbZznzMit8NfQhXnnCsWKJLY/wNAxAIps5IvNb hzxCXrNPKWntVamtLA/jREw0ZAQEx06w2kwsKKYIlxbr8WGxh/X6qO9sfZvIkom1t6y/ UkneF2ObiHI4LOxchLYOil5pNB3FxFQzbBImgDNnkLfGSgVK3BB9oPf1mWukdWb2JsP9 Z0Wkl79XrndHoAjEsGEqSfMHPlzR7+HsUejQs9UhsYuDZ7E5p82Bql9LdAvULpIgXIHl W+Lw== 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=y6WoLiTrvHRrCpib1BNd2UeMEYwCK4EIH84eStv/QrE=; b=DVCYAqj409MB9Z1BpnAS5ee2hnjuwSI58Hd2P1PcWRAia1i3jRAyzqg07vqQfZe5uX J88AKQh3zImkgg0mmNEF+tbdR/Ye1r6HQIIukRT47uzcX34nzFGI9UYuNlDzNOe9YX0X 9x74UtkoHG0LYFEOT6vcWVcERNjjIgVG1fwdgDFuDpk3KOBTuo81YxtNzXzxWPV8Fd3c K3qY1/v84urgSzmgbWvzD8eGlIlRh4vYIf8hYdQQiWnbTi2aW6IAIbkxj1guki51ibfI o3KISpS61wv8K4VG0amvuuD0leaAOTeBJjCNfiS8Jd3+c47E1/DeSxpeVkQN6htl1tCN sxRw== X-Gm-Message-State: AN3rC/5sWloIEsUKLxIoJlNucqu5EMifEIEXywJpkzkY3tV1aY9yJ0uJ ETaUcBfn/DOOnw== X-Received: by 10.28.12.211 with SMTP id 202mr2889470wmm.32.1493921966638; Thu, 04 May 2017 11:19:26 -0700 (PDT) Received: from blackbox.darklights.net (p200300DCD3F23104E1FBC614D4FACDED.dip0.t-ipconnect.de. [2003:dc:d3f2:3104:e1fb:c614:d4fa:cded]) by smtp.googlemail.com with ESMTPSA id t26sm3364738wra.43.2017.05.04.11.19.25 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 04 May 2017 11:19:26 -0700 (PDT) From: Martin Blumenstingl To: linux-amlogic@lists.infradead.org, jbrunet@baylibre.com, narmstrong@baylibre.com, linux-clk@vger.kernel.org Subject: [PATCH v2 1/2] clk: meson-gxbb: un-export the CPU clock Date: Thu, 4 May 2017 20:19:19 +0200 Message-Id: <20170504181920.21880-2-martin.blumenstingl@googlemail.com> X-Mailer: git-send-email 2.12.2 In-Reply-To: <20170504181920.21880-1-martin.blumenstingl@googlemail.com> References: <20170401125519.7339-1-martin.blumenstingl@googlemail.com> <20170504181920.21880-1-martin.blumenstingl@googlemail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170504_111948_272615_4A1DC4CE X-CRM114-Status: UNSURE ( 9.88 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-amlogic@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, Martin Blumenstingl , khilman@baylibre.com, mturquette@baylibre.com, sboyd@codeaurora.org, carlo@caione.org, linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "linux-amlogic" Errors-To: linux-amlogic-bounces+patchwork-linux-amlogic=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP The CPU clock defined in the Meson GX clock driver is actually a left-over from the Meson8b clock controller. Un-export the clock so we can remove it from the driver. Signed-off-by: Martin Blumenstingl --- drivers/clk/meson/gxbb.h | 2 +- include/dt-bindings/clock/gxbb-clkc.h | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/clk/meson/gxbb.h b/drivers/clk/meson/gxbb.h index 3e5f375af7b6..c15bbce8c585 100644 --- a/drivers/clk/meson/gxbb.h +++ b/drivers/clk/meson/gxbb.h @@ -171,7 +171,7 @@ * to be exposed to client nodes in DT: include/dt-bindings/clock/gxbb-clkc.h */ #define CLKID_SYS_PLL 0 -/* CLKID_CPUCLK */ +#define CLKID_CPUCLK 1 /* CLKID_HDMI_PLL */ #define CLKID_FIXED_PLL 3 /* CLKID_FCLK_DIV2 */ diff --git a/include/dt-bindings/clock/gxbb-clkc.h b/include/dt-bindings/clock/gxbb-clkc.h index 3190e30b9398..46ff81fbc02e 100644 --- a/include/dt-bindings/clock/gxbb-clkc.h +++ b/include/dt-bindings/clock/gxbb-clkc.h @@ -5,7 +5,6 @@ #ifndef __GXBB_CLKC_H #define __GXBB_CLKC_H -#define CLKID_CPUCLK 1 #define CLKID_HDMI_PLL 2 #define CLKID_FCLK_DIV2 4 #define CLKID_FCLK_DIV3 5