From patchwork Thu Feb 26 13:49:53 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Pali_Roh=C3=A1r?= X-Patchwork-Id: 5893001 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 61DE59F373 for ; Thu, 26 Feb 2015 13:54:30 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 5B7CB203A9 for ; Thu, 26 Feb 2015 13:54:29 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 4757B20398 for ; Thu, 26 Feb 2015 13:54:28 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932301AbbBZNuf (ORCPT ); Thu, 26 Feb 2015 08:50:35 -0500 Received: from mail-we0-f180.google.com ([74.125.82.180]:35756 "EHLO mail-we0-f180.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932239AbbBZNud (ORCPT ); Thu, 26 Feb 2015 08:50:33 -0500 Received: by wevl61 with SMTP id l61so10918080wev.2; Thu, 26 Feb 2015 05:50:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-type:content-transfer-encoding; bh=3VoXW0nyGgF0VnW6qzbcPu5UpnzhvcpR6SudhVS0nQI=; b=bjX125gyNamhNqwyKGzqEHm64DSt9AuIsMHVev8rhPDl5yH9uYsjH2iA0kRiqVwDNn LO3fhB5V/P4KlkJdPD+bo1tzKOTT/vN2cuboY+5eDWRDR0DBZVuF+H96dgr66e6WPnKy /C5E34c2RCNfoleXB4KLUYJ3YccQHU3y3NzNCO5emWCUL3elp/KNFbqR7Ia4qjqMWdSY 05qr+xVm06yPfDYnkw5q3Nt8IREL3WZXQx/Dq0+V3zbz1S6zMMJH7SEMdbbj1iC46fX/ G7NyGJPM3vKuKSvGzVyjQHU5kQnQSqo0x9nKc5qD70r+W32iDcc8EE3npJqdETc7H8yE d7kw== X-Received: by 10.180.36.212 with SMTP id s20mr16756069wij.58.1424958631260; Thu, 26 Feb 2015 05:50:31 -0800 (PST) Received: from Pali-Latitude.kolej.mff.cuni.cz (pali.kolej.mff.cuni.cz. [78.128.193.202]) by mx.google.com with ESMTPSA id k6sm29959364wia.6.2015.02.26.05.50.29 (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 26 Feb 2015 05:50:30 -0800 (PST) From: =?UTF-8?q?Pali=20Roh=C3=A1r?= To: =?UTF-8?q?Beno=C3=AEt=20Cousson?= , Tony Lindgren , Rob Herring , Russell King , Paul Walmsley , Herbert Xu , "David S. Miller" Cc: linux-omap@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-crypto@vger.kernel.org, Pavel Machek , Nishanth Menon , Ivaylo Dimitrov , Aaro Koskinen , Sebastian Reichel , =?UTF-8?q?Pali=20Roh=C3=A1r?= Subject: [PATCH 03/10] crypto: omap-sham: Add support for omap3 devices Date: Thu, 26 Feb 2015 14:49:53 +0100 Message-Id: <1424958600-18881-4-git-send-email-pali.rohar@gmail.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1424958600-18881-1-git-send-email-pali.rohar@gmail.com> References: <1424958600-18881-1-git-send-email-pali.rohar@gmail.com> MIME-Version: 1.0 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.8 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, T_DKIM_INVALID, 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 omap3 support is same as omap2, just with different IO address (specified in DT) Signed-off-by: Pali Rohár Acked-by: Pavel Machek --- drivers/crypto/omap-sham.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/drivers/crypto/omap-sham.c b/drivers/crypto/omap-sham.c index 3c76696..b20e374 100644 --- a/drivers/crypto/omap-sham.c +++ b/drivers/crypto/omap-sham.c @@ -1792,6 +1792,10 @@ static const struct of_device_id omap_sham_of_match[] = { .data = &omap_sham_pdata_omap2, }, { + .compatible = "ti,omap3-sham", + .data = &omap_sham_pdata_omap2, + }, + { .compatible = "ti,omap4-sham", .data = &omap_sham_pdata_omap4, },