From patchwork Mon Aug 18 10:31:55 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 35486 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-qg0-f71.google.com (mail-qg0-f71.google.com [209.85.192.71]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 2062520676 for ; Mon, 18 Aug 2014 10:35:01 +0000 (UTC) Received: by mail-qg0-f71.google.com with SMTP id f51sf15829832qge.10 for ; Mon, 18 Aug 2014 03:35:01 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:from:to:subject:date:message-id :in-reply-to:references:cc:precedence:list-id:list-unsubscribe :list-archive:list-post:list-help:list-subscribe:mime-version:sender :errors-to:x-original-sender:x-original-authentication-results :mailing-list:content-type:content-transfer-encoding; bh=0KaEnJDzabiNINtLKm5BXOBZqVMzxizokSqA9F8ejZY=; b=iJBtNBX8PFcDheQdTt4S8lbzXkik3h6mAbxcG6vKi3dg2kRz1JpXNwX2bDr+6cX6vq AXIhGrhp2gDkVZp2Pfc6kVReGntZd4joVsybGhOt3eUvAR9R72x5YafWxWGRrQTnB0hV 38ZTvGV6PLlkY6F+NVcvCbrvxFcCbDMwf5yBh9/PX2Wq/NlXsGzgxZEyQ9FUG071sYyn GrPi0/34fE/sgPPTlhcOlqonb6ppywBP8oAodl8Ss1ev53o6IWJkuYrZu+0R3YIc9nNw yNGkKA/bzDiAt3zgg3LjEFXzjwJ9GR9oZH6hLuIXOoBJ9mH5QxB8wAd8bVLPFIbBLxqn qeXA== X-Gm-Message-State: ALoCoQk/TS4HeLf5fdthPNGORLQbt8hlq4JCWmEf6oj7MAunwdfRVzsaLJCesU4yvFmAxMFsWo6Z X-Received: by 10.236.126.103 with SMTP id a67mr15104669yhi.4.1408358100976; Mon, 18 Aug 2014 03:35:00 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.23.69 with SMTP id 63ls2277074qgo.59.gmail; Mon, 18 Aug 2014 03:35:00 -0700 (PDT) X-Received: by 10.220.49.10 with SMTP id t10mr997966vcf.34.1408358100839; Mon, 18 Aug 2014 03:35:00 -0700 (PDT) Received: from mail-vc0-f176.google.com (mail-vc0-f176.google.com [209.85.220.176]) by mx.google.com with ESMTPS id sx9si7009729vdb.2.2014.08.18.03.35.00 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 18 Aug 2014 03:35:00 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.220.176 as permitted sender) client-ip=209.85.220.176; Received: by mail-vc0-f176.google.com with SMTP id id10so5492257vcb.35 for ; Mon, 18 Aug 2014 03:35:00 -0700 (PDT) X-Received: by 10.52.245.66 with SMTP id xm2mr4642537vdc.36.1408358100774; Mon, 18 Aug 2014 03:35:00 -0700 (PDT) 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.221.37.5 with SMTP id tc5csp141040vcb; Mon, 18 Aug 2014 03:35:00 -0700 (PDT) X-Received: by 10.70.63.37 with SMTP id d5mr40288661pds.51.1408358099924; Mon, 18 Aug 2014 03:34:59 -0700 (PDT) Received: from bombadil.infradead.org (bombadil.infradead.org. [2001:1868:205::9]) by mx.google.com with ESMTPS id qp5si21067780pbc.42.2014.08.18.03.34.59 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 18 Aug 2014 03:34:59 -0700 (PDT) Received-SPF: none (google.com: linux-mtd-bounces+patch=linaro.org@lists.infradead.org does not designate permitted sender hosts) client-ip=2001:1868:205::9; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1XJKFW-0000IG-Eq; Mon, 18 Aug 2014 10:33:14 +0000 Received: from mail-ig0-f182.google.com ([209.85.213.182]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1XJKEv-0008LU-BV for linux-mtd@lists.infradead.org; Mon, 18 Aug 2014 10:32:38 +0000 Received: by mail-ig0-f182.google.com with SMTP id c1so7317253igq.15 for ; Mon, 18 Aug 2014 03:32:16 -0700 (PDT) X-Received: by 10.50.13.106 with SMTP id g10mr5968997igc.45.1408357936254; Mon, 18 Aug 2014 03:32:16 -0700 (PDT) Received: from localhost.localdomain (host109-148-113-192.range109-148.btcentralplus.com. [109.148.113.192]) by mx.google.com with ESMTPSA id w10sm42612498igr.18.2014.08.18.03.32.14 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 18 Aug 2014 03:32:15 -0700 (PDT) From: Lee Jones To: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH 4/8] ARM: sti: Enable BCH NAND for STiH416 B2020-RevE Date: Mon, 18 Aug 2014 11:31:55 +0100 Message-Id: <1408357919-19793-5-git-send-email-lee.jones@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1408357919-19793-1-git-send-email-lee.jones@linaro.org> References: <1408357919-19793-1-git-send-email-lee.jones@linaro.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140818_033237_447344_A0B67C83 X-CRM114-Status: UNSURE ( 9.05 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -0.7 (/) X-Spam-Report: SpamAssassin version 3.4.0 on bombadil.infradead.org summary: Content analysis details: (-0.7 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [209.85.213.182 listed in list.dnswl.org] -0.0 RCVD_IN_MSPIKE_H3 RBL: Good reputation (+3) [209.85.213.182 listed in wl.mailspike.net] -0.0 SPF_PASS SPF: sender matches SPF record -0.0 RCVD_IN_MSPIKE_WL Mailspike good senders Cc: pekon@pek-sem.com, computersforpeace@gmail.com, lee.jones@linaro.org, kernel@stlinux.com, linux-mtd@lists.infradead.org X-BeenThere: linux-mtd@lists.infradead.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: , List-Help: , List-Subscribe: , MIME-Version: 1.0 Sender: "linux-mtd" Errors-To: linux-mtd-bounces+patch=linaro.org@lists.infradead.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.220.176 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 Also supply the platform specific clocks required by the NAND driver. Reviewed-By: Pekon Gupta Signed-off-by: Lee Jones --- arch/arm/boot/dts/stih416-b2020e.dts | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/arch/arm/boot/dts/stih416-b2020e.dts b/arch/arm/boot/dts/stih416-b2020e.dts index ba0fa2c..f4b92d5 100644 --- a/arch/arm/boot/dts/stih416-b2020e.dts +++ b/arch/arm/boot/dts/stih416-b2020e.dts @@ -31,5 +31,13 @@ ethernet1: dwmac@fef08000 { snps,reset-gpio = <&PIO0 7>; }; + + nand@fe901000 { + clock-names = "emi", "bch"; + clocks = <&clk_s_a0_ls CLK_EMISS>, + <&clk_s_a1_ls CLK_NAND_CTRL>; + + status = "okay"; + }; }; };