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: 5882561 Return-Path: X-Original-To: patchwork-linux-arm@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 0BD009F269 for ; Wed, 25 Feb 2015 18:55:40 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 44EB520375 for ; Wed, 25 Feb 2015 18:55:39 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 672A2202C8 for ; Wed, 25 Feb 2015 18:55:38 +0000 (UTC) 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 1YQh5c-0007Sw-7H; Wed, 25 Feb 2015 18:53:44 +0000 Received: from mail-ig0-f170.google.com ([209.85.213.170]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1YQh53-00078G-3Y for linux-arm-kernel@lists.infradead.org; Wed, 25 Feb 2015 18:53:09 +0000 Received: by mail-ig0-f170.google.com with SMTP id l13so38584287iga.1 for ; Wed, 25 Feb 2015 10:52:48 -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=IlJoGSYPSfj1qJx+yho46FFMsAjx7i3oPD1CMKrq/z6Y9VYr3J6V1mVotkRd+LIFWZ +aOwL3/XEq3gfP6Z1v6W4HnMiUt83+mkfQ+yu5oM4FQoQVOjXnCM2xOFO4rT4EGygaPX M62tcOYL1j45vB0iX35vY2N9pcZaRRdJ37Evtt4jgdx33vJQ6ipnZUkleunZ3vC/oNZH bfwkYkoXk7Dl1z+DIHbvvIRsbD7TEoh+2Z1u2a9Qo4f3d9ZOrCl8jzdcfWfpzMqDJttm fe3E0FPUrCJnyg3bVZERJ7hZOmMKHR8IM63ZzfaHO7Kzz+p5MmdCiSkaZpUqYs+wyA/E dVUw== X-Gm-Message-State: ALoCoQkYv7m/kV94A9GnrT7Ya8t7Tzy7SyCMOA0tlF0T95yxmrtcxUrsSq7PiPXgmGJUJkoqjCR/ 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 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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20150225_105309_220252_E25313B9 X-CRM114-Status: UNSURE ( 9.68 ) X-CRM114-Notice: Please train this message. X-Spam-Score: 0.3 (/) Cc: Mark Rutland , Linux Kernel Mailing List , Rob Herring , Linux OMAP List , Robert Nelson , Linux ARM Kernel List X-BeenThere: linux-arm-kernel@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-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable 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"; -};