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: 9712477 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 54AD760387 for ; Thu, 4 May 2017 18:19:30 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 464E52807B for ; Thu, 4 May 2017 18:19:30 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 3AFF12839C; Thu, 4 May 2017 18:19:30 +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_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, 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 DA63628616 for ; Thu, 4 May 2017 18:19:29 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752118AbdEDST3 (ORCPT ); Thu, 4 May 2017 14:19:29 -0400 Received: from mail-wm0-f67.google.com ([74.125.82.67]:33799 "EHLO mail-wm0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752195AbdEDST2 (ORCPT ); Thu, 4 May 2017 14:19:28 -0400 Received: by mail-wm0-f67.google.com with SMTP id z129so5105823wmb.1; 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=Z69OebRj6EZyy2oTOu4kdhwo94eWRsKVFWh4OnuDYyXKvcbq/H3HF2z7hoFxZ4wlyV jv3vCHgNIbXdUzWgZpmG/X02uDwyT6vXhnIJ4xfmFQkJGvVZTY/cdzR2vY8i2LNZKw4D veFiG78hG+WBqsNfYuPi0m0ytT9gXZPia7uhzq+Qtwc32XpiCCw5olQFiD7lVM1WXwXM noI6UF+L/dXkXgJQ2LeR+HpAqcmPxM/pJtTtlfcNLS/DL/r5LWNEAbrognZqDS5neTiN JLs88waYQAvuRgduZZUajvd+Zo3NeCUVauqWcy2nKIDY/h2bll3f8kt89V8J9TBNaUpI Bp8Q== X-Gm-Message-State: AN3rC/7s+sLh/lL85LaAg++gePhx2fqT8XcibxBfvZx3tHQd7oKlrqwR QzpNo3afflm5pw== 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 Cc: devicetree@vger.kernel.org, khilman@baylibre.com, carlo@caione.org, sboyd@codeaurora.org, mturquette@baylibre.com, linux-arm-kernel@lists.infradead.org, Martin Blumenstingl 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> 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 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