Received: by 2002:ac0:e350:0:0:0:0:0 with SMTP id g16csp2579759imn; Tue, 2 Aug 2022 08:16:10 -0700 (PDT) X-Google-Smtp-Source: AGRyM1uOqy0GaicbNPtyYAU7DPeWVoTycXdH/W1tVVotWKsZxeEi+iI14JEcAamxWN72hQ0yg2ZQ X-Received: by 2002:a05:6a00:15d2:b0:52b:8dc:6cd4 with SMTP id o18-20020a056a0015d200b0052b08dc6cd4mr21689663pfu.68.1659453370645; Tue, 02 Aug 2022 08:16:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1659453370; cv=none; d=google.com; s=arc-20160816; b=B8B6Gl9G9O0keth1FG+dFATc6oCwQtQzJ+hXLwLUmMPs+4jtyrDnPlxtt11ERf9zH+ u5eNjWPOq2P1cDV7NiMAiCnvzRTdIsqyWU3YueDcpD96BJeKpzAdxaIiyLo9IK4jfwiJ U21sncBqXS4xBVwgrDRknEia1PuwxWbpbhFkHr9W3hVICM6oGpMbJgShmvDDQ+qUXRSt 2EW8NCdQNQtfGaJXsf7kLePajqS/oH2LC1ouGKasCl+Wa4QS1uYHBzJp07lcp1HK+xx+ 7jeunw++Iz3s0Q9ZrpPbz2nh2eJs+CPQBgXabSdpPEnqMKfdpFcrygVYyQbvVsBM2uqB FY6A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=wehHy2Tq+nB2vkk/kjCnTRGMRCnGZkfflbUIvyE46AE=; b=m9w7A7VIbCARhxzYSM2zwzF8UyPT/40+wll9cUA5L8wgB4t0IU/+xAvneC/MnAGH/n 2iamJebTelXEPZPLzi3SOfR3cvQx3M0DDlh2tCfO2nF2JzZekTpWy5FYJPTjko9fDu52 oGvCG6XeNLm9FiHY9Y0fbU8mKPHgQiM2E22qTVcLfUzDZ/Y+UqX3p/dGSRPtAvzitirq k9O3tJPc/Q2zrDLwAQ365q57oLbt3mboWnzEz06U4wWYkjo4pfoZ0RpOFmVpcSVPtCyL gr1c1h4HIxlm+qOAfu8AfcICKxqURlMtMKYAmOSoS4m3vmdd24UvY7VRH9XbG63+obZV J2gg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=WsMAAOaN; 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 i10-20020a63220a000000b0041807bd4851si15802572pgi.263.2022.08.02.08.15.53; Tue, 02 Aug 2022 08:16:10 -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=WsMAAOaN; 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 S237392AbiHBPOd (ORCPT + 99 others); Tue, 2 Aug 2022 11:14:33 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53258 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234433AbiHBPOT (ORCPT ); Tue, 2 Aug 2022 11:14:19 -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 1B66417E12; Tue, 2 Aug 2022 08:14:18 -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 A5C9D60682; Tue, 2 Aug 2022 15:14:17 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 04A83C43470; Tue, 2 Aug 2022 15:14:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1659453257; bh=hWf/PttupFOeNrraP/UCkmJULP8/JeCaWQYuByvGBJ4=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=WsMAAOaNz6It61LU7U0hj9yT6Jep64APeNUprgTkP4sBE6sH2iXKoQPlLgi5QPAgg L3YRjT8D6TKyYsPhlDTp9gCpMWOTt+rfAVfQVrKBTwU48lxPycwXcKYgeNf+t0bx5U //toRJ0q/OL8TBrgKBfc9EqA5WbE+3RyLsdicjdpBhv39LNIf1Ypx5Qloq8P6JjBUz qBghT+50Z+FNYALrbWWltqjTFSdnBH1bbgnLRseSbK337upz4HXhKHpou3VgnNK080 lnQnw01yN+sMp+ySHAVciPORh69LtKVjN0YF8S7HM+ourkQQYYBHYlngyKlzYxvlyh k/4OrrZfqN0hQ== Received: from johan by xi.lan with local (Exim 4.94.2) (envelope-from ) id 1oItbM-0000Tc-EW; Tue, 02 Aug 2022 17:14:32 +0200 From: Johan Hovold To: Greg Kroah-Hartman , Felipe Balbi Cc: Rob Herring , 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@vger.kernel.org, linux-usb@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Johan Hovold Subject: [PATCH 5/8] Revert "dt-bindings: usb: dwc3: Add wakeup-source property support" Date: Tue, 2 Aug 2022 17:14:01 +0200 Message-Id: <20220802151404.1797-6-johan+linaro@kernel.org> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220802151404.1797-1-johan+linaro@kernel.org> References: <20220802151404.1797-1-johan+linaro@kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 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"). 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. Also note that USB remote wakeup is always enabled during runtime suspend. Fixes: 098c4d43b91a ("dt-bindings: usb: dwc3: Add wakeup-source property support") Signed-off-by: Johan Hovold --- Documentation/devicetree/bindings/usb/snps,dwc3.yaml | 5 ----- 1 file changed, 5 deletions(-) diff --git a/Documentation/devicetree/bindings/usb/snps,dwc3.yaml b/Documentation/devicetree/bindings/usb/snps,dwc3.yaml index 1779d08ba1c0..d41265ba8ce2 100644 --- a/Documentation/devicetree/bindings/usb/snps,dwc3.yaml +++ b/Documentation/devicetree/bindings/usb/snps,dwc3.yaml @@ -343,11 +343,6 @@ properties: This port is used with the 'usb-role-switch' property to connect the dwc3 to type C connector. - wakeup-source: - $ref: /schemas/types.yaml#/definitions/flag - description: - Enable USB remote wakeup. - unevaluatedProperties: false required: -- 2.35.1