From patchwork Wed Sep 7 15:13:39 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jerome Brunet X-Patchwork-Id: 9319493 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 BD1336077F for ; Wed, 7 Sep 2016 15:18:48 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B8F67293CF for ; Wed, 7 Sep 2016 15:18:48 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id ADC9C293D7; Wed, 7 Sep 2016 15:18:48 +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_SIGNED, 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 9DF68293D1 for ; Wed, 7 Sep 2016 15:18:47 +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 1bheZe-0000Bz-Sx; Wed, 07 Sep 2016 15:15:38 +0000 Received: from mail-wm0-x22a.google.com ([2a00:1450:400c:c09::22a]) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1bheZ8-0006yl-4k for linux-arm-kernel@lists.infradead.org; Wed, 07 Sep 2016 15:15:08 +0000 Received: by mail-wm0-x22a.google.com with SMTP id 1so38520207wmz.1 for ; Wed, 07 Sep 2016 08:14:45 -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=zdaGW7MKMQ60m3JnCZbAc4wpNFKfL61eAKt3IghiS7c=; b=dWgArbCb49PPb+CNZ2vbvCaovuImOKH9H1Vuo0N8sHl0wXY49Wb4vHg3Fb22gpuGF3 9NBtaklOtEEuBKa1+yd54HQy6k6HWEMupXGBSzvkyOCAgC11DJzfNzkeMT6UTGPn3KKe cH+VzxDHexcLm4Q0TwJykFKNZ28pLrOwxpT3DuzRUbMwPRTZfyBEe/3Pa1DDv5cDvWve S5OWVw9swpjy6fvQo7DCWHRtywcYF8TpbqxqddnjRndX0AM1VGACi6dcsScmA5w3Z5Wn D2/KaMXvJwhgLVogSqyP1MNOU9JNe8J39yJfF6/+9np7UUPm6YO+5eA5yNqO39dPCh7J iOzg== 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=zdaGW7MKMQ60m3JnCZbAc4wpNFKfL61eAKt3IghiS7c=; b=bMMtfGaQHeRX5iPSb9vmDB2BNmVdX1N5EVvl6FWdad9QJyRc/bwgRgwP66O+NhbYPP sl4Gv8UwRMqCwZGcl9QG0LHZwIP6vSpatGvBNfzMtEIshjQbco7Oqa1iqkDdRQQaeicP Esh0MmZoRqmG6yhgj46U7SfK51xF0HTMwiG0r0QUmX+xPK/T1lCJsWZ6GFV7t/5eWtlF ybN423zAsa1k/my5TCG37cssZIMYgOPxHNmQpYJY91dhcPRJ8ZcqvQOG85gwQ5xFr+VV ntLDrTdxjayLwlHt9axOAD2VTCdjrkC/J488fllAIy/dYT5ZPrROtRJA4i5iXe9E+Dy6 5IaA== X-Gm-Message-State: AE9vXwO1sFd/vvno1SuVJtel+dG9Oo5cVdTGu+fa9e3HXJ+uuNm7XrEidAy/dXcJk2yLo3jW X-Received: by 10.28.48.71 with SMTP id w68mr4715857wmw.4.1473261284091; Wed, 07 Sep 2016 08:14:44 -0700 (PDT) Received: from mogwai.baylibre.com ([90.63.244.31]) by smtp.googlemail.com with ESMTPSA id d8sm4825250wmi.0.2016.09.07.08.14.43 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 07 Sep 2016 08:14:43 -0700 (PDT) From: Jerome Brunet To: Stephen Boyd , Kevin Hilman , Carlo Caione Subject: [PATCH 3/7] clk: gxbb: expose spifc clock Date: Wed, 7 Sep 2016 17:13:39 +0200 Message-Id: <1473261223-15412-4-git-send-email-jbrunet@baylibre.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1473261223-15412-1-git-send-email-jbrunet@baylibre.com> References: <1473261223-15412-1-git-send-email-jbrunet@baylibre.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160907_081506_502325_4AD531E8 X-CRM114-Status: UNSURE ( 9.33 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-amlogic@lists.infradead.org, linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Jerome Brunet 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 SPI clock is needed for the spifc driver, expose to DT (and comment out in the clk driver) Signed-off-by: Jerome Brunet 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 a2adf34..5abe266 100644 --- a/drivers/clk/meson/gxbb.h +++ b/drivers/clk/meson/gxbb.h @@ -202,7 +202,7 @@ #define CLKID_ABUF 31 #define CLKID_HIU_IFACE 32 #define CLKID_ASSIST_MISC 33 -#define CLKID_SPI 34 +/* CLKID_SPI */ #define CLKID_I2S_SPDIF 35 #define CLKID_ETH 36 #define CLKID_DEMUX 37 diff --git a/include/dt-bindings/clock/gxbb-clkc.h b/include/dt-bindings/clock/gxbb-clkc.h index f889d80..dcf3776 100644 --- a/include/dt-bindings/clock/gxbb-clkc.h +++ b/include/dt-bindings/clock/gxbb-clkc.h @@ -7,6 +7,7 @@ #define CLKID_CPUCLK 1 #define CLKID_CLK81 12 +#define CLKID_SPI 34 #define CLKID_ETH 36 #endif /* __GXBB_CLKC_H */