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 10ED019343E for ; Thu, 16 Jan 2025 21:18:22 +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=1737062304; cv=none; b=Qa3jeiGlh8d5WWDJ41lxMDAxSpkJEIQ14dtelhwMm/UuGRXG5JfVZgsqxh7oY+WDdSBn5iVYL+ZLoQ4tstVJv2seA6ndXfBgb4ooG05OKxePUmsW5ZTjxbkmyUuP0N1e7VX6vNcUVWuddsZLh4uvmNTSm1U0jCd22QqLaC1qG5c= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1737062304; c=relaxed/simple; bh=lGPE/siAy9MNUtanz/bONZNEOefFLJSE9/V8gLVyRFQ=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=uK1PGovao8dUs1vX7m4nDm1rzkjhLdSJvEKpkZB+kG1Zs0dIeAoGIARX7TowFuvInXMfGmP6kJTPWR9icK6MKzjW+u2OCVg6BjJ/4jjtFoTWuV1gZ6qTiX9fuU0i98yCWorT3qE7gGvuBU3AtyfmAZnLoSc8TsCnCPPeLs0GooM= 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=eKiSr0OB; 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="eKiSr0OB" Received: from pps.filterd (m0279864.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 50GDqbIb017241 for ; Thu, 16 Jan 2025 21:18:22 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= V0DFQF6jf95eF1muG5nl9hA5YaKwuY5/TJsBMMOUBsw=; b=eKiSr0OBATnrSA78 9DCzuA+IOJSafBylp6EaAz+U4G9nSXS0FHBG3k820iVaMheXDNRYHd6E4rN06rh5 QGp81vj5ZfWB9KTqgvCvb1LKY3z0NteljNiv0gWlKTVKchUVU98JPreYF/vSToEg xQ6Ff3RBjxVZ6h1k17Z72rjL6RVgcTDTYMkRf7S4z64r2JV5IE+7mL2ObdZrQ5/z zsnMYz67iTsBg1LydPspGyIN1ZOz01s5PmOaZgJQOQsITH4gx5R4JawTm1vvL+bk yeistoHDtS66onEoeBDdRDcNl63xY7fkbf3AY0IHq2fjTktJq/sqDMGRH9yrXNQj IRWmKQ== Received: from mail-qt1-f198.google.com (mail-qt1-f198.google.com [209.85.160.198]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4473cqh1xs-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NOT) for ; Thu, 16 Jan 2025 21:18:22 +0000 (GMT) Received: by mail-qt1-f198.google.com with SMTP id d75a77b69052e-467975f1b53so3699881cf.3 for ; Thu, 16 Jan 2025 13:18:22 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1737062301; x=1737667101; 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=V0DFQF6jf95eF1muG5nl9hA5YaKwuY5/TJsBMMOUBsw=; b=wxZtrvuCAWQoGtdmvM4xwk0VZxOSm1cjJq41/zJ7cxIGALPdTIt+0rbx0kNdLKkg1j DYrqmERPGV+Qw/qhyPpZ2Cm2WY1E1m/2l78vBwfHl7crGdmF0HNyPzf4BbSAsoGMtm1Z dXG/ifSqsaFs1JCAEXU64pa+Lzo452j11axi2oh1xwpHo1soAx67DHZ1cNquHwCYb87a 1klF9AhchwQ189IwJ/HZZsI09vWyIWCj3TowJeSihPoNFibLRxNT1dQlUC0Dbfta9+Vn QXNMPCIqtGj8qefqm1FxYvWj5U4nKP8ZFp9Daw7dPcHUN5b2q6EXqTb2sSZ8OKCKc40a VREA== X-Forwarded-Encrypted: i=1; AJvYcCXu8YKZiVKRQGCvjWd7fhIFvZynLr9XFEEGD4vBFDKILjnHFB0ESGZfgTnQR9oKLtMwyBBeQQ43LUnYgFY=@vger.kernel.org X-Gm-Message-State: AOJu0YwuaaFkruLtmzkmE4jGSFiIAE+c3+LArfOwxXHYe0duzM/cqRIJ 1VsLHF7jNDogw6ETlDoY0Cg6HEQQ13+xHf5BHl962z4aYgeyNZXQDOnb4A+M41+FtoR5MxjWswy 9o3Viy9yCieUM0lRVapItR2e3j5aWySm0wTK7R9tpJnlPd2QWxhGggiQyGXasMyQ= X-Gm-Gg: ASbGncsC087z6c1fJh4bngOM6Xgep3v0lupAcyc/2kDf/o1Koq9FNhWDRgW/sTdjI0F vy6QKFMY9wzUcBTUSlV6lVEiWdyXqVJpsmMKZbHIieCJa8gwo8X2y0W/EU7Uynl4ZOUXVB+zK8q gP0PhyK+5t8IBveSf64BBquQs8IVeoBkUNL6Bjjl4HEnQQ3pFztA0OTpb3GlrdJl1ZmhSpiyILK uZpkbVgDftDiUB9Jy5r1SLLCgEkR+CYEBqYC0zhCldmkUNT+lPpPQNdb6vQADCK9kRLe8Mh31Sb ryw480WrY6+4Su5AufmqYLKBk5Fig/ZziJw= X-Received: by 2002:ac8:7d13:0:b0:467:5eaf:7d23 with SMTP id d75a77b69052e-46e12a15fd7mr1316911cf.2.1737062300874; Thu, 16 Jan 2025 13:18:20 -0800 (PST) X-Google-Smtp-Source: AGHT+IF0ktFkGh+DnzAEzmtJNQCdOdkCJ8QnEy5QQmWqMAIAlas/Q26HM+/LY+1fKPjfS1SWYGhwPg== X-Received: by 2002:ac8:7d13:0:b0:467:5eaf:7d23 with SMTP id d75a77b69052e-46e12a15fd7mr1316731cf.2.1737062300457; Thu, 16 Jan 2025 13:18:20 -0800 (PST) Received: from [192.168.65.90] (078088045245.garwolin.vectranet.pl. [78.88.45.245]) by smtp.gmail.com with ESMTPSA id 4fb4d7f45d1cf-5db73ee04c8sm436772a12.80.2025.01.16.13.18.16 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 16 Jan 2025 13:18:19 -0800 (PST) Message-ID: Date: Thu, 16 Jan 2025 22:18:15 +0100 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 RFC v2 3/5] thermal: qcom: Add support for MBG thermal monitoring To: Satya Priya Kakitapalli , Konrad Dybcio , "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-3-3249a4339b6e@quicinc.com> Content-Language: en-US From: Konrad Dybcio In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Proofpoint-ORIG-GUID: l5LpxIP5lBiLmtN3t-WhcFCHQ4sh9QLU X-Proofpoint-GUID: l5LpxIP5lBiLmtN3t-WhcFCHQ4sh9QLU 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-01-16_09,2025-01-16_01,2024-11-22_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 suspectscore=0 phishscore=0 spamscore=0 bulkscore=0 mlxlogscore=999 adultscore=0 mlxscore=0 malwarescore=0 clxscore=1015 priorityscore=1501 impostorscore=0 lowpriorityscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2411120000 definitions=main-2501160157 On 16.01.2025 9:05 AM, Satya Priya Kakitapalli wrote: > > On 12/30/2024 7:36 PM, Konrad Dybcio wrote: >> On 30.12.2024 10:45 AM, Satya Priya Kakitapalli wrote: >>> On 12/13/2024 9:18 PM, Konrad Dybcio wrote: >>>> On 12.12.2024 5:11 PM, Satya Priya Kakitapalli wrote: >>>>> Add driver for the MBG thermal monitoring device. It monitors >>>>> the die temperature, and when there is a level 1 upper threshold >>>>> violation, it receives an interrupt over spmi. The driver reads >>>>> the fault status register and notifies thermal accordingly. >>>>> >>>>> Signed-off-by: Satya Priya Kakitapalli >>>>> --- >>>> [...] >>>> >>>>> +static const struct mbg_map_table map_table[] = { >>>> Is this peripheral/pmic-specific? >>> >>> Yes, peripheral specific. >> Okay, I asked a question that I don't recall what I meant by. >> >> To be clear, is this table specific to all instances of MBG on >> different kinds of PMIC7, or does it only apply to PM8775 >> specifically? > > > No it is not specific to PM8775 pmic, it is specific to MBG peripheral. OK, that is good, thanks for confirming. Konrad