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 31697215F42 for ; Tue, 11 Feb 2025 13:24:27 +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=1739280270; cv=none; b=uF9tvSX7X0nDmy0NkFW6ZNRmcR+IKN5/d70g9KQowGW6zl6Ecq2dXp6vePqJCUpWOKabnQ/dIP+BgsSYiQ3e3Oqe0HRCodt3M+Ah4+nCNUe5ptALIHc0JxkizYpcSl9lEoeEucgBTmGLmhPegTrpQ/tr4psZlXIjlTR+rW1Ylys= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1739280270; c=relaxed/simple; bh=faoFeqrYKEAf9svlTJWzo4t+5/zdVdV4o0bV7POm6C8=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=i2o1WpQgD1B1wEcLH0CecZr4HiOgSIwHSa5Lvsdx6BZujOd+nK6ge2dOgKo7Bn8dYv9psFn059SoHgkhdCVQj3SGx/NCI42JbHEe4veSjA2cQKSufepb1OMZFPBPE5Gb4Sn20iMcAu9TOJAb32cCEF8ZZx2+VpPojhbiYq8qagA= 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=nIJPjNon; 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="nIJPjNon" Received: from pps.filterd (m0279866.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 51BDNIdH007898 for ; Tue, 11 Feb 2025 13:24:27 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= sQVfGCv09vBoDVQrh4Ze9mUczCoghiYMGRI0q2XkcrI=; b=nIJPjNonXVIHRGvn VYTMpCDZc8Wz0AG0xRHsPUAyBgR8KxmaLnTpHvQy4egNSJQXf3Eegxvatmf3Qe++ 43SEXFG7/Tifn2Nq2oGkGebHMX8lHb+lUk9kePBs+KxnfgXo8AVlQwpgCmrx2nKX 565eQMG12nov8zLuwYbNOTsw/EdKJ/EPNm1O02Gq7+dbm4i+FseXDdlYnSXOBINM pAa8fNMPVjYav3iVG8K6MLgYRGlOGcTa2YEFSbTuDD5y1yeIrH2MEpjzSO7PcnEZ sHQkPHk2uKjOgArQrY8ipN0xA3uijyvx07Bspg9rTUp/rn69QB/An8hwJuvCqm2k IC+GYA== Received: from mail-qv1-f72.google.com (mail-qv1-f72.google.com [209.85.219.72]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 44qy4d9f7g-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NOT) for ; Tue, 11 Feb 2025 13:24:27 +0000 (GMT) Received: by mail-qv1-f72.google.com with SMTP id 6a1803df08f44-6e422f1ceadso10805626d6.0 for ; Tue, 11 Feb 2025 05:24:27 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1739280266; x=1739885066; 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=sQVfGCv09vBoDVQrh4Ze9mUczCoghiYMGRI0q2XkcrI=; b=YnT0Tq2B7gf2XCV+IqsPm5fnXxHfQREdNGNbAphK+0PFM8Ln7JKOR12VcthtIEmcxF 0VKmS4VX977ekLuc9WC92tqnkHo6X55WuZhmh17+RYJjMfD587oERIUFCEnZzC5JWr+X +nbl3m4w4lMEa8M1lF5cyPVxwnrSpk79D7IIoz4qAblZU72zscWQ72P70NfdF5u8gH1k CZE0waas+yUS+IkGimWE6x3gwt7MiaXBW0tMazs22C63ub9Kwp4Z/ubtNgS7FW4uNheX YF3iert5O/ZydMwLmp3GmQli1ZeTekn9/q9Zp4RGuDlcMYYCUQRQAUYdRP97BqasVDqc 62FA== X-Forwarded-Encrypted: i=1; AJvYcCUqbihwPptN3PAuiM03ozQT1tT/I7tQ+9ulFxsFOB1klhFuI9u5ZCk+KwmF57M3Ph9Gh46hszOLhw==@vger.kernel.org X-Gm-Message-State: AOJu0Yyd2EutxPxcrzFwbgcErNCN7qics1bTQXQR7DBz95N8fLQhVFWu nEuGnMCCPwqmAEtngarPHdA265lg3GbzsE50zCI89GY0uTO/P3pXRs4T2VDqs7WngT6Jc2mm48I nX8WQbqM2H5lKISkFOb7OivPNKwqaYQ2siSktq0POVO/bA/1t3ytq41zskw== X-Gm-Gg: ASbGncuglg5FKqTvPRlIWOMRQKcj2N3stgOkzg9r6R0EZs1AjFD38PJnzqyfaWB10zi CDL8ZWvQfNXuOhULJZFJ9LX+965x5xjVf2w/6s7fTDLuBTBRpwPLlf9lYl1+3h19BOxqA4C0g78 35eI9n6+gQ4VQCtzozq1q+HMg5XiHUwqGw4Kgfn0q1ODsrsdx81lkFDh/raIR315Ah3xGn0N4lM PJoBnOkIaNYf6MNYOBwSx+FXpBbYBXWqPxJv/GQ1/OIGoF6euHqR3SOXYHgnTpRbsjjifq2+C0v fmvLcpzitmr5m8v5+HP6Vqe8eg0Kz2YIdw+9Uv+/GK0ljG5sDe1I0VJy5mU= X-Received: by 2002:a05:620a:19a3:b0:7bf:ff64:3370 with SMTP id af79cd13be357-7c069d8278fmr124539785a.15.1739280266069; Tue, 11 Feb 2025 05:24:26 -0800 (PST) X-Google-Smtp-Source: AGHT+IGuDMhfu4vsIuZpH9egkjC6KW9vClwfQVhdNexGYBZzWrK+zKQWg/bT3kho4XEZz7VPxtBwww== X-Received: by 2002:a05:620a:19a3:b0:7bf:ff64:3370 with SMTP id af79cd13be357-7c069d8278fmr124537185a.15.1739280265736; Tue, 11 Feb 2025 05:24:25 -0800 (PST) Received: from [192.168.65.90] (078088045245.garwolin.vectranet.pl. [78.88.45.245]) by smtp.gmail.com with ESMTPSA id 4fb4d7f45d1cf-5de61830117sm6150225a12.6.2025.02.11.05.24.21 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 11 Feb 2025 05:24:24 -0800 (PST) Message-ID: Date: Tue, 11 Feb 2025 14:24:20 +0100 Precedence: bulk X-Mailing-List: linux-pm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH RFC v2 5/5] arm64: dts: qcom: sa8775p-pmics: Add support for MBG TM To: Satya Priya Kakitapalli , "Rafael J. Wysocki" , Daniel Lezcano , Zhang Rui , Lukasz Luba , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Jonathan Cameron , Lars-Peter Clausen , Lee Jones , Stephen Boyd , Amit Kucheria , Thara Gopinath , Bjorn Andersson , Konrad Dybcio Cc: Ajit Pandey , Imran Shaik , Taniya Das , Jagadeesh Kona , quic_kamalw@quicinc.com, quic_jprakash@quicinc.com, linux-arm-msm@vger.kernel.org, linux-pm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-iio@vger.kernel.org References: <20241212-mbg-v2-support-v2-0-3249a4339b6e@quicinc.com> <20241212-mbg-v2-support-v2-5-3249a4339b6e@quicinc.com> Content-Language: en-US From: Konrad Dybcio In-Reply-To: <20241212-mbg-v2-support-v2-5-3249a4339b6e@quicinc.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Proofpoint-ORIG-GUID: 8rDkkvZoZfNTLlAR_NbQ8rUJApsmEPgw X-Proofpoint-GUID: 8rDkkvZoZfNTLlAR_NbQ8rUJApsmEPgw X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1057,Hydra:6.0.680,FMLib:17.12.68.34 definitions=2025-02-11_05,2025-02-11_01,2024-11-22_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 clxscore=1015 priorityscore=1501 mlxlogscore=999 bulkscore=0 phishscore=0 spamscore=0 suspectscore=0 adultscore=0 lowpriorityscore=0 mlxscore=0 impostorscore=0 malwarescore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2501170000 definitions=main-2502110088 On 12.12.2024 5:11 PM, Satya Priya Kakitapalli wrote: > Add support for MBG TEMP peripheral for pm8775 sail pmics on SA8775P. > > Signed-off-by: Satya Priya Kakitapalli > --- > arch/arm64/boot/dts/qcom/sa8775p-pmics.dtsi | 116 ++++++++++++++++++++++++++++ > 1 file changed, 116 insertions(+) > > diff --git a/arch/arm64/boot/dts/qcom/sa8775p-pmics.dtsi b/arch/arm64/boot/dts/qcom/sa8775p-pmics.dtsi > index e87f95e9ba9f59e3f067af0d5565b8e3ed4b37fc..eade5784f18629dc9f7ebf0257551bf96bea9a4c 100644 > --- a/arch/arm64/boot/dts/qcom/sa8775p-pmics.dtsi > +++ b/arch/arm64/boot/dts/qcom/sa8775p-pmics.dtsi > @@ -89,6 +89,58 @@ trip1 { > }; > }; > }; > + > + pm8775-mbg0-thermal { > + polling-delay-passive = <100>; > + thermal-sensors = <&pmm8654au_0_mbg_temp>; > + > + trips { > + trip0 { > + temperature = <115000>; > + hysteresis = <5000>; > + type = "passive"; These could possibly be 'critical' if 115C is the TjMAX or near it Konrad