From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lelv0142.ext.ti.com (lelv0142.ext.ti.com [198.47.23.249]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 34FF3200CA4; Tue, 29 Oct 2024 06:58:25 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.47.23.249 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1730185108; cv=none; b=O9ww4DKqXrFcdqpDj/PWR8o86rJGFg+QnaHYFjKcAHnR1vhz9SB/7iJqLUJgEup1c+9v4kjAJg3JCxTKMFNpP1VpjINa+/1fConLtuYnsgUfv3mo5ND9/eWf57ST2rjvGPklyhZMHDCZJIjPYh3LXCUA/1Q24BUg88nfvoH3jJo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1730185108; c=relaxed/simple; bh=mTmt6tMfKXkU4Oe/Hi3YMpQOeB0phi5spbf2eXoX+9w=; h=Date:From:To:CC:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=KCyDTCKlqKB+0+kNEi4Oj6mq13lif195O+gokhnjN3RhlKgQUp3onAEHZngkGhXFvW301569IDzxXaevjGMY6oEOR5fe+TVM+4ND4eSOTc0SHVjTZe5o+imLshW62NQem654LIsFADumpM/22HaPjdwGr85NIRC0wlDl550bKtE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=ti.com; spf=pass smtp.mailfrom=ti.com; dkim=pass (1024-bit key) header.d=ti.com header.i=@ti.com header.b=eMmNesmS; arc=none smtp.client-ip=198.47.23.249 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=ti.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=ti.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=ti.com header.i=@ti.com header.b="eMmNesmS" 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> Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: 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 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