Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp8984586ybi; Tue, 23 Jul 2019 19:28:39 -0700 (PDT) X-Google-Smtp-Source: APXvYqyYUpHww585kLJlD5kWVyfduktLf9SujGaj2WBKu8W4cmFmmpAifrA/RNi5UUdMhGMkK+9r X-Received: by 2002:a17:902:2ac8:: with SMTP id j66mr79568744plb.273.1563935319883; Tue, 23 Jul 2019 19:28:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1563935319; cv=none; d=google.com; s=arc-20160816; b=gr38VBM0yiSHEYVyL96Mu9sHg6ljPu5TBBTvaSdn7u+MKbHT05ojletG73mMkqV6gt JQec2IWCkOa7fJ43vw7tDWuWRGR9OEQMvvFGHuyOe97ZPAkFgt4cCC5+L2hU3R2bSSuB tvsVtGtDK3xl6lLzQ+3vO48sy5h0kTqFKHz3o+NeYnM5zRzpnznuyw3c0Gr1hMF7GW35 /S0PvXCl7jLvovM2BXFcxUikHfNKahJkTKXJpTTYT/mOumq9pshdp7Nwww1ny6tgPToe JizNbNZmY5U7vckck+YAdPTUKHgpgEcyKso6MKVuFmj3LhMX+p1e/gK2VOBQt+7p1+p+ Rikw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=dgAWQjxtCP5dIIzQPntXQvITimMe67GhUEu5H0ZWdpM=; b=mcl+9ccdy1dssRb4Q9KcbSEgrYZ/WD1reWksrk3Dbk/0+DAOi2bu2UruwQT/Cmnpf6 1JqDgl/inZY+Q0ivRJlFL+bgUFlpYwLyDSr+P7squ8GWq6Zu165WQ0zfJu8Z/Uvl+yEE a6AsJd3dxqRxsDSK1WSNNQay+ki9VubCsw3/cGOsCDC/p5YivlE4tpRvCNiNIqCUekAX ckJ5yeYez7ZFiJCzZxzbchYYWbTuEo17IP/Tl9Yv4ZxrsSssIrTebbWPPopGTuaxOMUA Xp3U77IYJbEZUEdaWSMguy0CtAag6EOblXi8p67hXc4iNEAJOQr5OBIbj4+o4p7vT42w u2xw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=gy+LLjyX; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w11si12434152pgr.321.2019.07.23.19.28.24; Tue, 23 Jul 2019 19:28:39 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=gy+LLjyX; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2387926AbfGWTDT (ORCPT + 99 others); Tue, 23 Jul 2019 15:03:19 -0400 Received: from lelv0143.ext.ti.com ([198.47.23.248]:39612 "EHLO lelv0143.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729050AbfGWTDS (ORCPT ); Tue, 23 Jul 2019 15:03:18 -0400 Received: from fllv0035.itg.ti.com ([10.64.41.0]) by lelv0143.ext.ti.com (8.15.2/8.15.2) with ESMTP id x6NJ3Dx2070436; Tue, 23 Jul 2019 14:03:13 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1563908593; bh=dgAWQjxtCP5dIIzQPntXQvITimMe67GhUEu5H0ZWdpM=; h=Subject:To:CC:References:From:Date:In-Reply-To; b=gy+LLjyXgC5A3RA4GVKO+AvXneYwLjeV590QU7snUStl1OHXMmPMMFs4oa6VVWkKT Usl+KatzH41hPr3P8wNfK2+jp+JMAZTvuWL2o7/p6YdEx2g9v/Rf4dhMt1ok0lphYN pTjZxeRTTKCd3pHlWqqQBM435Mv18Ab/i4zD0mRk= Received: from DLEE104.ent.ti.com (dlee104.ent.ti.com [157.170.170.34]) by fllv0035.itg.ti.com (8.15.2/8.15.2) with ESMTPS id x6NJ3DEf036172 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Tue, 23 Jul 2019 14:03:13 -0500 Received: from DLEE104.ent.ti.com (157.170.170.34) 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; Tue, 23 Jul 2019 14:03:12 -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 14:03:12 -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 x6NJ3CFq033455; Tue, 23 Jul 2019 14:03:12 -0500 Subject: Re: [PATCH 2/8] ARM: OMAP2+: Remove unconfigured midlemode for am3 lcdc To: Tony Lindgren , , Jyri Sarha 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-3-tony@atomide.com> From: Suman Anna Message-ID: Date: Tue, 23 Jul 2019 14:03:12 -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-3-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 + Jyri On 7/23/19 6:28 AM, Tony Lindgren wrote: > We currently get a warning for lcdc because of a difference > with dts provided configuration compared to the legacy platform > data. This is because lcdc has SYSC_HAS_MIDLEMODE configured in > the platform data without configuring the modes. Hi Tony, While I understand that you are trying to match the DT data with the existing legacy data, do you know if there was a reason why this was omitted in the first place? Should we be really adding the MSTANDBY_ flags and fix up the DTS node accordingly? I tried looking through the git log, and the initial commit itself didn't add the MSTANDBY_ flags but used the SYSC_HAS_MIDLEMODE. Jyri, Do you know the history? regards Suman > > Let's fix the warning by removing SYSC_HAS_MIDLEMODE. Note that > the am335x TRM lists SYSC_HAS_MIDLEMODE, but it is unused. > > Signed-off-by: Tony Lindgren > --- > arch/arm/mach-omap2/omap_hwmod_33xx_data.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/arch/arm/mach-omap2/omap_hwmod_33xx_data.c b/arch/arm/mach-omap2/omap_hwmod_33xx_data.c > --- a/arch/arm/mach-omap2/omap_hwmod_33xx_data.c > +++ b/arch/arm/mach-omap2/omap_hwmod_33xx_data.c > @@ -231,7 +231,7 @@ static struct omap_hwmod am33xx_control_hwmod = { > static struct omap_hwmod_class_sysconfig lcdc_sysc = { > .rev_offs = 0x0, > .sysc_offs = 0x54, > - .sysc_flags = (SYSC_HAS_SIDLEMODE | SYSC_HAS_MIDLEMODE), > + .sysc_flags = SYSC_HAS_SIDLEMODE, > .idlemodes = (SIDLE_FORCE | SIDLE_NO | SIDLE_SMART), > .sysc_fields = &omap_hwmod_sysc_type2, > }; >