From patchwork Mon Jul 17 10:00:55 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Martin Kepplinger X-Patchwork-Id: 121176 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:c923:0:b0:3e4:2afc:c1 with SMTP id j3csp1017519vqt; Mon, 17 Jul 2023 03:16:51 -0700 (PDT) X-Google-Smtp-Source: APBJJlFLXlOGqU30+M1l0Lx4rVPfIBJVV1XwBWKfQUti70v+8zxovjuLcmSNjwX2KEZtPnw+pMja X-Received: by 2002:a05:6a20:12c8:b0:135:2b01:3737 with SMTP id v8-20020a056a2012c800b001352b013737mr377363pzg.38.1689589010940; Mon, 17 Jul 2023 03:16:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689589010; cv=none; d=google.com; s=arc-20160816; b=zTuwJPXZ+4VPSK/5xGd9mfJaTuc8rWqBUgbU7QkhU0erF4vmL9ShPNSLgo91L7OfCQ ITmyB1WMikJSULMmn4ReyVO7SJ0lLcKdSCRxIfugRhRrYJBb1YHoMBmkNjdfL+6RonJu YKlLFyv5cp6AvUqm2UoHGZey3WNlCHs3K+Ab7FW2sEJkIAxp8kxa4DkwJhn9Hf6mG2En wbELpi7elWipLlmmTdWJdtvqBaAZUDz9hqd/+fQ8YnRQ4qIYdypcpt3VQy6Mtt4AT/op dFJ0oOs8GQHn/rdroaMvhAw3JiFLDYyuqU8Z5H2SjHE+OOeTeQHcaxyAZyg9CVMxXnwS N+2Q== 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=M2ROzPusSdh5clQpNg+CD6PZwGGhx+NdEPrE5pGDc9U=; fh=OktBKlo2Bs8hSlfhEWwpZvgVAZ12ByG+HH9KH7BD0kU=; b=xHsRkfYif5U/8rZnUNdGYjYEDH7m6bdqclMBUxKJyxlYfTXPjr1vz24VBPgaBb2h/f Xnu2sSPUZ20mjgykqHJkhZIf94pPSMo0Kcpn2N9QV3L/bC7L5H5mfHhqvc+29oAvRPHf /fDVLxRsfjbSXKRtQGMNT0Vu73q6vNrxZzNMdk/Re/s7ZA2prnOHBUvRAL3UIz9ESF5I qGNUA3EFE7toF+qNLfGXJHe/Bu92DPBz6WVbn75FP8vNhTZbhrkRPcFX6hyOnfFjcxiR +lZNdGTYNHtHkOZZfv3jBDxGqE4NLcb5OlHlER4v8yYC/D0aw/xk/xtKga8Y/5OJkhic F5qg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@posteo.de header.s=2017 header.b="X/psIeoY"; 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=posteo.de Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id w67-20020a636246000000b0055fe651e9cesi3080748pgb.796.2023.07.17.03.16.37; Mon, 17 Jul 2023 03:16:50 -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=@posteo.de header.s=2017 header.b="X/psIeoY"; 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=posteo.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231318AbjGQKBm (ORCPT + 99 others); Mon, 17 Jul 2023 06:01:42 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57044 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231315AbjGQKB0 (ORCPT ); Mon, 17 Jul 2023 06:01:26 -0400 Received: from mout01.posteo.de (mout01.posteo.de [185.67.36.65]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C4FF710D3 for ; Mon, 17 Jul 2023 03:01:18 -0700 (PDT) Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 725E724002A for ; Mon, 17 Jul 2023 12:01:17 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.de; s=2017; t=1689588077; bh=vr3gsYDTkmHcdQXLBVcauJWuxFs06mWWDQ0zCFL/fb8=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version: Content-Transfer-Encoding:From; b=X/psIeoY2sKAcd0D0HavJ9jhbn0vNYmssPg8wbbZMf9ALiTIhvnLEv4PLYhfTM1Q2 kchZ3z4wcEujm1DBxhDfOohPuRJEZGls0QAZFnko5AInONWsdewhfLamQMW2hv3Uk2 TeDFsGwQyTxfZDLMC81NG02nfAIupV7dadcg0ktAa4M+kfV1PzaHkumgW8qjwDuroQ 5zXrCv4ugdZLsXCf3GGc9I3IDBrJVKHGfeMGllP1oYNpJPMeKZCLPFgGUYKqDwCVCk T5LsV8B97DjSPDehGEh4NfP2cnAhhLdbPDA6O2toEZMW2swRUoJtWlv4y9DdmQUx5F Xy6Mfcps3Kt6w== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4R4HfM2t6kz6tvw; Mon, 17 Jul 2023 12:01:15 +0200 (CEST) From: Martin Kepplinger To: robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, shawnguo@kernel.org, festevam@gmail.com Cc: kernel@pengutronix.de, linux-imx@nxp.com, kernel@puri.sm, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, phone-devel@vger.kernel.org, Sebastian Krzyszkowiak , Martin Kepplinger Subject: [PATCH v1 3/4] arm64: dts: imx8mq-librem5: Mark tps65982 as wakeup source Date: Mon, 17 Jul 2023 10:00:55 +0000 Message-Id: <20230717100056.4047292-4-martink@posteo.de> In-Reply-To: <20230717100056.4047292-1-martink@posteo.de> References: <20230717100056.4047292-1-martink@posteo.de> MIME-Version: 1.0 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, RCVD_IN_MSPIKE_H5,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE 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 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1771662486615658069 X-GMAIL-MSGID: 1771662486615658069 From: Sebastian Krzyszkowiak This allows to wake up from system suspend on USB-C plug/unplug. Signed-off-by: Sebastian Krzyszkowiak Signed-off-by: Martin Kepplinger --- arch/arm64/boot/dts/freescale/imx8mq-librem5.dtsi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx8mq-librem5.dtsi b/arch/arm64/boot/dts/freescale/imx8mq-librem5.dtsi index ab47bdc35cebd..3f251910b3949 100644 --- a/arch/arm64/boot/dts/freescale/imx8mq-librem5.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8mq-librem5.dtsi @@ -796,6 +796,8 @@ typec_pd: usb-pd@3f { interrupt-parent = <&gpio1>; interrupts = <10 IRQ_TYPE_LEVEL_LOW>; interrupt-names = "irq"; + extcon = <&usb3_phy0>; + wakeup-source; connector { compatible = "usb-c-connector";