Received: by 2002:ac0:e350:0:0:0:0:0 with SMTP id g16csp2646295imn; Tue, 2 Aug 2022 10:32:14 -0700 (PDT) X-Google-Smtp-Source: AA6agR4SdFbSFskeOdN6EcWCCd9xJL1ynrt7i84O6PsCxdUFaWbNhpreU44pGtObcf7E9mXwe69P X-Received: by 2002:a05:6402:1681:b0:43d:2e92:63d with SMTP id a1-20020a056402168100b0043d2e92063dmr20254839edv.253.1659461534457; Tue, 02 Aug 2022 10:32:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1659461534; cv=none; d=google.com; s=arc-20160816; b=X8xulvsNWcydnJ3I8uDKZBrVN11iyaPA+T4mhdw6uDDb9FGvAWY/clHhq9gllSrH+/ n3jK+LGerjlfeUzgYhMzrsLQV+ya6fFycua4tBDfNWmwdPf+Io0jxQYBzco+iMtbFO0P RsD0BfK6dO2uKUDDm7fCfGhKpk1vrMg05G/d76f1Ya6XbsHPAAGx4A86l9Bt974lCvRE fqR3wXR//66h+jU8VnodbLSVVqTxXz5RkZdyiLgopURYOzWi076eZQ2NsBTcGPA6/T+N 5Mnjq6egNJGQqg1NXHR/Mq0CC9Gok02r0niCaAJ67m5UOJklbsuZtd0ncQCZ0AX3LasI VQHQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=ezo/DMFL/JZvUXZGmbP9Yp6XteEVnCTIPlNYh1llQVE=; b=T2S+G77sOSgiXo7MXFTHNWi7V0WiCVy9bcUNva6liG/tEHBff5ZiCUaO21f56XXn5a y0kexDHln9G61e2n/y8Zj22w+4voM2N4EB74/zdN6s0tMp5n4RGPHnwAmdgWu9ih+iNo /pOAJlxFQykxl5OPUSSGXGALihVNWEm2fjoM6FyiGUsMp/ZVNubuhy1kWaPqywqs5Gzy 8bOuXdrYdDE2jyiCe1UhXkrSQzwiPLH1zLESWIc6+gxUliCBHiVu5hoMk0Wq8+oKsRhs +q2Z2NliZDfpW0lq3J/UTinypk3msj5lxNsFZzJaRa5ZXjkWLTjEwwuwxED5X9cd2Y47 kJPg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="a/0QMhAw"; 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 nd12-20020a170907628c00b0073066a8f85esi7950827ejc.686.2022.08.02.10.31.49; Tue, 02 Aug 2022 10:32:14 -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="a/0QMhAw"; 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 S233660AbiHBRRj (ORCPT + 99 others); Tue, 2 Aug 2022 13:17:39 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47398 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230280AbiHBRRh (ORCPT ); Tue, 2 Aug 2022 13:17:37 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C254D1D0E1; Tue, 2 Aug 2022 10:17:36 -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 dfw.source.kernel.org (Postfix) with ESMTPS id 69CEE611CB; Tue, 2 Aug 2022 17:17:36 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id BFE03C433C1; Tue, 2 Aug 2022 17:17:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1659460655; bh=ezo/DMFL/JZvUXZGmbP9Yp6XteEVnCTIPlNYh1llQVE=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=a/0QMhAwa99UhhzkA/GaZ6skt+cIxlFs8m4phu2lVbgEKs8dAuQajL3z/PhmuCPaM FDVa81594txuJ6Xr9STpLGFG7y+g07ES9nX30wKOpuL+gQ7zgDrUjDvJHTpe1A4m2m RDbcrd/tssUPIkaaWNEG4vIhBbaUyU6WWUeJwnQcg+SiDGhhWTaM1GLet9g376AV7n 4Ek//phbCj5VOJKH/lMwneV582MPbDyHRh3KM/4EWS5Yt7fv03eq2eb4UMhxmcCJ4U +re1YFXDh1Ux02PHKxrlABplvVUqmFrmPRUWOJbRf+VA/RMft1hLs35Nl3qPvsy013 W/CYZ7tl1w0Nw== Received: by mail-ua1-f43.google.com with SMTP id c19so6049621uat.6; Tue, 02 Aug 2022 10:17:35 -0700 (PDT) X-Gm-Message-State: ACgBeo19klTm7nkg3xVLYWntjoXIVqqGPELxu+K8cEGZFwzwGFViHj2a 58pkbCOPEbRRsjmvua1xw1TnJbKGySIefMhZmw== X-Received: by 2002:ab0:2b06:0:b0:384:c4af:107c with SMTP id e6-20020ab02b06000000b00384c4af107cmr8357117uar.77.1659460654762; Tue, 02 Aug 2022 10:17:34 -0700 (PDT) MIME-Version: 1.0 References: <20220802151404.1797-1-johan+linaro@kernel.org> <20220802151404.1797-6-johan+linaro@kernel.org> In-Reply-To: <20220802151404.1797-6-johan+linaro@kernel.org> From: Rob Herring Date: Tue, 2 Aug 2022 11:17:22 -0600 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH 5/8] Revert "dt-bindings: usb: dwc3: Add wakeup-source property support" To: Johan Hovold Cc: 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" Content-Type: text/plain; charset="UTF-8" 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 2, 2022 at 9:14 AM Johan Hovold wrote: > > This reverts commit 098c4d43b91a269e89f60331a26a3f3b914677ed. > > A devicetree binding should describe hardware capabilities and not be > used to configure power-management policies (even if things are a bit > blurry when it comes to "wakeup-source"). Whether a device's interrupt can cause a wakeup is a h/w feature. That's not policy. If Linux also uses this to decide whether or not to enable wakeup, then that's its policy. > 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. Rob