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 748FFC83F1A for ; Wed, 23 Jul 2025 09:22:10 +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:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=kFzMvpPj4G++jVg1BIqzpt1W4gKKpSSw4ul3wcwaiIc=; b=g+XjSo2ZprU5AR 1PmTfSjKIGOX13qKF3iHOG/krTF+NAqwCNv4esa7TrVdgrRu0R/piSt1wtz9hh0Ef2o+4aWaaEmEn N6KmNsAMLUcl8aBdhN5covrvMw/2qFdA6iEFDpfzhKxwIFU6rlpv94886J+82SyHMHKOlF3INwYAg rftvG5PMEWxZCcBMsuccktsooa64ICJUBohnwvYsd0CIp1WyKntbBdvk3MUjbvakI9uDcJISrsws2 suLd1oyoc2bZxdtUVF8WOSAAzZpGjUFLO3uxSmI8xHam/3OQWXdkgzlzazxZe5n4btHjukVWmtCVT n2lFUeEQpBFWxV8NcEhQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98.2 #2 (Red Hat Linux)) id 1ueVfq-00000004UVY-0LEH; Wed, 23 Jul 2025 09:22:06 +0000 Received: from smtp.forwardemail.net ([149.28.215.223]) by bombadil.infradead.org with esmtps (Exim 4.98.2 #2 (Red Hat Linux)) id 1ueVHn-00000004QnQ-3DQ3 for linux-rockchip@lists.infradead.org; Wed, 23 Jul 2025 08:57:16 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kwiboo.se; h=Content-Transfer-Encoding: MIME-Version: References: In-Reply-To: Message-ID: Date: Subject: Cc: To: From; q=dns/txt; s=fe-e1b5cab7be; t=1753261035; bh=PKSo/fJwr04VNmGVrbdVZ+djNyZPEPotepO7Vigj2G0=; b=iOTmz6O1/9NVY8+r4MULIXy4J/0ZKOuK48D3B3vruM7JQcFeXNJUEWDu0AYegfgOtN/5ZVvW4 vMn3iaWGUQ1zMIz4Yrcnkz9QylcgQfmW7DMNmq5r+EEL/AG1s8z7PSKuEw40IVWDBc84v+CBf6G WEBj9bbd/JJPBLDhJui7TFqK50iDdfbVWQdjWgoEUWq54n0QyuFiqqg1ka6K/Y6uhFZV2kTnIct vrfijUmJB3lYuJYnhktioh4v5NRt18YBjHPOauJ8UmBRf+8lM1dYo0rR0PB/80srpHHzxUTns58 Hb1BrMcPgnFEorV8w3k8MzdUdpBIUj6ylRXyOLFAPxfw== X-Forward-Email-ID: 6880a3e0144dc4a5e5baee04 X-Forward-Email-Sender: rfc822; jonas@kwiboo.se, smtp.forwardemail.net, 149.28.215.223 X-Forward-Email-Version: 1.1.6 X-Forward-Email-Website: https://forwardemail.net X-Complaints-To: abuse@forwardemail.net X-Report-Abuse: abuse@forwardemail.net X-Report-Abuse-To: abuse@forwardemail.net From: Jonas Karlman To: Heiko Stuebner , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Linus Walleij , Bartosz Golaszewski Cc: Yao Zi , Chukun Pan , devicetree@vger.kernel.org, linux-rockchip@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Jonas Karlman , linux-gpio@vger.kernel.org Subject: [PATCH v2 1/5] dt-bindings: gpio: rockchip: Allow use of a power-domain Date: Wed, 23 Jul 2025 08:56:43 +0000 Message-ID: <20250723085654.2273324-2-jonas@kwiboo.se> X-Mailer: git-send-email 2.50.1 In-Reply-To: <20250723085654.2273324-1-jonas@kwiboo.se> References: <20250723085654.2273324-1-jonas@kwiboo.se> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20250723_015715_842575_24C85104 X-CRM114-Status: UNSURE ( 9.93 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+linux-rockchip=archiver.kernel.org@lists.infradead.org The GPIO controllers in most Rockchip SoCs are part of power domains that are always powered on, i.e. PD_BUS or PD_PMU. These always powered on power domains have typically not been described in the device tree. Because these power domains have been left out of the device tree there has not been any real need to properly describe the GPIO controllers power domain. On RK3528 the GPIO controllers are spread out among the described PD_RKVENC, PD_VO and PD_VPU power domains. However, one GPIO controller belong to an undescribed always powered on power domain. Add support to describe an optional power-domains for the GPIO controllers in Rockchip SoCs. Signed-off-by: Jonas Karlman --- v2: Update commit message --- Documentation/devicetree/bindings/gpio/rockchip,gpio-bank.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Documentation/devicetree/bindings/gpio/rockchip,gpio-bank.yaml b/Documentation/devicetree/bindings/gpio/rockchip,gpio-bank.yaml index d76987ce8e50..bdd83f42615c 100644 --- a/Documentation/devicetree/bindings/gpio/rockchip,gpio-bank.yaml +++ b/Documentation/devicetree/bindings/gpio/rockchip,gpio-bank.yaml @@ -41,6 +41,9 @@ properties: "#interrupt-cells": const: 2 + power-domains: + maxItems: 1 + patternProperties: "^.+-hog(-[0-9]+)?$": type: object -- 2.50.1 _______________________________________________ Linux-rockchip mailing list Linux-rockchip@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-rockchip