From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id AA08DE75454 for ; Tue, 3 Oct 2023 12:21:44 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232270AbjJCMVq (ORCPT ); Tue, 3 Oct 2023 08:21:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58658 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230404AbjJCMVn (ORCPT ); Tue, 3 Oct 2023 08:21:43 -0400 Received: from muru.com (muru.com [72.249.23.125]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id A774CAC; Tue, 3 Oct 2023 05:21:39 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by muru.com (Postfix) with ESMTPS id 1C32680A7; Tue, 3 Oct 2023 12:21:39 +0000 (UTC) Date: Tue, 3 Oct 2023 15:21:37 +0300 From: Tony Lindgren To: Maximilian Luz Cc: Greg Kroah-Hartman , Jiri Slaby , Andy Shevchenko , Dhruva Gole , Ilpo =?utf-8?B?SsOkcnZpbmVu?= , John Ogness , Johan Hovold , Sebastian Andrzej Siewior , Vignesh Raghavendra , linux-omap@vger.kernel.org, Andy Shevchenko , linux-kernel@vger.kernel.org, linux-serial@vger.kernel.org Subject: Re: [PATCH v12 1/1] serial: core: Start managing serial controllers to enable runtime PM Message-ID: <20231003122137.GC34982@atomide.com> References: <20230525113034.46880-1-tony@atomide.com> <62d3678a-a23d-4619-95de-145026629ba8@gmail.com> <20231003121455.GB34982@atomide.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20231003121455.GB34982@atomide.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org * Tony Lindgren [231003 12:15]: > Hi, > > * Maximilian Luz [231003 11:57]: > > A bad workaround is to disable runtime PM, e.g. via > > > > echo on > /sys/bus/serial-base/devices/dw-apb-uart.4:0/dw-apb-uart.4:0.0/power/control > > If the touchscreen controller driver(s) are using serdev they are > children of the dw-apb-uart.4:0.0 and can use runtime PM calls to > block the parent device from idling as necessary. The hierarchy > unless changed using ignore_children. Sorry about all the typos, I meant "the hierarchy works unless changed" above. The rest of the typos are easier to decipher probably :) Regards, Tony