From patchwork Tue Sep 6 21:38:44 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Martin Blumenstingl X-Patchwork-Id: 9317929 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 A33C160760 for ; Tue, 6 Sep 2016 21:40:06 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id AF8FB28DA2 for ; Tue, 6 Sep 2016 21:40:06 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id A376428DA9; Tue, 6 Sep 2016 21:40:06 +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=-4.1 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_MED, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id CA47428DA2 for ; Tue, 6 Sep 2016 21:40:04 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.85_2 #1 (Red Hat Linux)) id 1bhO64-0006eX-SA; Tue, 06 Sep 2016 21:40:00 +0000 Received: from mail-wm0-x243.google.com ([2a00:1450:400c:c09::243]) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1bhO5b-0006Pq-Vd; Tue, 06 Sep 2016 21:39:33 +0000 Received: by mail-wm0-x243.google.com with SMTP id l65so12899527wmf.3; Tue, 06 Sep 2016 14:39:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=9iZmHUIi/p9tleGq/2fzXtam2q3ip4tYsFdwDEXk7cQ=; b=BAoQtZgznvEU5iVNh1RIEEsxzx2e4vb+ACpauank1XiyC4+7BCO8tWxzlSwWdIDJRe 8i0GL4Mk9zinTxD8phxMLgrq0WaxGPOKsqEiMoD5BIUwfm6BIRKw9E2lDuMNb8F21LFB Sjzqrtl2NLvIWc9PEIwJX6RYYZFLPi/X9MNOKRoRTJDRjVozWHmCCEJRAlhPeNsaeJ2l eSK4Lvs8xiy9e2mRMECuuNzfq4Z9qpJoZc0juYIxbLnjpYgtk69ItKwtfZNRXbMKliWa EayjXCAY6GvkCoSrBeD6rq0j/ITty5VtGo/dThN6FBoqZCGJrMpyLgJq6WbYpAXodEyh 23qg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=9iZmHUIi/p9tleGq/2fzXtam2q3ip4tYsFdwDEXk7cQ=; b=G1xfy5GDZzno/dfNBShstUdL9g5CwCdGLTXjWzYt5R++QjrI0Lki8QsfHtVH5GEWcH pTTBdkrJEa2HtNx9lWRZu2sdIkuOfqWz47AA7OtcQ6bLKvbIkPPnPO+tcwaeFHapyn0s y0nS5UFiKvW2gj4QEHbefQjDKsmN9x2+ZR7HowlK6M9uWPMkaL31rC7nnuZaPJYbzfit 9MmaAM+ry+AWYGJ98SKz+FKRS3pm4Dm+aTvpXZOE3xn9N+susgKAToNbE8majOF8asT1 0RsWncFaPae/6Dfl6SsRR0Q7xFRrqLJnbfHCuoXVK+Lgr9Q7kXKFGoazA1Izks1MgnWr l4RQ== X-Gm-Message-State: AE9vXwNf2PomHvccgBIKe9K+xtE9r06QqB1KNEv6eCnedH5/1r5WUEU1tM3PlBseR2sXvg== X-Received: by 10.28.102.86 with SMTP id a83mr706946wmc.32.1473197950242; Tue, 06 Sep 2016 14:39:10 -0700 (PDT) Received: from blackbox.darklights.net (p5DE38590.dip0.t-ipconnect.de. [93.227.133.144]) by smtp.googlemail.com with ESMTPSA id 188sm812948wmo.4.2016.09.06.14.39.08 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 06 Sep 2016 14:39:09 -0700 (PDT) From: Martin Blumenstingl To: linux-amlogic@lists.infradead.org, khilman@baylibre.com, carlo@caione.org, mturquette@baylibre.com, peppe.cavallaro@st.com, alexandre.torgue@st.com Subject: [PATCH v5 2/6] clk: gxbb: expose MPLL2 clock for use by DT Date: Tue, 6 Sep 2016 23:38:44 +0200 Message-Id: <20160906213848.17785-3-martin.blumenstingl@googlemail.com> X-Mailer: git-send-email 2.9.3 In-Reply-To: <20160906213848.17785-1-martin.blumenstingl@googlemail.com> References: <20160904182320.671-1-martin.blumenstingl@googlemail.com> <20160906213848.17785-1-martin.blumenstingl@googlemail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160906_143932_239914_8FA8F8AB X-CRM114-Status: UNSURE ( 9.96 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-amlogic@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: mark.rutland@arm.com, devicetree@vger.kernel.org, arnd@arndb.de, Martin Blumenstingl , catalin.marinas@arm.com, manabian@gmail.com, will.deacon@arm.com, davem@davemloft.net, b.galvani@gmail.com, robh+dt@kernel.org, netdev@vger.kernel.org, sboyd@codeaurora.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 This exposes the MPLL2 clock as this is one of the input clocks of the ethernet controller's internal mux. Signed-off-by: Martin Blumenstingl Acked-by: Stephen Boyd --- drivers/clk/meson/gxbb.h | 2 +- include/dt-bindings/clock/gxbb-clkc.h | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/clk/meson/gxbb.h b/drivers/clk/meson/gxbb.h index 217df51..3606e875 100644 --- a/drivers/clk/meson/gxbb.h +++ b/drivers/clk/meson/gxbb.h @@ -183,7 +183,7 @@ /* CLKID_CLK81 */ #define CLKID_MPLL0 13 #define CLKID_MPLL1 14 -#define CLKID_MPLL2 15 +/* CLKID_MPLL2 */ #define CLKID_DDR 16 #define CLKID_DOS 17 #define CLKID_ISA 18 diff --git a/include/dt-bindings/clock/gxbb-clkc.h b/include/dt-bindings/clock/gxbb-clkc.h index 7d41864..244ea6e 100644 --- a/include/dt-bindings/clock/gxbb-clkc.h +++ b/include/dt-bindings/clock/gxbb-clkc.h @@ -8,6 +8,7 @@ #define CLKID_CPUCLK 1 #define CLKID_FCLK_DIV2 4 #define CLKID_CLK81 12 +#define CLKID_MPLL2 15 #define CLKID_ETH 36 #define CLKID_SD_EMMC_A 94 #define CLKID_SD_EMMC_B 95