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: 9319485 X-Patchwork-Delegate: sboyd@codeaurora.org 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 E53EB6077F for ; Wed, 7 Sep 2016 15:17:22 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E2FA3293CF for ; Wed, 7 Sep 2016 15:17:22 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id D785F293D7; Wed, 7 Sep 2016 15:17:22 +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.4 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 81EFC293D1 for ; Wed, 7 Sep 2016 15:17:20 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756325AbcIGPRT (ORCPT ); Wed, 7 Sep 2016 11:17:19 -0400 Received: from mail-wm0-f46.google.com ([74.125.82.46]:38421 "EHLO mail-wm0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934888AbcIGPPw (ORCPT ); Wed, 7 Sep 2016 11:15:52 -0400 Received: by mail-wm0-f46.google.com with SMTP id 1so38520192wmz.1 for ; Wed, 07 Sep 2016 08:14:44 -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=TG/aoCZFrgZU5qDPVxmnfGpWdqerTYNg78XLi6Fvyb+aLRPVy9nQm4HClWGyZaGbU7 L6aMAK37YGpM1Vc5vCbWTjTyvzYdURYnrBq3gOULts/hluIgOGy4sfl8/Dvj4/hyqtVU pe1GHmEyNrk5A/N1qFS0cWIX7/H2lKUb5OhNGCTgN07+CIaXhytEr8jvBw+sgCphPufy eiWSEXanmtKix3A4dVwZKFiBA4lifMFARheJM5847MLIk5dqpIgo7s/4HFqK9l9LoUu8 pi//HAw2gdZ9XJ5dlFuOynpo0ItFZ4MmsUq1jErq2M+BwzdFHL64HuxH3AeZHMRH79mH rtfA== X-Gm-Message-State: AE9vXwMYBMNX75Gb8zHTuShFxb17tABtSGdaiPOUUBMEXnwec2VPVHeypFJqsiIHBP7xClnh 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 Cc: Jerome Brunet , linux-amlogic@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org, devicetree@vger.kernel.org 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> 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 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 */