From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 02F10C25B74 for ; Fri, 24 May 2024 05:53:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:CC:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=m6HyEg/nDl6kvGyKmSUJ8aHFVogfWqxl6JjyJ/qIH7Y=; b=RZfUp8S1hMZUP3 673xZ/1VF2egd5o9gilxmhzeUq0gUMcjclAHvhSZ4ypMpBAvSFvVRfvDq4AqeTyTFE8aQXwz0G9b9 H9DHcnpf/O1l4mVFbik5LcSNVJ59Q/jyT3pfacR9PDjI/HGSgrYtyxTPG85Bi53jvlAyfUfgnOItJ MtXxHSwsazuwF8963+tugJYiC0pQip1lGqfPKlkcYZlaQ0Z3ZOURY+/dHtVXMgam70aYwuR3wC0qc MB87dAO7+TKSYQ6ZzEYOzCvDLPiW+bYw4BJ7lCI2E4z92Xct4w8V3XsXtAlioP7HKp2Dx3fhOefko 4qwj7pAez5mBSTlsHkxw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sANru-0000000880F-0i5D; Fri, 24 May 2024 05:53:30 +0000 Received: from fllv0015.ext.ti.com ([198.47.19.141]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sANrq-000000087z1-3S9n for linux-arm-kernel@lists.infradead.org; Fri, 24 May 2024 05:53:28 +0000 Received: from lelv0265.itg.ti.com ([10.180.67.224]) by fllv0015.ext.ti.com (8.15.2/8.15.2) with ESMTP id 44O5rILX124606; Fri, 24 May 2024 00:53:18 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1716529998; bh=lGxYBCLxmX2ZWX3mJfP+oA7+obI5xWS4wKTh6CJnmEo=; h=Date:From:To:CC:Subject:References:In-Reply-To; b=hkzkAajUgp5qsdAGRw24YFxfz5cdXHzPPi9/6yQij/Q7U2tLqwBrlPLeEJYOncPpv 1mMAw+UM7dhE6M7aFm3iCBPYed8MiPrjIHFKM5cORru6foHT/dds8w6RNKTwnPTsNw R20uoGcq/mVO+sbo3cTPdWYI5EhtvB3ygXkD8YJ0= Received: from DLEE106.ent.ti.com (dlee106.ent.ti.com [157.170.170.36]) by lelv0265.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 44O5rIu9016822 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Fri, 24 May 2024 00:53:18 -0500 Received: from DLEE113.ent.ti.com (157.170.170.24) by DLEE106.ent.ti.com (157.170.170.36) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Fri, 24 May 2024 00:53:17 -0500 Received: from lelvsmtp6.itg.ti.com (10.180.75.249) by DLEE113.ent.ti.com (157.170.170.24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23 via Frontend Transport; Fri, 24 May 2024 00:53:17 -0500 Received: from localhost (uda0133052.dhcp.ti.com [128.247.81.232]) by lelvsmtp6.itg.ti.com (8.15.2/8.15.2) with ESMTP id 44O5rH1M083772; Fri, 24 May 2024 00:53:17 -0500 Date: Fri, 24 May 2024 00:53:17 -0500 From: Nishanth Menon To: Markus Schneider-Pargmann CC: Tero Kristo , Santosh Shilimkar , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Vignesh Raghavendra , Vibhore Vardhan , Kevin Hilman , Dhruva Gole , , , Subject: Re: [PATCH 0/6] firmware: ti_sci: Partial-IO support Message-ID: <20240524055317.cnaodgiksxmvjnr2@sullen> References: <20240523080225.1288617-1-msp@baylibre.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20240523080225.1288617-1-msp@baylibre.com> X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240523_225327_140259_A332FAEC X-CRM114-Status: GOOD ( 22.74 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On 10:02-20240523, Markus Schneider-Pargmann wrote: > Hi, > > Partial-IO is a poweroff SoC state with a few pingroups active for > wakeup. This state can be entered by sending a TI_SCI PREPARE_SLEEP > message. > > The message is sent on poweroff if one of the potential wakeup sources > for this power state are wakeup enabled. A list of potential wakeup > sources for the specific SoC is described in the devicetree. The wakeup > sources can be individually enabled/disabled by the user in the running > system. > > The series is based on Andrew Davis accepted patches: > [PATCH 0/4] Unconditionally register TI-SCI reset handler > https://lore.kernel.org/lkml/20240326223730.54639-1-afd@ti.com/ > > This series is part of a bigger topic to support Partial-IO on am62, > am62a and am62p. Partial-IO is a poweroff state in which some pins are > able to wakeup the SoC. In detail MCU m_can and two serial port pins can > trigger the wakeup. > > These two other series are relevant for the support of Partial-IO: > > - serial: 8250: omap: Add am62 wakeup support > - can: m_can: Add am62 wakeup support In future, please provide the lore url to the dependency patches (I understand you were probably posting them back to back, but if you wait some 10-15 mins after the dependent series are posted, they will appear in the lore.kernel.org and you could provide those links). That would save us maintainers having to lookup based off subject line. > > A test branch is available here that includes all patches required to test > Partial-IO: > > https://gitlab.baylibre.com/msp8/linux/-/tree/integration/am62-lp-sk-partialio/v6.9?ref_type=heads > > After enabling Wake-on-LAN the system can be powered off and will enter > the Partial-IO state in which it can be woken up by activity on the > specific pins: > ethtool -s can0 wol p > ethtool -s can1 wol p > poweroff > > I tested these patches on am62-lp-sk. > > Best, > Markus > > Markus Schneider-Pargmann (5): > dt-bindings: ti, sci: Add property for partial-io-wakeup-sources > firmware: ti_sci: Partial-IO support > arm64: dts: ti: k3-pinctrl: Add WKUP_EN flag > arm64: dts: ti: k3-am62: Add partial-io wakeup sources > arm64: dts: ti: k3-am62a: Add partial-io wakeup sources > > Vibhore Vardhan (1): > arm64: dts: ti: k3-am62p: Add partial-io wakeup sources > > .../bindings/arm/keystone/ti,sci.yaml | 6 + > arch/arm64/boot/dts/ti/k3-am62.dtsi | 4 + > arch/arm64/boot/dts/ti/k3-am62a.dtsi | 4 + > arch/arm64/boot/dts/ti/k3-am62p.dtsi | 4 + > arch/arm64/boot/dts/ti/k3-pinctrl.h | 3 + > drivers/firmware/ti_sci.c | 135 +++++++++++++++++- > drivers/firmware/ti_sci.h | 31 ++++ > 7 files changed, 186 insertions(+), 1 deletion(-) > > -- > 2.43.0 > -- Regards, Nishanth Menon Key (0xDDB5849D1736249D) / Fingerprint: F8A2 8693 54EB 8232 17A3 1A34 DDB5 849D 1736 249D _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel