From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail.prodrive-technologies.com (mail.prodrive-technologies.com [212.61.153.67]) (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 3EBFC2D130B; Wed, 12 Nov 2025 16:33:21 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=212.61.153.67 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1762965205; cv=none; b=RAwLSZJl3SRihDQ1BAJACahLYYWKC6wkPGaQ2E7srJXd2ygnt/JVJW1TH2hEQszdobnJU512LQIoSrDvhkrmynYXHsbemQthrXcNLwo6Ty+Sngca8Zu19Yfy99w+onBY75HaW4vlKlAPw0vsJR03KWPOQvsekVKjFsGXKXgOV4k= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1762965205; c=relaxed/simple; bh=BJUsSrQgecxuE2COo9Thlqf7uzpMVVm9x6+0uvoOg2w=; h=From:To:CC:Subject:Date:Message-ID:MIME-Version:Content-Type; b=FKZ+/l2r7m+Ulb1AoB5pWCMEVLvX8Ei+L1rAklVxCeRNIJ+dxUW95E/1w+26xrOgKepA4sWUMNXmFT+ms+86LZS3j3XO4c1fc+8ZZS4jb9oTvRmtlFKhBEumms/vGHfoPl9NrFJpYKt4TTgsRMnVRWOplQ3NasBIci7xkH8Rp1Y= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=prodrive-technologies.com; spf=pass smtp.mailfrom=prodrive-technologies.com; arc=none smtp.client-ip=212.61.153.67 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=prodrive-technologies.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=prodrive-technologies.com Received: from EXCOP01.bk.prodrive.nl (10.1.0.22) by EXCOP01.bk.prodrive.nl (10.1.0.22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.4; Wed, 12 Nov 2025 17:33:20 +0100 Received: from lnxdevrm02.prodrive.nl (10.1.1.121) by EXCOP01.bk.prodrive.nl (10.1.0.22) with Microsoft SMTP Server id 15.2.1544.4 via Frontend Transport; Wed, 12 Nov 2025 17:33:20 +0100 From: Martijn de Gouw To: Liam Girdwood , Mark Brown , "Rob Herring" , Krzysztof Kozlowski , "Conor Dooley" , Robin Gong CC: Martijn de Gouw , , Subject: [PATCH v2 1/2] dt-bindings: regulator: pca9540: add debounce timer configuration Date: Wed, 12 Nov 2025 17:33:08 +0100 Message-ID: <20251112163311.720331-1-martijn.de.gouw@prodrive-technologies.com> X-Mailer: git-send-email 2.39.2 Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain Make the different debounce timers configurable from the devicetree. Depending on the board design, these have to be set different than the default register values. Signed-off-by: Martijn de Gouw --- .../regulator/nxp,pca9450-regulator.yaml | 24 +++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/Documentation/devicetree/bindings/regulator/nxp,pca9450-regulator.yaml b/Documentation/devicetree/bindings/regulator/nxp,pca9450-regulator.yaml index a5486c36830f0..3d47390f13016 100644 --- a/Documentation/devicetree/bindings/regulator/nxp,pca9450-regulator.yaml +++ b/Documentation/devicetree/bindings/regulator/nxp,pca9450-regulator.yaml @@ -124,6 +124,30 @@ properties: When WDOG_B signal is asserted a warm reset will be done instead of cold reset. + nxp,pmic_on_req-on-debounce-us: + enum: [ 120, 20000, 100000, 750000 ] + description: Debounce time for PMIC_ON_REQ high. + + nxp,pmic_on_req-off-debounce-us: + enum: [ 120, 2000 ] + description: Debounce time for PMIC_ON_REQ is asserted low + + nxp,power-on-step-ms: + enum: [ 1, 2, 4, 8] + description: Time step configuration during power on sequence + + nxp,power-down-step-ms: + enum: [ 2, 4, 8, 16 ] + description: Time step configuration during power down sequence + + nxp,restart-ms: + enum: [ 250, 500 ] + description: Time to stay off regulators during Cold reset + + npx,pmic_rst_b-debounce-ms: + enum: [ 10, 50, 100, 500, 1000, 2000, 4000, 8000 ] + description: PMIC_RST_B debounce time + required: - compatible - reg -- 2.39.2