Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp1690842ybz; Thu, 16 Apr 2020 13:46:46 -0700 (PDT) X-Google-Smtp-Source: APiQypLKAreccNpjLSiJSdq/JCf1UnCArC5AW90WQ0TpDEGhMSoCmWi2t7By7YlvuqhWlXzThqUn X-Received: by 2002:a05:6402:31b6:: with SMTP id dj22mr71332edb.258.1587070006576; Thu, 16 Apr 2020 13:46:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1587070006; cv=none; d=google.com; s=arc-20160816; b=Jo2iRN7jhPpXiGBHBN8Jp3T20DlflH6MVz/Zv6o2zSaEIS8D2RZlOrLDFkJ/JCDDe9 TLC9UcjTraU/pkDZ0dbiw4d/vGoatQiGJZ30qTMtlgJlN3S4OPT0ptKyqGiw0UzeNNP5 aRH1qvduBZqQpX5++iW3ezFJYpqHqhxhhCu3zhx4dznDt+sVM4iztyQbs2Grg1mHM2Nq nzByccoBQu4Jn1Ki66uaHHRJ+Zb92TbBMbCQkgFsNZOF864KslibMerGV3GgI/lF9Kxh /YyUHQXkKtJktlyV0DXFYcI8iPVHAkeyojsJt04xepsEo/BtpsEbOP568cJFIeW9c4fM ceFQ== 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:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=WPcxZfskR9kje2uaZAuiIJWgpilMt31fAbM7WDX99nk=; b=mVn+U7ZAaunqBoxe8g9VeYaK0FBhez70AkiT/nbgEfKSnWeXeA9t6LE5f4lp+jwiur 16Qs3UhdLEfN/oGHwxETH10aMvdN8cNj06ugoMTmqvZaN3hsML+0zlFCp6tgHVO6VsIR 8gRwH1OUitf9HTA2aOxoMVJ4oCrh4H7bRF9utPBMBDQYVCOE08VL4Fn7Pc4BUCtHVEse HuAZ6fLjLszR1yX6Su5kF10glPfdhSDbBIpVEsJ3c17MjArmKcNvqI06sXFT1hmleOVz tG07bgv9OyX2DjkABZUIzC7+/Q0w7qDmUMNDQtOwVkD8z2LWCvwZZ0QP2ry49fnreT/6 Y3yg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@kemnade.info header.s=20180802 header.b=JA1Fobiy; 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 dp6si14512503ejc.238.2020.04.16.13.46.23; Thu, 16 Apr 2020 13:46:46 -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=JA1Fobiy; 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 S1726475AbgDPUFy (ORCPT + 99 others); Thu, 16 Apr 2020 16:05:54 -0400 Received: from mail.andi.de1.cc ([85.214.55.253]:52006 "EHLO mail.andi.de1.cc" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731039AbgDPUFE (ORCPT ); Thu, 16 Apr 2020 16:05:04 -0400 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:Cc:To:From:Date:Sender :Reply-To: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=WPcxZfskR9kje2uaZAuiIJWgpilMt31fAbM7WDX99nk=; b=JA1Fobiyan2L1x5gFZ35udquH4 FuuotpbvLruO73P+vRN3KxQ6gFAFhtmV8yMk1csiDVtkAG51rJEFRkpZmKI24Ijuch/ILS2ZmMQuX h6pvs9U9e25QZwS895ejKjMikVaeQnOlWMSQSlpavlifAgV/UqwSzGmCW+95Q1nWiZv4=; Received: from p200300ccff0965001a3da2fffebfd33a.dip0.t-ipconnect.de ([2003:cc:ff09:6500: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 1jPAkk-0002Em-IT; Thu, 16 Apr 2020 22:04:51 +0200 Date: Thu, 16 Apr 2020 22:04:49 +0200 From: Andreas Kemnade To: Tony Lindgren Cc: "H. Nikolaus Schaller" , Evgeniy Polyakov , Greg Kroah-Hartman , linux-kernel@vger.kernel.org, linux-omap@vger.kernel.org, Adam Ford , "Andrew F . Davis" , Vignesh R Subject: Re: [PATCHv3] w1: omap-hdq: Simplify driver with PM runtime autosuspend Message-ID: <20200416220449.17068b21@aktux> In-Reply-To: <20200416184638.GI37466@atomide.com> References: <20191217004048.46298-1-tony@atomide.com> <7B8C7DD9-095B-48FC-9642-695D07B79E97@goldelico.com> <20200416184638.GI37466@atomide.com> 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=UTF-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -1.0 (-) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 16 Apr 2020 11:46:38 -0700 Tony Lindgren wrote: > * H. Nikolaus Schaller [200416 15:04]: > > Hi Tony, > > it looks as if something with this patch is broken on GTA04. For v5.6 a= nd v5.7-rc1. > >=20 > > HDQ battery access times out after ca. 15 seconds and I get temperature= of -273.1=C2=B0C... > >=20 > > Reverting this patch and everything is ok again. =20 >=20 > Hmm OK interesting. >=20 > > What is "ti,mode" about? Do we have that (indirectly) in gta04.dtsi? > > Or does this patch need some CONFIGs we do not happen to have? =20 >=20 > Sounds like you have things working though so there should be no > need for having ti,mode =3D "1w" in the dts. >=20 > > > pm_runtime_enable(&pdev->dev); > > > + pm_runtime_use_autosuspend(&pdev->dev); > > > + pm_runtime_set_autosuspend_delay(&pdev->dev, 300); =20 >=20 > Care to check if changing pm_runtime_set_autosuspend_delay value > to -1 in probe makes the issue go away? Or change it manually > to -1 via sysfs. >=20 > If that helps, likely we have a missing pm_runtime_get_sync() > somewhere in the driver. >=20 I have not tested yet with v5.7-rc1 (it is compiling right now), but I have not seen any problems with init=3D/bin/bash on v5.6 and only a minimal set of modules loaded on gta04. I have seen that 42 for IDLEST So might be something a bit more weird. Regards, Andreas