From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) (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 08A80515997 for ; Thu, 1 Oct 2026 12:47:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=205.220.168.131 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1790858827; cv=none; b=eggr8cmvuwPIzPqz4e3dLXM1Q1f1aB+qOmwc6MDX4/mg1U906cKIZqwSZgw5q8GyAiFBxjLTjE1xctg689yw8a2VID7HBCJYdX4gvowxvXY5lmNRtPLrwQUYSgXWfY0Y/Q2OK0k8FA4LOC1jb9lqVyedV40OyVMg9fIDj/+aTwI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1790858827; c=relaxed/simple; bh=6tlCPBQqSMxcoVXtilOkI4PTIRoLgatFwb92wyZ/NXA=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=S+10SYNH4p0C7R3w0WMQXP90hyWIOXDtMMQcNpPQ7Nr0/cwoBbsMqoPh2HLPTywxznGiPfJOhcSoHtTQTvUb86uEnlmaqJXjf5+6/7T8ho7KzXdNh+vqwpLUnT8oCV5hjiQqB+LJfJjvgskS7ZTJvpmABksUDGfIN4gG2Yv7X+E= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=oss.qualcomm.com; spf=pass smtp.mailfrom=oss.qualcomm.com; dkim=pass (2048-bit key) header.d=qualcomm.com header.i=@qualcomm.com header.b=YIlOyC90; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b=Ejb6+3+f; arc=none smtp.client-ip=205.220.168.131 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=oss.qualcomm.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=oss.qualcomm.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=qualcomm.com header.i=@qualcomm.com header.b="YIlOyC90"; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b="Ejb6+3+f" Received: from pps.filterd (m0279863.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 691CVLAj1932307 for ; Thu, 1 Oct 2026 12:47:03 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qualcomm.com; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to; s=qcppdkim1; bh= gx7XquVkrYTfZBCGvyqx6Cyz/aYbbdYjH1W5oDABB1g=; b=YIlOyC90XNammilL l3wTRW2vJOtE0wptkvIxIZqCLke61Kkszu9jNooJL4Xs9qi15HZCbL2tWt31AQy/ dEek/947FxFaFkPIBK/w1pkxwn0ioAfX69VyOkBil+RYhWZDu9exekht5IlS0qjN 2xSPNeMaO2vTcap7QaaGn0QVUOqUcEw+cHGmcHPl/C9Kh4ygbq8uPDAOmPMQ71i0 czN558efSTZ3xeBcRJM1a7Fgye/7kWHt2m+vaDxQXRTC4RaEP4u6oFeWhuvg4hsP 4U8pIgI19LMPeuDcegO7xGGWpFZTkA9SYBecvqVyBZCof1SxtpmzFccJ/MSnfHoH ZESvPw== Received: from mail-pj1-f69.google.com (mail-pj1-f69.google.com [209.85.216.69]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4h1bh5ayma-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Thu, 01 Oct 2026 12:47:02 +0000 (GMT) Received: by mail-pj1-f69.google.com with SMTP id 98e67ed59e1d1-3a0f55a3941so6272380a91.3 for ; Thu, 01 Oct 2026 05:47:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1790858822; x=1791463622; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :content-type:mime-version:subject:date:from:from:to:cc:subject:date :message-id:reply-to:content-type; bh=gx7XquVkrYTfZBCGvyqx6Cyz/aYbbdYjH1W5oDABB1g=; b=Ejb6+3+fl5QcXy/UO/2fIGOhCbYQK91VXykTO9Hy5b0H0JUDTl2OpH5DHiEuJrcwnH sHExCGDPaNtzT9UlutVxMjh0Ds706Dw94EnMMKubGTq7p2pga8gyW8ZuT39ZCysH3Z+c xrZx/AnXsoL7OLwLLD24gHLbnbMiGoUl5IrZ7kBWrXczeVq9sSgm9jUObKgL/xjPBJ8b 4NcquVus8IvqLqR1kM6XWKYISn6kTPu7EcA6TNacvWhYHdxl2YkK1XnZNNmSQBticGxW ZKH4pu5K0DmHlQBTYyH1TAeBEtgzsC15GT647hIYWazQlhMMBb3431dYT53lldQIWlZX baIQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1790858822; x=1791463622; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :content-type:mime-version:subject:date:from:x-gm-gg :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to :content-type; bh=gx7XquVkrYTfZBCGvyqx6Cyz/aYbbdYjH1W5oDABB1g=; b=hz+KOp8pJ4D+3kyqY711nRG1Xyn9cdGamZV6DQFl+mZJqKIu5YgqXboo9HyA1pbpS5 DxfA4WUi6QJqxhRmQYcamoedenuFp1RHEpUaUMirg3DHrCteow7MY0ykJDIY4v+uTK3i hjn9QuOgHpQ34I4OBARLczo9qcQP5sr5oEQio7Auy9oxXrbpAKKmkqMH5Lbq0SfpooxA MfNGx22ZUb5SABVGPgkdJavGXTeZA9lwfRFuEEVlBCBwLFndK45ETEyxxXd6ysIOSf6j PNwoY/QYh4auiDUe/0kxVFEqZEYiclaoQ/6Cct8fn1rNS+1rnMO6lX+Wm6v+6+5+bk2u ltXw== X-Gm-Message-State: AFq9FYItOcaMHgVwW0i6ex+2YfohcEInTnOt7wfmhVVWG4zWxNPzEBAm aYXM7LCutf36CGqrRGPUj4QnavFj78mivhZgV4+YBYPcN/CECZHhOOTGB9oBFPCn4XAxdRF6wZg cnnxSliZpMk4HMga2b5U3MAC7zPwuX/xo5+BJmDFKwzmivQI8sfXTNnL8pP9Lqhxp3dA= X-Gm-Gg: AYBFou1V7i1SW9eDVTe1JGCcDlndri+p3z0nzVwuxjCa/R6mPIxWj6gHFvJh84E5+ki aaPBpPpu9kPKl7qqTcZ0vG1jxZoAxj5crLNSfoxNrI1UdBGYo3gX6LZXnlzDuNDb4wyg60kHoT9 d8tiyW9Pd4XraQsdGr6I36nP16wbsG0U8Da5mF4W4e2pS/NENVyww0DWZSNz4DliqGoyy76qINk 2XIzpKtJKWV5CadR2GQ1U6d5hd16bcIpjIvUdFxg1+8NL4vNLNAf6Sknr79PVBz8S2rcMpckkGe C1E8p7YpVO9mRiIOI7gVzUp2VWR+viAe68jHE86E5+wHBeml8LycgeBJHpZT+NiEMeKjhrEwY8l aIATF9QkqeZYIYt2Pgo4= X-Received: by 2002:a17:90b:1a92:b0:3a2:b20f:21b2 with SMTP id 98e67ed59e1d1-3a4d0f022afmr4109382a91.8.1790858822171; Thu, 01 Oct 2026 05:47:02 -0700 (PDT) X-Received: by 2002:a17:90b:1a92:b0:3a2:b20f:21b2 with SMTP id 98e67ed59e1d1-3a4d0f022afmr4109352a91.8.1790858821695; Thu, 01 Oct 2026 05:47:01 -0700 (PDT) Received: from [10.213.109.130] ([202.46.23.25]) by smtp.gmail.com with ESMTPSA id 98e67ed59e1d1-3a4f479dc9fsm4567467a91.15.2026.10.01.05.46.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 01 Oct 2026 05:47:01 -0700 (PDT) From: Jishnu Prakash Date: Thu, 01 Oct 2026 18:16:30 +0530 Subject: [PATCH v4 3/4] regulator: dt-bindings: qcom,rpmh-regulator: Add debounce delay property Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20261001-regulator-off-on-delay-v4-3-258ba9612da8@oss.qualcomm.com> References: <20261001-regulator-off-on-delay-v4-0-258ba9612da8@oss.qualcomm.com> In-Reply-To: <20261001-regulator-off-on-delay-v4-0-258ba9612da8@oss.qualcomm.com> To: Liam Girdwood , Mark Brown , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-msm@vger.kernel.org, Manivannan Sadhasivam , Kamal Wadhwa , Saikiran , Jishnu Prakash X-Mailer: b4 0.15.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1790858803; l=2783; i=jishnu.prakash@oss.qualcomm.com; s=20251014; h=from:subject:message-id; bh=6tlCPBQqSMxcoVXtilOkI4PTIRoLgatFwb92wyZ/NXA=; b=HvbdIjGg/48LiXQtEk7r/pVCd+EaNdhLzbrS/0UtdBYXN/SvhyUM+oBaGhRp4t0ulLbVe17vK bPc8xQ1GqvcBgThPLB9pHsMNQ2XH41kgRPrYWvHwAGqIhtGZg3lqLvg X-Developer-Key: i=jishnu.prakash@oss.qualcomm.com; a=ed25519; pk=g89pXdLVwRjdTeQ+uX1QzvBO346E3hQAc1N7fcTXgmk= X-Proofpoint-GUID: 0oPxlJc3Xk8x4LKIXWx9hcgw6ZaZuWSP X-Proofpoint-Spam-Info: AW1haW4tMjYxMDAxMDA1MCBTYWx0ZWRfX10kNxL3lE6gW 0OAcIohHdZ2J+C42bBbAUHXo7JbMeuswIbZujXBz89dkYupbSE3BLQx9Vr1aYVXHLAlf31Tv0ep qGiOgJR7yAGSUMfANO1gKdT2KRo3jzU= X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYxMDAxMDA1MCBTYWx0ZWRfX0Phsdvcdaz3W m9p4ve2j1FRlc1w4B+H2Ga6xUZH0Pm1Iv+YVgWJfvKWdySNSnoJtnZuAPbOQ2bjHx4L1+MlEr1/ GXrelmAoDCLxbD0KNIc8s5KVe7DzRHocqpyuUAQh7kxgU+sRKIJMiZX/FLfXm4ovudXVToexl96 mmgedNAPDREsNPGPdOnVVhirH7ndh3Vnr7BaoGVRaJONPF5DfWtSKFj5ZyFge8mzD0/pp/IVhE7 uxKCcRTU5+hmXIFwAODp78SzSR+k8SpZuQxyILdRMElwzsxTc3Uj7BA0wM2bCAkAIUNNHQRxu4f zJ5LwzAeSJ7Sv9ZoVCc2K+EzObR/1dz5Er0pf4Sa5nXAgkau0bTxkyweu/ZkwNmW4jGTfA0Kch+ YK7rDFzJmq3bopyXujNLMaYc6AaStwh2RpOR0aw+Ut6Iagr4/aM7ZsoNRbw+FHsYji9rshUihxe uHOoEB0AZOX5KLktAMw== X-Authority-Analysis: v=2.4 cv=NuxE4MdJ c=1 sm=1 tr=0 ts=6abe5646 cx=c_pps a=vVfyC5vLCtgYJKYeQD43oA==:117 a=ZePRamnt/+rB5gQjfz0u9A==:17 a=IkcTkHD0fZMA:10 a=660iZSQnnn4A:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22 a=yOCtJkima9RkubShWh1s:22 a=EUspDBNiAAAA:8 a=fIv7m2FGvZx8uhHzWWEA:9 a=QEXdDO2ut3YA:10 a=rl5im9kqc5Lf4LNbBjHf:22 X-Proofpoint-ORIG-GUID: 0oPxlJc3Xk8x4LKIXWx9hcgw6ZaZuWSP X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1176,Hydra:6.1.134,FMLib:17.12.100.49 definitions=2026-10-01_03,2026-09-21_02,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 clxscore=1015 spamscore=0 phishscore=0 bulkscore=0 impostorscore=0 lowpriorityscore=0 suspectscore=0 priorityscore=1501 adultscore=0 malwarescore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2609040000 definitions=main-2610010050 Add 'qcom,regulator-off-debounce-delay-us' to describe the time to wait for an enable vote after a disable vote, before actually sending the disable request to RPMh. Some consumers toggle a regulator off and back on in quick succession as part of their normal operation, a behavior this driver has no control over. The appropriate debounce window to absorb this varies by which consumer(s) are wired to a given rail and how they use it, so it is exposed as a per-regulator property rather than a fixed value. It is placed in the qcom,rpmh-regulator binding and vendor-prefixed because the underlying deferred-disable mechanism is specific to this driver's RPMh command handling. Assisted-by: Claude:claude-sonnet-5 Signed-off-by: Jishnu Prakash --- .../bindings/regulator/qcom,rpmh-regulator.yaml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/Documentation/devicetree/bindings/regulator/qcom,rpmh-regulator.yaml b/Documentation/devicetree/bindings/regulator/qcom,rpmh-regulator.yaml index eed2ce7fa861..a028f1a9c194 100644 --- a/Documentation/devicetree/bindings/regulator/qcom,rpmh-regulator.yaml +++ b/Documentation/devicetree/bindings/regulator/qcom,rpmh-regulator.yaml @@ -135,6 +135,15 @@ properties: $ref: regulator.yaml# unevaluatedProperties: false description: BOB regulator node. + properties: + qcom,regulator-off-debounce-delay-us: + description: + Time in microseconds to wait for an enable vote after a disable + vote, before actually disabling the regulator in hardware. This is + needed for consumers that may toggle a regulator off and back on + in quick succession as part of their normal operation, a behavior + this driver has no control over, so as to avoid needlessly + power-cycling the regulator in hardware. dependencies: regulator-allow-set-load: [ regulator-allowed-modes ] @@ -144,6 +153,15 @@ patternProperties: $ref: regulator.yaml# unevaluatedProperties: false description: smps/ldo regulator nodes(s). + properties: + qcom,regulator-off-debounce-delay-us: + description: + Time in microseconds to wait for an enable vote after a disable + vote, before actually disabling the regulator in hardware. This is + needed for consumers that may toggle a regulator off and back on + in quick succession as part of their normal operation, a behavior + this driver has no control over, so as to avoid needlessly + power-cycling the regulator in hardware. dependencies: regulator-allow-set-load: [ regulator-allowed-modes ] -- 2.43.0