From patchwork Fri Feb 2 09:32:43 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tao Zhang X-Patchwork-Id: 195749 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7301:9bc1:b0:106:209c:c626 with SMTP id op1csp311833dyc; Fri, 2 Feb 2024 01:37:23 -0800 (PST) X-Google-Smtp-Source: AGHT+IFysQsJ+wtAo4IpphUEkk7aTgZ/CGVI5u2zUMbj37fJcTzDxznqhg3dFI/YvW0x0v9PDauf X-Received: by 2002:aa7:c45a:0:b0:55f:e8b4:4f7c with SMTP id n26-20020aa7c45a000000b0055fe8b44f7cmr929228edr.5.1706866643697; Fri, 02 Feb 2024 01:37:23 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706866643; cv=pass; d=google.com; s=arc-20160816; b=pOi2SCEAIAINe0XnMIfQ+g7r5BgSfYhhW2FwZAN3uo9VZqUQ6ep0BY4liS216OZvxL bUsMU77zxM/1IrmmkLnAb0Dgpmj02T6denxLqvCsTS8N+qntQ5uMxpHE9pgqzsu1/U6T sB0pjwW7wlfxyrAcstUYGZfe7HUiqlc/oEsqQ095SKTtscU6sppZdGFcZZ047l4XUBg6 gS1zjvN4FrpxLoLuQotEQPT9U71SNhAf61TVvCFmm+pQfT+MY3nvylugjWBzrqJijnPX ydG8pIN87jsN6KJwRzvraoogwHYp2tKOTwncVFYW0GdPAhj9oLbF2C6QZdgCZgNtJUjr cU6Q== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:list-unsubscribe:list-subscribe:list-id:precedence :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=FBRGBFPiQXAekeCT5kxHbQX6SkwEE/Luu8hARdqAzIY=; fh=dIxh1/icK4RTE+U4ie8J3ICbbaI+LKe4GvQON0zWzX4=; b=Z36Q/Otr2F42V/3/YNfuV1DXwcvHaTlPBoZgTyOxct3B7IfbAH95+Ab1+vJri3TDuH qLOhH0TtwO4oFmQ4T6pS+1hNDowvBHsYNIIAjvD3imtjxUua2WHC9ZsIkh8pLDjLU3Nr rlbGHTwoREiq34vE/kOUWKoHdwOFiD919GHt3zW2pe+2/DakkgSx4gJfiE9OOM6KNdkE cGSqHKvFC1YpjhfDFwwPwm2IitsDOum5eo2Du6R1tq4CilJKspf62JaQ9qYDEUTuogdS hFwSCr8Jym1f0DahOUWuuK0YvUz7wr0poaPm0sEM2LG9F2sWKwTAfu9hZejGj6OUipn9 iAZg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=PgPoNuXS; arc=pass (i=1 spf=pass spfdomain=quicinc.com dkim=pass dkdomain=quicinc.com dmarc=pass fromdomain=quicinc.com); spf=pass (google.com: domain of linux-kernel+bounces-49592-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-49592-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com X-Forwarded-Encrypted: i=1; AJvYcCUReXz2YT+xbgnt3Atm9/zXrvts1RDN0ziTPlDLkDKBJjuQb3tJtEQDC86MSIrG4BEmoUKzfZxWZhvfayi/UBZjLci4vw== Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id d17-20020a056402401100b0055d37233e12si618544eda.308.2024.02.02.01.37.23 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 02 Feb 2024 01:37:23 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-49592-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=PgPoNuXS; arc=pass (i=1 spf=pass spfdomain=quicinc.com dkim=pass dkdomain=quicinc.com dmarc=pass fromdomain=quicinc.com); spf=pass (google.com: domain of linux-kernel+bounces-49592-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-49592-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 7CDBD1F2B726 for ; Fri, 2 Feb 2024 09:36:51 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 1DCD87E59C; Fri, 2 Feb 2024 09:34:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b="PgPoNuXS" 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 0A51077F37; Fri, 2 Feb 2024 09:34:16 +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=1706866464; cv=none; b=fVxiOx7TEKAi/fL06l+7/b6dE4YtpHWWZBB6PyfYuEHsKz8y7pj0iDk3i7X2wUIq2hRGmQcGg2J+ki5DJ8OoTJJfcjinKvIBRcA+TqO2f6FRTSflVlGZ7aTj1cRts4tHq6arE1DUDiW4WFtncpPyjV+ki8TvCqoFjG3c5RNBts0= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706866464; c=relaxed/simple; bh=iecTvx9v5QqH2K0o5UQVVOjjfRd5PbwLqfWdQNMwVJ8=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=tktC0rImsTNWMsM0b8o9T5iTelMqmxlv5mYW2oMilE2Oj1OZ7p+CdyLQwyEkkeGEBm+udwFMJs8LyDyvQsYhRZE/nT/gbNvM76d06wRRyIjOIxsMF9FcJ8/PFJwzyxrX5+5WoYfD7K7PveZONskl4upMSbqJskvo3esIIJ37Tp4= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=quicinc.com; spf=pass smtp.mailfrom=quicinc.com; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b=PgPoNuXS; arc=none smtp.client-ip=205.220.180.131 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=quicinc.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=quicinc.com Received: from pps.filterd (m0279872.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.24/8.17.1.24) with ESMTP id 4127eT2N030343; Fri, 2 Feb 2024 09:34:01 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h= from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-type; s=qcppdkim1; bh=FBRGBFPiQXAekeCT5kxH bQX6SkwEE/Luu8hARdqAzIY=; b=PgPoNuXS5EY7biX7XRCYSKnCgN4IQJeUG0Tt bFeGgZYaZOFdGOlquy4lgwRLgjbV1Qc6esl1G8OrNHcLDhi8aabBCrw45mEFqPsj Km+pMWA+Rir108UDbX1VPBJtOMAyBTAZofC26CPtKFcOb9AreFKGZlCWqtRGT7gv 5grmyY2znfvytnFIhNH8PZ5jDJCYkTAEwHab03ckhTL3prNmLpEATLB8kfECXp/t 8ir0V19UUzlEGQ+6BZ96UJ1oOR4F0bLbaMIywnI8xp7G1K/oKA2h7Cb8rhyPUCsl puBfptqbOespC6T9M0cv0Z3QL5ISJ7sMM4H9In2XeKhgwq7nLQ== Received: from nalasppmta02.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3w0pu010e2-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 02 Feb 2024 09:34:01 +0000 (GMT) Received: from nalasex01c.na.qualcomm.com (nalasex01c.na.qualcomm.com [10.47.97.35]) by NALASPPMTA02.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 4129Y045000637 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 2 Feb 2024 09:34:00 GMT Received: from taozha-gv.qualcomm.com (10.80.80.8) by nalasex01c.na.qualcomm.com (10.47.97.35) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.40; Fri, 2 Feb 2024 01:33:55 -0800 From: Tao Zhang To: Mathieu Poirier , Suzuki K Poulose , Alexander Shishkin , Konrad Dybcio , Mike Leach , Rob Herring , Krzysztof Kozlowski CC: Tao Zhang , Jinlong Mao , Leo Yan , Greg Kroah-Hartman , , , , , Tingwei Zhang , Yuanfang Zhang , Trilok Soni , Song Chai , , Subject: [PATCH v6 09/10] dt-bindings: arm: qcom,coresight-tpdm: Add support for TPDM CMB MSR register Date: Fri, 2 Feb 2024 17:32:43 +0800 Message-ID: <1706866364-19861-10-git-send-email-quic_taozha@quicinc.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1706866364-19861-1-git-send-email-quic_taozha@quicinc.com> References: <1706866364-19861-1-git-send-email-quic_taozha@quicinc.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-ClientProxiedBy: nasanex01b.na.qualcomm.com (10.46.141.250) To nalasex01c.na.qualcomm.com (10.47.97.35) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-GUID: jv-IPmdg_Jy3MDGgyNndu5vtpWHEGK9C X-Proofpoint-ORIG-GUID: jv-IPmdg_Jy3MDGgyNndu5vtpWHEGK9C X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.1011,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2024-02-02_04,2024-01-31_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 malwarescore=0 mlxscore=0 mlxlogscore=999 suspectscore=0 lowpriorityscore=0 impostorscore=0 bulkscore=0 clxscore=1015 adultscore=0 spamscore=0 priorityscore=1501 phishscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2401310000 definitions=main-2402020068 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1789779397780935870 X-GMAIL-MSGID: 1789779397780935870 Add property "qcom,cmb_msr_num" to support CMB MSR(mux select register) for TPDM. It specifies the number of CMB MSR registers supported by the TDPM. Reviewed-by: Krzysztof Kozlowski Signed-off-by: Tao Zhang Signed-off-by: Mao Jinlong --- .../devicetree/bindings/arm/qcom,coresight-tpdm.yaml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/Documentation/devicetree/bindings/arm/qcom,coresight-tpdm.yaml b/Documentation/devicetree/bindings/arm/qcom,coresight-tpdm.yaml index 2320b5445900..d0647ffaed71 100644 --- a/Documentation/devicetree/bindings/arm/qcom,coresight-tpdm.yaml +++ b/Documentation/devicetree/bindings/arm/qcom,coresight-tpdm.yaml @@ -69,6 +69,15 @@ properties: minimum: 0 maximum: 32 + qcom,cmb-msrs-num: + description: + Specifies the number of CMB MSR(mux select register) registers supported + by the monitor. If this property is not configured or set to 0, it means + this TPDM doesn't support CMB MSR. + $ref: /schemas/types.yaml#/definitions/uint32 + minimum: 0 + maximum: 32 + clocks: maxItems: 1 @@ -123,6 +132,7 @@ examples: reg = <0x06c29000 0x1000>; qcom,cmb-element-bits = <64>; + qcom,cmb-msrs-num = <32>; clocks = <&aoss_qmp>; clock-names = "apb_pclk";