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 CAF2C133987 for ; Tue, 18 Mar 2025 10:28:19 +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=1742293701; cv=none; b=E4n7JbBUP9ogmEHoVc/eWMi3ytaYXNExbJusiPMEh4+tY69ls12usLH19+MM03f/FMF6XzYmkiq3EhfmlityDFOBNR7O+x3brMNKcAw6xj4j6twcN+hcNB+R4dWbNTFtti+Gk53tu8Tyfw3i6M8AVBqrUck2GBLLWNrzSPkBhr0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1742293701; c=relaxed/simple; bh=YFD+5zyoQYIS6DbLnJmF31CAEz7Hg2/K2iCvbLFbfcs=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=E5CZaEjQy3AJ2QlcxK0RcJ0nsfuJx/zGJi4WPFqlGeeGUoRaBM7DD8NznjeMzisMITB22Fdd6uEExvtYjnKsireLoTfKL9wMl2qVc4sokz23RJKqB/GknOwKy3tnM1Wqr2FTVzpppjE6HYp0HhIAsZxFWn1oH8QwQ27QXndwkvk= 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=CrzOBCL9; 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="CrzOBCL9" Received: from pps.filterd (m0279865.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 52I2ONXk003334 for ; Tue, 18 Mar 2025 10:28:19 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= /ffeju9dab3SjXkQBFykek/FOXIdiqaUl5qwjSDR5rA=; b=CrzOBCL9BxGuCYdy PpGccRQNdJtgOuoSTI/Hxt7LPk/WA9gBrjFthfC2CSnlkedNUFOAIQeylhFYkELM qSU4ZieuRaJ0KBbwkUh9UWU7fGBLzaMciBFljU47noP9N8wlo1/Y48/AZb+UEsxa KH+nk9N6ls9ub7jHZ6vfeGP4lbFMfQ+lVXB+dhZLdMMfVoV2+nLclgns145fmsqD Vr6o+a2+X5RVhDsAshIHwQH9OO8si0E3pFSLpD5/zf7D+UtJ3cj83WdoxlrEdWpA nx/ZAdBVvKxM6qky/sSXxpijIGy0HjvKr+9aJX4k4bZqSDPW8Y/G/0h4PyUGJnJh 4gW9jw== Received: from mail-qt1-f199.google.com (mail-qt1-f199.google.com [209.85.160.199]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 45f010h7am-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NOT) for ; Tue, 18 Mar 2025 10:28:18 +0000 (GMT) Received: by mail-qt1-f199.google.com with SMTP id d75a77b69052e-476786e50d9so15015341cf.1 for ; Tue, 18 Mar 2025 03:28:18 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1742293697; x=1742898497; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=/ffeju9dab3SjXkQBFykek/FOXIdiqaUl5qwjSDR5rA=; b=Ipuru6mCTW5EzXVzIxenrnO7qAmjwjoearuknE6yynE8umMH7N1LYuc+c2xJSvf+sm CD8UOkIc3HQ4o4MUSD9SQwuuFbP0gS86z5e2GA7O/8hYkqLNHWDB5kOXwY5v61+g46+Q ieJl4lHcyXjA3u23a62s6E+7nFr9CkkVQt5KhhncdX3387Sn+b6xbXtjQ0tSp/AWBMvx MZSPAEpy72fW90DIJ9XbG59IjfZxpq71TDrNZAZ/cu9XjDh7Girxt5x47A/8K6QScBph GT1AEoObpC5jKDhxdnWx3becihMdoxOaVjARXzvu005EgWRCddJ1H53pdBn29gcWgQIu 23vQ== X-Forwarded-Encrypted: i=1; AJvYcCWK6Fo5EJnhWGRPivKhlMhfVfLlC1G2baE0xfWMeJOWg4mDb4vpNAAGkoNPvj94oOF9JbTFIHUGrl/g2xg=@vger.kernel.org X-Gm-Message-State: AOJu0YynMfZjd9Cv7acc1OhPKdgmazqJThgqW2nfyntzlb04Le/TvDz4 KAFqGBVSP1gyvJxZS3IEZRfLV/zNnKshNo2QPJ78Lj8P3BY77hX5ggWIX8Gp9bZ4149n4Sranc8 MOJzlorGjNuCXwLXQmxfumRwtPBfgXd1otUSZREH0T9j0mBic1/Oiz+JvBZAF4ok= X-Gm-Gg: ASbGncvxHEbagCQoPpEB66AKGDPv5LnH3mfvy5bOHqwRQyVHp2z3kg/q5MkgVlJkExW 0IHBm/TClp4z+F8hTmDnWYh2Orar3/kDedYDtOEAnFLrOQmuyBFDgFcmbKBjBbmyKV+CqvQdfOm +UPHFCgJ9n2OMRa8iSeMN5Kx3/tun4ZztV2GhoPBElc3dcHTj1CNkcSPHcWkQ0p8Koq1SkmSyVa JLORn9TERIn+Vd0Ji0E5LNmpas88olc/qcgFlOZKsj9QuqpPYd2vFBkzldQ6wO6edkGth2OxTW1 kmVmytebZcv1Or4IDVaudv8umYnaF2WWoWD8tFkjZh5/MbJW/DOtzLVDZJ7lTm3H0ssSug== X-Received: by 2002:a05:6214:252a:b0:6e4:4034:5ae8 with SMTP id 6a1803df08f44-6eaeaa5893emr88167926d6.5.1742293697522; Tue, 18 Mar 2025 03:28:17 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHbWrHKNAmWpMHc+BHfClrKrXHiIT6z2F6YxU0JPnsWruAuabzkJG8LsnO7K1C+4bw9HqrCrw== X-Received: by 2002:a05:6214:252a:b0:6e4:4034:5ae8 with SMTP id 6a1803df08f44-6eaeaa5893emr88167666d6.5.1742293697087; Tue, 18 Mar 2025 03:28:17 -0700 (PDT) Received: from [192.168.65.90] (078088045245.garwolin.vectranet.pl. [78.88.45.245]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-ac31485d046sm814425666b.83.2025.03.18.03.28.13 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 18 Mar 2025 03:28:16 -0700 (PDT) Message-ID: Date: Tue, 18 Mar 2025 11:28:12 +0100 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 4/9] dt-bindings: arm: qcom,coresight-static-replicator: add optional clocks To: Dmitry Baryshkov , Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Lee Jones , Neil Armstrong , Rob Clark , Abhinav Kumar , Dmitry Baryshkov , Sean Paul , Marijn Suijten , David Airlie , Simona Vetter , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , Suzuki K Poulose , Mike Leach , James Clark , Mathieu Poirier , Leo Yan , Kumar Gala , Andy Gross , "Ivan T. Ivanov" , Andy Gross , Georgi Djakov , David Heidelberg Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, freedreno@lists.freedesktop.org, coresight@lists.linaro.org, linux-arm-kernel@lists.infradead.org References: <20250317-fix-nexus-4-v1-0-655c52e2ad97@oss.qualcomm.com> <20250317-fix-nexus-4-v1-4-655c52e2ad97@oss.qualcomm.com> Content-Language: en-US From: Konrad Dybcio In-Reply-To: <20250317-fix-nexus-4-v1-4-655c52e2ad97@oss.qualcomm.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Proofpoint-ORIG-GUID: VCnqHDDGi9LiYXJ2-fUEnuBpm_WkimG2 X-Proofpoint-GUID: VCnqHDDGi9LiYXJ2-fUEnuBpm_WkimG2 X-Authority-Analysis: v=2.4 cv=G50cE8k5 c=1 sm=1 tr=0 ts=67d94ac2 cx=c_pps a=WeENfcodrlLV9YRTxbY/uA==:117 a=FpWmc02/iXfjRdCD7H54yg==:17 a=IkcTkHD0fZMA:10 a=Vs1iUdzkB0EA:10 a=EUspDBNiAAAA:8 a=iEn_WmSgXS-yHfNkfEQA:9 a=QEXdDO2ut3YA:10 a=kacYvNCVWA4VmyqE58fU:22 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1093,Hydra:6.0.680,FMLib:17.12.68.34 definitions=2025-03-18_05,2025-03-17_03,2024-11-22_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 mlxscore=0 suspectscore=0 lowpriorityscore=0 mlxlogscore=999 phishscore=0 adultscore=0 impostorscore=0 spamscore=0 clxscore=1015 malwarescore=0 priorityscore=1501 bulkscore=0 classifier=spam authscore=0 authtc=n/a authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.19.0-2502280000 definitions=main-2503180076 On 3/17/25 6:44 PM, Dmitry Baryshkov wrote: > As most other CoreSight devices the replicator can use either of the > optional clocks (or both). Document those optional clocks in the schema. > > Fixes: 3c15fddf3121 ("dt-bindings: arm: Convert CoreSight bindings to DT schema") > Signed-off-by: Dmitry Baryshkov > --- > .../bindings/arm/arm,coresight-static-replicator.yaml | 10 ++++++++++ > 1 file changed, 10 insertions(+) > > diff --git a/Documentation/devicetree/bindings/arm/arm,coresight-static-replicator.yaml b/Documentation/devicetree/bindings/arm/arm,coresight-static-replicator.yaml > index a6f793ea03b6c193fc0ff72a45e0249a63a2ba3c..56e64067ed3d63c5e293a0840858f13428bacb45 100644 > --- a/Documentation/devicetree/bindings/arm/arm,coresight-static-replicator.yaml > +++ b/Documentation/devicetree/bindings/arm/arm,coresight-static-replicator.yaml > @@ -30,6 +30,16 @@ properties: > power-domains: > maxItems: 1 > > + clocks: > + minItems: 1 > + maxItems: 2 > + > + clock-names: > + minItems: 1 > + enum: I believe this should either be items: if 0/1/2 is allowed, or minItems should be dropped if 0/1 is allowed, but the former seems to be the intention Konrad > + - apb_pclk > + - atclk > + > in-ports: > $ref: /schemas/graph.yaml#/properties/ports > additionalProperties: false >