From patchwork Fri May 24 06:48:42 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 17187 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-yh0-f70.google.com (mail-yh0-f70.google.com [209.85.213.70]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id A8361238FC for ; Fri, 24 May 2013 06:50:31 +0000 (UTC) Received: by mail-yh0-f70.google.com with SMTP id t59sf1381071yho.1 for ; Thu, 23 May 2013 23:49:34 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-beenthere:x-forwarded-to:x-forwarded-for:delivered-to:from:to:cc :subject:date:message-id:x-mailer:mime-version:x-gm-message-state :x-original-sender:x-original-authentication-results:precedence :mailing-list:list-id:x-google-group-id:list-post:list-help :list-archive:list-unsubscribe:content-type; bh=BeVc3bK/eG0kJBfPKCh6NIk8vBQpsyt4h/lsqmxn9tE=; b=jFNnS3s+kzr/aMtruOkRdcMlPfgX8Gxi+twl7yyFirJs+LXQX6Kx4Umm0ONJmZTp0O XcA8ocaYwHx2QGssF8qvp9+s9sjZUXRrKfh6Hs6dAPVVeiw1upvDbsI+P1IR6Q67IzRk tsq4k+2UiN4n3T9JR90sLyxkFL3xoZG+gAv65ylJCF8+6BOIfPjt+kyvHHidxvsQRFW8 J2bdHdfpQ73lheU0/8pBP09a46oIa9FDX3zrpJgf8m13v7Pl5nUmiowrsoQNPUMJhpsI BLjy0SudlSztC8nzyOgJN+lMHJDewdFN1rKBW+uMEvpFC8gLGVEU3g+QgFmaOkO/wU5w CASQ== X-Received: by 10.224.174.145 with SMTP id t17mr8014817qaz.4.1369378174851; Thu, 23 May 2013 23:49:34 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.51.69 with SMTP id i5ls1795042qeo.89.gmail; Thu, 23 May 2013 23:49:34 -0700 (PDT) X-Received: by 10.52.89.207 with SMTP id bq15mr6420520vdb.110.1369378174686; Thu, 23 May 2013 23:49:34 -0700 (PDT) Received: from mail-vc0-f169.google.com (mail-vc0-f169.google.com [209.85.220.169]) by mx.google.com with ESMTPS id sc6si8622215vdc.125.2013.05.23.23.49.34 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 23 May 2013 23:49:34 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.220.169 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.220.169; Received: by mail-vc0-f169.google.com with SMTP id kw10so2908689vcb.28 for ; Thu, 23 May 2013 23:49:34 -0700 (PDT) X-Received: by 10.52.34.114 with SMTP id y18mr6458532vdi.56.1369378174421; Thu, 23 May 2013 23:49:34 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patches@linaro.org Received: by 10.220.126.138 with SMTP id c10csp86469vcs; Thu, 23 May 2013 23:49:33 -0700 (PDT) X-Received: by 10.14.3.137 with SMTP id 9mr40344177eeh.0.1369378173211; Thu, 23 May 2013 23:49:33 -0700 (PDT) Received: from eu1sys200aog121.obsmtp.com (eu1sys200aog121.obsmtp.com [207.126.144.151]) by mx.google.com with SMTP id g8si20118364eep.252.2013.05.23.23.49.00 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Thu, 23 May 2013 23:49:33 -0700 (PDT) Received-SPF: neutral (google.com: 207.126.144.151 is neither permitted nor denied by best guess record for domain of linus.walleij@stericsson.com) client-ip=207.126.144.151; Received: from beta.dmz-us.st.com ([167.4.1.35]) (using TLSv1) by eu1sys200aob121.postini.com ([207.126.147.11]) with SMTP ID DSNKUZ8NWj01vV67Ue7Xug3/nGup7b45TEPQ@postini.com; Fri, 24 May 2013 06:49:32 UTC Received: from zeta.dmz-us.st.com (ns4.st.com [167.4.16.71]) by beta.dmz-us.st.com (STMicroelectronics) with ESMTP id B302B4D; Fri, 24 May 2013 06:47:48 +0000 (GMT) Received: from relay1.stm.gmessaging.net (unknown [10.230.100.17]) by zeta.dmz-us.st.com (STMicroelectronics) with ESMTP id ADDDB61; Fri, 24 May 2013 06:48:46 +0000 (GMT) Received: from exdcvycastm022.EQ1STM.local (alteon-source-exch [10.230.100.61]) (using TLSv1 with cipher RC4-MD5 (128/128 bits)) (Client CN "exdcvycastm022", Issuer "exdcvycastm022" (not verified)) by relay1.stm.gmessaging.net (Postfix) with ESMTPS id 3B59E24C2C0; Fri, 24 May 2013 08:48:42 +0200 (CEST) Received: from steludxu4075.lud.stericsson.com (10.230.100.153) by smtp.stericsson.com (10.230.100.30) with Microsoft SMTP Server (TLS) id 8.3.279.5; Fri, 24 May 2013 08:48:46 +0200 From: Linus Walleij To: Cc: Lee Jones , Gabriel Fernandez , , Linus Walleij Subject: [PATCH] ARM: ux500: enable the crypto and hash on all dbx500 Date: Fri, 24 May 2013 08:48:42 +0200 Message-ID: <1369378122-25897-1-git-send-email-linus.walleij@stericsson.com> X-Mailer: git-send-email 1.7.11.3 MIME-Version: 1.0 X-Gm-Message-State: ALoCoQkTeNQL3BlnoOEkgTCNx/734622Er9BzBqvmP9FiRURa2dc3UgxPCtJlBmqhjEgIVg9SIXI X-Original-Sender: linus.walleij@stericsson.com X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.220.169 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Precedence: list Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org List-ID: X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , From: Linus Walleij Commits: "ARM: ux500: Add Device Tree nodes for the ux500 Crypt device" "ARM: ux500: Add Device Tree nodes for the ux500 Hash device" Added the crypto and hash devices conditionally, i.e. so as to be turned on per-board by setting an "status" property on the device from "disabled" to "okay" on each device. This is wrong since this is an SoC feature, it is not board dependent. It is the same ASIC under all circumstances and functionality does not vary with board family. This moves the enablement into the SoC file. Cc: Lee Jones Signed-off-by: Linus Walleij --- arch/arm/boot/dts/dbx5x0.dtsi | 4 ---- arch/arm/boot/dts/snowball.dts | 8 -------- 2 files changed, 12 deletions(-) diff --git a/arch/arm/boot/dts/dbx5x0.dtsi b/arch/arm/boot/dts/dbx5x0.dtsi index f051963..cd5cd09 100644 --- a/arch/arm/boot/dts/dbx5x0.dtsi +++ b/arch/arm/boot/dts/dbx5x0.dtsi @@ -760,17 +760,13 @@ compatible = "stericsson,ux500-cryp"; reg = <0xa03cb000 0x1000>; interrupts = <0 15 0x4>; - v-ape-supply = <&db8500_vape_reg>; - status = "disabled"; }; hash@a03c2000 { compatible = "stericsson,ux500-hash"; reg = <0xa03c2000 0x1000>; - v-ape-supply = <&db8500_vape_reg>; - status = "disabled"; }; }; }; diff --git a/arch/arm/boot/dts/snowball.dts b/arch/arm/boot/dts/snowball.dts index bda002f..e8219cc7 100644 --- a/arch/arm/boot/dts/snowball.dts +++ b/arch/arm/boot/dts/snowball.dts @@ -356,13 +356,5 @@ }; }; }; - - cryp@a03cb000 { - status = "okay"; - }; - - hash@a03c2000 { - status = "okay"; - }; }; };