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 mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 0391FC433FE for ; Thu, 7 Oct 2021 18:17:20 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id E7C0E61360 for ; Thu, 7 Oct 2021 18:17:19 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233774AbhJGSTM (ORCPT ); Thu, 7 Oct 2021 14:19:12 -0400 Received: from muru.com ([72.249.23.125]:41998 "EHLO muru.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233750AbhJGSTM (ORCPT ); Thu, 7 Oct 2021 14:19:12 -0400 Received: from localhost (localhost [127.0.0.1]) by muru.com (Postfix) with ESMTPS id C4AB980C7; Thu, 7 Oct 2021 18:17:48 +0000 (UTC) Date: Thu, 7 Oct 2021 21:17:16 +0300 From: Tony Lindgren To: Geert Uytterhoeven Cc: Linux Kernel Mailing List , Rob Herring , Linux ARM , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , "open list:TI ETHERNET SWITCH DRIVER (CPSW)" , Rob Herring , Simon Horman , Suman Anna Subject: Re: [PATCH 1/3] dt-bindings: bus: simple-pm-bus: Make clocks and power-domains optional Message-ID: References: <20211007124858.44011-1-tony@atomide.com> <20211007124858.44011-2-tony@atomide.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org * Geert Uytterhoeven [211007 17:57]: > Hi Tony, > > On Thu, Oct 7, 2021 at 7:24 PM Tony Lindgren wrote: > > * Geert Uytterhoeven [211007 13:27]: > > > On Thu, Oct 7, 2021 at 2:49 PM Tony Lindgren wrote: > > > > Even without clocks and power domains configured, simple-pm-bus is still > > > > different from simple-bus as simple-pm-bus enables runtime PM for the bus > > > > driver. > > > > > > Which you need to have working Runtime PM for child devices, right? ;-) > > > > Right. And based on what I remember we simply cannot do pm_runtime_enable() > > for simple-bus without breaking tons of devices. > > Why not? Do you have an example of what would break? > The only reason I created simple-pm-bus was because the DT people > objected to adding PM to simple-bus, as they considered it wrong > conceptually. AFAIK this wouldn't have caused any actual breakage. Oh OK, then I just remember the reasons wrong for the need for adding it as a driver. Regards, Tony 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 mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 0BC7EC433EF for ; Thu, 7 Oct 2021 18:19:11 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id C9D7161040 for ; Thu, 7 Oct 2021 18:19:10 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org C9D7161040 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=atomide.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=4bzi4E2CgjCgjwitP4DM7O4satUP1C1+MtshX5boVbo=; b=o8O5EByrEKzB+q fwH0SZGFZD6durygpaBjIbQk9zu8GW3CLoYTB8ag0NffcvAo6pWeqlbnX6y+iJ92W/skdKFsvhPqH ZTy11lHV4WDTLd1nsQDw6bKxETLHc/Hvr9R8XZNCj/DnngJ7rO0oZ9IOmksZedNZTj106iIlJtf6f jaRBUSiv2G4IE8vJpIOo1arEtBa4CMuMHma5KhQsW1x1ce9t5b3g7Oro1LEum3Q1QZlYWPdhOufdL BQiJoGdxwtYugLAWaQhtejb3sJt2uo9LGC30uMyM9DS3DCorl96Kze5paXib0RcEQTxC5MYDZQEMQ Dt3E4cwu70UfQaHHSXSQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mYXxJ-000TGg-SN; Thu, 07 Oct 2021 18:17:22 +0000 Received: from muru.com ([72.249.23.125]) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mYXxG-000TGI-Mg for linux-arm-kernel@lists.infradead.org; Thu, 07 Oct 2021 18:17:19 +0000 Received: from localhost (localhost [127.0.0.1]) by muru.com (Postfix) with ESMTPS id C4AB980C7; Thu, 7 Oct 2021 18:17:48 +0000 (UTC) Date: Thu, 7 Oct 2021 21:17:16 +0300 From: Tony Lindgren To: Geert Uytterhoeven Subject: Re: [PATCH 1/3] dt-bindings: bus: simple-pm-bus: Make clocks and power-domains optional Message-ID: References: <20211007124858.44011-1-tony@atomide.com> <20211007124858.44011-2-tony@atomide.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20211007_111718_827896_494BE7EA X-CRM114-Status: GOOD ( 15.22 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , Rob Herring , Linux Kernel Mailing List , Rob Herring , Simon Horman , "open list:TI ETHERNET SWITCH DRIVER \(CPSW\)" , Linux ARM Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org * Geert Uytterhoeven [211007 17:57]: > Hi Tony, > > On Thu, Oct 7, 2021 at 7:24 PM Tony Lindgren wrote: > > * Geert Uytterhoeven [211007 13:27]: > > > On Thu, Oct 7, 2021 at 2:49 PM Tony Lindgren wrote: > > > > Even without clocks and power domains configured, simple-pm-bus is still > > > > different from simple-bus as simple-pm-bus enables runtime PM for the bus > > > > driver. > > > > > > Which you need to have working Runtime PM for child devices, right? ;-) > > > > Right. And based on what I remember we simply cannot do pm_runtime_enable() > > for simple-bus without breaking tons of devices. > > Why not? Do you have an example of what would break? > The only reason I created simple-pm-bus was because the DT people > objected to adding PM to simple-bus, as they considered it wrong > conceptually. AFAIK this wouldn't have caused any actual breakage. Oh OK, then I just remember the reasons wrong for the need for adding it as a driver. Regards, Tony _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel