Received: by 2002:ac0:e350:0:0:0:0:0 with SMTP id g16csp164729imn; Thu, 4 Aug 2022 00:50:13 -0700 (PDT) X-Google-Smtp-Source: AA6agR4rEFCl8qHj8+Be2WFUpG72SKSydXbRneIzrIfeNYVTMEvP0sgQjcv4k/S3NpiCv3b5iyyo X-Received: by 2002:a05:6402:5ca:b0:43b:6e01:482c with SMTP id n10-20020a05640205ca00b0043b6e01482cmr756398edx.189.1659599413340; Thu, 04 Aug 2022 00:50:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1659599413; cv=none; d=google.com; s=arc-20160816; b=JMz+1BWSmIAy/k/GFSeVhH0ve0Sz2PrWoAIELJ8WKxbB2P26TBbbcyFY7bmuyIIv53 wQLWh4VTkkxiqKlxpRi6XKvvfsr58NOUqJUMEaSE8JCCLqRntONm25RRngLA06JOuRQy PAjAAeXF0Ja0huIE6ngfK6x2OAikuNOeizMIVxfBjsYVWSD8RaCjduxtk8OuOlag8W88 1D2qtk3/wDrmT1rebeFOXC8SOJSRP8CWueZhZ21jqRxTc2UZOWZ25BbzzfXqIMq/nDkx 6ERR1weptszDJvaPZinFuEzGUm9G/uxqXsqTaxBakED/M/SelXe37g0PLzoH6dIh++su EG2g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=iFQEMvnfevC7Mcg9U8jEeSJomoNDhcpsw3NGY4hAJTw=; b=Ge6G7BEoNbrhtHb/dFhG5M8FJSvLCj3xXOHoeVrVCrrWrOUyOO5CPEZf/KU2NACPW9 BYvMCz8KqRfSDo8/a2xcR/glGZNKogLBZXB8+dm4NDQS1j2aURoGAD5/83OfOl1BQZ5X SbcaMqaBsaqEc8TCOIaGvpggKku3bvKxE8wdvAH2gYWz+ouD/2BYQ0RP8L/2jWpc10Wg NJJLyVnB7f+HQOtgz8ziNmHwhZ5oWBzqAvU9DBZD6ND0OTCbl1XNAbnU6Msdd0ZIB/kT Ee5rYDQ6qCeInu/EvCK/tc9Am60qKu0B9wRSAfwjnH4KM7y+HYionZvSbTi7NvYfhTot IzfA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=n6Zy3n5v; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ot8-20020a170906ccc800b007308b971d64si111945ejb.571.2022.08.04.00.49.47; Thu, 04 Aug 2022 00:50:13 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=n6Zy3n5v; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239175AbiHDHka (ORCPT + 99 others); Thu, 4 Aug 2022 03:40:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58622 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229823AbiHDHk2 (ORCPT ); Thu, 4 Aug 2022 03:40:28 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E5ED422B3B; Thu, 4 Aug 2022 00:40:26 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 5D294B82245; Thu, 4 Aug 2022 07:40:25 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 1C7ADC433C1; Thu, 4 Aug 2022 07:40:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1659598824; bh=Ah06rLZ4P9R/uZ+rl/z6T5V8R+Zu0TXa61Ms+9cM+e4=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=n6Zy3n5vwolf1+DFA4lW+ulv1MkhFPGNi5yg2HtakmJBeXRq/SLpxEX8gz4wSmVIs goi0xzpQ7jM5uE+3IKwF66oxwe0hUqycy619LVWITrAR/E8hLRdLNFAW+d2/MahrV4 Yz3SckBbkiYTiJuhv9QstOmIKZH/iBplZ/S5s3jIZK1pIC6Jgot6zjJwnUeN5wyxPe YR+EhOJAuhc74CXFrWmh24WSKnsUi/ESVopK5V03O03sBxlwxJAnjW1MoncLOncZmT +PsI0kCuJ7ndTQAk4tNg8jqY+HfPxrbi8jvC9MNE3GWj6HLUEuiHesY0gBksmj+wNT tpLIRqjd5I9dQ== Received: from johan by xi.lan with local (Exim 4.94.2) (envelope-from ) id 1oJVTI-00038p-QO; Thu, 04 Aug 2022 09:40:44 +0200 Date: Thu, 4 Aug 2022 09:40:44 +0200 From: Johan Hovold To: Rob Herring Cc: Johan Hovold , Greg Kroah-Hartman , Felipe Balbi , Krzysztof Kozlowski , Andy Gross , Bjorn Andersson , Manivannan Sadhasivam , Konrad Dybcio , Krishna Kurapati , Stephen Boyd , Doug Anderson , Matthias Kaehlcke , Pavankumar Kondeti , quic_ppratap@quicinc.com, quic_vpulyala@quicinc.com, linux-arm-msm , Linux USB List , devicetree@vger.kernel.org, "linux-kernel@vger.kernel.org" Subject: Re: [PATCH 5/8] Revert "dt-bindings: usb: dwc3: Add wakeup-source property support" Message-ID: References: <20220802151404.1797-1-johan+linaro@kernel.org> <20220802151404.1797-6-johan+linaro@kernel.org> <20220803232644.GA2806113-robh@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-7.7 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Aug 04, 2022 at 07:47:35AM +0200, Johan Hovold wrote: > On Wed, Aug 03, 2022 at 05:26:44PM -0600, Rob Herring wrote: > > On Wed, Aug 03, 2022 at 09:31:06AM +0200, Johan Hovold wrote: > > > On Tue, Aug 02, 2022 at 11:17:22AM -0600, Rob Herring wrote: > > > > On Tue, Aug 2, 2022 at 9:14 AM Johan Hovold wrote: > > > > > > > > It should also not be used to > > > > > work around Linux driver implementation issues such as how to coordinate > > > > > the glue and core dwc3 drivers. > > > > > > > > > > For the Qualcomm dwc3 controllers, it is the glue device that manages > > > > > the wakeup interrupts, which may or may not be able to wake the system > > > > > up from system suspend. > > > > > > > > While the reasoning to add this may have been for QCom, having this > > > > property for other users makes sense. On some platforms, 'snps,dwc3' > > > > is the only node (i.e. there's no wrapper node). So I don't think this > > > > should be reverted. > > > > > > Fair enough. Let's keep it in the core child node then where we can > > > still retrieve from the glue parent directly. > > > > > > (I assume you're not suggesting also adding 'wakeup-source' to the qcom > > > glue node, which is where the actual wakeup interrupts live.) > > > > 'wakeup-source' belongs wherever the interrupt that causes wakeup is > > defined. > > Thanks for clarifying. That was my understanding as well, but I > misinterpreted your wish to keep the 'wakeup-source' property also in > the core node. > > My thought was that if it turns out that there are systems that do not > use a glue node but that do indeed support wakeup, then such a property > could be added back later. > > But let's keep it in the binding then. I realise it may not have been clear that the patch I suggested to revert was first merged for 6.0-rc1, in case that makes any difference. But I'll drop the revert unless I hear otherwise. Johan