From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.4 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH, MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7FF57C41514 for ; Tue, 23 Jul 2019 18:16:23 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 59CB7218B0 for ; Tue, 23 Jul 2019 18:16:23 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=ti.com header.i=@ti.com header.b="NlcOtrYY" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388910AbfGWSQW (ORCPT ); Tue, 23 Jul 2019 14:16:22 -0400 Received: from lelv0143.ext.ti.com ([198.47.23.248]:34924 "EHLO lelv0143.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730565AbfGWSQV (ORCPT ); Tue, 23 Jul 2019 14:16:21 -0400 Received: from lelv0266.itg.ti.com ([10.180.67.225]) by lelv0143.ext.ti.com (8.15.2/8.15.2) with ESMTP id x6NIGGou059594; Tue, 23 Jul 2019 13:16:16 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1563905776; bh=KQPkYhTuJfhyS8PfO8QYjfDY+4JKdUSmCoRj+O/+9ag=; h=Subject:To:CC:References:From:Date:In-Reply-To; b=NlcOtrYY77ZUl0NocV0eWonHVSyGHb/YHl1135OyC/OY7ULW9OY2TRkxn7liAEDOb 07SxjV+Knmk8m6lvYfwWe6TP/UkCiZayuEz2XXJU+qU6q0iJttYTBeP76s6o5fv0/I XG76G/rJprda4Xn39B1JhY+vIXJ37jzYQdXZ0BAk= Received: from DLEE100.ent.ti.com (dlee100.ent.ti.com [157.170.170.30]) by lelv0266.itg.ti.com (8.15.2/8.15.2) with ESMTPS id x6NIGGa5062230 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Tue, 23 Jul 2019 13:16:16 -0500 Received: from DLEE104.ent.ti.com (157.170.170.34) by DLEE100.ent.ti.com (157.170.170.30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1713.5; Tue, 23 Jul 2019 13:16:15 -0500 Received: from lelv0327.itg.ti.com (10.180.67.183) by DLEE104.ent.ti.com (157.170.170.34) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1713.5 via Frontend Transport; Tue, 23 Jul 2019 13:16:15 -0500 Received: from [128.247.58.153] (ileax41-snat.itg.ti.com [10.172.224.153]) by lelv0327.itg.ti.com (8.15.2/8.15.2) with ESMTP id x6NIGFZZ100648; Tue, 23 Jul 2019 13:16:15 -0500 Subject: Re: [PATCH 1/8] ARM: OMAP2+: Fix missing SYSC_HAS_RESET_STATUS for dra7 epwmss To: Tony Lindgren , CC: Dave Gerlach , Faiz Abbas , Greg Kroah-Hartman , Keerthy , Nishanth Menon , Peter Ujfalusi , Roger Quadros , Tero Kristo , , References: <20190723112811.44381-1-tony@atomide.com> <20190723112811.44381-2-tony@atomide.com> From: Suman Anna Message-ID: <212f2172-8612-86b6-83d7-0c70baaaf046@ti.com> Date: Tue, 23 Jul 2019 13:16:15 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 MIME-Version: 1.0 In-Reply-To: <20190723112811.44381-2-tony@atomide.com> Content-Type: text/plain; charset="utf-8" Content-Language: en-US Content-Transfer-Encoding: 7bit X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 7/23/19 6:28 AM, Tony Lindgren wrote: > TRM says PWMSS_SYSCONFIG bit for SOFTRESET changes to zero when > reset is completed. Let's configure it as otherwise we get warnings > on boot when we check the data against dts provided data. Eventually > the legacy platform data will be just dropped, but let's fix the > warning first. > > Signed-off-by: Tony Lindgren Reviewed-by: Suman Anna regards Suman > --- > arch/arm/mach-omap2/omap_hwmod_7xx_data.c | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > diff --git a/arch/arm/mach-omap2/omap_hwmod_7xx_data.c b/arch/arm/mach-omap2/omap_hwmod_7xx_data.c > --- a/arch/arm/mach-omap2/omap_hwmod_7xx_data.c > +++ b/arch/arm/mach-omap2/omap_hwmod_7xx_data.c > @@ -379,7 +379,8 @@ static struct omap_hwmod dra7xx_dcan2_hwmod = { > static struct omap_hwmod_class_sysconfig dra7xx_epwmss_sysc = { > .rev_offs = 0x0, > .sysc_offs = 0x4, > - .sysc_flags = SYSC_HAS_SIDLEMODE | SYSC_HAS_SOFTRESET, > + .sysc_flags = SYSC_HAS_SIDLEMODE | SYSC_HAS_SOFTRESET | > + SYSC_HAS_RESET_STATUS, > .idlemodes = (SIDLE_FORCE | SIDLE_NO | SIDLE_SMART), > .sysc_fields = &omap_hwmod_sysc_type2, > }; > From mboxrd@z Thu Jan 1 00:00:00 1970 From: Suman Anna Subject: Re: [PATCH 1/8] ARM: OMAP2+: Fix missing SYSC_HAS_RESET_STATUS for dra7 epwmss Date: Tue, 23 Jul 2019 13:16:15 -0500 Message-ID: <212f2172-8612-86b6-83d7-0c70baaaf046@ti.com> References: <20190723112811.44381-1-tony@atomide.com> <20190723112811.44381-2-tony@atomide.com> Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20190723112811.44381-2-tony@atomide.com> Content-Language: en-US Sender: linux-kernel-owner@vger.kernel.org To: Tony Lindgren , linux-omap@vger.kernel.org Cc: Dave Gerlach , Faiz Abbas , Greg Kroah-Hartman , Keerthy , Nishanth Menon , Peter Ujfalusi , Roger Quadros , Tero Kristo , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org List-Id: linux-omap@vger.kernel.org On 7/23/19 6:28 AM, Tony Lindgren wrote: > TRM says PWMSS_SYSCONFIG bit for SOFTRESET changes to zero when > reset is completed. Let's configure it as otherwise we get warnings > on boot when we check the data against dts provided data. Eventually > the legacy platform data will be just dropped, but let's fix the > warning first. > > Signed-off-by: Tony Lindgren Reviewed-by: Suman Anna regards Suman > --- > arch/arm/mach-omap2/omap_hwmod_7xx_data.c | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > diff --git a/arch/arm/mach-omap2/omap_hwmod_7xx_data.c b/arch/arm/mach-omap2/omap_hwmod_7xx_data.c > --- a/arch/arm/mach-omap2/omap_hwmod_7xx_data.c > +++ b/arch/arm/mach-omap2/omap_hwmod_7xx_data.c > @@ -379,7 +379,8 @@ static struct omap_hwmod dra7xx_dcan2_hwmod = { > static struct omap_hwmod_class_sysconfig dra7xx_epwmss_sysc = { > .rev_offs = 0x0, > .sysc_offs = 0x4, > - .sysc_flags = SYSC_HAS_SIDLEMODE | SYSC_HAS_SOFTRESET, > + .sysc_flags = SYSC_HAS_SIDLEMODE | SYSC_HAS_SOFTRESET | > + SYSC_HAS_RESET_STATUS, > .idlemodes = (SIDLE_FORCE | SIDLE_NO | SIDLE_SMART), > .sysc_fields = &omap_hwmod_sysc_type2, > }; > From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.3 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI, SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7EB5CC76186 for ; Tue, 23 Jul 2019 18:16:23 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 474E720665 for ; Tue, 23 Jul 2019 18:16:23 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="scg0E/+V"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=ti.com header.i=@ti.com header.b="NlcOtrYY" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 474E720665 Authentication-Results: mail.kernel.org; dmarc=fail (p=quarantine dis=none) header.from=ti.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:Date: Message-ID:From:References:To:Subject:Reply-To:Content-ID:Content-Description :Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=mDqgUAdZNO9UMq3cQYhd2j/6nA+Zut0rmFNfqBi4Fmw=; b=scg0E/+VieM9ye w3zoDwbHwfwhBiST4597KFz8bb2lzfbz+Y/U2T8i9YutXMMSKeA17TNJRByLYrWPZ1NppZ1ElB8cP Na1TXuENtoetPyL125fjRrWEW6ODWHUt3tLQAszz1eSC/gXutr8hUfnBuRJtQsLWqmefnNAUT0upC P4+ILO1iUr/f19d2JLrEq1LKWLPZvJtebmgJz4Fj+Oa5ucRAim33kmXl7bSVJJocLlMWKBqL8HS/+ vS2Vg8dC/Bhbb5SzeZE5AN9pIlCeQGCCVGxDGYurDBXadTyOK23x1amvX3rRITAR52syrL10YSTrF V7FPvEWfuxuQegmzP3ig==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92 #3 (Red Hat Linux)) id 1hpzKo-0003KB-RK; Tue, 23 Jul 2019 18:16:22 +0000 Received: from lelv0143.ext.ti.com ([198.47.23.248]) by bombadil.infradead.org with esmtps (Exim 4.92 #3 (Red Hat Linux)) id 1hpzKl-0003JW-I2 for linux-arm-kernel@lists.infradead.org; Tue, 23 Jul 2019 18:16:20 +0000 Received: from lelv0266.itg.ti.com ([10.180.67.225]) by lelv0143.ext.ti.com (8.15.2/8.15.2) with ESMTP id x6NIGGou059594; Tue, 23 Jul 2019 13:16:16 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1563905776; bh=KQPkYhTuJfhyS8PfO8QYjfDY+4JKdUSmCoRj+O/+9ag=; h=Subject:To:CC:References:From:Date:In-Reply-To; b=NlcOtrYY77ZUl0NocV0eWonHVSyGHb/YHl1135OyC/OY7ULW9OY2TRkxn7liAEDOb 07SxjV+Knmk8m6lvYfwWe6TP/UkCiZayuEz2XXJU+qU6q0iJttYTBeP76s6o5fv0/I XG76G/rJprda4Xn39B1JhY+vIXJ37jzYQdXZ0BAk= Received: from DLEE100.ent.ti.com (dlee100.ent.ti.com [157.170.170.30]) by lelv0266.itg.ti.com (8.15.2/8.15.2) with ESMTPS id x6NIGGa5062230 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Tue, 23 Jul 2019 13:16:16 -0500 Received: from DLEE104.ent.ti.com (157.170.170.34) by DLEE100.ent.ti.com (157.170.170.30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1713.5; Tue, 23 Jul 2019 13:16:15 -0500 Received: from lelv0327.itg.ti.com (10.180.67.183) by DLEE104.ent.ti.com (157.170.170.34) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1713.5 via Frontend Transport; Tue, 23 Jul 2019 13:16:15 -0500 Received: from [128.247.58.153] (ileax41-snat.itg.ti.com [10.172.224.153]) by lelv0327.itg.ti.com (8.15.2/8.15.2) with ESMTP id x6NIGFZZ100648; Tue, 23 Jul 2019 13:16:15 -0500 Subject: Re: [PATCH 1/8] ARM: OMAP2+: Fix missing SYSC_HAS_RESET_STATUS for dra7 epwmss To: Tony Lindgren , References: <20190723112811.44381-1-tony@atomide.com> <20190723112811.44381-2-tony@atomide.com> From: Suman Anna Message-ID: <212f2172-8612-86b6-83d7-0c70baaaf046@ti.com> Date: Tue, 23 Jul 2019 13:16:15 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 MIME-Version: 1.0 In-Reply-To: <20190723112811.44381-2-tony@atomide.com> Content-Language: en-US X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190723_111619_693674_1FC7AFA2 X-CRM114-Status: GOOD ( 16.53 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Nishanth Menon , Tero Kristo , Dave Gerlach , Greg Kroah-Hartman , linux-kernel@vger.kernel.org, Peter Ujfalusi , Faiz Abbas , Keerthy , linux-arm-kernel@lists.infradead.org, Roger Quadros Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org On 7/23/19 6:28 AM, Tony Lindgren wrote: > TRM says PWMSS_SYSCONFIG bit for SOFTRESET changes to zero when > reset is completed. Let's configure it as otherwise we get warnings > on boot when we check the data against dts provided data. Eventually > the legacy platform data will be just dropped, but let's fix the > warning first. > > Signed-off-by: Tony Lindgren Reviewed-by: Suman Anna regards Suman > --- > arch/arm/mach-omap2/omap_hwmod_7xx_data.c | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > diff --git a/arch/arm/mach-omap2/omap_hwmod_7xx_data.c b/arch/arm/mach-omap2/omap_hwmod_7xx_data.c > --- a/arch/arm/mach-omap2/omap_hwmod_7xx_data.c > +++ b/arch/arm/mach-omap2/omap_hwmod_7xx_data.c > @@ -379,7 +379,8 @@ static struct omap_hwmod dra7xx_dcan2_hwmod = { > static struct omap_hwmod_class_sysconfig dra7xx_epwmss_sysc = { > .rev_offs = 0x0, > .sysc_offs = 0x4, > - .sysc_flags = SYSC_HAS_SIDLEMODE | SYSC_HAS_SOFTRESET, > + .sysc_flags = SYSC_HAS_SIDLEMODE | SYSC_HAS_SOFTRESET | > + SYSC_HAS_RESET_STATUS, > .idlemodes = (SIDLE_FORCE | SIDLE_NO | SIDLE_SMART), > .sysc_fields = &omap_hwmod_sysc_type2, > }; > _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel