From patchwork Mon Jul 31 11:56:02 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jerome Brunet X-Patchwork-Id: 9871653 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 48CB7603B4 for ; Mon, 31 Jul 2017 11:56:40 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 3B9FD284C4 for ; Mon, 31 Jul 2017 11:56:40 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 3030A285B9; Mon, 31 Jul 2017 11:56:40 +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 D741928575 for ; Mon, 31 Jul 2017 11:56:39 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752065AbdGaL4j (ORCPT ); Mon, 31 Jul 2017 07:56:39 -0400 Received: from mail-wm0-f48.google.com ([74.125.82.48]:36587 "EHLO mail-wm0-f48.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751705AbdGaL4J (ORCPT ); Mon, 31 Jul 2017 07:56:09 -0400 Received: by mail-wm0-f48.google.com with SMTP id t201so177077798wmt.1 for ; Mon, 31 Jul 2017 04:56:08 -0700 (PDT) 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=3XqUE4GKG0bw6g8Lus2UIv4Zyte8BSzdEUh+tUv55WI=; b=uo7GWS8Hhrpm9LtQwHNyO4YTYkfVW48fsEX/0lBPv9n6on2fzGSya3ad4GohqQgSPq fU9gOyB/rtnM/9q3/nTRWUqUNN6yQ1q7mjnR1ZvGMYhvyXV6lO6SsgC2PEFElAtOyNXN Dn3lLkIGQUr0kf6CNQOTW9COtTUHkOAF/nmqRvQTY7tCrb0zEd3vjUNseK4MIA355cpm 2C9ALoX5enslMydbcpXJxpM6BxdozcvsuEoOmv/RtmHcOhaadzygHrIe6wZdxuVEAo74 3SxiQZ+UOudcq81VkKlQHEs/sF4i830z2hoxLP4gvtHGD1pmxPaS3QlhtWMCZBomllEl 10Qg== 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=3XqUE4GKG0bw6g8Lus2UIv4Zyte8BSzdEUh+tUv55WI=; b=AwoPKYDfaTiJjXF0FO6EeDnnjh7HBz3bikiXU2Do/pGj7uQHcx4fmoEgfBwelOt343 pQUOKRYGRvtZzIuqkDspoPjYEwAQCfNlRzPhoqN08/JofK9l7nCHwqeaFHaRcfko0qts CENugVH4SA1Oz4Mg9pVYgCsEVAWNmDzo5numh7z7vjyLEMLrhorRifTWh8THO02gs3mU FAsLThHYfi+zQu5sPaTfxp53nj1ldiLB1UlajViTG+k+IuPwI8TH75h53AB8Qn1e5WRZ hxDXU0sVQPJf2zgSFyT6Kzb2CiICLB11y82Op5dknBaG/oDxJRLoLLxdxFH6lcYTcqD1 GB+Q== X-Gm-Message-State: AIVw1116ZByK5ZqRMsTcHOiQ9aTvANSgLJLs4j3VjgPZhqYLmCNtviui /0u9mvUzIClKWc8K X-Received: by 10.28.54.202 with SMTP id y71mr11710851wmh.106.1501502168195; Mon, 31 Jul 2017 04:56:08 -0700 (PDT) Received: from localhost.localdomain ([90.63.244.31]) by smtp.googlemail.com with ESMTPSA id 23sm11013065wrz.8.2017.07.31.04.56.07 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 31 Jul 2017 04:56:07 -0700 (PDT) From: Jerome Brunet To: Neil Armstrong , Michael Turquette , Stephen Boyd , Carlo Caione , Kevin Hilman Cc: Jerome Brunet , linux-clk@vger.kernel.org, linux-amlogic@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org Subject: [PATCH v3 1/2] clk: meson: gxbb: Add sd_emmc clk0 clkids Date: Mon, 31 Jul 2017 13:56:02 +0200 Message-Id: <20170731115603.29720-2-jbrunet@baylibre.com> X-Mailer: git-send-email 2.9.4 In-Reply-To: <20170731115603.29720-1-jbrunet@baylibre.com> References: <20170731115603.29720-1-jbrunet@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 the clkids for the clocks feeding the input0 of the mmc controllers Signed-off-by: Jerome Brunet --- drivers/clk/meson/gxbb.h | 10 ++++++++-- include/dt-bindings/clock/gxbb-clkc.h | 3 +++ 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/drivers/clk/meson/gxbb.h b/drivers/clk/meson/gxbb.h index 2c8986d3232c..5b1d4b374d1c 100644 --- a/drivers/clk/meson/gxbb.h +++ b/drivers/clk/meson/gxbb.h @@ -184,8 +184,14 @@ #define CLKID_CTS_MCLK_I958_DIV 112 #define CLKID_32K_CLK_SEL 115 #define CLKID_32K_CLK_DIV 116 - -#define NR_CLKS 117 +#define CLKID_SD_EMMC_A_CLK0_SEL 117 +#define CLKID_SD_EMMC_A_CLK0_DIV 118 +#define CLKID_SD_EMMC_B_CLK0_SEL 120 +#define CLKID_SD_EMMC_B_CLK0_DIV 121 +#define CLKID_SD_EMMC_C_CLK0_SEL 123 +#define CLKID_SD_EMMC_C_CLK0_DIV 124 + +#define NR_CLKS 126 /* include the CLKIDs that have been made part of the DT binding */ #include diff --git a/include/dt-bindings/clock/gxbb-clkc.h b/include/dt-bindings/clock/gxbb-clkc.h index e07fea011ebd..c04a76d8facf 100644 --- a/include/dt-bindings/clock/gxbb-clkc.h +++ b/include/dt-bindings/clock/gxbb-clkc.h @@ -110,5 +110,8 @@ #define CLKID_CTS_MCLK_I958 110 #define CLKID_CTS_I958 113 #define CLKID_32K_CLK 114 +#define CLKID_SD_EMMC_A_CLK0 119 +#define CLKID_SD_EMMC_B_CLK0 122 +#define CLKID_SD_EMMC_C_CLK0 125 #endif /* __GXBB_CLKC_H */