From patchwork Mon Jul 30 23:50:39 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Juha Kuikka X-Patchwork-Id: 1256771 Return-Path: X-Original-To: patchwork-linux-omap@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork1.kernel.org (Postfix) with ESMTP id E74613FCC5 for ; Mon, 30 Jul 2012 23:51:31 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752300Ab2G3Xvb (ORCPT ); Mon, 30 Jul 2012 19:51:31 -0400 Received: from mail-pb0-f46.google.com ([209.85.160.46]:39365 "EHLO mail-pb0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751373Ab2G3Xva (ORCPT ); Mon, 30 Jul 2012 19:51:30 -0400 Received: by mail-pb0-f46.google.com with SMTP id rp8so10640046pbb.19 for ; Mon, 30 Jul 2012 16:51:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references; bh=Kl/P1u/Ayo8l/83slYhPmWbAqVm5r7cMI/eTQBF8d6U=; b=C4kaAgvZmlbQ9qq6Wf92ERILfYGtx0LT/JM5ATZMdxSknQOFc4OVP5MIpEMaH5VS+5 s2pFVk/C5w0D6YhMH1h7mFB9p3C/qm6B3t1TFTNBjflu1yqBzgg1+oPhFjsw1wcUj4/R QAIUpoeUdDg0RL4S3UML8bTrN78x5E3kfsjFrpimyymtf2r92tzLLhamNutDakpQDCAN AB7VJyBIUbK+UpAQLM2MKsQuluSBDr/XO+tIIjR22DfaSYjF4YQztjuJgQpzAm9Auc9E +CtQ1fbNX4BQDWy+NsQPsQ9SOVyETZWWz3kJEdXF3JftMrIfoMFYMkDoG9uNPw+F3rpu MgzQ== Received: by 10.68.233.103 with SMTP id tv7mr39421221pbc.124.1343692290377; Mon, 30 Jul 2012 16:51:30 -0700 (PDT) Received: from localhost.localdomain (ec2-50-112-136-154.us-west-2.compute.amazonaws.com. [50.112.136.154]) by mx.google.com with ESMTPS id oa5sm8829397pbb.14.2012.07.30.16.51.29 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 30 Jul 2012 16:51:29 -0700 (PDT) From: Juha Kuikka To: linux-omap@vger.kernel.org Cc: Juha Kuikka Subject: [PATCH v1 1/1] ARM: OMAP3: Use OMAP3_HAS_IVA_REGS with OMAP3503 Date: Mon, 30 Jul 2012 16:50:39 -0700 Message-Id: <1343692239-10393-2-git-send-email-juha.kuikka@gmail.com> X-Mailer: git-send-email 1.7.5.4 In-Reply-To: <1343692239-10393-1-git-send-email-juha.kuikka@gmail.com> References: <1343692239-10393-1-git-send-email-juha.kuikka@gmail.com> Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org Similarly to am3703, it seems that omap3503 has an IVA control registers even though the subsystem is non-functional. This patch sets the OMAP3_HAS_IVA_REGS feature to force initialization of there registers. Based in Mark A. Greer's patch "ARM: OMAP3: Add OMAP3_HAS_IVA_REGS feature". Signed-off-by: Juha Kuikka --- arch/arm/mach-omap2/id.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/arch/arm/mach-omap2/id.c b/arch/arm/mach-omap2/id.c index 4072fbd..45d3eb4 100644 --- a/arch/arm/mach-omap2/id.c +++ b/arch/arm/mach-omap2/id.c @@ -244,7 +244,7 @@ void __init omap3xxx_check_features(void) if (cpu_is_omap3630()) omap_features |= OMAP3_HAS_192MHZ_CLK | OMAP3_HAS_IVA_REGS; if (cpu_is_omap3430() || cpu_is_omap3630()) - omap_features |= OMAP3_HAS_IO_WAKEUP; + omap_features |= OMAP3_HAS_IO_WAKEUP | OMAP3_HAS_IVA_REGS; if (cpu_is_omap3630() || omap_rev() == OMAP3430_REV_ES3_1 || omap_rev() == OMAP3430_REV_ES3_1_2) omap_features |= OMAP3_HAS_IO_CHAIN_CTRL;