Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp97615pxk; Thu, 24 Sep 2020 00:02:38 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzkTOdAPxlwvNgNkscBwPT5pGePmKZkGLJOlMqOW0IPZw+RvFZr/z/BgJdvfgO+UxB9J6xe X-Received: by 2002:a17:906:454e:: with SMTP id s14mr3259167ejq.137.1600930958466; Thu, 24 Sep 2020 00:02:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1600930958; cv=none; d=google.com; s=arc-20160816; b=S6ih3kSV0IablfP/PcZymfFwckCUaZenkk7JPBGlHFo48Ql7P8rtp3sX9Db8Zrb6/0 a+xtCeuBP27RE8a5UcA+qZipHdHva7LKhix4rDiliMDdKPreBzYeaqhWtuXfiwvCePYW CHUTEymaVtvMpP4hID7nuE1SYmLDwIbUUt2fgX7/Tt9lDp/ZDlVIWhTK8YHxE1041/um kfyGdELhVx90x0KCGzwwdycbi+btl/vz5DWuc+C2B3/72UxO0BSyGBFXTnBUq+Z2Rcpd 2dkrj+QZNHiviLtKz1+8JF1xSBtbsWhJgwgu/hcbhIDJlgUIZlwdSLWOu4UWUOywUuxT Qhhg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:to:from:date :dkim-signature; bh=9cwTJAlRKK05nVk1Z4qLVE/mBcXjgRfZ0EvM7wGOtMY=; b=iCInvkbGgK1AlsnSTTjA+rwOTNivXrRmgN7aFmjicgU59NYbVQdyRbVZHh5BfSwSBC 4OMixrkP8CaM5LMlxLyL5tzUqenen2Kq9izk4cJduY1jl+CTczTEpeW/CUE4IMI+naUw ngJVPZLbgZpPgXs5NP7xS9zBe6HSJ1uyL3QslJew8Rj/0RWP9Qhkpz3dvyLxXHu0eUFe FT3OBEWnjhJXNqAzMBX863DCxp7suM+0daATp+V2aRNFZijNCuNL68tILioSpDcCk0B9 BNUWdba+yFEQLydBYUeON+NkS5QtTPmNHBZG74myQ3PEUK6WuHaj7zlJ63A+csgiRkH5 HMeg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@kemnade.info header.s=20180802 header.b=acYc7N8+; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id i24si1749525edb.493.2020.09.24.00.02.14; Thu, 24 Sep 2020 00:02:38 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=fail header.i=@kemnade.info header.s=20180802 header.b=acYc7N8+; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727073AbgIXHA6 (ORCPT + 99 others); Thu, 24 Sep 2020 03:00:58 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44896 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726950AbgIXHA6 (ORCPT ); Thu, 24 Sep 2020 03:00:58 -0400 Received: from mail.andi.de1.cc (mail.andi.de1.cc [IPv6:2a01:238:4321:8900:456f:ecd6:43e:202c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0DF31C0613CE; Thu, 24 Sep 2020 00:00:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=kemnade.info; s=20180802; h=Content-Transfer-Encoding:Content-Type: MIME-Version:References:In-Reply-To:Message-ID:Subject:To:From:Date:Sender: Reply-To:Cc:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=9cwTJAlRKK05nVk1Z4qLVE/mBcXjgRfZ0EvM7wGOtMY=; b=acYc7N8+OhlPAfMijESR0JWXqI vzvfZqD5oSFpxF261VO1xhTe4xfRxYimpv4mnqfakaFaIvJca6XiMgtxJpzrGVrVL+pOGataVQKZ0 TT/0jezopzeqDSBJ0+suiPvZTkVTB1dlmJfLBII+ZzJzGv1MeFLQezBKBqzGPhKhgTyo=; Received: from p200300ccff10b0001a3da2fffebfd33a.dip0.t-ipconnect.de ([2003:cc:ff10:b000:1a3d:a2ff:febf:d33a] helo=aktux) by mail.andi.de1.cc with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1kLLFI-0004Ab-Pw; Thu, 24 Sep 2020 09:00:49 +0200 Date: Thu, 24 Sep 2020 09:00:47 +0200 From: Andreas Kemnade To: khilman@kernel.org, tony@atomide.com, linux@armlinux.org.uk, linux-omap@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, letux-kernel@openphoenux.org Subject: Re: [PATCH v2] omap3: enable off mode automatically Message-ID: <20200924090047.2b61f883@aktux> In-Reply-To: <20200911161209.25149-1-andreas@kemnade.info> References: <20200911161209.25149-1-andreas@kemnade.info> X-Mailer: Claws Mail 3.17.3 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Score: -1.0 (-) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 11 Sep 2020 18:12:09 +0200 Andreas Kemnade wrote: > Enabling off mode was only reachable deeply hidden > in the debugfs. As powersaving is an important feature, > move the option out of its shady place. > The debugfs file can still be used to override the default. > > Use the presence of a device compatible to ti,twl4030-idle or > ti,twl4030-idle-osc-off as an indicator that the board is wired correctly > for off mode. > > Signed-off-by: Andreas Kemnade > --- > An earlier version of this patch was here: > https://patchwork.kernel.org/patch/10794121/ > > A config option was used instead of the suggested devicetree check. > > Changes in v2: > - fix compile without CONFIG_ARCH_OMAP3 > The variable enable_off_mode is now always a real one and not > a preprocessor constant to avoid trouble with unusual configurations. > Anything I still missed here? Regards, Andreas