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 3684DD1356B for ; Tue, 29 Oct 2024 07:00:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:CC:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=zUjDcbzlfnrLKF5lb+YDPYeYzWPm6jfVrCSvxvwA3kQ=; b=bKSw1ej1ju0Nc+Zn4Vqb9JVxNj KAoPwLNoajKHGDoi+eAFS0AuB3ibAlS+f4+Rx+A80Z+FVhYzDo3vrqpqCAphvz6ChQ0Xl9W545qdV leCkc41gy+A9clb4YPuNKXmPU/+YW0VIlwblo9b6ed+SAv8DmaN0BBtoGfmXdhPGP6td+o+H9QPNc eQTU1qSxAICOqtO1rFrX3Z6MIdP+GiL07ZZuvULeGZtEUdMrkvVrTRgv6HsUSJ5N/w1V+YfVXtwDq HxfNUw0pzByNkGYNgn5oTyJxIbWNqqZHf34uT40TuoyJ1KeVvuY+zTEoUMW0QgLHRKUyW8O1u/Cj6 IA/k/vzA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1t5gDa-0000000DQmq-3DEf; Tue, 29 Oct 2024 07:00:42 +0000 Received: from lelv0142.ext.ti.com ([198.47.23.249]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1t5gBD-0000000DQEQ-0ySd for linux-arm-kernel@lists.infradead.org; Tue, 29 Oct 2024 06:58:17 +0000 Received: from lelv0265.itg.ti.com ([10.180.67.224]) by lelv0142.ext.ti.com (8.15.2/8.15.2) with ESMTP id 49T6w2fO076036; Tue, 29 Oct 2024 01:58:02 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1730185082; bh=zUjDcbzlfnrLKF5lb+YDPYeYzWPm6jfVrCSvxvwA3kQ=; h=Date:From:To:CC:Subject:References:In-Reply-To; b=eMmNesmSNauzBozutzTULNyCWaioOr0Ftwi+bGEL1nrVRMOGF7ab9XsPNwg9+k8cp 07qOOnnVLB8YaAieSTZrtexCTu3vmZyZ1D0ZrJ5etk6zwm5BEZzYHIsSVYmR/TEhue J922TrhrQ+JMCn9aIbNu+sUFZola0Ik8ZcY9qD44= Received: from DLEE105.ent.ti.com (dlee105.ent.ti.com [157.170.170.35]) by lelv0265.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 49T6w2Ux023537 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Tue, 29 Oct 2024 01:58:02 -0500 Received: from DLEE101.ent.ti.com (157.170.170.31) by DLEE105.ent.ti.com (157.170.170.35) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Tue, 29 Oct 2024 01:58:01 -0500 Received: from lelvsmtp5.itg.ti.com (10.180.75.250) by DLEE101.ent.ti.com (157.170.170.31) 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; Tue, 29 Oct 2024 01:58:01 -0500 Received: from localhost (lcpd911.dhcp.ti.com [172.24.227.226]) by lelvsmtp5.itg.ti.com (8.15.2/8.15.2) with ESMTP id 49T6w0fH027169; Tue, 29 Oct 2024 01:58:01 -0500 Date: Tue, 29 Oct 2024 12:28:00 +0530 From: Dhruva Gole To: Markus Schneider-Pargmann CC: Chandrasekar Ramakrishnan , Marc Kleine-Budde , Vincent Mailhol , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Nishanth Menon , Vignesh Raghavendra , Tero Kristo , , , , , , Matthias Schiffer , Vishal Mahaveer , Kevin Hilman , Simon Horman , Krzysztof Kozlowski Subject: Re: [PATCH v5 1/9] dt-bindings: can: m_can: Add wakeup properties Message-ID: <20241029065800.zktj76ut4le2fosg@lcpd911> References: <20241028-topic-mcan-wakeup-source-v6-12-v5-0-33edc0aba629@baylibre.com> <20241028-topic-mcan-wakeup-source-v6-12-v5-1-33edc0aba629@baylibre.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <20241028-topic-mcan-wakeup-source-v6-12-v5-1-33edc0aba629@baylibre.com> X-C2ProcessedOrg: 333ef613-75bf-4e12-a4b1-8e3623f5dcea X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241028_235815_449915_CEB816E5 X-CRM114-Status: GOOD ( 20.36 ) 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: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Oct 28, 2024 at 18:38:07 +0100, Markus Schneider-Pargmann wrote: > m_can can be a wakeup source on some devices. Especially on some of the > am62* SoCs pins, connected to m_can in the mcu, can be used to wakeup > the SoC. > > The wakeup-source property defines on which devices m_can can be used > for wakeup. > > The pins associated with m_can have to have a special configuration to > be able to wakeup the SoC. This configuration is described in the wakeup > pinctrl state while the default state describes the default > configuration. > > Reviewed-by: Krzysztof Kozlowski > Signed-off-by: Markus Schneider-Pargmann > --- > .../devicetree/bindings/net/can/bosch,m_can.yaml | 18 ++++++++++++++++++ > 1 file changed, 18 insertions(+) > > diff --git a/Documentation/devicetree/bindings/net/can/bosch,m_can.yaml b/Documentation/devicetree/bindings/net/can/bosch,m_can.yaml > index c4887522e8fe97c3947357b4dbd4ecf20ee8100a..0c1f9fa7371897d45539ead49c9d290fb4966f30 100644 > --- a/Documentation/devicetree/bindings/net/can/bosch,m_can.yaml > +++ b/Documentation/devicetree/bindings/net/can/bosch,m_can.yaml > @@ -106,6 +106,22 @@ properties: > maximum: 32 > minItems: 1 > > + pinctrl-0: > + description: Default pinctrl state > + > + pinctrl-1: > + description: Wakeup pinctrl state > + > + pinctrl-names: > + description: > + When present should contain at least "default" describing the default pin > + states. The second state called "wakeup" describes the pins in their > + wakeup configuration required to exit sleep states. > + minItems: 1 > + items: > + - const: default > + - const: wakeup > + > power-domains: > description: > Power domain provider node and an args specifier containing > @@ -122,6 +138,8 @@ properties: > minItems: 1 > maxItems: 2 > > + wakeup-source: true > + Reviewed-by: Dhruva Gole -- Best regards, Dhruva Gole Texas Instruments Incorporated