From patchwork Wed Jan 21 15:24:28 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 43465 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wi0-f200.google.com (mail-wi0-f200.google.com [209.85.212.200]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id EBB29218DB for ; Wed, 21 Jan 2015 15:25:55 +0000 (UTC) Received: by mail-wi0-f200.google.com with SMTP id fb4sf9483886wid.3 for ; Wed, 21 Jan 2015 07:25:55 -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=eJJWo8dqVi6uoRyjXIT1lRa5ZF7+YA1wIby8xw0LKZ4=; b=iilgJodJSmRCuSVYB8GQBNpxXFdR04gr+cfVTiT7titPgyt81iEFs6732LoiTioPQO ekInmG8Hl4dVLFsMvwEegQr09OV3DhugnLTAGUuwgsM0XobCa8kbm0ZL0XsoLFQTfEiE i6TVmJRvB8eMpaJO3BqdssHwbGPWS3CrQFsggN98aSifP/PTIsPS91cK971A2R3eOWuo y2iRkbgGacILYqcL9DX7PWFVUMJDNNtu7qm6Qc8e+zfSBGsxUnltU1dcvw/evHAtbLl1 bYlegXYp7odJ9mlIrr4wkN8ZgVMHF+9qETyHYCtCMqqsGFIMghB9helMqY0Q231ArATR JHvA== X-Gm-Message-State: ALoCoQm5r5ILP4yanu4TELFVM59WjPm1DLpYc1K+0XiP7NGQCnX3WXa90Vh6PXQMgjQQHDKDDAHG X-Received: by 10.152.2.40 with SMTP id 8mr367429lar.7.1421853955039; Wed, 21 Jan 2015 07:25:55 -0800 (PST) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.28.71 with SMTP id z7ls53007lag.92.gmail; Wed, 21 Jan 2015 07:25:54 -0800 (PST) X-Received: by 10.112.30.71 with SMTP id q7mr44919152lbh.41.1421853954899; Wed, 21 Jan 2015 07:25:54 -0800 (PST) Received: from mail-la0-f43.google.com (mail-la0-f43.google.com. [209.85.215.43]) by mx.google.com with ESMTPS id at6si11904217lac.43.2015.01.21.07.25.54 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 21 Jan 2015 07:25:54 -0800 (PST) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.43 as permitted sender) client-ip=209.85.215.43; Received: by mail-la0-f43.google.com with SMTP id q1so25542438lam.2 for ; Wed, 21 Jan 2015 07:25:54 -0800 (PST) X-Received: by 10.152.180.136 with SMTP id do8mr18517894lac.31.1421853954818; Wed, 21 Jan 2015 07:25:54 -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.9.200 with SMTP id c8csp1812752lbb; Wed, 21 Jan 2015 07:25:53 -0800 (PST) X-Received: by 10.66.55.104 with SMTP id r8mr36615751pap.75.1421853953003; Wed, 21 Jan 2015 07:25:53 -0800 (PST) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id nk10si8361194pbc.253.2015.01.21.07.25.52; Wed, 21 Jan 2015 07:25:52 -0800 (PST) Received-SPF: none (google.com: devicetree-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 S1754065AbbAUPZv (ORCPT + 5 others); Wed, 21 Jan 2015 10:25:51 -0500 Received: from mail-ig0-f173.google.com ([209.85.213.173]:57317 "EHLO mail-ig0-f173.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754202AbbAUPZG (ORCPT ); Wed, 21 Jan 2015 10:25:06 -0500 Received: by mail-ig0-f173.google.com with SMTP id a13so22889535igq.0 for ; Wed, 21 Jan 2015 07:25:06 -0800 (PST) X-Received: by 10.50.32.7 with SMTP id e7mr12768993igi.21.1421853906053; Wed, 21 Jan 2015 07:25:06 -0800 (PST) Received: from localhost.localdomain (host86-181-29-86.range86-181.btcentralplus.com. [86.181.29.86]) by mx.google.com with ESMTPSA id y5sm1411873ign.7.2015.01.21.07.25.03 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 21 Jan 2015 07:25:05 -0800 (PST) From: Lee Jones To: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Cc: lee.jones@linaro.org, kernel@stlinux.com, linux-mtd@lists.infradead.org, computersforpeace@gmail.com, devicetree@vger.kernel.org Subject: [PATCH v4 10/10] ARM: STi: stih416: Supply EMI clock reference to FSM SPI NOR Date: Wed, 21 Jan 2015 15:24:28 +0000 Message-Id: <1421853868-8262-11-git-send-email-lee.jones@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1421853868-8262-1-git-send-email-lee.jones@linaro.org> References: <1421853868-8262-1-git-send-email-lee.jones@linaro.org> Sender: devicetree-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: devicetree@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.43 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. Cc: devicetree@vger.kernel.org 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 2e35bab7..39b856b 100644 --- a/arch/arm/boot/dts/stih416.dtsi +++ b/arch/arm/boot/dts/stih416.dtsi @@ -219,7 +219,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 */