Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp413128ybz; Tue, 21 Apr 2020 11:27:19 -0700 (PDT) X-Google-Smtp-Source: APiQypIrDKBj+B8+5kONMZSFFL1vHHnQXCMifBLzU/FotmmXWa8kMuPfVIQvfS0xBmY83BG/i46L X-Received: by 2002:aa7:c983:: with SMTP id c3mr14727437edt.343.1587493639570; Tue, 21 Apr 2020 11:27:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1587493639; cv=none; d=google.com; s=arc-20160816; b=gwBi4RI0lCC1/kntmOKo+veWQnZduyHL6w7Byq6wR7gHu1lsOXJBG5MuN4MKev8inZ f1sYFoSImaeN3kkMt3q11lnb3ctQg/nkIU3cV9xuLf36enx7kY3xPaZL+gELcillpIk3 Mkf0bH8fXvq8pKbB2a97tMF+KSmqf2calvZpdRhNxTLcsyPBd93pQMFrX77/vmeA8IId 4EfyvaVMkKJIks8FJlTXlG1LXylpr/KtAf71NPwcR/62oWCNKRBFfKw2apNMOkUdkQqt sQ+knmNzFY8LTJTUXvQEUKd0ajPMnjRPjZp+y4OsE7aSuQ0k1fgPKO0PauKsMZqA6h7u F8dg== 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=BnkBEcCOY/SxIpBs+cGPNLYWEpUlNsRB+sDsZ7uNMkw=; b=UqPmk+0nZYcPOHchJG+SjDnaCq+EVyR6pX5fhO30Q/rsNxdJ024OqXSNFlG4GNUJyv Co3sfzt8+o0o1lH2tORaTc6wwqCiZ74xDAGuaY08kDQS5QXYJYIFPKEI8oIDOgszuuZB cLTdW9fqitzMwKnpFZpVjywrlZfD27zzTpxljd0/Evi3Tvj7njxinEbiYPvWDbKNlLvk IjUnfIWNCT2prACO90KGHUe/dOQ8OBQacGwAV1Wd48CSl2rouu3XmhEaINVcta6RwB1D cipmUX2Wa72XX/yrY6126oo+LLlyXy5VhZXJ6tqLlTOpidypvczVdfp8rviLZWxuUZi2 iLaA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@kemnade.info header.s=20180802 header.b=BMaiqDXA; 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 p17si2187404ejd.260.2020.04.21.11.26.56; Tue, 21 Apr 2020 11:27:19 -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=BMaiqDXA; 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 S1729355AbgDUSZN (ORCPT + 99 others); Tue, 21 Apr 2020 14:25:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56914 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725987AbgDUSZN (ORCPT ); Tue, 21 Apr 2020 14:25:13 -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 F0ED5C0610D5; Tue, 21 Apr 2020 11:25:12 -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: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=BnkBEcCOY/SxIpBs+cGPNLYWEpUlNsRB+sDsZ7uNMkw=; b=BMaiqDXAmYXQxiG/ApT09nz0ds 7LCJI3YMBCWYeaeSaO1xxbGwIzvksb3ImIrTp40VYAKQlsQGq9Rtq6XpC2+i+5NkG/pFuHjLv8WC5 weHy1qfOdnF8O87sh/rlMHiHtpN6syI11JjEU8hm/H5PkmFViaRCheDaeEuwGhaANIQI=; Received: from p5dcc322a.dip0.t-ipconnect.de ([93.204.50.42] helo=aktux) by mail.andi.de1.cc with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1jQxZt-0003bi-MR; Tue, 21 Apr 2020 20:25:03 +0200 Date: Tue, 21 Apr 2020 20:24:59 +0200 From: Andreas Kemnade To: Tony Lindgren Cc: "H. Nikolaus Schaller" , Evgeniy Polyakov , Greg Kroah-Hartman , Linux Kernel Mailing List , linux-omap , Adam Ford , "Andrew F . Davis" , Vignesh R Subject: Re: [PATCHv3] w1: omap-hdq: Simplify driver with PM runtime autosuspend Message-ID: <20200421202459.659ed1bf@aktux> In-Reply-To: <20200421182017.GC37466@atomide.com> References: <3197C3F0-DEB9-4221-AFBD-4F2A08C84C4C@goldelico.com> <20200417164340.3d9043d1@aktux> <6430AF54-849E-456B-8DB0-B4478BBDB78D@goldelico.com> <20200417150721.GL37466@atomide.com> <8E062482-5D5D-4837-9980-D6C708DD24D4@goldelico.com> <20200420150802.GR37466@atomide.com> <20200421085336.32cf8ffe@aktux> <20200421180220.GB37466@atomide.com> <70F19A6E-7B36-4873-9364-F284A14EE3A0@goldelico.com> <20200421182017.GC37466@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 Tue, 21 Apr 2020 11:20:17 -0700 Tony Lindgren wrote: > * H. Nikolaus Schaller [200421 18:14]: > > > Am 21.04.2020 um 20:02 schrieb Tony Lindgren : > > > This is 37xx though, maybe you have 35xx and there's some errata > > > that we're not handling? =20 > >=20 > > No, it is dm3730 on three different units I have tried. > > =20 > > > I'm only seeing "2.7. HDQTM/1-Wire=C2=AE Communication Constraints" > > > for external pull-up resitor in 34xx errata at [0]. > > >=20 > > > I wonder if wrong external pull could cause flakyeness after > > > enabling the hdq module? =20 > >=20 > > I have checked and we have 10 kOhm pullup to 1.8 V and a 470 Ohm > > series resistor. =20 >=20 > OK >=20 > > > If nothing else helps, you could try to block idle for hdq > > > module, but I have a feeling that's a workaround for something > > > else. =20 > >=20 > > Well, what helps is reverting the patch and using the old driver > > (which did work for several years). So I would not assume that > > there is a hardware influence. It seems to be something the new > > driver is doing differently. =20 >=20 > Well earlier hdq1w.c did not idle, now it does. If you just want > to keep it enabled like earlier, you can just add something like: >=20 > &hdqw1w { > ti,no-idle; > }; >=20 > > I need more time to understand and trace this issue on what it > > depends... It may depend on the sequence some other modules are > > loaded and what the user-space (udevd) is doing in the meantime. =20 >=20 > Yes would be good to understand what goes wrong here before we > apply the ti,no-idle as that will block SoC deeper idle states. > hmm, he is testing without idling uarts, so I am a bit confused here, the problem only seems to occur when more things are *active*. Is something not handled in time. Regards, Andreas