From patchwork Mon Mar 17 17:44:36 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Baryshkov X-Patchwork-Id: 874200 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 69BA71B4242 for ; Mon, 17 Mar 2025 17:44:49 +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=1742233491; cv=none; b=NjFmzRY/Nm5tjWedKVUBvKI/kFoIP9TeRjSEQ7tx3DDtc15kJA2srBfavq3MfdcEOnWfoqOUm9fywlcw9cpVW1DcueFYVLSMIDyI6gwuhaAwSsQYV04evjn3Y9CXjuSV/bg0Vs/oGmX6z1+xF1vC0/IpnKIjK8PeESTeQ2q57Gk= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1742233491; c=relaxed/simple; bh=8nULrIfJrBwoVzJEZHCD0NA8+LCu25kRS1unw7M1muU=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=mrk4JEHM/dx4wX5LED0lRxuDR8YAtcZvUOfFdiuBY8StRItJ2TNRipJKRhAkYn2jG2U6g0VZ9WatyY3w2blqqmL11NH674d39jtXE9ei7BBKBTYnLPdUrqAXaYabYVUfbLplw6T4AohGSSCMpPLBPi2NP5aJkMN9KGz0keE98Qs= 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=Pof6fHhQ; 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="Pof6fHhQ" Received: from pps.filterd (m0279870.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 52HAm52S022723 for ; Mon, 17 Mar 2025 17:44:48 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= j5AhBtS2Vmk9tVlC84l/9eOTIRqJEcsajn1eqDXBo5I=; b=Pof6fHhQoFZBhks2 qKgZwUqsdkZYD1Lbm9OqalOrwX8wgWg/FtIFRRBYaY8AF8qYYYc5QgSWmdPbzRAI klwrwWxIbYDV0kkl49pZO1O7McS9SoFyLP6WN9hUVXcJIWy7xP627uFk04PYdqGb 4lSWPERjrHSBko0eIl4OaE6MeW6HR2HhF9n1n2RKZnjOOPVtNaEqJw11xPfyxQxR Jbo+mhuhqRyspkTZ9H1op9kYLkyzWdRB/ha8nqmB75vBO+roc4kdEriW5YgkJvPz Znpa1I/O19NihIo5QIEoyKFRV3fxoIEw+LWijju6FfWLWUsJLbypWYJ9FhCGM/Bo imsU1g== Received: from mail-qk1-f197.google.com (mail-qk1-f197.google.com [209.85.222.197]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 45d1r15jkm-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NOT) for ; Mon, 17 Mar 2025 17:44:47 +0000 (GMT) Received: by mail-qk1-f197.google.com with SMTP id af79cd13be357-7c54a6b0c70so512190385a.0 for ; Mon, 17 Mar 2025 10:44:47 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1742233487; x=1742838287; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=j5AhBtS2Vmk9tVlC84l/9eOTIRqJEcsajn1eqDXBo5I=; b=hqE0Rf2hmtgmSTB1FVf/Z7X9iRXC7k+UYkaBkiGQ2w1tKUWl1AJjmkAqbBFXEWxQkK e+gie1g1Z2nSXm+s0F5rK6eTwDOLy63FM3kqiUsqgXO4qfhuuFB+hYtn2Z+lwoUHGi2G 6wu/sIHAGXOQ9YhEHPJDQhQtNZSt7k22C1CZ2dAkBGEZKeTRET+ysw/NH9zkGWmnMtnE juz0kz9fh3aJFTzAogDJKseUT+oo1WigYJajJMAlFinkqayKKADLy7KKjxtvUzyqbMZ0 lIzkz3g3o+PnZnOgz9Idbowus8DnxSWZJg/a0EkzMJkz4o8QPpSV9Y1Ra+lY5c56SsQf MDlA== X-Gm-Message-State: AOJu0YzztmAWYzYLdPCKUDaFN3LZ4o1TLfHlBvtMa7tssg7zwgh77fmh rDI/9TGie4r7Bi/coFgz33wWLjrBSYxOzwYPZCRY8LWWN58EF1MOOcF3Ur8nNvbkozpcA9D2Qtr gDGY38jcKfKQZ/0FWBB79pL9lx0zbovds6npOwTpCeBHlt95vzNk9V1FFdGLyvMYL X-Gm-Gg: ASbGnctYOo2kCsJD3nL2kQdO5hBvhDCNtcpsxmVyn25dE401TY/2En/7HdBqTYwI2Fe +kxkNNy0/yzrOlJhga87zpel4x4GqRzsuvAJMQeOxQnyTFhZClBfoRFm20hKdet5dmLV5VbT0R8 7AdMa6t5nc6xTl7GmKMlM0TIS42VmhUHTCP30Av49pWjfa7mmGcp6XMQwIN1IbLd55XEa8EdLmO dTPdfCcSDxaXzRAKLH1MFF3zN2yKRhio4QWkPhQVV/t9dadLqLSKlKeesNMrW5IyxFCNhDEs5pz Y5dtg/3ZT+STVkVm14hiqDdYYr+LX7Jl1B54UTFgNXkvAkJI+Fjw4zjlIjzPHCydyZW2Je7QAOl BIZZ2PEif5R3805ilRVowyGLRpBVo X-Received: by 2002:a05:620a:470e:b0:7c5:59a6:bae6 with SMTP id af79cd13be357-7c57c73d882mr1684573385a.3.1742233487106; Mon, 17 Mar 2025 10:44:47 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGBxYIzksBGnChS/AovmHUHeN2e5lmyChYe4xYLbphU3GfTQPEwubfYg38kAyG5wmIS15rzkw== X-Received: by 2002:a05:620a:470e:b0:7c5:59a6:bae6 with SMTP id af79cd13be357-7c57c73d882mr1684569985a.3.1742233486764; Mon, 17 Mar 2025 10:44:46 -0700 (PDT) Received: from umbar.lan (2001-14ba-a0c3-3a00-264b-feff-fe8b-be8a.rev.dnainternet.fi. [2001:14ba:a0c3:3a00:264b:feff:fe8b:be8a]) by smtp.gmail.com with ESMTPSA id 38308e7fff4ca-30c3f0e9985sm16687121fa.29.2025.03.17.10.44.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 17 Mar 2025 10:44:44 -0700 (PDT) From: Dmitry Baryshkov Date: Mon, 17 Mar 2025 19:44:36 +0200 Subject: [PATCH 1/9] dt-bindings: soc: qcom,rpm: add missing clock-controller node Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20250317-fix-nexus-4-v1-1-655c52e2ad97@oss.qualcomm.com> References: <20250317-fix-nexus-4-v1-0-655c52e2ad97@oss.qualcomm.com> In-Reply-To: <20250317-fix-nexus-4-v1-0-655c52e2ad97@oss.qualcomm.com> To: 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 X-Mailer: b4 0.14.2 X-Developer-Signature: v=1; a=openpgp-sha256; l=1167; i=dmitry.baryshkov@oss.qualcomm.com; h=from:subject:message-id; bh=8nULrIfJrBwoVzJEZHCD0NA8+LCu25kRS1unw7M1muU=; b=owGbwMvMwMXYbdNlx6SpcZXxtFoSQ/qN+LY9vVJvvG4ptU0UP+XAEbBBkuv81pfWVQtnCtYn8 HaJzWXqZDRmYWDkYpAVU2TxKWiZGrMpOezDjqn1MINYmUCmMHBxCsBEHvxg/82uqB/ctvpQ4b6c 83NYnGQkyqb+n36xhzFCP/kYx89ch/jIla4+v5L8ldoUHVIjRSUWB6jk2KQdKnhz7GtObPC67t1 pVd4/LV39cgs+bDlwYkPxb9ONtmc/dUfda+7bELRWz1wl5c+sjQ/dE9KfbeBcy6V8ujKFl3u5VO yCr/d2br7l7ZafaHksyNzDXHy//7MtYv805qnuEffaon9BnEPTQP9uTPyEBpYUwQvffkewHhBkt T2rffSG+Bkey8/KdcFiaft3p3ea14rxCcuWc++9zPf0g+Uqt9Osvftfz+oqLj099/XRWYpBnfXL P0vJxtvwZre+evbh0lH2mkl75ygb/J13/0Qb/wWDnHu7AA== X-Developer-Key: i=dmitry.baryshkov@oss.qualcomm.com; a=openpgp; fpr=8F88381DD5C873E4AE487DA5199BF1243632046A X-Authority-Analysis: v=2.4 cv=LuaSymdc c=1 sm=1 tr=0 ts=67d85f8f cx=c_pps a=50t2pK5VMbmlHzFWWp8p/g==:117 a=xqWC_Br6kY4A:10 a=IkcTkHD0fZMA:10 a=Vs1iUdzkB0EA:10 a=EUspDBNiAAAA:8 a=-Z_mRg2wFor0aBS9cE8A:9 a=QEXdDO2ut3YA:10 a=IoWCM6iH3mJn3m4BftBB:22 X-Proofpoint-GUID: 2bGc89kKuMo2iJREACKx-LnOgfli6awx X-Proofpoint-ORIG-GUID: 2bGc89kKuMo2iJREACKx-LnOgfli6awx 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-17_07,2025-03-17_03,2024-11-22_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 impostorscore=0 bulkscore=0 mlxscore=0 suspectscore=0 priorityscore=1501 phishscore=0 adultscore=0 clxscore=1015 lowpriorityscore=0 spamscore=0 mlxlogscore=999 malwarescore=0 classifier=spam authscore=0 authtc=n/a authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.19.0-2502280000 definitions=main-2503170128 On Qualcomm platforms in addition to regulators the RPM also provides clocks via the child clock-controller node. Describe it properly in the schema. Fixes: 6b42133d2189 ("dt-bindings: soc: qcom: convert non-smd RPM bindings to dt-schema") Signed-off-by: Dmitry Baryshkov Reviewed-by: Krzysztof Kozlowski --- Documentation/devicetree/bindings/soc/qcom/qcom,rpm.yaml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Documentation/devicetree/bindings/soc/qcom/qcom,rpm.yaml b/Documentation/devicetree/bindings/soc/qcom/qcom,rpm.yaml index b00be9e01206d1c61802dee9f9ec777c4b946b7b..10956240df0856a4241d6032d3aff7d447af9ce6 100644 --- a/Documentation/devicetree/bindings/soc/qcom/qcom,rpm.yaml +++ b/Documentation/devicetree/bindings/soc/qcom/qcom,rpm.yaml @@ -46,6 +46,14 @@ properties: description: Three entries specifying the outgoing ipc bit used for signaling the RPM. + clock-controller: + type: object + additionalProperties: true + properties: + compatible: + contains: + const: qcom,rpmcc + patternProperties: "^regulators(-[01])?$": type: object