From nobody Mon Dec 1 22:37:22 2025 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.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 092FF265CA4 for ; Sat, 29 Nov 2025 09:46:17 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=205.220.180.131 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1764409579; cv=none; b=MMz3qeY08UXCfnIiLoWgNsB8FrPQbmlrK6Phtp/MIf1uAtpgO6VT4xvmBKjEXZksuCF2SmxoEU7zEN2Ntbk6KjURfavvPr9eU8kLe+CBTWoiVD1msxz287654wm5B/f8T92d4oGA1THI5696vrTiLSVF/j/appLzZ4ZqaC4NKVo= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1764409579; c=relaxed/simple; bh=uRpd2cn2vp/H3EIwALlopjhJwKq2UcM/mwO6ghYAUeE=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=tskqWA8dvv8P8sGGIwBIVLRGkdDFYOcwzX43xu4D+u81tusC3OxMyFmYpjgggC9R5NY/ItosBSeFSVikfcC1V26+Fs4gS1tgyaW8MXHSg07C/0CUGE+DOUHZl9ylC/yTo9f2UhMb0QUGJBOWw+o50qJ7AnBIlRtEAp9HghGU9eE= 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=boe/txdt; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b=MvIvx/9W; arc=none smtp.client-ip=205.220.180.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="boe/txdt"; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b="MvIvx/9W" Received: from pps.filterd (m0279870.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 5AT3QOOb2085637 for ; Sat, 29 Nov 2025 09:46:17 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qualcomm.com; h= cc:content-transfer-encoding:date:from:message-id:mime-version :subject:to; s=qcppdkim1; bh=cv+2iS7qHjsBq/waCdbpd8WWRy6Fwb6PhkS 0TY3pF6g=; b=boe/txdtHz3aIhmo96ti2OkhcKyIX3U28cMaghzUN2BObJuvCTt /WhMXnxyTsDqdutijRpyBsEYJ6PxoYagNS1plLKxtbWgvEgTr0bjbRh7+aU/eU+d jevhiWsX8ckeNSnu9mT7vTN3Ujnh+RsNdat+Ot267KOfvcCTY5FD58BrqNYps4xF fMPq+GwPyHsHMvk8zjRpIadznEWc2kf1Ouks6k/WLuSf1MqTQ7kAfXBR/TqXnDWA XFfui2RBUdWy4RMfS2HWVK7vIbeFN7XGFRtZVIUie1Lc/fCuaTzwH1tRkNsISvJO oWHgXY4WhD/Bam7bD3Ydvtu3A5JeYLRWemw== Received: from mail-qk1-f200.google.com (mail-qk1-f200.google.com [209.85.222.200]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4aqrwsrf46-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Sat, 29 Nov 2025 09:46:16 +0000 (GMT) Received: by mail-qk1-f200.google.com with SMTP id af79cd13be357-8b2d2c91215so524733385a.1 for ; Sat, 29 Nov 2025 01:46:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1764409576; x=1765014376; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=cv+2iS7qHjsBq/waCdbpd8WWRy6Fwb6PhkS0TY3pF6g=; b=MvIvx/9WmpPqeM7vdxGABt8R0KGt6d1XyegDVz3bbDR2Qts0mIhRx3xdnZMPzBi/LN dM4wGK3zuCyGxEU+U3o0u6pcO0NdyIOsUfQgJpGyaoLnpaIxxdthQdmnSWmncfbeDO9V h2Dlj14bSNsbn6YtMWxtkSn5eO/oR7GnFLdkKa4kGk4OiXkIlYA3nDjcyI+x6mnulrJT firJG8RJ0OMZXi96Ujd65Sw7hfwdbqG2hecsVQDhglKGpld0KFuUFbwdHDcw8d9XK/mo 9eMb3RTboGcYnhK4k/KRLHJKEKTzNzUodX27DvZ9bXh7xQ41KgL25u6nYFCyByXlq5C6 8zdg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1764409576; x=1765014376; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=cv+2iS7qHjsBq/waCdbpd8WWRy6Fwb6PhkS0TY3pF6g=; b=q3ByDDzM9YNDthCrooTNF3R0sLXEDN4H5NUTjXbeeLoLOx5b91OXZ3X31vHxu82XJS AmmNDT3tbUTsl88V8e+4mJ1e5vrGDWwds+Go7OofsALXVJ0L8hQRjyg2sNunnmxsVg0h Uai9BfDwauzwHN99ueiit2CPUTcRl6WbZTEPDw0J31tfjK1/oI1/93Dfrn83P+ucuO0N N/cCEOqUSVZRpcFdchyduBS3Xq+ukOCIq1ZHwONhT45HjMCgHiN73LtTeUCb0m1tT6Tp pyzvQuxttq02k/AaYwacFWX7V3R1rlwmuja1O5eKvDsdPC5jy0Eiu7wv6EVmAK5EK2sZ PZHg== X-Forwarded-Encrypted: i=1; AJvYcCW+FB8VGVRvtbKvDOt7gTbgfSx8B2sJBUbOMTawubTZCrhyAmKL7RvYa4hIOfDHYcoaKIPL5HrfWdb1xPg=@vger.kernel.org X-Gm-Message-State: AOJu0Yyw1KLhpHz3G59nVbK5x3t2cY7vcKKczCN1UTVldyr9EdhPVPFg xOZR49lxEPVtBbarmrVQhjZTQ9yflQm0CyN81XNiJfT1EBp2b2LRtf4W3uUBaQlcEedyWVayug+ moXPqkAZBdoHrl+dw8cXSJTCDvUeu+NjAmDLwP4Lx31COcyIsILj9oMaKIbqANwM0aFo= X-Gm-Gg: ASbGncvQedEwruufQhROI6oO5r0IgnggTCztulTwzcaprS0UOZUaQKJ9dIrSw3o79MM f9Z3WfEBZrhLSFvnoT+couj4A7naLz9e+ZBsF4R69voND0/ZkddCpEJ29rw3/0vFV6hRCoaX4qP w9qgm2s28eyP9PqdFi1B3cOIA5gousuzFKyYPQIU3afeF9uze89HAR23236Gr6b76GdVPdPvqzs bqG8zGwI32dw2aIH6Zny/x2dyIYZ/PIgGZ7VFmJLBp6kWp5rxVKuW2A01Zqj3DHcr8Zf8anHFzY tyxcsMLQ9A8CYgQ6olD9yNM471VV/FKYgyylgOs/069uikFba12uCJtzjjJymaBBd6X0sjbYe2I v0b8yDqD9PMtB2XfF0mZrerJcytNJ X-Received: by 2002:a05:620a:1729:b0:8b3:3879:7dfb with SMTP id af79cd13be357-8b33d269d2bmr4024110785a.49.1764409576175; Sat, 29 Nov 2025 01:46:16 -0800 (PST) X-Google-Smtp-Source: AGHT+IGbxU4P0DNxzVjULeiiVXoLtq1gZ/snvDZrCOwLHi9IB7JWNikxZfAdBZHFLnzoOJ36FCvvxg== X-Received: by 2002:a05:620a:1729:b0:8b3:3879:7dfb with SMTP id af79cd13be357-8b33d269d2bmr4024109185a.49.1764409575696; Sat, 29 Nov 2025 01:46:15 -0800 (PST) Received: from kuoka.. ([178.197.195.159]) by smtp.gmail.com with ESMTPSA id 4fb4d7f45d1cf-64750a90d5dsm6430966a12.12.2025.11.29.01.46.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 29 Nov 2025 01:46:15 -0800 (PST) From: Krzysztof Kozlowski To: Georgi Djakov , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Bartosz Golaszewski , Odelu Kukatla , linux-arm-msm@vger.kernel.org, linux-pm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski Subject: [PATCH] dt-bindings: interconnect: qcom,sa8775p-rpmh: Fix incorrectly added reg and clocks Date: Sat, 29 Nov 2025 10:46:13 +0100 Message-ID: <20251129094612.16838-2-krzysztof.kozlowski@oss.qualcomm.com> X-Mailer: git-send-email 2.48.1 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Proofpoint-Spam-Details-Enc: AW1haW4tMjUxMTI5MDA3NiBTYWx0ZWRfX/5uCLNJwbWLs Cz/nQpjckTfpA8y5zA2LMxssFoqdHv+GuulJ9FU1Gt3+zH9rt60U1/h5VMrQiqKHtbi++qOhDQ+ jradN6XvmzZGA/82d353QGpBacVBxmzFU/IUcfb9lsIbnOCHHKyZ8VP0wthGK5W/kMFNVhwJqgs 376s8PrH09UlJyOBelB1Z6gaxXXRrFgHxTwkZJE9E5hawXuaKZj4GC1qU4d20ykhtO98E2NaaEm 6x90uvAhAv4J/sNHhfdIokcmwP4ZTtdvhcd6nTgM3GhPYDQ2TYo7SDnDjrHWzg844PpVCKvODLZ hwPevbqS8at6XI7T0BvlJLYpe4RstSY8swgUoT9mdLhti36xjwh/4B8u1n2nsxrA8pjdKVwuwJz LP6w+bKlZMX0/Zcg1Ovh96qhFNGLYg== X-Proofpoint-ORIG-GUID: eyIjWdsk48yMaSxXVTnFCQZ5krMQnaA9 X-Authority-Analysis: v=2.4 cv=WONyn3sR c=1 sm=1 tr=0 ts=692ac0e8 cx=c_pps a=hnmNkyzTK/kJ09Xio7VxxA==:117 a=FPK7cjBCgYbqzSTDLBmM0Q==:17 a=6UeiqGixMTsA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=EUspDBNiAAAA:8 a=gkUskBmUj5qaP5BcApMA:9 a=PEH46H7Ffwr30OY-TuGO:22 X-Proofpoint-GUID: eyIjWdsk48yMaSxXVTnFCQZ5krMQnaA9 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1121,Hydra:6.1.9,FMLib:17.12.100.49 definitions=2025-11-28_08,2025-11-27_02,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 phishscore=0 priorityscore=1501 malwarescore=0 clxscore=1015 lowpriorityscore=0 bulkscore=0 suspectscore=0 impostorscore=0 spamscore=0 adultscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2510240001 definitions=main-2511290076 Content-Type: text/plain; charset="utf-8" Commit 8a55fbe4c94d ("dt-bindings: interconnect: add reg and clocks properties to enable QoS on sa8775p") claims that all interconnects have clocks and MMIO address space, but that is just not true. Only few have. Bindings should restrict properties and should not allow specifying non-existing hardware description, so fix missing constraints for 'reg' and 'clocks'. Fixes: 8a55fbe4c94d ("dt-bindings: interconnect: add reg and clocks propert= ies to enable QoS on sa8775p") Signed-off-by: Krzysztof Kozlowski --- .../interconnect/qcom,sa8775p-rpmh.yaml | 31 +++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/Documentation/devicetree/bindings/interconnect/qcom,sa8775p-rp= mh.yaml b/Documentation/devicetree/bindings/interconnect/qcom,sa8775p-rpmh.= yaml index 71428d2cce18..3dbe83e2de3d 100644 --- a/Documentation/devicetree/bindings/interconnect/qcom,sa8775p-rpmh.yaml +++ b/Documentation/devicetree/bindings/interconnect/qcom,sa8775p-rpmh.yaml @@ -74,6 +74,37 @@ allOf: - description: aggre UFS CARD AXI clock - description: RPMH CC IPA clock =20 + - if: + properties: + compatible: + contains: + enum: + - qcom,sa8775p-config-noc + - qcom,sa8775p-dc-noc + - qcom,sa8775p-gem-noc + - qcom,sa8775p-gpdsp-anoc + - qcom,sa8775p-lpass-ag-noc + - qcom,sa8775p-mmss-noc + - qcom,sa8775p-nspa-noc + - qcom,sa8775p-nspb-noc + - qcom,sa8775p-pcie-anoc + - qcom,sa8775p-system-noc + then: + properties: + clocks: false + + - if: + properties: + compatible: + contains: + enum: + - qcom,sa8775p-clk-virt + - qcom,sa8775p-mc-virt + then: + properties: + reg: false + clocks: false + unevaluatedProperties: false =20 examples: --=20 2.48.1