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 DC5FF364028 for ; Tue, 23 Jun 2026 09:47:39 +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=1782208062; cv=none; b=dMIrLXJEnqvGCsfDI3HYO+BkL5qznSuSCFaRSLO4tnLov/NSj1pFHLHAUvMww+uOCx4hg0dGQAJkLfJ5XDRAywK5m/Gj5LHgnnQGq6Q8xyVg6zeoDHD63G6yIeam5yiu5jYhjh2r2aTfhclN9cm82d4LMpfe5hWUHX2ZAlcBHv8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1782208062; c=relaxed/simple; bh=ZFXjWZJ8Yv0VUo0VzxGtfovaoA1ZCFVBqtbCKCuuY6o=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=TqrSR3ZJCKoIgknyXXp1ROJ/rU8ezZg4sy+YnpfBIgSKVVu+ujpkkO4pKHqOU+CoKaOgiEdhBtVk0I1k6A7o9GgekqP4MxC7H2FqqXlHoLIQ7HiIVija0Hf+eyc+EJdRbXYn1pfIkZBkCky4CTrOHaxPbcpdB0chk840BGksRpU= 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=YWWQdKqg; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b=fTPza3f4; 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="YWWQdKqg"; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b="fTPza3f4" Received: from pps.filterd (m0279865.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 65N7j9r01778132 for ; Tue, 23 Jun 2026 09:47:39 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= dT3ZqB03YeVKv3AnZlUlVxas300onzHYiYQqPphtYjI=; b=YWWQdKqgAT3uRMP9 ka82y0gtDjXKINfzPufO+dbfLuOFgYay/FuVXlaC2b/K2FY6xDGZbyd4EMmfNZSp 1oatqPEZrYXWmZs3YwcWkJCNI+jwJ13nnq99r68LmdD5hvMhd6wjImkBCtwS0Iwh 0yAKje4wrlzgsh+dFUib7ky5erT5bgLA4lZKpkcBRnqWB382T9fy1VUExTRpiF9l M/H3+aWC1zUOba9lone+ka+Wim+C4WMrp12tiHvsXZak3dOXmTvf86VhZSBLKVtc tpr+nWWyG6TmMM2RM2iDs2tJqG+m935vzUB9R8sl8121UzvVtzYdwlFJXjkdpFhy m1JUYQ== 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 4eyp1grh3c-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Tue, 23 Jun 2026 09:47:39 +0000 (GMT) Received: by mail-pf1-f197.google.com with SMTP id d2e1a72fcca58-84238e83851so3608719b3a.1 for ; Tue, 23 Jun 2026 02:47:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1782208058; x=1782812858; 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=dT3ZqB03YeVKv3AnZlUlVxas300onzHYiYQqPphtYjI=; b=fTPza3f4E8CCGcf5vEltZdLXZjilUEvzJ7BjdKR2lMTPQf9D4jlyzDe9i8buT7QtBK fICPs4JW2/S3e7NvustNbcboaW1N4xzpXP1aRhnuFgpuK6XN/zQFh2FCjTgjx9JCoN4X koR539CSlp5fC0BVE4MYm/54uN/tY5WN2tBhbVPAk7DTOJSY7OLiFswhHuzCD/u8DGBm CRxofFtzgRi4E1GSsgH9R18Dzj76vQ/8/sVK+W7JoZgoK4fPDnSGGbWyNExSFV0BQRDx YSR4RMMMpHWo3/ypRftDZJ6/QODbvgRaVXGkBuznlsip2sjMDhGVbJimKbzGnPW/5OOv JjVA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1782208058; x=1782812858; 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=dT3ZqB03YeVKv3AnZlUlVxas300onzHYiYQqPphtYjI=; b=hZQaxcyBKNanRYY6qbu41Zq9vXCZQp8Vu94ATcJXsNOUbg+1a/liDKdAl5IBM/E/6v 0zOWCFI9A0phOUs+Z83XcWkj8EzQztFO0X2mtTHBpSF+MMuzWlXlL9y/g7lsJcsflUpD ZLbPgD2w0vWat+V9rbFtKuPQ4CH184hkFNRGe/dr6yEumUpZcbzA0e+huIN04Z3whQdZ fEBlt4d3gHxJkcE1RipvXOX6P4dcHkn37eRe870QgEw/SOqSTL7m3/fY/hL4a9wqLf5d /9vjjJoVNvj1CnyF9UOor9qjKy6S6vYqvuPbURmod2pt/PqyiNEgA48fgajH3JZW9Xgg Najg== X-Forwarded-Encrypted: i=1; AFNElJ/VsEhOMPPo78+XwmXvQ4tiBLjZYPRnqlYiTDxOEagr1hvmpDgs/T5rotqjhseYnW6XsuKzfeIU+gTL2SA=@vger.kernel.org X-Gm-Message-State: AOJu0Yx/4dS1WIeg5HGQmuFtDOG9sIpS8J8KrrhQC0SzlQKXTFMfkvcu +U++cvEmbmCY0bAo5/DAg6qUFmEvT+pzeDryyqMhO4b0r37wAQukn5ILuJjPQzMg+Kd8nvhRwgT ylVx2FPMKhws0k9LEbGoRF3KX0FOeflzIKw2iu98l4RrAv/M5+C6qlUsANmrf7xFzics= X-Gm-Gg: AfdE7ckkrlrnsYABHmuO1nS/7bBFYeS+5PStSspBdUoXDWiKxkCC70eIeB6+lLhOv1J mqNvLTcQqRP+akwPBVHMY7j3INa/pO1Wu1vaiVIfFl69q5e3C3mto1+7fImKk3J69qclkv1PysY oLzXCC9tkmNVbuq+vIR0NQA3B7eaiOtIbkMqTHMrajj7PAenvzG/M/buFiAO7oMOQZSjDaowvYT eIaQnj1VZeL4+Hs7uVSDD551HxKCosUBzpXrT6bD9VzInMGnDtdFNEwSurg8PORWfn17TX7qlw7 axQXiehPnkPWxbSSxBMGGcQHkrEcZ/il4ss5rVD4AMyZvK8jTG0jHfZVQGppQUJjCmCfoKA+79x 94czn+34jIYc+KcwAmR9m1RpieqUjdfc0fskNP8QH3RG7+Q== X-Received: by 2002:a05:6a00:9a4:b0:83e:b443:965e with SMTP id d2e1a72fcca58-8459707afc1mr2244891b3a.3.1782208058399; Tue, 23 Jun 2026 02:47:38 -0700 (PDT) X-Received: by 2002:a05:6a00:9a4:b0:83e:b443:965e with SMTP id d2e1a72fcca58-8459707afc1mr2244862b3a.3.1782208057841; Tue, 23 Jun 2026 02:47:37 -0700 (PDT) Received: from [10.92.209.135] ([202.46.23.19]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-84564d8cd9csm9737902b3a.21.2026.06.23.02.47.33 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 23 Jun 2026 02:47:37 -0700 (PDT) Message-ID: Date: Tue, 23 Jun 2026 15:17:31 +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 v2 1/3] dt-bindings: power: limits: Describe Qualcomm SPEL hardware To: Krzysztof Kozlowski Cc: Rob Herring , Krzysztof Kozlowski , Conor Dooley , "Rafael J. Wysocki" , Bjorn Andersson , Konrad Dybcio , Daniel Lezcano , Gaurav Kohli , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org References: <20260620-qcom_spel_driver_upstream-v2-0-a3ee6837c18f@oss.qualcomm.com> <20260620-qcom_spel_driver_upstream-v2-1-a3ee6837c18f@oss.qualcomm.com> <20260622-armored-witty-tarantula-84a28a@quoll> Content-Language: en-US From: Manaf Meethalavalappu Pallikunhi In-Reply-To: <20260622-armored-witty-tarantula-84a28a@quoll> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Proofpoint-ORIG-GUID: 9-gsxFabyHrTKYT9obpqZc-RVXLdqWp9 X-Proofpoint-GUID: 9-gsxFabyHrTKYT9obpqZc-RVXLdqWp9 X-Authority-Analysis: v=2.4 cv=QJhYgALL c=1 sm=1 tr=0 ts=6a3a563b cx=c_pps a=rEQLjTOiSrHUhVqRoksmgQ==:117 a=j4ogTh8yFefVWWEFDRgCtg==:17 a=IkcTkHD0fZMA:10 a=FelO9ux0wxsA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22 a=Um2Pa8k9VHT-vaBCBUpS:22 a=gEfo2CItAAAA:8 a=EUspDBNiAAAA:8 a=ZBGX7F9o7YTsjpKyWPIA:9 a=QEXdDO2ut3YA:10 a=2VI0MkxyNR6bbpdq8BZq:22 a=sptkURWiP4Gy88Gu7hUp:22 X-Proofpoint-Spam-Info: AW1haW4tMjYwNjIzMDA3OCBTYWx0ZWRfX4etoP1RMRAuS sD3UbhCljJvSUTP/fbtbOlAOaBps7duQ8M/dRMI+AwLXNIlmTWKZdhKhJ+9E61L2sqMt5s975UX 2+yKzUrziEjWKQ6e+OHw5zGxt2sgUV4= X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYwNjIzMDA3OCBTYWx0ZWRfXxtJ4tZvzk+fV 0LASOfmbvl+kWng/PyubtIJiHPPFyjJix8Yzdhiw8GJ6rHklQrJlsMoLnomoP/K0CZG/p/LtCrA xo/cDDFL+XFgylHY7SHCOac65WxlYG25oqIwhCguf0eDc4hgXa+9dvWB70cVvGrtua0jfr0hvVd hNWKK9kjWYwhqLgLDAqmDhD3Ws4UkAdmKayOMBb9BoqLtzEM7PPV41cD1au/iQVgLFBj6usHO99 EtP4nGQcOu5x/GCCU1yzIZgbuoiNKuvnZQTtz2ku1NmqexHX0T5J78/XhRau0x5p2g75NJNzUEv eb+1Kb6Tf+E3wucDmfbvqje+RemDgd2Hxd8FaVCKTC9x3HDPqMGvitIjmc1xaqO8H93IIKJAh0p 28M/pDwtD4NE4iVzGJXyHzD2LkU+Xa0Co5eV5YpO5YiDGC31xxTUoIC+4/vAKmOpulXFu48lxUy bikFlbfiIzZnInLAGcQ== X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1143,Hydra:6.1.125,FMLib:17.12.100.49 definitions=2026-06-23_02,2026-06-22_01,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 spamscore=0 impostorscore=0 bulkscore=0 adultscore=0 suspectscore=0 lowpriorityscore=0 phishscore=0 malwarescore=0 priorityscore=1501 clxscore=1015 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2606150000 definitions=main-2606230078 Hi Krzysztof, On 6/22/2026 5:58 PM, Krzysztof Kozlowski wrote: > On Sat, Jun 20, 2026 at 02:09:08AM +0530, Manaf Meethalavalappu Pallikunhi wrote: >> The Qualcomm SoC Power and Electrical Limits (SPEL) provides hardware >> based power monitoring and limiting capabilities for various domains. >> >> Add a DeviceTree binding to describe the SPEL block on Qualcomm's SoC. >> >> Signed-off-by: Manaf Meethalavalappu Pallikunhi >> --- >> .../bindings/power/limits/qcom,spel.yaml | 47 ++++++++++++++++++++++ >> MAINTAINERS | 6 +++ >> 2 files changed, 53 insertions(+) >> >> diff --git a/Documentation/devicetree/bindings/power/limits/qcom,spel.yaml b/Documentation/devicetree/bindings/power/limits/qcom,spel.yaml > > What is "limits" directory for? What sort of class of devices fit there? Added for devices that integrate with the powercap framework (exposed via sys/class/powercap). These devices are responsible for enforcing and monitoring power consumption limits across different domains, such as the system, SoC, or specific subsystems. Any other better directory ? > >> new file mode 100644 >> index 000000000000..4c6e6cbfbfe4 >> --- /dev/null >> +++ b/Documentation/devicetree/bindings/power/limits/qcom,spel.yaml > > Filename should match the compatible, so qcom,glymur-spel.yaml ACK > >> @@ -0,0 +1,47 @@ >> +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) >> +%YAML 1.2 >> +--- >> +$id: http://devicetree.org/schemas/power/limits/qcom,spel.yaml# >> +$schema: http://devicetree.org/meta-schemas/core.yaml# >> + >> +title: Qualcomm SoC Power and Electrical Limits (SPEL) >> + >> +maintainers: >> + - Manaf Meethalavalappu Pallikunhi >> + >> +description: >> + The Qualcomm SPEL (SoC Power and Electrical Limits) provides hardware-based >> + power monitoring and limiting capabilities for various power domains in >> + Qualcomm SoCs. > > Please describe here more what is this limiting capabilities. ACK Thanks, Manaf > >> + >> +properties: >> + compatible: >> + const: qcom,glymur-spel >> + >> + reg: >> + maxItems: 3 >> + >> + reg-names: >> + items: >> + - const: config >> + - const: constraints >> + - const: nodes > > Best regards, > Krzysztof >