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 A447532D42B for ; Wed, 1 Apr 2026 06:35:36 +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=1775025337; cv=none; b=IwJ2h/4yFa5aD+0PjSUCjigTNKZGQ+efg32ZFeVdGbb2E1eIeSxjFeIPUUB7pMcBw8UuGeE1a05olurY1/MF+RCX3d2986APCbnW2/H0BGgUL1KyahmM0sYbzlKQC69EAgSFGwujLqzcHfFGxHpYExYoJFOwS6CvnVIrLOsAp3M= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1775025337; c=relaxed/simple; bh=h+6iokKQZz+tTzp0NWNeSPU4XGXWquRPqhH9qv/wUAA=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=PZAB92Sju9/hHHt6WkXyMVGuma+ASo0rtgLN64MJ5gyVIpntPcRHgriFWHhJHKvk9op0BgNwLh+rhROUlTQZBR6t9kpo3cSm74OPZVHV1T/NWapg9mSawXT9KD+bBsowrjfraOp2fB9fArPWe+DevtIoxOaOMagyY3F3377Isc4= 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=lnz5zc24; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b=EFvHG/C1; 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="lnz5zc24"; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b="EFvHG/C1" Received: from pps.filterd (m0279866.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 6315Ykao1831828 for ; Wed, 1 Apr 2026 06:35:36 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= vOXdhdDzApb0jzhJUtIq/M2ueYVWSIdj/ihpXQxGFuU=; b=lnz5zc2428jcxJJ+ 1bMYF9WArX+XrYuWWJW4oGa+Joq+wVxtGsQsgPftncBROcsFvVyIrzLopE/uZpFr iLuXb52Km+dCJvb7/OjQ8v+L9lOiGwteVcWv6tRvQxglpLetCj1FPcZTAO22wnic 0Qm2NdvuFWtrnuXcaxgq99fIQasxStsB58Km7jKVBwIzsyVpVtI8WWAa1O04e9wN NLu18Yvfei2hRHr1Yv7QAtA1AafhZjp/dsqqzxxKJo3Oim/uQDpwUI8rS2ViE9TP uaYOamfkXMtagcwlwLoipLAodCMb3A8gBTYSIworGssOe/mpiAC46OeUl1FHHF2y FYyCYg== Received: from mail-dl1-f70.google.com (mail-dl1-f70.google.com [74.125.82.70]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4d8equcac6-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Wed, 01 Apr 2026 06:35:35 +0000 (GMT) Received: by mail-dl1-f70.google.com with SMTP id a92af1059eb24-127337c8e52so11604053c88.1 for ; Tue, 31 Mar 2026 23:35:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1775025335; x=1775630135; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=vOXdhdDzApb0jzhJUtIq/M2ueYVWSIdj/ihpXQxGFuU=; b=EFvHG/C1kmOGDPi/Pom6uBeGVSLYXLxslRaQq330TXbDHha8ZeyewalO+72EFPzpAg rH73Sa6xSdmCfGbGEGp0qU+RcPXe7OnTD1H9MoNksRW5vRDYHF7fYVj7RXMAVYCSxyjb UCld3gP1vVeWKbsPlmsNhobG8KoPRTxl6HW0EafF3pfGB1kBzCAxrpu1Rkka7+tR3/e3 RxzGL7r6T3syvAB905jveyPiD0dVHK90IpZzCnc91pIZW80mzfMVoGf3MMf9pprqA+Vj Ukh7BpbEYkRBDY8rOGjEJCuLFp1r399XsOZXu7RfIH1pGmjxUtP2xWrLCiPHDh7QprF+ q9ag== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1775025335; x=1775630135; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-gg:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=vOXdhdDzApb0jzhJUtIq/M2ueYVWSIdj/ihpXQxGFuU=; b=btKZWtf51q67D0b+ox04o4t2/dZAevcZypywD+WfJblKmPcHHMvD31r4JEDEO4jHn9 GPX+edA5K+XPGDicOAFE/eXL1uwEStQ01w47/kyDQIvdQzrhammpDiuCLz1U/8qXaoHR rqauGQTUR5hF4fHK5AkRl+2VMd41nBoinlcbuV0k9tUveIEeTarb+Br6CVcKEjxwzmbX he8Rz2ZSJ5ACCLI5MCzJoPlNkfexFjhtykrDWF0DjSbNLL65H7xvXhox/+EGLz24C0IK 3k3ABbrPB9Fc5ERky81vfN4lbn6TarN/bvm28Og+wpOHF8QxHl+s+RMb8OSiGF2cqhR1 ZGMw== X-Forwarded-Encrypted: i=1; AJvYcCWvRti8LL/vGhtD/MaZP0d4F69h++YXh9pnfNYsBBy+OtxsrEwUzct7DOJ2MzWNZbQx+aKOD09lcjj6@vger.kernel.org X-Gm-Message-State: AOJu0YzhEfjBXU3KOAxpHmKR6WT/pypSDaaZnKd3ORysRrzeLzE6A67v HnJvQS1GNOUHyTjulctqW1iS/SG8v9rFGLPkDQwVhLrUtYhHowhi2ICLXfcDvK/iGjdCmSCLGdy JMVozBGAvtxW70mrVjClaqaooLMI8YP3SNJeh+lokugrS+quQ1DzgGatQsko3J3zI X-Gm-Gg: ATEYQzxz7e44A09HAzAuI5EpQriU59hx9aUOXWRIU5fqmBPs2SZ2opUSAa1Ie9pJ23P BUExDvKnAzJkeVDLbTbrKXWjzeNXckpLT5f5xZlkiw9UUtd8mwD1ojO0X7lDR6JkuZFixsTwqxi JxKQrn0e69yTHWh9mCco3M4gofQ699dbHqLmB0QdlosApIkIbHEpzgerlssNknoRy/94f8UYgXV PiMTcXXFcYu9X9iCphCeo3TGhBpvnyR9w1DVQAOxKIkglp7CkHBJFdovgvsMM1g23eOIuMkXdvq XRHyNIC0zGI3YoxtEptFF0wLu7Rb1bNQFbN3w+aFFkn5BpwFFxZsKgZV0tQZEr0lcei7NDUXxFZ PIXlidyuGm1znimexOv6rsWNIbHzJTTSjdJuppefdmJidbqnaZTUu+y7Uggjr69Kylj3Q X-Received: by 2002:a05:7022:62b:b0:119:e56b:958a with SMTP id a92af1059eb24-12be64b5885mr1209382c88.15.1775025335263; Tue, 31 Mar 2026 23:35:35 -0700 (PDT) X-Received: by 2002:a05:7022:62b:b0:119:e56b:958a with SMTP id a92af1059eb24-12be64b5885mr1209364c88.15.1775025334599; Tue, 31 Mar 2026 23:35:34 -0700 (PDT) Received: from hu-qianyu-lv.qualcomm.com (Global_NAT1.qualcomm.com. [129.46.96.20]) by smtp.gmail.com with ESMTPSA id a92af1059eb24-12ab97f6994sm12027550c88.8.2026.03.31.23.35.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 31 Mar 2026 23:35:34 -0700 (PDT) From: Qiang Yu Date: Tue, 31 Mar 2026 23:35:26 -0700 Subject: [PATCH RFC 1/4] dt-bindings: clock: qcom,sm8550-tcsr: Add QREF regulator supplies for glymur Precedence: bulk X-Mailing-List: devicetree@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: <20260331-qref_vote-v1-1-3fd7fbf87864@oss.qualcomm.com> References: <20260331-qref_vote-v1-0-3fd7fbf87864@oss.qualcomm.com> In-Reply-To: <20260331-qref_vote-v1-0-3fd7fbf87864@oss.qualcomm.com> To: Bjorn Andersson , Michael Turquette , Stephen Boyd , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Taniya Das , Konrad Dybcio , johan@kernel.org Cc: linux-arm-msm@vger.kernel.org, linux-clk@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Qiang Yu X-Mailer: b4 0.14.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1775025332; l=1973; i=qiang.yu@oss.qualcomm.com; s=20250513; h=from:subject:message-id; bh=h+6iokKQZz+tTzp0NWNeSPU4XGXWquRPqhH9qv/wUAA=; b=zjvlvfPidMtfsw03SJZXQdGArrrjZcjtFSfDCKrURTOSU4zza+ExjIASSv/GM728Zn/d7x0Ud u10cftkc8EtAcLzZHtMoEC1avGIVTJi3GcJ5AHCUSp8lJzJmXVUi/AN X-Developer-Key: i=qiang.yu@oss.qualcomm.com; a=ed25519; pk=Rr94t+fykoieF1ngg/bXxEfr5KoQxeXPtYxM8fBQTAI= X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYwNDAxMDA1NSBTYWx0ZWRfX4VLfd9sbwXFv Mx5UTtvwWz73V1l6LcLMUhTQEM0jnD4fczC/xiPS3glS7bpkEcJVoVPeVAeYZYCUTjVCliUGvfc RpSOhZi5xWcGBN4s9GGiSTUPtMnE4rOSHQyrU5xKI1FFu+4WmHveovaWvyfsnEQXee5SYRfNSDb GfC5w6PgSqOYJ+Drf+MfVXDwH5dT+wCoBKIfxyBkeaXxJB1nRkXNNBPDQeUFqb8o8kRgOT1Ibfo UTSqFGShfrqq6IQFDTGAxDEzZUk2uz1XKfj2WX2mjM0J18wVQOSdJYJMyIGFt1gV90ebSqtBZJo Jk+FCHry2Zpg/OGUtEOgfjnP/lI0fNW3f4DcohzZYG57Ag5jvNMZ3WEsmy4uIcR++hJLzKFVqTX lc6LeHeo1QEPmMo5enAhAnoIONZTFylvOuakEkpaki4K+a0R0lbNBs5wuoKNSyez20bcwy/8jRH BhVGBTrL88xtwj+X57Q== X-Proofpoint-GUID: xetcebUBuIXIc4rg2vKWUTV0n36v2DG2 X-Proofpoint-ORIG-GUID: xetcebUBuIXIc4rg2vKWUTV0n36v2DG2 X-Authority-Analysis: v=2.4 cv=YMOSCBGx c=1 sm=1 tr=0 ts=69ccbcb7 cx=c_pps a=SvEPeNj+VMjHSW//kvnxuw==:117 a=ouPCqIW2jiPt+lZRy3xVPw==:17 a=IkcTkHD0fZMA:10 a=A5OVakUREuEA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22 a=YMgV9FUhrdKAYTUUvYB2:22 a=EUspDBNiAAAA:8 a=q-kqYbIK7F94m4hkTHoA:9 a=QEXdDO2ut3YA:10 a=Kq8ClHjjuc5pcCNDwlU0:22 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1143,Hydra:6.1.51,FMLib:17.12.100.49 definitions=2026-04-01_02,2026-03-31_02,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 clxscore=1015 spamscore=0 impostorscore=0 adultscore=0 lowpriorityscore=0 bulkscore=0 phishscore=0 malwarescore=0 suspectscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2603050001 definitions=main-2604010055 The glymur TCSR PCIe clkref clocks require regulator supplies for the QREF block and its refgen reference voltage generator. Add the optional supply properties restricted to qcom,glymur-tcsr via an allOf/if/then conditional schema. Switch from additionalProperties to unevaluatedProperties so that properties defined inside the if/then block are correctly recognised as evaluated and not rejected by the schema validator. Signed-off-by: Qiang Yu --- .../bindings/clock/qcom,sm8550-tcsr.yaml | 26 +++++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/clock/qcom,sm8550-tcsr.yaml b/Documentation/devicetree/bindings/clock/qcom,sm8550-tcsr.yaml index ae9aef0e54e8b8b85bc70e6096d524447091f39e..88db650e69ef2388a5bfb6783a57c1d48c0e780f 100644 --- a/Documentation/devicetree/bindings/clock/qcom,sm8550-tcsr.yaml +++ b/Documentation/devicetree/bindings/clock/qcom,sm8550-tcsr.yaml @@ -49,11 +49,35 @@ properties: '#reset-cells': const: 1 +allOf: + - if: + properties: + compatible: + contains: + const: qcom,glymur-tcsr + then: + properties: + vdda-refgen-0p9-supply: true + vdda-refgen-1p2-supply: true + vdda-qrefrx0-0p9-supply: true + vdda-qrefrx1-0p9-supply: true + vdda-qrefrx2-0p9-supply: true + vdda-qrefrx4-0p9-supply: true + vdda-qrefrx5-0p9-supply: true + vdda-qreftx0-0p9-supply: true + vdda-qreftx0-1p2-supply: true + vdda-qreftx1-0p9-supply: true + vdda-qrefrpt0-0p9-supply: true + vdda-qrefrpt1-0p9-supply: true + vdda-qrefrpt2-0p9-supply: true + vdda-qrefrpt3-0p9-supply: true + vdda-qrefrpt4-0p9-supply: true + required: - compatible - clocks -additionalProperties: false +unevaluatedProperties: false examples: - | -- 2.34.1