From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pj2-f13.google.com (mail-pj2-f13.google.com [74.125.227.141]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id D6279409292 for ; Sat, 19 Sep 2026 12:29:51 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=74.125.227.141 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789820994; cv=none; b=FxHXCQld1OPCPPrlpjmH1lJBPPQJlExNca7PB5h/96s0geLn4spTeowZE4gLa8zDSe0dPl/Cdsnkq/n5x0k8auGVjgGFE3Rgo5iRq6sHGn17/FrCzv5h+jjKsd8j7wl+4RbCQ9tC5DQ1YtRqulf0zu+LzrA7058O4QGGTydu2/I= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789820994; c=relaxed/simple; bh=7UirNnKptkM23XV21O98MU/F3kZMMKqkqZFRUqz79+g=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=rFkVZV7joEf1YUocl8rkMe0TUZrsbN9OZ1ak1opr5zlunbYQXImZn31PfC79V/FCTP/LAMvbSLYDLZ24DbBtKepV9+tEsOq4j3yfDAZW5MFiONJqgSGheyCWj8zNdS8luazipmsm1sDdSt0RseN0iKjAsDA7HSGS3iqx+Xp1xzw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=kxbY75cg; arc=none smtp.client-ip=74.125.227.141 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="kxbY75cg" Received: by mail-pj2-f13.google.com with SMTP id d9443c01a7336-2d747ec6185so10179415ad.0 for ; Sat, 19 Sep 2026 05:29:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1789820991; x=1790425791; darn=lists.linux.dev; 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:content-type; bh=8MmcjKlyf4A3stJwDXl+4IDRDF8eUG006ktFMDeykK4=; b=kxbY75cghivWX8W74hgb5beR2/yRSPGpiBU6hqnsmjchGpR9yyXWuhP9t+ktC3ddRf 2DC0+25pxaOuuWAgvgt3bd5laCIvHWQirNLTATM8UDlfib5HXvGyMEfL2fi/1ePpT1bs AU9mYpWX+YjGKsrwPHOR8oIYR7+6oHr8HX2zN//XlJNHa3Ov0/VdmIo9XKfRzftMZeR6 QtyKswsD3RvVtVe9T16pfSM7666fd56jQ+gKwLWRoabY0dZkPtEOgNL+udaE2xgv00zI ZA28t9/wjd+J8rXo7ujghdKIovYvNFLVC8shWGZIk7hjSZsgiOi9wnNEjkmXNxlDcazG t23Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1789820991; x=1790425791; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to:content-type; bh=8MmcjKlyf4A3stJwDXl+4IDRDF8eUG006ktFMDeykK4=; b=h9w+FQBmUdhL02zvB7zb1xVL5tD1ylYxjehpLpcVVrgd43xyL0uhn/BhRJZ5iBfY/0 tQAxsiKDvCD/j+jVwqqTJpKX2FL6Z5aCARic60zDhLb3dzkO6/GxiOWaItZ+Pqrhroz6 HJc5UcuR4ipWEIYe9MT+jgubTYm2dv03aIsLAf9HOgGvr2/U8cZRYoRTeq2s8Fv8FRFy LJYqyOzuD1MTKgQt7iGfNPJbotrFnb0pG2YsScnOrQaKWxqJmdIXDlUv4qzKoKMC/OFC tcOwMh+6DkmMr9ST510hTZ9OCiX3KB9zxjbEPAngB8Ww7L4wsmRRrmEJ0JrWnI3daj+t 2IXw== X-Gm-Message-State: AFuF++mjtSHcScMWI1Qkks681ucY8nLi0G1NVtG0TebPRd5f2AyFg2Wi yBSw6R8AL3CeatQbsfyxX7TUpDzGd/Vmx8lMXBvBVzLLuhE5T34rRRIU X-Gm-Gg: AYBFou2pFGPVqkqqv+eBnyBJyTrml3ca3iqFGGH1gzOHbTZn/2b2oVFOmaJERdzttaH USfDbiiXGuWGZkyUGFYw340ohvlPheq+SMzhCUb1Cwo5kAUleoLLElO/7oHoSVFSJu5ikAb9Roq lyT/5WMX6KkkHXqy6tgZTsGPKHshrjM47LrXj1S0ibL4hrSuLOagLoTVn1av6M41frc+huGM2H7 Rkw/60vNmAcFeF14UCOferSpzPMRBj2Z4BXk4oeviu/EVmfawEBnQJlPksuwPplzrSpvrVceWBy a5Kn6uVnAZJqTjoKr0ekRjiI/Hb71EBPvemqjtN4ggJLar6aCsvhIoDsBQiuW1pvhyEsCBb72dt d1KcxEyIElLbiaAwA3qPJIoH0AtwG1t0FCuMTlDHg94tT6RvxcTeHlc3QU5W1azzh+qG0dNrh88 2hcxxh3bz6FoU/r5g7b7gaAwPLo0IeufjAeXkqjLltZ3+ocfIS8QUryyNfF9jTCXl1lOycz8uDq TBZf8BxIuE= X-Received: by 2002:a17:902:d48e:b0:2dd:ad74:ac2e with SMTP id d9443c01a7336-2ddb1b9a0edmr96579045ad.23.1789820990640; Sat, 19 Sep 2026 05:29:50 -0700 (PDT) Received: from Aaron-M6 ([188.253.120.162]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-2ddc17d7115sm9552155ad.66.2026.09.19.05.29.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 19 Sep 2026 05:29:49 -0700 (PDT) From: Yaozhong Li To: Lee Jones , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Heiko Stuebner , Chris Zhong , Zhang Qing Cc: mfd@lists.linux.dev, devicetree@vger.kernel.org, linux-rockchip@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Yaozhong Li Subject: [RFC PATCH v2 1/3] dt-bindings: mfd: rk808: add board level power hold GPIOs Date: Sat, 19 Sep 2026 20:29:28 +0800 Message-ID: <20260919122930.1418-2-yaozhonguwl@gmail.com> X-Mailer: git-send-email 2.55.0.windows.3 In-Reply-To: <20260909092728.1859-1-yaozhonguwl@gmail.com> References: <20260909092728.1859-1-yaozhonguwl@gmail.com> Precedence: bulk X-Mailing-List: mfd@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Some boards route "power hold" lines from the SoC into the board's power circuitry. Those lines have to be held asserted while the system is running and released before the PMIC shutdown request is written; with any of them left asserted the rails drop and then come back up. Add power-hold-gpios to describe those lines and power-hold-delay-ms for the settle time. Signed-off-by: Yaozhong Li --- .../bindings/mfd/rockchip,rk808.yaml | 21 +++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/Documentation/devicetree/bindings/mfd/rockchip,rk808.yaml b/Documentation/devicetree/bindings/mfd/rockchip,rk808.yaml index 50dfffa..d59f6ba 100644 --- a/Documentation/devicetree/bindings/mfd/rockchip,rk808.yaml +++ b/Documentation/devicetree/bindings/mfd/rockchip,rk808.yaml @@ -43,6 +43,24 @@ properties: system-power-controller: true + power-hold-gpios: + minItems: 1 + maxItems: 2 + description: + Board level power hold lines driven by the SoC. They have to be held + asserted while the system is running and released before the PMIC + shutdown request is written; with any of them left asserted the rails + drop and then come back up. A line left asserted by another consumer + therefore defeats the sequence, so every line involved must be listed + here. Only meaningful together with system-power-controller, as the + lines are released as part of the PMIC's power-off path. + + power-hold-delay-ms: + default: 0 + description: + Time to wait after releasing power-hold-gpios before the shutdown + request is written, to let the lines settle. + wakeup-source: type: boolean description: @@ -113,6 +131,9 @@ properties: unevaluatedProperties: false unevaluatedProperties: false +dependencies: + power-hold-delay-ms: [ power-hold-gpios ] + required: - compatible - reg -- 2.55.0.windows.3 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 3FFA2C982CC for ; Sat, 19 Sep 2026 12:30:07 +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=F0ocwEVYZrfVUc22Ri6SzcBQwj9dhsdOfiaPDwPkJew=; b=LjRS2EArRFeBpK ld5Fw+aOy/1ChOF0Fw/3YOqx2GXB55Y5w/8N1IjNZnuN5TSBdew/s04ynY2IuTXnonlUexaLpbAhd NSM+nkjuBfpISzp3DYyIFEQptrBx+9efuBP8PtHWY9ZqMmxFEU8Ai/gQO8XCVD+9AWwt417NwOsLg 5TyPhgkHlyAeXh31VaHG6rRwoSgGi2Z5xktCuXDUIgl38pveXwgA7WXfHbP+OOMVXznLWCH5z69Sf iTrflPX3XVprI/XIFyWxaXD8z1HLAudAwG7EIXFyKZcdF098eWpRlYfH52+fyJ2QgxOdf07XWs4Fc UCArbwAoDk81a2Eroalw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.99.1 #2 (Red Hat Linux)) id 1x7uCi-0000000GF4w-0ZAL; Sat, 19 Sep 2026 12:30:04 +0000 Received: from mail-pj2-x11.google.com ([2607:f8b0:4864:39::11]) by bombadil.infradead.org with esmtps (Exim 4.99.1 #2 (Red Hat Linux)) id 1x7uCV-0000000GExj-1N6O for linux-rockchip@lists.infradead.org; Sat, 19 Sep 2026 12:29:53 +0000 Received: by mail-pj2-x11.google.com with SMTP id d9443c01a7336-2d747ec6188so10074205ad.3 for ; Sat, 19 Sep 2026 05:29:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1789820991; x=1790425791; 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:content-type; bh=8MmcjKlyf4A3stJwDXl+4IDRDF8eUG006ktFMDeykK4=; b=Kb4wGBrPdoUtiZHzFyynEzq0bQnL/OvtWOP/jBIiklAjqnot6ZU9D4erjuUWWCdpm1 bX0DuPWkUP7QoInt7Wz6uGKau19kJygVTygbITk4ORCUan7fhQ25CT2J40JpuZjByjg6 p46LWrtUEFZlpm+5K4aAf9tBC+oceLPIMeh/yt/UhHvX+vmcruemSWYpuXsMl/beKvvd XSfdkhzVnKh0lDnb9BjCvXsPz+2Xc8uc6vgnw5//nLh1l0VKkxl8CF+7e2aH8P+CJ2v6 C4uaKJzIBTR++fvyTDEhnWW6mewCSAKviGMjhlO9FBcXWczDyEp6rtUWJ4wc2S5dx+zd ScUA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1789820991; x=1790425791; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to:content-type; bh=8MmcjKlyf4A3stJwDXl+4IDRDF8eUG006ktFMDeykK4=; b=OGrUAKbY/upn39Dg+PHe66rMDN1vvZD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jVLHGkdLX4= X-Received: by 2002:a17:902:d48e:b0:2dd:ad74:ac2e with SMTP id d9443c01a7336-2ddb1b9a0edmr96579045ad.23.1789820990640; Sat, 19 Sep 2026 05:29:50 -0700 (PDT) Received: from Aaron-M6 ([188.253.120.162]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-2ddc17d7115sm9552155ad.66.2026.09.19.05.29.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 19 Sep 2026 05:29:49 -0700 (PDT) From: Yaozhong Li To: Lee Jones , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Heiko Stuebner , Chris Zhong , Zhang Qing Cc: mfd@lists.linux.dev, devicetree@vger.kernel.org, linux-rockchip@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Yaozhong Li Subject: [RFC PATCH v2 1/3] dt-bindings: mfd: rk808: add board level power hold GPIOs Date: Sat, 19 Sep 2026 20:29:28 +0800 Message-ID: <20260919122930.1418-2-yaozhonguwl@gmail.com> X-Mailer: git-send-email 2.55.0.windows.3 In-Reply-To: <20260909092728.1859-1-yaozhonguwl@gmail.com> References: <20260909092728.1859-1-yaozhonguwl@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.9.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20260919_052951_379186_2DD5F372 X-CRM114-Status: GOOD ( 11.18 ) 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 Some boards route "power hold" lines from the SoC into the board's power circuitry. Those lines have to be held asserted while the system is running and released before the PMIC shutdown request is written; with any of them left asserted the rails drop and then come back up. Add power-hold-gpios to describe those lines and power-hold-delay-ms for the settle time. Signed-off-by: Yaozhong Li --- .../bindings/mfd/rockchip,rk808.yaml | 21 +++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/Documentation/devicetree/bindings/mfd/rockchip,rk808.yaml b/Documentation/devicetree/bindings/mfd/rockchip,rk808.yaml index 50dfffa..d59f6ba 100644 --- a/Documentation/devicetree/bindings/mfd/rockchip,rk808.yaml +++ b/Documentation/devicetree/bindings/mfd/rockchip,rk808.yaml @@ -43,6 +43,24 @@ properties: system-power-controller: true + power-hold-gpios: + minItems: 1 + maxItems: 2 + description: + Board level power hold lines driven by the SoC. They have to be held + asserted while the system is running and released before the PMIC + shutdown request is written; with any of them left asserted the rails + drop and then come back up. A line left asserted by another consumer + therefore defeats the sequence, so every line involved must be listed + here. Only meaningful together with system-power-controller, as the + lines are released as part of the PMIC's power-off path. + + power-hold-delay-ms: + default: 0 + description: + Time to wait after releasing power-hold-gpios before the shutdown + request is written, to let the lines settle. + wakeup-source: type: boolean description: @@ -113,6 +131,9 @@ properties: unevaluatedProperties: false unevaluatedProperties: false +dependencies: + power-hold-delay-ms: [ power-hold-gpios ] + required: - compatible - reg -- 2.55.0.windows.3 _______________________________________________ Linux-rockchip mailing list Linux-rockchip@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-rockchip