From patchwork Mon Dec 15 11:59:20 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 42250 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wi0-f198.google.com (mail-wi0-f198.google.com [209.85.212.198]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 1E49021772 for ; Mon, 15 Dec 2014 12:00:39 +0000 (UTC) Received: by mail-wi0-f198.google.com with SMTP id r20sf3424598wiv.9 for ; Mon, 15 Dec 2014 04:00:38 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:cc:subject :date:message-id:in-reply-to:references:sender:precedence:list-id :x-original-sender:x-original-authentication-results:mailing-list :list-post:list-help:list-archive:list-unsubscribe; bh=xDlvc2gzgY/SngF1hUgU744UHIJBAi6K96IgXTLKSN8=; b=N7StTy2CBaF0sBR0ZIQRtfUQYXAEd5on2wz/Llhzv9qI+vrHaqAx99I1qkVM0bW4A3 bT3g35+T8tyTd4klaCwkbS2xprog2i321xstMBqHE6fN3fOTT5m5ubEo5TSOF5OKDkjh 8crhfbnJPmzlubT60w1haqtOHgUCwXfTeMgTauI7tIcW1Tyw7CBqHmcWv89peCbXTlIB Q+bYs8ShNkofPvj9OLkg3iwcC9sQSNpgeC4Ym2mADjuqPJN9qRjN08qlzl+1n8p00L0b lkWRVOct/F0xoFbtaOxUBFW9N0PvovIeyr/WV7nZlcEa/ifeyFbWmdqwZ83LEBOFnhtM YmPw== X-Gm-Message-State: ALoCoQmAiL3sMqoxmsXxnp5lO55+gtkFzuO67t9OVA2p4VUfZIgiLQjqUibuAoheUnv2H+dKEnHv X-Received: by 10.194.95.74 with SMTP id di10mr4693390wjb.0.1418644838439; Mon, 15 Dec 2014 04:00:38 -0800 (PST) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.5.74 with SMTP id q10ls733603laq.43.gmail; Mon, 15 Dec 2014 04:00:38 -0800 (PST) X-Received: by 10.152.6.67 with SMTP id y3mr28296007lay.90.1418644838176; Mon, 15 Dec 2014 04:00:38 -0800 (PST) Received: from mail-la0-f45.google.com (mail-la0-f45.google.com. [209.85.215.45]) by mx.google.com with ESMTPS id th6si3387840lbb.74.2014.12.15.04.00.38 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 15 Dec 2014 04:00:38 -0800 (PST) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.45 as permitted sender) client-ip=209.85.215.45; Received: by mail-la0-f45.google.com with SMTP id gq15so9372741lab.18 for ; Mon, 15 Dec 2014 04:00:38 -0800 (PST) X-Received: by 10.152.27.8 with SMTP id p8mr13024970lag.69.1418644838080; Mon, 15 Dec 2014 04:00:38 -0800 (PST) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.112.142.69 with SMTP id ru5csp692012lbb; Mon, 15 Dec 2014 04:00:35 -0800 (PST) X-Received: by 10.67.22.40 with SMTP id hp8mr50673863pad.38.1418644828208; Mon, 15 Dec 2014 04:00:28 -0800 (PST) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id ey6si13572370pab.160.2014.12.15.04.00.27 for ; Mon, 15 Dec 2014 04:00:28 -0800 (PST) Received-SPF: none (google.com: linux-kernel-owner@vger.kernel.org does not designate permitted sender hosts) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751793AbaLOMAG (ORCPT + 27 others); Mon, 15 Dec 2014 07:00:06 -0500 Received: from mail-yk0-f169.google.com ([209.85.160.169]:59280 "EHLO mail-yk0-f169.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751532AbaLOL76 (ORCPT ); Mon, 15 Dec 2014 06:59:58 -0500 Received: by mail-yk0-f169.google.com with SMTP id 79so4889664ykr.28 for ; Mon, 15 Dec 2014 03:59:57 -0800 (PST) X-Received: by 10.170.40.135 with SMTP id 129mr24539161yki.7.1418644797733; Mon, 15 Dec 2014 03:59:57 -0800 (PST) Received: from localhost.localdomain (host109-148-232-11.range109-148.btcentralplus.com. [109.148.232.11]) by mx.google.com with ESMTPSA id d91sm5783468yhq.53.2014.12.15.03.59.55 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 15 Dec 2014 03:59:57 -0800 (PST) From: Lee Jones To: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, computersforpeace@gmail.com, linux-mtd@lists.infradead.org Cc: lee.jones@linaro.org, kernel@stlinux.com Subject: [PATCH v3 13/13] ARM: STi: stih416: Supply EMI clock reference to FSM SPI NOR Date: Mon, 15 Dec 2014 11:59:20 +0000 Message-Id: <1418644760-18773-14-git-send-email-lee.jones@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1418644760-18773-1-git-send-email-lee.jones@linaro.org> References: <1418644760-18773-1-git-send-email-lee.jones@linaro.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: lee.jones@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.45 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , While we're at it we're also adding a new human readable define for the aforementioned clock. Signed-off-by: Lee Jones --- arch/arm/boot/dts/stih416.dtsi | 2 +- include/dt-bindings/clock/stih416-clks.h | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/stih416.dtsi b/arch/arm/boot/dts/stih416.dtsi index dec546e..663e93b 100644 --- a/arch/arm/boot/dts/stih416.dtsi +++ b/arch/arm/boot/dts/stih416.dtsi @@ -217,7 +217,7 @@ compatible = "st,stih416-spi-fsm"; reg = <0xfe902000 0x1000>; pinctrl-0 = <&pinctrl_fsm>; - + clocks = <&clk_s_a0_ls CLK_EMISS>; st,syscfg = <&syscfg_rear>; status = "disabled"; diff --git a/include/dt-bindings/clock/stih416-clks.h b/include/dt-bindings/clock/stih416-clks.h index f9bdbd1..4a46a47e 100644 --- a/include/dt-bindings/clock/stih416-clks.h +++ b/include/dt-bindings/clock/stih416-clks.h @@ -7,6 +7,7 @@ /* CLOCKGEN A0 */ #define CLK_ICN_REG 0 +#define CLK_EMISS 3 #define CLK_ETH1_PHY 4 /* CLOCKGEN A1 */