From patchwork Mon Aug 8 09:15:13 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tomi Valkeinen X-Patchwork-Id: 1043532 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.4) with ESMTP id p789FYZd009522 for ; Mon, 8 Aug 2011 09:15:40 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752402Ab1HHJPe (ORCPT ); Mon, 8 Aug 2011 05:15:34 -0400 Received: from na3sys009aog118.obsmtp.com ([74.125.149.244]:60957 "EHLO na3sys009aog118.obsmtp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751490Ab1HHJPe (ORCPT ); Mon, 8 Aug 2011 05:15:34 -0400 Received: from mail-fx0-f47.google.com ([209.85.161.47]) (using TLSv1) by na3sys009aob118.postini.com ([74.125.148.12]) with SMTP ID DSNKTj+pNPAmJ38jRSD3rMmPjCw/H5e1QRdB@postini.com; Mon, 08 Aug 2011 02:15:33 PDT Received: by mail-fx0-f47.google.com with SMTP id 11so4485967fxg.6 for ; Mon, 08 Aug 2011 02:15:32 -0700 (PDT) Received: by 10.204.9.197 with SMTP id m5mr1530822bkm.38.1312794932600; Mon, 08 Aug 2011 02:15:32 -0700 (PDT) Received: from localhost.localdomain (a62-248-128-208.elisa-laajakaista.fi [62.248.128.208]) by mx.google.com with ESMTPS id b3sm1571974bke.11.2011.08.08.02.15.30 (version=SSLv3 cipher=OTHER); Mon, 08 Aug 2011 02:15:31 -0700 (PDT) From: Tomi Valkeinen To: paul@pwsan.com, linux-omap@vger.kernel.org, b-cousson@ti.com Cc: archit@ti.com, Tomi Valkeinen Subject: [PATCHv2 4/5] OMAP2/3: HWMOD: Add SYSS_HAS_RESET_STATUS for dss Date: Mon, 8 Aug 2011 12:15:13 +0300 Message-Id: <1312794914-22894-5-git-send-email-tomi.valkeinen@ti.com> X-Mailer: git-send-email 1.7.4.1 In-Reply-To: <1312794914-22894-1-git-send-email-tomi.valkeinen@ti.com> References: <1312794914-22894-1-git-send-email-tomi.valkeinen@ti.com> Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.6 (demeter1.kernel.org [140.211.167.41]); Mon, 08 Aug 2011 09:15:41 +0000 (UTC) OMAP2/3 dss_core has a reset status flag in sysstatus register. Add SYSS_HAS_RESET_STATUS flag to HWMOD data so it can be used. Signed-off-by: Tomi Valkeinen --- .../mach-omap2/omap_hwmod_2xxx_3xxx_ipblock_data.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/arch/arm/mach-omap2/omap_hwmod_2xxx_3xxx_ipblock_data.c b/arch/arm/mach-omap2/omap_hwmod_2xxx_3xxx_ipblock_data.c index c451729..d78c132 100644 --- a/arch/arm/mach-omap2/omap_hwmod_2xxx_3xxx_ipblock_data.c +++ b/arch/arm/mach-omap2/omap_hwmod_2xxx_3xxx_ipblock_data.c @@ -43,7 +43,8 @@ static struct omap_hwmod_class_sysconfig omap2_dss_sysc = { .rev_offs = 0x0000, .sysc_offs = 0x0010, .syss_offs = 0x0014, - .sysc_flags = (SYSC_HAS_SOFTRESET | SYSC_HAS_AUTOIDLE), + .sysc_flags = (SYSC_HAS_SOFTRESET | SYSC_HAS_AUTOIDLE | + SYSS_HAS_RESET_STATUS), .sysc_fields = &omap_hwmod_sysc_type1, };