From patchwork Wed Feb 25 18:52:41 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Matt Porter X-Patchwork-Id: 5882541 Return-Path: X-Original-To: patchwork-linux-omap@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id C1BE59F269 for ; Wed, 25 Feb 2015 18:52:51 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id E7BAA202C8 for ; Wed, 25 Feb 2015 18:52:50 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 0FF2620375 for ; Wed, 25 Feb 2015 18:52:50 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753539AbbBYSwt (ORCPT ); Wed, 25 Feb 2015 13:52:49 -0500 Received: from mail-ig0-f181.google.com ([209.85.213.181]:33469 "EHLO mail-ig0-f181.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752739AbbBYSws (ORCPT ); Wed, 25 Feb 2015 13:52:48 -0500 Received: by mail-ig0-f181.google.com with SMTP id hn18so8364761igb.2 for ; Wed, 25 Feb 2015 10:52:47 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=ul9ImFmKDuXhGVMqJSvqpWomV/u5/ZZbgpSGNX+te+A=; b=h8PxOFL4R+rvcrGGCiSx/FGQyGuv3Z5KUEm8AOdoz5x1L8QjAqWNrQiVR+c8zj+0FJ tr2vGCqmEyfZQ4W/QZLngxClpgxZKW5Szrr4I3B26tfVzrxLnFd2ioVfXlhLJIs1OmDU ThnurZiJdBswnLY1Nx9aAosXHArbelsarVEXlx8gxETjgf2uFaDGzfTtXcc1CbLRf8TG yogrk6KkPd4VfEuCKm1UG/8mZB0mJXfeE4O9VMO9e0inC6jLfEKktkgLLxR3T+zqbqzA 1aIoXc07ViAPBBWyheC+bVlpNII5B/S8UrKSpiR0CQcITNSkNMew7AgvydqVBWUIBvA5 sbaw== X-Gm-Message-State: ALoCoQk8QQmDn/CqfVrhUKTNXg1Ivh4ACzZkT7FsQM4Bt2KL3xWUArZs1hemg4Oe/60xTtBeeghD X-Received: by 10.107.32.14 with SMTP id g14mr6754901iog.3.1424890367845; Wed, 25 Feb 2015 10:52:47 -0800 (PST) Received: from beef.ohporter.com (cpe-107-10-23-53.neo.res.rr.com. [107.10.23.53]) by mx.google.com with ESMTPSA id vk4sm10197316igc.11.2015.02.25.10.52.46 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 25 Feb 2015 10:52:47 -0800 (PST) From: Matt Porter To: =?UTF-8?q?Beno=C3=AEt=20Cousson?= , Tony Lindgren Cc: Rob Herring , Mark Rutland , Robert Nelson , Linux OMAP List , Linux ARM Kernel List , Linux Kernel Mailing List Subject: [PATCH v2] ARM: dts: am335x-bone-common: enable aes and sham Date: Wed, 25 Feb 2015 13:52:41 -0500 Message-Id: <1424890361-31848-1-git-send-email-mporter@konsulko.com> X-Mailer: git-send-email 1.8.4 Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Beaglebone Black doesn't have AES and SHAM enabled like the original Beaglebone White dts. This breaks applications that leverage the crypto blocks so fix this by enabling these nodes in the am335x-bone-common.dtsi. With this change, enabling the nodes in am335x-bone.dts is no longer required so remove them. Signed-off-by: Matt Porter Acked-by: Robert Nelson --- arch/arm/boot/dts/am335x-bone-common.dtsi | 8 ++++++++ arch/arm/boot/dts/am335x-bone.dts | 8 -------- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/arch/arm/boot/dts/am335x-bone-common.dtsi b/arch/arm/boot/dts/am335x-bone-common.dtsi index 6cc25ed..12cdb2b 100644 --- a/arch/arm/boot/dts/am335x-bone-common.dtsi +++ b/arch/arm/boot/dts/am335x-bone-common.dtsi @@ -300,3 +300,11 @@ cd-gpios = <&gpio0 6 GPIO_ACTIVE_HIGH>; cd-inverted; }; + +&aes { + status = "okay"; +}; + +&sham { + status = "okay"; +}; diff --git a/arch/arm/boot/dts/am335x-bone.dts b/arch/arm/boot/dts/am335x-bone.dts index 83d40f7..6b849372 100644 --- a/arch/arm/boot/dts/am335x-bone.dts +++ b/arch/arm/boot/dts/am335x-bone.dts @@ -24,11 +24,3 @@ &mmc1 { vmmc-supply = <&ldo3_reg>; }; - -&sham { - status = "okay"; -}; - -&aes { - status = "okay"; -};