Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp902482ybl; Tue, 13 Aug 2019 04:31:41 -0700 (PDT) X-Google-Smtp-Source: APXvYqxTS1h1uKWlWS6lcmk2b4pYdOOZLoflzjqpz4p+kpFZKAoy6okJzh04lnoADXuhlrdl+v02 X-Received: by 2002:a17:90a:aa98:: with SMTP id l24mr1788423pjq.64.1565695901273; Tue, 13 Aug 2019 04:31:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1565695901; cv=none; d=google.com; s=arc-20160816; b=EEmE915jGO2ajrM0KT2dtC31wYccqUCAd2XMXBDsN3xqoFoIk/3lAnn865rP9Kckog aY5bAzEp1ViOxbkzZnogVREECMqzW5Sal/YLZwMOWAnwZu7PGF0vQWJWE6Zh92R+WFSM 1VSl9Kk6QKa7ZK9zq9aR+p3E8keO1LZtLMwkL07EBZ+qGmsrZYRmTvLrh89TQI9+tV0Y rbrzoLwI6z7bMBpj6UrrSfAnWvS+cFXITuV6wMCgmFbGkN7NLr9a0cTJ+bZm35mjbhUc KPMp/y9DhpUXBK/dcf8ny9DFmNPfWwD1VlEIvtB3G6fwY6OUkSHpCy26XCu0NDop+UnY fXLw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=EAVu7kXDHffhO8xcBk9ZncCv8gvZXjYuuju1nPb6aLc=; b=sH0OCvq9vFM0TcLjPUL0xI6pbV3meWBjeGRksXCQweA2A9DndN2qj+BQoaSm2ZqWtF oYVQOeec5MepS7HiQJ8G3VxCHaIK8t1YZdxagqfrMtojYZmRaqdA966S08k/8OVUAwkE 4egCYdyrhFalt3PgnHBpId7BKVkRGDYIrbwxvNkH5dxQ0m6+G1h6QKeC6cvPUkUqesEO 4f7XHDL5bBOkU/+pY0yB5RMYmusNXLfe2qsNXs0jxY6rUe1Yf471HxpBDSuLvHjJu5mo JxD+7FYlK3f/AOxeCnwrWLIauMJDz3NIr/cepMu6Af+r2fNCHULtN+N2ruoWRDsnJBrl kYkg== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id o4si6757371pls.36.2019.08.13.04.31.24; Tue, 13 Aug 2019 04:31:41 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726826AbfHML3f (ORCPT + 99 others); Tue, 13 Aug 2019 07:29:35 -0400 Received: from muru.com ([72.249.23.125]:57164 "EHLO muru.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726650AbfHML3f (ORCPT ); Tue, 13 Aug 2019 07:29:35 -0400 Received: from atomide.com (localhost [127.0.0.1]) by muru.com (Postfix) with ESMTPS id 00CBA805C; Tue, 13 Aug 2019 11:30:00 +0000 (UTC) Date: Tue, 13 Aug 2019 04:29:30 -0700 From: Tony Lindgren To: Jyri Sarha Cc: Suman Anna , linux-omap@vger.kernel.org, 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 Subject: Re: [PATCH 2/8] ARM: OMAP2+: Remove unconfigured midlemode for am3 lcdc Message-ID: <20190813112930.GO52127@atomide.com> References: <20190723112811.44381-1-tony@atomide.com> <20190723112811.44381-3-tony@atomide.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.11.4 (2019-03-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org * Jyri Sarha [190813 11:05]: > On 23/07/2019 22:03, Suman Anna wrote: > > + 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? > > > > Sorry. This all has happened before my time. This is all new to me. Oh OK. Well if possible, could you please check if the following patch behaves with v5.2 for you for LCDC? I only have rack access to a beaglebone with hdmi right now. TRM "Table 13-34. SYSCONFIG Register Field Descriptions" lists both standbymode and idlemode that should be just the sidle and midle registers where midle is currently unconfigured. Regards, Tony 8< --------------------- 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 @@ -255,8 +255,9 @@ static struct omap_hwmod am33xx_gpio0_hwmod = { static struct omap_hwmod_class_sysconfig lcdc_sysc = { .rev_offs = 0x0, .sysc_offs = 0x54, - .sysc_flags = (SYSC_HAS_SIDLEMODE | SYSC_HAS_MIDLEMODE), - .idlemodes = (SIDLE_FORCE | SIDLE_NO | SIDLE_SMART), + .sysc_flags = SYSC_HAS_SIDLEMODE | SYSC_HAS_MIDLEMODE, + .idlemodes = SIDLE_FORCE | SIDLE_NO | SIDLE_SMART | + MSTANDBY_FORCE | MSTANDBY_NO | MSTANDBY_SMART, .sysc_fields = &omap_hwmod_sysc_type2, };