From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pz2-f12.google.com (mail-pz2-f12.google.com [74.125.228.12]) (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 3D61438655C for ; Wed, 9 Sep 2026 09:28:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=74.125.228.12 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1788946092; cv=none; b=aweaqv2yvMCObAnQJ9Z51Tmry4MZNB3wjoIYocoDo+EW1wM9ap5AVxH4bzH0wZ7gy/pZkVWikCVbE/Hpxw3XSbed3blp0QmpCG8rDkPFT/rx1a38WSm1SwPerO4IG2CRISAN9/Qtub553rLreYTEjXhlBA//qtcUiwb7MXOUAnM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1788946092; c=relaxed/simple; bh=LxC8kMJh4jwFnRvJn3SSrwAQzwqAMDmM2iIR3W+ZNrQ=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=IoM/UfgRz28zBgJUt/cg7Vog1mBpQcutvB31epYpg/G9ZqOQltYa2W2+sE3QuvsI3+FwcGpPGOlpFjL2cc4g/4U51nPlOtJXAhnhQYCz/rhXVdUJ0kDfjBKitqBsNQ1yMwpsqMynbX6h+JxY7JfV5D+b7OQ/raQ5Ke3agCmFzHc= 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=CHMLGnOR; arc=none smtp.client-ip=74.125.228.12 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="CHMLGnOR" Received: by mail-pz2-f12.google.com with SMTP id 41be03b00d2f7-cc1cea4bfd2so4964a12.2 for ; Wed, 09 Sep 2026 02:28:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1788946081; x=1789550881; darn=vger.kernel.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=Nl/aBnK5PFHcg41MgSw1Z+yHeAR93xAdwKOpAL4NF7c=; b=CHMLGnOR87OKN9QVLRG2LbnXr1ZVh8LNqUo0QLVl362ZE1cvGp9MQ0wtovL/MzOeRl xdN+oEEidaEzJ5I2Ps7uT5SN4n3d6f2MvgSnXlUPG5PRLElrPfmiVF/LKZcZVk1sjehq ehv6EIaXb+Slx132iBCdBV0yGhBEzSnyjXlriEXiH7nvsLcF1S7FrzOY80Un7WaUCHJN qyNyjeIyVvD/3ZMxiWic9oMe6E93QYRRq4mc4gKmFrLksyM/cSnS2az03qrHvmxklyhs 1DJsdp4BoW1uBzyR4lKDjMuq9jDYoWyTeHnJq5mhL3UCUlbOObGBubGaaCS2pghcKcnl OY4Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1788946081; x=1789550881; 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=Nl/aBnK5PFHcg41MgSw1Z+yHeAR93xAdwKOpAL4NF7c=; b=MyDF8/Ve9DsgIO/NLTwVzzf4Asr++qzAUpvzMC1diNPGHlpo+YLZg0m4vhx6FzRBmC 2Qbr+m2jr99SP6+xvFd1wAk4UqeI9zELflJ6tksM1HrWyuLcVGkUWDPofIR0AuUx9NXk Q6duzgq0zYYdus8yFcZVu68euO+CBjWa1bWra+E0wYhxRb206UjMCYGeKrguejSSq/cI izW5tW8E/AKUaGUo5ibwnbwpRZgmcE5OTaUDjCuz04su+lZhL5XNUz1uuq4UYJ1UYym5 Kv4ii6/u8p4P6xzukHnViIg3UOIbadVU/88aJYOJiFFqaHoZUjS+U2YQKvY9mDeWOMVU XKIw== X-Forwarded-Encrypted: i=1; AKwUvBxMBH5u+XWsLN2BOXhVfQYO+hfY4WwGZpHzXVI6eydMkzo5fEeSPUtEEgwPNC+KjiBoY/MRSpyS8ETA+CI=@vger.kernel.org X-Gm-Message-State: AFuF++lkWMH4BL3npg4XSeBzt7sBdrae9+bK4uYgKzRX04ivNHugDhnF iFheJJl4N7ps94gYGUB+AYBcz0T+cTA9+Vh4JEJIX0Rdi9P5iZd20MYY X-Gm-Gg: AYBFou1rzyunzCV+cfKYi7X8gNj0RFYol69B20x8+TPsh3H8gQn6kdIRGopZ5uM1Nb7 BvUyQtMHwQYqCoD7yWuPM5N6s/ecPNsnwp7ONCNP6jKNEB604rtyFeN//REg5nHgLqBxuqOHqeN iBw+hLl9rRmd15IzyAJPHjUW/P6X+Q1AApX0xqVt5x5wQn6YWP9QOY6UKzAduqKWdN/7vUaqZsU Tnu+Wn434jW1QNY/iL0XZsMi2vKXoRPA0sugLWGnSwZv3jzkDXUDtV4Z9ULiyLcSGcoHn3Bi5qZ CgT0CelQyXYnomAcQukULUbCvQeeHTd/FUS/l16RIc0cm6iBbl+0+a+wB6L/xVAKquewWHGzU/x egu62x3fTtNtzkPhtphzHMwLJYK/PPSeyldaANNB/qnhZomj/zYNiRe+FNXRVbhPCB6XyDQYGP6 USWte4cPrMfvsBkmeWFWr3plPw61t/lIgpUEUu6QxTksolxUzE/MZ9v8Y2WilsweoJOZn7XapGz w1ibcwgWXx8 X-Received: by 2002:a05:6a00:b82:b0:857:4dea:e20e with SMTP id d2e1a72fcca58-86942f3f103mr305995b3a.0.1788946081268; Wed, 09 Sep 2026 02:28:01 -0700 (PDT) Received: from Aaron-M6 ([188.253.120.162]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-868e3aaab85sm484904b3a.22.2026.09.09.02.27.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 09 Sep 2026 02:28:00 -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 1/3] dt-bindings: mfd: rk808: add board level power hold GPIOs Date: Wed, 9 Sep 2026 17:27:26 +0800 Message-ID: <20260909092728.1859-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: linux-kernel@vger.kernel.org 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 | 20 +++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/Documentation/devicetree/bindings/mfd/rockchip,rk808.yaml b/Documentation/devicetree/bindings/mfd/rockchip,rk808.yaml index 50dfffa..00cbb27 100644 --- a/Documentation/devicetree/bindings/mfd/rockchip,rk808.yaml +++ b/Documentation/devicetree/bindings/mfd/rockchip,rk808.yaml @@ -43,6 +43,23 @@ 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. + + 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 +130,9 @@ properties: unevaluatedProperties: false unevaluatedProperties: false +dependencies: + power-hold-delay-ms: [ power-hold-gpios ] + required: - compatible - reg -- 2.55.0.windows.3