From nobody Tue Dec 2 01:07:43 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 4FEFB2F6922 for ; Mon, 24 Nov 2025 09:45:38 +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=1763977540; cv=none; b=kEMVsF9RIZvG/qlcJK/+TfsSutkxvjUF8Hx4eIqcysm9joxzpr/JzhfdERr32ytP6QJUSLcrPxqcJq0vE+PoesAelK6LZq5pxmEf2M1wgrnTiVG2PSmQogoTsIZhEQE/6y4aoWQXOe0TiBPkkt/uuDjFadG6GoIHlFTEbqGhtOM= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1763977540; c=relaxed/simple; bh=6vXLBAdNnQs6XK2/kBB51qbuJfb3m5+9fYGBSdIIrP8=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=P8Fdk5UlM4tLPj/YG3sAm0r1osMVZmeZvbmmET0Y99VuDhdVE4tmeRqj1R9ny3opg/WQvlq5U6Tqp3SJz9nr5enfN++XsueAclmJBAZ1bzoc0kjAu+qC05TGSEKfRzFdmlAltkbwzOk7T4ZDU2+ARI0dFRSAhujttTUhu2njaYw= 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=FBrX0STT; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b=WXgntJ7m; 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="FBrX0STT"; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b="WXgntJ7m" Received: from pps.filterd (m0279871.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 5AO88aes2518350 for ; Mon, 24 Nov 2025 09:45:37 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= bcJIkYTMqA6r4Axp7R45E+Pedh3qwOHwhj3tSvKpYsk=; b=FBrX0STToejJxtDP NDiZuqpq1DzsTyqJbJeUmzi4/4AQXjc2IpmqLeSpZR9SiATNSglq+JpIMfaVnPhh B9qbEF9uM948jHxvBkNSrMajCCcM9PfADgLamtII7nLELTFja6TgiyQDIpb8oyeu aDmaaLt8BR5UbxlSe7WPDW1Kq4IkSEr27VD8614XN5CHTv5Avjel+jMEHFeQjSTW rZxGtgMQLMAU909W1iFupaRnYs+9aro/p60EVGr53frd6WqJoXrgoHogpPKldTiW iFM01HW6bmqkzmvNMj/3KJHpHfvhDLLZ+M0q2DHrThkAER8z7KJxxCjyCH5X3Won 3f7jUA== Received: from mail-pf1-f197.google.com (mail-pf1-f197.google.com [209.85.210.197]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4ak6ffcgwa-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Mon, 24 Nov 2025 09:45:37 +0000 (GMT) Received: by mail-pf1-f197.google.com with SMTP id d2e1a72fcca58-7be3d08f863so7363804b3a.2 for ; Mon, 24 Nov 2025 01:45:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1763977536; x=1764582336; 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=bcJIkYTMqA6r4Axp7R45E+Pedh3qwOHwhj3tSvKpYsk=; b=WXgntJ7mm7i+Eh0ZhpZhl0mXAhEtCUjOFGzqF/cig7GrcHxH8SffqyPLL0pPnLfMw/ 5cOVraHtEH2b3QiXD4Nl+JttYpwL5nIX08ZfbOvTUTTGoEA2Z+pSKsVhMupNQj7l0T9V PzzYhdoIbuplLBu0sK8k6jfOguGBiYjUIhFaYB0FzwmbAKFUpxtcDc1Gm3bjaYO3bOai leEyULt+sjEci+QHhgNCKGXftm2h7q6AFfCxvHKgeMo4c1iVfIjjlYk8mm8EAdOHYJjL zEK2Gq7w5M7vqkbFqAu7mF/CYxoHION1xU1886UbJP/xqy0fauY+jYZU77O1wXAC2Mm4 LfYg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1763977536; x=1764582336; 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=bcJIkYTMqA6r4Axp7R45E+Pedh3qwOHwhj3tSvKpYsk=; b=KBP2rLU5LUVvttX+Tav5nyWMvnVvtk6rjn1gugTIZqvCctL3bspr+JgZrDjvH7ZCxW N2x9MBde2HjqYNSYMJlmC6gRbo23MCVM1knQEC09YV8xizBXUcWkAx+0iVBA9ccq2ZFB yoAGI9ReJilYeunuRwfH5UCv0GxrOSgcvxpe87gdtzj34jfqoskP6b1l9ZCBXVaosrn5 NIViDswax6EXI6mm5RPOboP5hSpK3/hWFvWrxilXbqz73JVRPdP59ZtCdfeyOpWksdaF jcNeIw3EQaBbaR9XsOy+N3t7z0AM6iR2JpEb3xYM8+S41rRQX+xINAqZMEGpcSp/YAiQ WjKQ== X-Forwarded-Encrypted: i=1; AJvYcCWiD3nwD7KEt6CsR7slfmSknB7fkzx4CkdMUOyydn/iotENMf1cAxeb9NgA0l/uGSr0Wt4/U08D4Qj2Qg8=@vger.kernel.org X-Gm-Message-State: AOJu0Yy9PISDcG5znIjigg+JhaBR2qmdmol5CDFthCp5ST8VSSJ3m+uD KtdUXQrlQKpNHddU4xf3K2SS//A/ruKXlGTcrC2D/cFaXGmOv+kWbhiR8e4m3+HxuxHxtMXbCPn hQMNyrC325r5CNJiyrDL9YAbOB/lXo6Fgwd5xHT6mdbVLQz0VQKEq8PWI8Pe0dqPlY7g= X-Gm-Gg: ASbGnct22XiqbTee8jRIPCvqptLOqdl+8ne1bY8mRCXfL5kAzUAXBy/Ng+V5KqMe9eC OA5h1ljEDGlNk7w8Hya8jjmUbz38H0dXfy4BXrl3LREaE4SziLr9w83rXYast2VuMufZHWLc9tN Me1NmzTwx04GHDEVNo/YcbyyN7hwORF+MICRtKf4iLTPw6uRJkm+7cP+ut0SkPJ4nVtbG9xKhhs pRd7olE2XhyaDVMhPcM1ukrbbyBSoeAN5gA7dpdMHDsQ7/al6oMbDRlF/cEopReHoFCcQbHRuK5 cjTJSxZIR00hkCboggu/95sNb28QLsoIiKLYNA1AZnBP1ijpmxnAM0C+cVg2DcPB52aBLPULzLM 2r5qy5la7at16o9cz2HmoPddEEaolCl8p+YeMVy3eb6+g X-Received: by 2002:a05:6a21:6d86:b0:340:fce2:a15c with SMTP id adf61e73a8af0-3614eb18510mr10163489637.9.1763977536253; Mon, 24 Nov 2025 01:45:36 -0800 (PST) X-Google-Smtp-Source: AGHT+IGjGaFK76LFuZwaN2Ie7ODhBONbjRlLuRGsF/oO7K6cKPHPah2rHCsoIlXXLo19sSpDsmhOVA== X-Received: by 2002:a05:6a21:6d86:b0:340:fce2:a15c with SMTP id adf61e73a8af0-3614eb18510mr10163467637.9.1763977535737; Mon, 24 Nov 2025 01:45:35 -0800 (PST) Received: from hu-jprakash-hyd.qualcomm.com ([202.46.22.19]) by smtp.gmail.com with ESMTPSA id 41be03b00d2f7-bd75dfed99esm12668291a12.1.2025.11.24.01.45.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 24 Nov 2025 01:45:35 -0800 (PST) From: Jishnu Prakash Date: Mon, 24 Nov 2025 15:15:10 +0530 Subject: [PATCH v4 1/3] dt-bindings: spmi: split out common QCOM SPMI PMIC arbiter properties Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20251124-pmic_arb_v8-v4-1-d91dcbf097c7@oss.qualcomm.com> References: <20251124-pmic_arb_v8-v4-0-d91dcbf097c7@oss.qualcomm.com> In-Reply-To: <20251124-pmic_arb_v8-v4-0-d91dcbf097c7@oss.qualcomm.com> To: Stephen Boyd , Rob Herring , Krzysztof Kozlowski , Conor Dooley , David Collins , konrad.dybcio@oss.qualcomm.com Cc: linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, Jishnu Prakash , kamal.wadhwa@oss.qualcomm.com, aiqun.yu@oss.qualcomm.com X-Mailer: b4 0.14.3 X-Developer-Signature: v=1; a=ed25519-sha256; t=1763977527; l=4414; i=jishnu.prakash@oss.qualcomm.com; s=20251014; h=from:subject:message-id; bh=6vXLBAdNnQs6XK2/kBB51qbuJfb3m5+9fYGBSdIIrP8=; b=KB8AyxL5H7fzUz7q7nPI9AN28kt8Vqb3i8DbQtoKhPQZ9Xn4UapC3YtAnRPHqo+Zf7OfvrNCC nWV/3AYHzQtCGW7HmSH3u0q9fL6mMJzYjCYvf3YLKpoL43x33tPb7PT X-Developer-Key: i=jishnu.prakash@oss.qualcomm.com; a=ed25519; pk=g89pXdLVwRjdTeQ+uX1QzvBO346E3hQAc1N7fcTXgmk= X-Proofpoint-GUID: G-z8wtaHOWtV0vOaxunViKpeXXMvMw1K X-Proofpoint-ORIG-GUID: G-z8wtaHOWtV0vOaxunViKpeXXMvMw1K X-Authority-Analysis: v=2.4 cv=OsxCCi/t c=1 sm=1 tr=0 ts=69242941 cx=c_pps a=rEQLjTOiSrHUhVqRoksmgQ==:117 a=fChuTYTh2wq5r3m49p7fHw==:17 a=IkcTkHD0fZMA:10 a=6UeiqGixMTsA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=gEfo2CItAAAA:8 a=VwQbUJbxAAAA:8 a=EUspDBNiAAAA:8 a=w24Q35eUI-_Cj95TU7gA:9 a=QEXdDO2ut3YA:10 a=2VI0MkxyNR6bbpdq8BZq:22 a=sptkURWiP4Gy88Gu7hUp:22 X-Proofpoint-Spam-Details-Enc: AW1haW4tMjUxMTI0MDA4NiBTYWx0ZWRfX1IFJXiftTx/9 Yy7U+wP9kgdJXp/dDMdpuF5cMeqPQ8l6hrxCJKMDQmW4T3nlhupK+fEByezwXtMRxj3xizqlcG+ tGoxFhQDF08bQonJ6WUpLhiMpmrlvHAYxo30630SkHbXXe2qB6cxm8E22yXkwXGDerJ4Pi2Rici /FKFLXYZgDrBghdhSi+gOrOjPOZ5BAFexOI5gx4VdMmUNXmtVmHL0P/hBqarCo6K249tpHJTN3z vWLmlrKNPPeT1O0Z19hhJT6JoK+Yg23zyaP7LlOjd8I9KNIssV9uPu1xvxOhFzP3Pbcmdmb7tyb YNd5pW41xSicpRcKB0AtboE4i738AjoYypWsEdKG1pHRkVI8doXP8ibZqU2LxT007LHRKgJXqBT jqGOkKaf5W7I4VIdjkTT/n0giWpYUw== 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-24_04,2025-11-21_01,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 clxscore=1015 suspectscore=0 adultscore=0 bulkscore=0 malwarescore=0 phishscore=0 lowpriorityscore=0 impostorscore=0 spamscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2510240001 definitions=main-2511240086 Split out the common SPMI PMIC arbiter properties for QCOM devices into a separate file so that it can be included as a reference for devices using them. This will be needed for the upcoming PMIC v8 arbiter support patch, as the v8 arbiter also uses these common properties. Reviewed-by: Rob Herring (Arm) Signed-off-by: Jishnu Prakash --- .../bindings/spmi/qcom,spmi-pmic-arb-common.yaml | 35 ++++++++++++++++++= ++++ .../bindings/spmi/qcom,spmi-pmic-arb.yaml | 17 +---------- .../bindings/spmi/qcom,x1e80100-spmi-pmic-arb.yaml | 21 +++---------- 3 files changed, 40 insertions(+), 33 deletions(-) diff --git a/Documentation/devicetree/bindings/spmi/qcom,spmi-pmic-arb-comm= on.yaml b/Documentation/devicetree/bindings/spmi/qcom,spmi-pmic-arb-common.= yaml new file mode 100644 index 000000000000..8c38ed145e74 --- /dev/null +++ b/Documentation/devicetree/bindings/spmi/qcom,spmi-pmic-arb-common.yaml @@ -0,0 +1,35 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/spmi/qcom,spmi-pmic-arb-common.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Qualcomm Technologies, Inc. SPMI Controller (common) + +maintainers: + - David Collins + +description: | + This defines some common properties used to define Qualcomm SPMI control= lers + for PMIC arbiter. + +properties: + qcom,ee: + $ref: /schemas/types.yaml#/definitions/uint32 + minimum: 0 + maximum: 5 + description: + indicates the active Execution Environment identifier + + qcom,channel: + $ref: /schemas/types.yaml#/definitions/uint32 + minimum: 0 + maximum: 5 + description: + which of the PMIC Arb provided channels to use for accesses + +required: + - qcom,ee + - qcom,channel + +additionalProperties: true diff --git a/Documentation/devicetree/bindings/spmi/qcom,spmi-pmic-arb.yaml= b/Documentation/devicetree/bindings/spmi/qcom,spmi-pmic-arb.yaml index 51daf1b847a9..d0c683dd5284 100644 --- a/Documentation/devicetree/bindings/spmi/qcom,spmi-pmic-arb.yaml +++ b/Documentation/devicetree/bindings/spmi/qcom,spmi-pmic-arb.yaml @@ -19,6 +19,7 @@ description: | =20 allOf: - $ref: spmi.yaml + - $ref: qcom,spmi-pmic-arb-common.yaml =20 properties: compatible: @@ -71,20 +72,6 @@ properties: =20 '#size-cells': true =20 - qcom,ee: - $ref: /schemas/types.yaml#/definitions/uint32 - minimum: 0 - maximum: 5 - description: > - indicates the active Execution Environment identifier - - qcom,channel: - $ref: /schemas/types.yaml#/definitions/uint32 - minimum: 0 - maximum: 5 - description: > - which of the PMIC Arb provided channels to use for accesses - qcom,bus-id: $ref: /schemas/types.yaml#/definitions/uint32 minimum: 0 @@ -97,8 +84,6 @@ properties: required: - compatible - reg-names - - qcom,ee - - qcom,channel =20 unevaluatedProperties: false =20 diff --git a/Documentation/devicetree/bindings/spmi/qcom,x1e80100-spmi-pmic= -arb.yaml b/Documentation/devicetree/bindings/spmi/qcom,x1e80100-spmi-pmic-= arb.yaml index 7c3cc20a80d6..08369fdd2161 100644 --- a/Documentation/devicetree/bindings/spmi/qcom,x1e80100-spmi-pmic-arb.ya= ml +++ b/Documentation/devicetree/bindings/spmi/qcom,x1e80100-spmi-pmic-arb.ya= ml @@ -17,6 +17,9 @@ description: | The PMIC Arbiter can also act as an interrupt controller, providing inte= rrupts to slave devices. =20 +allOf: + - $ref: qcom,spmi-pmic-arb-common.yaml + properties: compatible: oneOf: @@ -45,20 +48,6 @@ properties: '#size-cells': const: 2 =20 - qcom,ee: - $ref: /schemas/types.yaml#/definitions/uint32 - minimum: 0 - maximum: 5 - description: > - indicates the active Execution Environment identifier - - qcom,channel: - $ref: /schemas/types.yaml#/definitions/uint32 - minimum: 0 - maximum: 5 - description: > - which of the PMIC Arb provided channels to use for accesses - patternProperties: "^spmi@[a-f0-9]+$": type: object @@ -96,10 +85,8 @@ patternProperties: required: - compatible - reg-names - - qcom,ee - - qcom,channel =20 -additionalProperties: false +unevaluatedProperties: false =20 examples: - | --=20 2.25.1