Received: by 2002:ac0:e350:0:0:0:0:0 with SMTP id g16csp218854imn; Wed, 3 Aug 2022 00:41:07 -0700 (PDT) X-Google-Smtp-Source: AGRyM1sZZSbyTiBwyUTVFs+O8MS5g+T+JkzjtPF4N/NeVbUt/EskvwBOSLH976NshsyYGHJyibfM X-Received: by 2002:a05:6402:90d:b0:43b:9ee5:f7eb with SMTP id g13-20020a056402090d00b0043b9ee5f7ebmr23992510edz.71.1659512467368; Wed, 03 Aug 2022 00:41:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1659512467; cv=none; d=google.com; s=arc-20160816; b=iG5qW+ZUZbe8hnXI8Fa1Q/tmw0Myp/+MWHlq48xfoKQEp7Ks0eGw8TGS81GgkFFND+ lVFOR/RRwHqHDwZUx1bTrBazBxwnN5BngzuDkm2u6qO7klp/99u9dfSv74eTlHvydwyL 2ddkrqAryp+q+KH8MiPU6poQ7Srpt2yikuHIRkxSNKbYY0RkRnGFkhQaMoG6Oj6+pkE5 RPC12InJalJUU6X/cM9uPIjmyxk7kDNoyYIZRGmwNtNhnfOJ5FTKEM3VllGWgi1L23We WbWxTkIHC2x+gr96GzOyGtGJk6oyMQwnBSxusRBelQaj2UoQHRC+1vB5nG35n33GJupA PFKw== 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=7b8Mk0um9BStzmoFE+LvAEIS/KErXIG9Sb9y+tjYgWc=; b=dfqdEx86Z7xnc/Kar7/DHgY57lDgEfxw600yXtaSAxz8GqtDSgTRR05CWt8xZhCAH1 6PuDFJjxxceShNM6IVeWLxnt44YAN2pqi//v8NWKdrNho2sRLJKC5dUUsEi8i9jXBjc5 iq2ash66tF0oVTUF/g8vMP+KOpur/OmSd/4DSP3VaPMN9jCLfacCEY67OpLkS3ZFvJQy V/9DWXZwSal9IwDySmzYo621BDpQqyXjtxARa8Ks4AbXhR5N3WcANuRukjgR5ZBsGqAi 1SgdhCFghRXo4R14NM1qmOHcJVnC5xBWG79YP88rOVvo3qtp7adBpjJVqmir8hzPOVD7 tVQQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=ABFSsOPJ; 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 h15-20020a056402280f00b0043dfc949d31si4719677ede.25.2022.08.03.00.40.39; Wed, 03 Aug 2022 00:41:07 -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=ABFSsOPJ; 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 S234652AbiHCHbm (ORCPT + 99 others); Wed, 3 Aug 2022 03:31:42 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54650 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235619AbiHCHax (ORCPT ); Wed, 3 Aug 2022 03:30:53 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9D2E79FF2; Wed, 3 Aug 2022 00:30:51 -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 4B8F9B821A5; Wed, 3 Aug 2022 07:30:50 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id E4E87C433C1; Wed, 3 Aug 2022 07:30:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1659511848; bh=TyMeEqWBu5IifHReIBRw1bgA+Mfnb0FI1r7G9D1jkLs=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=ABFSsOPJVQ0vYhOl0vmk1f9ZZRJ2Jgb9fm+bK4TccFFZg1kKdvTJA+TdRy73eFCuv QoLYn4wuL+y2ZMpQVyJwESGS+RP1Zq/+d7a/SFs/VXtI2JiK1e1s9B/MwjVPqkJ9NH fGD0MyfqyoddyH/32g6Vfmf3f2C/94xNFRFKDgvQJJLZbh/UxKXOJn26cGXTughDz8 VV5a7kzy1kE9iVJLD6uDJS3ZCMMX9R9Af/C97KPQXx6i4WMwEi1g7hg14DXrPO3sXh 1LrRxqXCXuv1bHBcWQqYaA/XgIkoDDwUGJPJ8SZ+RfsPmandC9GpMN0K+S5VcA7hmc P4mSt0rBdUP4Q== Received: from johan by xi.lan with local (Exim 4.94.2) (envelope-from ) id 1oJ8qQ-0004OS-Mm; Wed, 03 Aug 2022 09:31:06 +0200 Date: Wed, 3 Aug 2022 09:31:06 +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> 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 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.) The glue and core parts needs to work in concert even if the current implementation tends to make that harder than it should be. Johan