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 A52F728DB49 for ; Mon, 4 May 2026 07:17:44 +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=1777879065; cv=none; b=gLmF4JKThtpJB/UTnbtN2m4gNkcNQ7U3tSAKTVUCFvzd3O2Ji+/zBlhx+IS2eVilZVBFjBq1m/Xbj5Dz9MpbD69rpQl3bafGQcZatg3Fo0OcKEEiNfGHAto7hUvMWq/5l08+rFZqLl3cEVDuGSrIPGFVyphoJFR2ILakPfsEN3g= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1777879065; c=relaxed/simple; bh=S2ywDK9Z/XmW1DdLWAaR4LWz/VfKoc196yZKCu9VRe8=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=vCv4GDsPlO1Qqa4rU/EBcT5Im6Cow20a8+nT1ogZpwLAk/rVif9nnMKAalknqXQ/zJQNxvwEFUb+1g4Pd8LN/jeB458nZcRVZ4kg/y6a5YPsv+zezqASpBeO9cEJfBll0DoA9/dEcvRddd3RkYB+C3NcY0iw+rOI9RFONCcMSD0= 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=BNqx5rRb; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b=XzcQ02vj; 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="BNqx5rRb"; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b="XzcQ02vj" Received: from pps.filterd (m0279862.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 6446DJlj875772 for ; Mon, 4 May 2026 07:17:44 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= BvsC7vS8QiLKFxVRhuJGpH17bq45h1P4AoYtDVy8ksQ=; b=BNqx5rRb5CIcNCsR CNREwUAaymoTDVT0u8XlDeYGV1R2XAXtW3omxdfQ4gLcHFfzCabL41ziaCJlUbwM krOuToYz4xZtgqy25I1/U6cBrBfgZ06SlImH7hldqxYvOSLgFAcC7S9GCo1xN8Kx UXZJuEPcCfwIv+4QahndXKtMD33k9GF2tsKpivl+/LFzOehQo2Feu6oHu7/VQk2Y gv8sRQ1X7CzVpIVHd7EP3Fd/gRKCgILJX8Bf0yEsa8f2DxoDzK02XKR1PjEpHnyv HQWiZ2qyx/KaPbEDLhOaymJyKA062C1BD5uEbDVojHEE1EN3pkGBBqP7DBsmd19u JDhnhA== Received: from mail-pj1-f72.google.com (mail-pj1-f72.google.com [209.85.216.72]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4dwa1emmq0-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Mon, 04 May 2026 07:17:43 +0000 (GMT) Received: by mail-pj1-f72.google.com with SMTP id 98e67ed59e1d1-358df8fbd1cso4713241a91.0 for ; Mon, 04 May 2026 00:17:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1777879063; x=1778483863; 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=BvsC7vS8QiLKFxVRhuJGpH17bq45h1P4AoYtDVy8ksQ=; b=XzcQ02vjl8t+OE7AZZ35GNpf9cmA8lRVD2AAUIIpK+y2DQvRH1cL2OqCFIX8GSu0l4 MFmO7eeFLdi4FBsoC9kVeiqsXZJ+kSIixTiXy1sUKFuzG86in7e0jBZif9CKdQNBKLht 3c7ZiLF3BuGPW509Mo5afcPVE+x3lzDk6zyz0cd9nWWfESdm/VghIz6E3S8dJlKm/aHn tk8ZCG7+hvankfexyPqm87UQm5TL9kO0lIQutRs9IX7ajLHNYeJw9v1eDJ351vBzcNWt /pj9YThRLtyqCxAUxIeUrestbZ/Q25coG8qMwvXeKCPpOCcMLtk+TdGMXI72MaDgruTJ MUbw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1777879063; x=1778483863; 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=BvsC7vS8QiLKFxVRhuJGpH17bq45h1P4AoYtDVy8ksQ=; b=cK1zPLFxAlm8zBsYW1LL8m6R1YDBpK4r8LqbMB5Pf/imtiCaSJOU0f1KKw3JyjgZxi X22wW3a1XQ8f5WQBzCDSD2Cogo+rF0OTx/sXzJysZwdmvlWyJRqMEFMt8Jt664V/BVjN 1YLr6TAVSiMZJe8UaRzMeUnqoXV4x48r/uO/morcX6N3zsQZY3skwxcpB0DZG/OvU76A VqS4UJGbb6k1IHXVG31od9l7B63nQpFOqKTnQoIYIerxheTpgKHMkf3yVgKAVCNsIjm5 bBgQHolTusEHnW6XVJKRLexXCXrhm09LDS8H4ZgUmgxxKrZNZInwal1zHN4SfzioE5WX Mjng== X-Forwarded-Encrypted: i=1; AFNElJ8QkhepHgYE2A/26WMv8WwptyuXSGDduF+TdGmU1eRgegJ2aKubIv8MR5cprvek7NX15AwH6FbarL1F48w=@vger.kernel.org X-Gm-Message-State: AOJu0YxC+BJ3+aXVbC9GdNPX0J6tQ3k2uk3ZgTArh2olKfm/9KzMctyU QQBVtvrs/I6ZBx9wKe9LoWZi85db5k8Tp8hz2xLkcnVWKqn1cR2neIZVcRrZIsU70a+Ci40vBxv hJbAiR42BUWcvv+x/5TwQE4CcLRN6yVA5xHS6cHDAOXpg2QpHV4vGtac8Qm57PfA6ZIA= X-Gm-Gg: AeBDieuGbHYUJt5z0SAVJ8+SODtdS0WCYGncDqXyieQmhuKywSweHbegwr6OnMhTUV7 WxBdqWIxvXuLOOtoDqzk9MkTn1wfQAZMRzwZvJZiL+B1qlnmCDtHlVYjJ9nbsmFhX2X25WI8Ihc 3JpEoC+0t37BinQ1QFpLeto5/U9dsYHZX3v63pxePUzPpQfaPeGTt+BtMVa4goHUeapKcvHgeru gqitG/fBLgB+nanVWleB+n1ZloBhmzZSFM4q5LcRy0/rqKwjv/fLxvZYhgSQHT+KajSLHcakjCm nXFRm/Ax8y9mvhIHhj6m2Iyr+RUSY1yWW7JQwY4P1hY2v4KXmMPBU06Bp29t+WajZ1bLBVfMceV DQiUn6gm073vE857HhUhaA8/kY6GRVqzHRJfxRyW4saVuAH0xPRgV0Gr4ssKZq83Zexs1VvTx X-Received: by 2002:a17:90b:33ca:b0:35f:b1f3:ac12 with SMTP id 98e67ed59e1d1-3650cd08154mr8172123a91.4.1777879062780; Mon, 04 May 2026 00:17:42 -0700 (PDT) X-Received: by 2002:a17:90b:33ca:b0:35f:b1f3:ac12 with SMTP id 98e67ed59e1d1-3650cd08154mr8172109a91.4.1777879062217; Mon, 04 May 2026 00:17:42 -0700 (PDT) Received: from [10.218.15.248] ([202.46.22.19]) by smtp.gmail.com with ESMTPSA id 98e67ed59e1d1-364bdf2a71bsm13571815a91.1.2026.05.04.00.17.38 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 04 May 2026 00:17:41 -0700 (PDT) Message-ID: Date: Mon, 4 May 2026 12:47:37 +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] dt-bindings: interconnect: document the RPM Network-On-Chip interconnect in Shikra SoC To: Krzysztof Kozlowski Cc: Georgi Djakov , Rob Herring , Krzysztof Kozlowski , Conor Dooley , linux-arm-msm@vger.kernel.org, linux-pm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Odelu Kukatla References: <20260429-shikra_icc-v1-0-e3439903edf1@oss.qualcomm.com> <20260429-shikra_icc-v1-1-e3439903edf1@oss.qualcomm.com> <20260503-enormous-benign-salamander-8d074c@quoll> Content-Language: en-US From: Raviteja Laggyshetty In-Reply-To: <20260503-enormous-benign-salamander-8d074c@quoll> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Proofpoint-ORIG-GUID: ylWiT05VRSAMKQpfb1lizl-Sqk3FQ5wY X-Proofpoint-GUID: ylWiT05VRSAMKQpfb1lizl-Sqk3FQ5wY X-Authority-Analysis: v=2.4 cv=e7U2j6p/ c=1 sm=1 tr=0 ts=69f84818 cx=c_pps a=RP+M6JBNLl+fLTcSJhASfg==:117 a=fChuTYTh2wq5r3m49p7fHw==:17 a=IkcTkHD0fZMA:10 a=NGcC8JguVDcA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22 a=_K5XuSEh1TEqbUxoQ0s3:22 a=gEfo2CItAAAA:8 a=EUspDBNiAAAA:8 a=yHlWrU9OV0gRyedkY6sA:9 a=QEXdDO2ut3YA:10 a=iS9zxrgQBfv6-_F4QbHw:22 a=sptkURWiP4Gy88Gu7hUp:22 X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYwNTA0MDA3NSBTYWx0ZWRfX0COiEsP23Mkl hfxNG4td/dXFPe8EXzfRPq494INWQvFrBL8h0c1QitwSxjzl3qf+u9AjJCEfQxJ+r+3h/iwwl96 kXghKK9yHWdx21ASzczDxo2M/PeLwYAgeARNUL0IQ1xdsSL8IcNhgSPf5sKcQmB9JUXfEOTF3Nz BznRx2R8e8jV0HzAUQFMo40ZgHcqDWEOKq+LohH8YwBj/BfphKZPxXQ0aM7Cwexq/k8IKG/xqlj DiZBU3A13L71cAHIRo2LkAeyW0B2UNi32RYY9yrTKCRAmbWA1ibDG6nsbgfPEa6Ups4Yw7xz25n UjXkeB3ALCqKSUFXJV4/yhv1e5Gz2x+7cF2YM2Fu0C3wJNdnRqdwyp+JkpUCFjKRShLLuahqwyD V3rZF12C82JGwqabEuA01iTA6zYJyGC1YDid9z9Fv/s+4yjHKRJWD94EPyDWjoZrXzaU8DvMRUK w888rWAuxnXGFyFTD0w== 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-05-04_02,2026-04-30_02,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 spamscore=0 suspectscore=0 adultscore=0 lowpriorityscore=0 priorityscore=1501 bulkscore=0 clxscore=1015 impostorscore=0 malwarescore=0 phishscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2604200000 definitions=main-2605040075 On 5/3/2026 9:47 PM, Krzysztof Kozlowski wrote: > On Wed, Apr 29, 2026 at 02:03:48PM +0000, Raviteja Laggyshetty wrote: >> +++ b/Documentation/devicetree/bindings/interconnect/qcom,shikra.yaml >> @@ -0,0 +1,135 @@ >> +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) >> +%YAML 1.2 >> +--- >> +$id: http://devicetree.org/schemas/interconnect/qcom,shikra.yaml# >> +$schema: http://devicetree.org/meta-schemas/core.yaml# >> + >> +title: Qualcomm Shikra Network-On-Chip interconnect >> + >> +maintainers: >> + - Raviteja Laggyshetty >> + >> +description: | > > Do not need '|' unless you need to preserve formatting. I will fix it next revision. > >> + The Qualcomm Shikra interconnect providers support adjusting the >> + bandwidth requirements between the various NoC fabrics. >> + >> +properties: >> + compatible: >> + enum: >> + - qcom,shikra-config-noc >> + - qcom,shikra-mem-noc-core >> + - qcom,shikra-sys-noc >> + >> + reg: >> + maxItems: 1 >> + >> + clocks: >> + minItems: 1 >> + maxItems: 4 >> + >> + clock-names: >> + minItems: 1 >> + maxItems: 4 >> + >> +# Child node's properties >> +patternProperties: >> + '^interconnect-[a-z0-9]+$': >> + type: object >> + description: >> + The interconnect providers do not have a separate QoS register space, >> + but share parent's space. >> + >> + $ref: qcom,rpm-common.yaml# >> + >> + properties: >> + compatible: >> + enum: >> + - qcom,shikra-clk-virt >> + - qcom,shikra-mc-virt >> + - qcom,shikra-mmrt-virt >> + - qcom,shikra-mmnrt-virt >> + >> + required: >> + - compatible >> + >> + unevaluatedProperties: false >> + >> +required: >> + - compatible >> + - reg >> + >> +allOf: >> + - $ref: qcom,rpm-common.yaml# >> + - if: >> + properties: >> + compatible: >> + const: qcom,shikra-mem-noc-core >> + >> + then: >> + properties: >> + clocks: >> + items: >> + - description: GPU-NoC AXI clock >> + >> + clock-names: >> + items: >> + - const: gpu_axi >> + >> + - if: >> + properties: >> + compatible: >> + const: qcom,shikra-sys-noc >> + >> + then: >> + properties: >> + clocks: >> + items: >> + - description: EMAC0-NoC AXI clock. >> + - description: EMAC1-NoC AXI clock. >> + - description: USB2-NoC AXI clock. >> + - description: USB3-NoC AXI clock. >> + >> + clock-names: >> + items: >> + - const: emac0_axi >> + - const: emac1_axi >> + - const: usb2_axi >> + - const: usb3_axi >> + >> + - if: >> + properties: >> + compatible: >> + enum: >> + - qcom,shikra-clk-virt >> + - qcom,shikra-config-noc >> + - qcom,shikra-mc-virt >> + - qcom,shikra-mmrt-virt >> + - qcom,shikra-mmnrt-virt > > This if is pointless here, changes nothing and not really correct. Drop > it, I will fix existing bindings. > > OTOH, do all NoCs have children? If not, the patternProperties should be > disallowed for such cases. Also clocks should be restricted, see my > patch: > 20260503161653.60785-4-krzysztof.kozlowski@oss.qualcomm.com > Only system_noc has children, rest of the NoCs don't. I will update the bindings to 1. disallow the patternProperties for the NoCs which don't have children. 2. drop the redundant clock property check for child NoCs at top-level allOf:if:then:properties:. Thanks, Raviteja > Best regards, > Krzysztof >