From patchwork Mon Jul 29 08:00:56 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Markus Schneider-Pargmann X-Patchwork-Id: 13744516 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 C2C47C3DA61 for ; Mon, 29 Jul 2024 08:02:18 +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:Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-ID:Date:Subject:Cc:To:From: Reply-To:Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=aOjLun6texcSlkqDtHFasKp/m6UQbRYZsxtm1Omsgik=; b=tjisb071S9bt+9d/aDzBFh0CNK BxSj9LucjqT1FuttUvWQB3+0mcWYA3oqnxD4oIxB/ZSQ8eYmBHJ1Gnktazx7+/1LPEWnFyR2lUyI+ xIS464aoZi3EpIiSdUTqZxzKEFTCe06wP84+7rvZnkczIZzHkiBoQP9o2IsfyiggY+tXauko1xG6B MzzJcPkIkvt5xa0OZmeYw/aLULJkfVRnirY3vTyGdivAv4nLvG2+kDr/h3TEzJQbLYyjdL3J25Yol sTR9+yKZTZRTVGCRqCD5ygc5c+Agbs1AmjdQTkbhRjpx+ei4dIwjPiLrCYdz7y2YH7NHUdpwaQ/Ua mZf5TUDA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sYLKY-0000000ASXc-3JLM; Mon, 29 Jul 2024 08:02:06 +0000 Received: from mail-wr1-x42b.google.com ([2a00:1450:4864:20::42b]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sYLJj-0000000ASEl-2Ynv for linux-arm-kernel@lists.infradead.org; Mon, 29 Jul 2024 08:01:17 +0000 Received: by mail-wr1-x42b.google.com with SMTP id ffacd0b85a97d-3686b285969so1076432f8f.0 for ; Mon, 29 Jul 2024 01:01:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20230601.gappssmtp.com; s=20230601; t=1722240073; x=1722844873; darn=lists.infradead.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=aOjLun6texcSlkqDtHFasKp/m6UQbRYZsxtm1Omsgik=; b=o6XN2WLCStbjYgrgmRJ9oTeRYesdRw0NspUIjUExwDq/TK/Ouk8y6L1x8EPUqxikFA 4+9xQFZRK2+iA4NDZdZdJI8IByynrtqaYsywh8vkna/Tvss8OQ58ySWzxYiDVKz6eY4y 4fkorC/bXSYoURCZlVc7F4/qZLLjbLO1F/REpp6BwPZo8avvACs57E54W1t/HzwqWZLO l+DH4TqN6jYO91F6zua+tadxcLB0nuKc3FGufsec4MngjdkMJc3Xfs3JCinyYy4fNvCd RqbaFKylbZpLFZCo/E7pwX4XlWnTLd/nP0HVeUMdTm8faPjAIWcW9DljsM9sz3f2fvmN mAWg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1722240073; x=1722844873; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=aOjLun6texcSlkqDtHFasKp/m6UQbRYZsxtm1Omsgik=; b=DyeK1jskQ5p5tCa/CH3vbxV7fTepn7uJE9fUPYJ7gjcuob4JIQ91Yb1mUfT9ei7cnK OC9YH0ZeD8ypeWJMlfplkdNSUn1WnG2x0LNHWxhrwvRFTXz8SblOOLWXnC1ydBo1Q3n6 Zy8TrZ7Y4W63wtgv3f0h7gSorMGMA++dgJLxmhF1anqjSPZr/ERFwA8aRfkwIQktjeGN mb2rJkLspifFPBWWK40TmQGuiIbZ0ZAkjO68PUZ1eGHvk/PjusMLQo4OzI1McZydLcoo ci/2dwCgHLNoe82B1hTMaM/hYOQ9VdOd4mNUMZ6UCqHBRiCRiQ96lM+DRQWDD1xcKtfT x7Kg== X-Forwarded-Encrypted: i=1; AJvYcCVgIGafvCr2wvKFGjh72WRMU/mfXRWcez5xLRveUmHOjbzkN8g8EdFFwrND8WX1ncAa9nLqB5URuUzVZB7fc6iAlOAAgRTZmv3sBTPDhtvtcIboUvY= X-Gm-Message-State: AOJu0Yxr+RypZi7PkXz8VspVyv56XJPjKGDD9cHZ7RVE3syczo3Kw7js UTjfL0AJv6Qpk8EVM8i9FKLJUZI5XgC8S0G48SbuVOMpI4msPZ9BFWViRXLXR0w= X-Google-Smtp-Source: AGHT+IFMgwC69DMoi/qdpS3geBrRwusfaLDyoAizRfL/peuUo/6VpfZyOT7ZJpMKpugEbj3UCV3eBQ== X-Received: by 2002:a05:6000:1fac:b0:368:714e:5a59 with SMTP id ffacd0b85a97d-36b5cecf2a0mr6494090f8f.11.1722240073526; Mon, 29 Jul 2024 01:01:13 -0700 (PDT) Received: from blmsp.fritz.box ([2001:4091:a245:8609:c1c4:a4f8:94c8:31f2]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-42819d9a007sm45452635e9.1.2024.07.29.01.01.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 29 Jul 2024 01:01:13 -0700 (PDT) From: Markus Schneider-Pargmann To: Nishanth Menon , Tero Kristo , Santosh Shilimkar , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Vignesh Raghavendra Cc: Vibhore Vardhan , Kevin Hilman , Dhruva Gole , linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Markus Schneider-Pargmann Subject: [PATCH v2 1/6] dt-bindings: ti, sci: Add property for partial-io-wakeup-sources Date: Mon, 29 Jul 2024 10:00:56 +0200 Message-ID: <20240729080101.3859701-2-msp@baylibre.com> X-Mailer: git-send-email 2.45.2 In-Reply-To: <20240729080101.3859701-1-msp@baylibre.com> References: <20240729080101.3859701-1-msp@baylibre.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240729_010115_680189_6B10D1DA X-CRM114-Status: GOOD ( 13.92 ) 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 Partial-IO is a very low power mode in which nearly everything is powered off. Only pins of a few hardware units are kept sensitive and are capable to wakeup the SoC. The device nodes are marked as 'wakeup-source' but so are a lot of other device nodes as well that are not able to do a wakeup from Partial-IO. This creates the need to describe the device nodes that are capable of wakeup from Partial-IO. This patch adds a property with a list of these nodes defining which devices can be used as wakeup sources in Partial-IO. Signed-off-by: Markus Schneider-Pargmann --- .../devicetree/bindings/arm/keystone/ti,sci.yaml | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/Documentation/devicetree/bindings/arm/keystone/ti,sci.yaml b/Documentation/devicetree/bindings/arm/keystone/ti,sci.yaml index 25a2b42105e5..7d6152710573 100644 --- a/Documentation/devicetree/bindings/arm/keystone/ti,sci.yaml +++ b/Documentation/devicetree/bindings/arm/keystone/ti,sci.yaml @@ -61,6 +61,19 @@ properties: mboxes: minItems: 2 + ti,partial-io-wakeup-sources: + $ref: /schemas/types.yaml#/definitions/phandle-array + description: | + Partial-IO is a low power mode in which nearly everything is powered + off. Only pins associated with a few hardware units are capable to + wakeup the system from this mode. It is a very small subset of all + device nodes that have the 'wakeup-source' property. + ti,partial-io-wakeup-sources is the list of device nodes that can + wakeup the system from Partial-IO. + + This low power mode depends on the capabilities of the SoC and + the firmware. + ti,host-id: $ref: /schemas/types.yaml#/definitions/uint32 description: |