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 67550426D2B for ; Fri, 5 Jun 2026 06:51:11 +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=1780642274; cv=none; b=eX4rRAA/WV/JYlKAIOeVZY7K4tFl9czDJUW7+GPmncHp8IAoFcEEGFTr8OyGF7+rMhYCRAuEVyjp4IFKhgpZq87hNLczFyliEOYF5vyL5MRES6paEczSiSnW1rNI6APh+J98+/38Ms5PIwsr27o+5/p8CmlLGXwLdN7Nlu3UwgI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1780642274; c=relaxed/simple; bh=YCfSjGROjEv47qln7WDmdcB8PlZa092d99y2hi/y6lQ=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=k26U8KLVnNRj5wGw3tXrqLCXuGEUrC5AoR35zi9CZjPZdtTe+mxkgjmqLn7xXnTBNT2miozNubRiS8AwQT0VXRlE3z0pbw4/0WVRkgW8lOkSWDjgYEyQ6wJm6dfHjwV23k5EJ9pLPu7G/sLPOijwRLg1EyP+o00HNvD29azpDDA= 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=N0G8QUaH; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b=gNdvZ2SI; 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="N0G8QUaH"; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b="gNdvZ2SI" Received: from pps.filterd (m0279867.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 65518Joo3603427 for ; Fri, 5 Jun 2026 06:51:10 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= NMTybuxZsT1BMMYHZbqITe6tCaMwGKIrBzgFt7cf/oY=; b=N0G8QUaHJb0f/p/j m1z9ix02a7ie8Cj3WWckpaT3gg2VLvH4JTd7cY1Ya713zD5mZd1z8yn6kgqiRMvE 8e2V1DWc8PzrLDnQUh8Qhirg1XraCpDV7jb+ih1OpQEFzRNn1fON7S0p6J/Ub1+Y +fJdEa2Zk9Puhj7TuyN1vMFYmExxh2tYPHuCT5w7BQi+xOPN2lk3fyA6JkumJ5MU 5EGxlo13r7RT41T3eBBMcjgk3As7JEoXQPuyjgZpYwJIuISj+KWrZl/Xc3uyDdwY InwDT1gPuHanvkSlaeVPCkPx1JXzfu6dRuVQ9njvFFFjnTkIpR9IFLWxSR/zETW4 jjnhyA== Received: from mail-pl1-f198.google.com (mail-pl1-f198.google.com [209.85.214.198]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4ekmhf92r1-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Fri, 05 Jun 2026 06:51:10 +0000 (GMT) Received: by mail-pl1-f198.google.com with SMTP id d9443c01a7336-2c0c32f4b1bso17021555ad.2 for ; Thu, 04 Jun 2026 23:51:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1780642270; x=1781247070; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=NMTybuxZsT1BMMYHZbqITe6tCaMwGKIrBzgFt7cf/oY=; b=gNdvZ2SI4+vxoU9U/ir1T9z+/2T1kN0qmHDIRKXj8UJEYCfM85hhfeHPV4eEaVERmv KcbZJHPad0ZnlICsjj1EyYBgMdotQrzln7PM82llozIc/WCxua38M95/m8mnziNTNB3K 1/U3eWwHs9pEaJtP5BTOJwV4JPrgCc2qcluO+XEQ3nlaIm4kGThM/JGY3ilkec/ch7Dd NwCD1k3bTPQ3Bf2T3LOkLlhGFd5rLteopmd75eX6CX4NWPjuZBisyCqUOCBJQaOqEKfO mUJqK9TXNgAFUfGaHt3af/wlcyd3dd7DM7h522PKge5jyZnhZRl88Lt8jCBjR94b5DAg 0Tvg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1780642270; x=1781247070; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :x-gm-gg:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=NMTybuxZsT1BMMYHZbqITe6tCaMwGKIrBzgFt7cf/oY=; b=Cp2i1KAtZuYq8ydf3Ctg15cuFpsnOELtvGfEngKCDxqeCYr/QsZS/pqPEFH3Evlo4O QSo8oT9kgk134ckezcc1HYnvlZMV+6eKcnHxmtKCC+FOeZpQTAjC4G2H1bWm7PgWB4hp FMpro7MXWLFhmsFMayNZxn0YJJVp0nNoHwettIt+l78VgR0/nBrmCW2eMGabWKH9qXeg +TTiTBg3MDHpz0f7T5QhYGx77MvkFVq2AFV4gPmaq/IcM/M+EWGTcJkkZrIquLoaXvPr 4wqfR2HBKgwg3K8fuMnXEWQ9caSCsNglrkwkskvGPeW4aLZjfQlob+AYl4U2AheaXqhs vwFQ== X-Forwarded-Encrypted: i=1; AFNElJ+7m5H5dyajimRaZka2iue1RUeXHWFN3qdXd3UaNh6WzlR4Cy9tyWsunDgrU2JJV6nxn1xxq1Am3f3oaXE=@vger.kernel.org X-Gm-Message-State: AOJu0YyfXTlp7/5Lk4E0msFrMldo2zwXEgZLdvfsEPCs4y1iA9P30d/9 IYCSHhnfQyfBMaZTmqHV/XJD6KWi5FqOasDW65TkOmHKqfOJboir7WxYxEf7yd8N4E48kWhlX36 lD2JK8qZfdu4LfIE/ykvt2//96N42yZcwFddqAPrerHvgGNv5VUl4nBRem+gF6H/eMC8= X-Gm-Gg: Acq92OHC2KOJ7yRXnMW43iEczARt6PnB9jYezvGlnPfj41IMiMoxHWPMlxt1dEXwtvG L1WNC2EjTVR9RcRkqV3wQjCwwgiH8SSTJj8FCon/tSymbOwMN4iM7uOlmUnI6ECzwK0PR1mI7gU jCfwyI5Unm/8TtS8ad+APcbBNP6QI0e+3iQQOjFbDhb6xS2brw2YNYB8udavsosJNj6KmHP+oJG pCrMvf10NHwLyVgE6y8qOt3qWLTr2tRikba3sIsBBp4kZuCYamhSypurLE7s02yDd0ERm37OiZ/ bIhScbYPvAoFiN4clUsABaR41AEatnsYlWkM/kXf68jGtkC5b0hqK9jmwzOK19L/FVw6FZe3aCU Fv+cpYn4vv0ARwrsz3G+YvhYOY/RJoNfqEfsh3gg2i9C99vj6kPu6N9IiP9p676ZFxxP7ycU5CY k8 X-Received: by 2002:a17:90a:e70f:b0:368:6a6e:94dd with SMTP id 98e67ed59e1d1-370f0f43e7dmr2694445a91.24.1780642269794; Thu, 04 Jun 2026 23:51:09 -0700 (PDT) X-Received: by 2002:a17:90a:e70f:b0:368:6a6e:94dd with SMTP id 98e67ed59e1d1-370f0f43e7dmr2694418a91.24.1780642269340; Thu, 04 Jun 2026 23:51:09 -0700 (PDT) Received: from [10.151.37.217] ([202.46.23.19]) by smtp.gmail.com with ESMTPSA id 98e67ed59e1d1-36f6c668f90sm6819699a91.6.2026.06.04.23.51.05 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 04 Jun 2026 23:51:08 -0700 (PDT) Message-ID: Date: Fri, 5 Jun 2026 12:21:04 +0530 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 1/2] regulator: dt-bindings: qcom,sdm845-refgen-regulator: Document IPQ9650 To: Krzysztof Kozlowski , Liam Girdwood , Mark Brown , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Konrad Dybcio Cc: linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org References: <20260602-ipq9650_refgen-v1-0-55e2afa5ff64@oss.qualcomm.com> <20260602-ipq9650_refgen-v1-1-55e2afa5ff64@oss.qualcomm.com> Content-Language: en-US From: Kathiravan Thirumoorthy In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYwNjA1MDA2MyBTYWx0ZWRfX45GjBcUQ9sFp z/TjsR7K/C0nHLEq2uUcp4mTUVoH7a1FxpxkP/5EaIKpBVPDnUSHNYJDClMqSxB7nhbTpsprnxR OEeSpvnV23x+D0SSNBIv8S+jKxmP89PbxfmzCNaL3CBDUIHnPQ7PqivCU3z03mUzYXx198UZwt+ Q7UaYoE7yrCJRVJ57e0bI8FOmsLr0nG/VhYVUi7QPfHDveAt/tFcV9eknS7OsQw5DkXMLv4FJw3 jbF7TFalmDVecEJ7qrV9jU24h3OU83CI6UHFuahd43Upqv+gPZAhAKDcPJf3W5JZqZvnIusdg6O 0mvmO+F3gQJ/cgZGszX6tVpJ0x1WAiznHBfNWZn7H+NppZyO6nqWQrHAkTx4pORcZOiRwD938eO Bmp3ozTxe2B+5HgFYqAhZ8dK1cvDQIbLFO3/82J2NF/N3ZrtJUoVqhQ25tcxhljSvvKaTJNU7c2 C+X+dT0mcR06UAanfbA== X-Proofpoint-ORIG-GUID: gltc_EXsr3cHXZKFvhApiA7y9wI73y-O X-Authority-Analysis: v=2.4 cv=dfmwG3Xe c=1 sm=1 tr=0 ts=6a2271de cx=c_pps a=MTSHoo12Qbhz2p7MsH1ifg==:117 a=j4ogTh8yFefVWWEFDRgCtg==:17 a=IkcTkHD0fZMA:10 a=FelO9ux0wxsA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22 a=eoimf2acIAo5FJnRuUoq:22 a=EUspDBNiAAAA:8 a=uTq8weK-lZKwlp8NyDYA:9 a=QEXdDO2ut3YA:10 a=GvdueXVYPmCkWapjIL-Q:22 X-Proofpoint-GUID: gltc_EXsr3cHXZKFvhApiA7y9wI73y-O X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1143,Hydra:6.1.125,FMLib:17.12.100.49 definitions=2026-06-05_01,2026-05-28_03,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 clxscore=1015 malwarescore=0 adultscore=0 impostorscore=0 phishscore=0 priorityscore=1501 spamscore=0 lowpriorityscore=0 suspectscore=0 bulkscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2605210000 definitions=main-2606050063 On 6/4/2026 8:42 PM, Krzysztof Kozlowski wrote: > On 02/06/2026 11:21, Kathiravan Thirumoorthy wrote: >> IPQ9650 has two REFGEN blocks which provide reference current to the PCIe, >> USB and UNIPHY PHYs. Unlike other supported platforms, IPQ9650 requires the >> REFGEN clocks to be enabled explicitly. >> >> Document the IPQ9650 compatible and the required clocks for it. >> >> Signed-off-by: Kathiravan Thirumoorthy >> --- >> .../regulator/qcom,sdm845-refgen-regulator.yaml | 21 +++++++++++++++++++++ >> 1 file changed, 21 insertions(+) >> >> diff --git a/Documentation/devicetree/bindings/regulator/qcom,sdm845-refgen-regulator.yaml b/Documentation/devicetree/bindings/regulator/qcom,sdm845-refgen-regulator.yaml >> index 40f9223d4c27..2686569ca060 100644 >> --- a/Documentation/devicetree/bindings/regulator/qcom,sdm845-refgen-regulator.yaml >> +++ b/Documentation/devicetree/bindings/regulator/qcom,sdm845-refgen-regulator.yaml >> @@ -16,6 +16,16 @@ description: >> allOf: >> - $ref: regulator.yaml# >> >> + - if: >> + properties: >> + compatible: >> + contains: >> + const: qcom,ipq9650-refgen-regulator >> + then: >> + required: >> + - clocks >> + - clock-names > Entire allOF block goes to the end, see example-schema. Since the allOf already at the top of the file, I just added under it. Let me move it to the end. > >> + >> properties: >> compatible: >> oneOf: >> @@ -29,6 +39,7 @@ properties: >> >> - items: >> - enum: >> + - qcom,ipq9650-refgen-regulator >> - qcom,qcs8300-refgen-regulator >> - qcom,sa8775p-refgen-regulator >> - qcom,sc7280-refgen-regulator >> @@ -45,6 +56,16 @@ properties: >> reg: >> maxItems: 1 >> >> + clocks: >> + items: >> + - description: Core reference clock >> + - description: AHB interface clock >> + >> + clock-names: >> + items: >> + - const: core >> + - const: hclk > You just added clocks to each variant, which is not explained in commit > msg. And it would be a separate commit anyway. Probably you wanted to > add proper constraints (:false). Ack, will make the change to define the clock and clock-names only for IPQ9650 compatible under the allOf block. > > > Best regards, > Krzysztof