From patchwork Wed Aug 13 09:12:03 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 35337 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-yh0-f72.google.com (mail-yh0-f72.google.com [209.85.213.72]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 1F677203C5 for ; Wed, 13 Aug 2014 09:13:53 +0000 (UTC) Received: by mail-yh0-f72.google.com with SMTP id f73sf35298431yha.7 for ; Wed, 13 Aug 2014 02:13:52 -0700 (PDT) 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=Dw3rOGmdQr8kpTBBoMQF/UjFCVcefy80rQi72KSf7YY=; b=A1YfVddNXPD7z/aY/NOm93AqxNwGYEBxp60eYuzvyn86uBzzy8Sjhldv5R1LIrmB9O bgoLoF2OllkZNvlX4QVmQsxKIoYWg/NX+Cp2lf9aaT4Rcsdzuv9psnVrnt3lc++meYaH gCIhFVkxDI9ARrP7maklsDi/H0/ygcOQ89xXtpLnJqnN39YCthed9QqONRPpR2Fj+g7q iw1g+XAcvJJSeubPWkqP8jGwGrZK8hAUqJ6e+AzoPICbr2v07rLMhWY8j6apYlGvaXcy TcWbwa60efU99ptdDn6zGUyT+g6Bqd7jQ2Ktw0x2JAWErz2RN8SvFH7/aAG0jl2awwI6 tpAQ== X-Gm-Message-State: ALoCoQltN+URz2/gFfbc7WfoW82WgUgszN3aJT4aQo8tUgoMNiM2Nu8KECm7cFuokHLTwO/RNmTv X-Received: by 10.224.147.77 with SMTP id k13mr1901668qav.6.1407921232907; Wed, 13 Aug 2014 02:13:52 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.24.106 with SMTP id 97ls503300qgq.26.gmail; Wed, 13 Aug 2014 02:13:52 -0700 (PDT) X-Received: by 10.221.6.201 with SMTP id ol9mr2592447vcb.2.1407921232801; Wed, 13 Aug 2014 02:13:52 -0700 (PDT) Received: from mail-vc0-f175.google.com (mail-vc0-f175.google.com [209.85.220.175]) by mx.google.com with ESMTPS id dm6si734165vcb.96.2014.08.13.02.13.52 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 13 Aug 2014 02:13:52 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.220.175 as permitted sender) client-ip=209.85.220.175; Received: by mail-vc0-f175.google.com with SMTP id ik5so14547816vcb.20 for ; Wed, 13 Aug 2014 02:13:52 -0700 (PDT) X-Received: by 10.221.49.133 with SMTP id va5mr2487112vcb.37.1407921232715; Wed, 13 Aug 2014 02:13:52 -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 tc5csp314658vcb; Wed, 13 Aug 2014 02:13:52 -0700 (PDT) X-Received: by 10.68.239.201 with SMTP id vu9mr2936347pbc.35.1407921231814; Wed, 13 Aug 2014 02:13:51 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id nw4si1057408pab.104.2014.08.13.02.13.50 for ; Wed, 13 Aug 2014 02:13:51 -0700 (PDT) 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 S1752134AbaHMJNt (ORCPT + 24 others); Wed, 13 Aug 2014 05:13:49 -0400 Received: from mail-ig0-f180.google.com ([209.85.213.180]:38317 "EHLO mail-ig0-f180.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751867AbaHMJMa (ORCPT ); Wed, 13 Aug 2014 05:12:30 -0400 Received: by mail-ig0-f180.google.com with SMTP id l13so1069361iga.7 for ; Wed, 13 Aug 2014 02:12:29 -0700 (PDT) X-Received: by 10.50.119.105 with SMTP id kt9mr5929686igb.20.1407921149434; Wed, 13 Aug 2014 02:12:29 -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 ga11sm6628023igd.8.2014.08.13.02.12.27 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 13 Aug 2014 02:12:29 -0700 (PDT) From: Lee Jones To: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Cc: lee.jones@linaro.org, kernel@stlinux.com, computersforpeace@gmail.com, pekon@pek-sem.com, linux-mtd@lists.infradead.org Subject: [PATCH 4/8] ARM: sti: Enable BCH NAND for STiH416 B2020-RevE Date: Wed, 13 Aug 2014 10:12:03 +0100 Message-Id: <1407921127-8590-5-git-send-email-lee.jones@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1407921127-8590-1-git-send-email-lee.jones@linaro.org> References: <1407921127-8590-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.220.175 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: , Also supply the platform specific clocks required by the NAND driver. 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"; + }; }; };