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 9375B32B106 for ; Tue, 19 May 2026 10: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=1779187660; cv=none; b=tCMqfWUDLWMox4e+0d1ogfFbVJ9FGbFCjONOs8vFS7C1Yf+q0dX6T6nHKrJa97B8L4/8Xxa4/9TS0X5PWQrdm+QHMQcCsj0UBCMMDcllcTNupKncq/VpWkijHzWkANRfodnKAeXoJlpXWg1yhU9p7HywJX145qCepDwd8Putxuo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1779187660; c=relaxed/simple; bh=yzHc1KrwjhHvrLapddPECGSX00VBdLIHE41IjyQ90GU=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=Uo8w54LWk05uHMLoCHNSuhRQHX9qlYkYHbVez2LIcOiVzeJp3XVzaJQa7d0nUll1R5QVgnkREEVyVQIMDbxMwUh1DIzscaZcqUIxGyuK71HRNdoNZaLijdwIv4pBScnczncHww4fNb9kIqoraFKFHhx0NiFyGI8dOgMBboNzno0= 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=Ei8rYPlj; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b=Gy+25Dim; 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="Ei8rYPlj"; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b="Gy+25Dim" Received: from pps.filterd (m0279866.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 64J9LphL4062966 for ; Tue, 19 May 2026 10: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= AWmB9KzPMe9DxK/PQCkNZX5bHmWFcsUK5K9kGfphZKc=; b=Ei8rYPlj/vf9zcGR uZzcR8gkATmw37dBpVS09/wAGfBMJ5M7eXF7i7nL8KyUoBgMcAhxAEk5CCl0VQJd xtRY8x4O9rPp/oKJRuRUdknaxIqWMm/qvoiPJOCHKdlCl0ib4Z2tDVt/SThzrtgK jjACPda973p8jFjY5wt4EO1Bogh/nYdvmfbOqLvHy1MDrYik8FrDsqrgGESMGtlc V0pTNvYh5egqUaPp4hNBCNfBewq8xwuY5klZxC6kDf8oWjbUEH2Ah1ZTU97b2aTt 8zLe5oeFrDBSRdZRYGHdhiBaqi0ADH5cxXyBOAE9RAo72ZEZR8fQmaSJSyVSwGDj wV/f8A== Received: from mail-qt1-f197.google.com (mail-qt1-f197.google.com [209.85.160.197]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4e8n5u0b22-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Tue, 19 May 2026 10:47:38 +0000 (GMT) Received: by mail-qt1-f197.google.com with SMTP id d75a77b69052e-50e62562b6aso11397001cf.2 for ; Tue, 19 May 2026 03:47:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1779187658; x=1779792458; 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=AWmB9KzPMe9DxK/PQCkNZX5bHmWFcsUK5K9kGfphZKc=; b=Gy+25Dim+pqzHHEkF9lGYvO/m5CfQcaiGYbx4m40t9jmy3Rj/IrDa4hmHU/Cpfy1JV dawtZfSFqUtfJSEfzaB0TH8neIqqvaUyS+1evz7JTTX9Vw+CdJ125A6FP6FqbflJdpB6 z+PXWcz7oRkGapsPv2p8i7dOEHP11a5E6VCuB8Qpw3Z76WI06dnciN/ZZJRAdll3114k XPqW0CJN0sOu73mwAM273ty1Xuvds/iUvMrgNthA9yPbcZ7ArFblFz2fV1sRRd4mJTaN f0h+i043iePDcLDiuHAu49p3/ZU3dse8IQVugIOaxZvVkqE3HxqZbUhbKhks9PdEPWXI 3JZg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1779187658; x=1779792458; 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=AWmB9KzPMe9DxK/PQCkNZX5bHmWFcsUK5K9kGfphZKc=; b=cJsLNbI+Swgc+zh2BpV64ZfSW4Y1QaByqZTu/8/pqNb5nqBce0fgZIZ2Drs1S6pdQy 7rDKb4FrKA77QNpBr1AZkewAKaE66TZOBboFSx//eSBAfRCpk9X/WVcNVmmPuii+DXIx lz194WAC/zNXZUCWVgVTu2o5ez7GpQEDa5gk3NVX57mgAUL4b7Rq8e8n8s/vhDYf6ECF bG8SeVJQz9BC7l0770o/qkQHTg8x+gUDw8n/1w1xb1Uixa13fNTqGvvffpo+thS2wpd4 sA99gNlHob+gdBQ9GyCT6e8niynH+zakzJc9qB4E8255+LHuwohwfmTjlGeBgMuooUiM Zfxw== X-Forwarded-Encrypted: i=1; AFNElJ8g9IUXJRICDoF66yUtpipAAKuGKgHuSI26CMZJ1jtNcCSHW3ZLtNIJVOldlDfD6U7EPE06CjEwlH2o@vger.kernel.org X-Gm-Message-State: AOJu0YzDXp+1FxSY1O0opRN7YnBTTpb+8I5nrfj/wTnKDZYgxU7RSJSF ZrYJllLVE0oi94Oa/G8bt2cobo/4UAeQUxQJu9mgO0hxmpG4ru6wAPslzKWebwQObQVnd9CrSR1 SIza/iWl0dz5JpAnWDSSqNG0h+GJ1q87rWhpZ8yGXZ5pdluWyS2xot9F4OBDmK/qQ X-Gm-Gg: Acq92OGDEwwsyvbA5qJLhmKoBMr4Kgq4jqDT23p5vWHZQiD40qM37FO69qwvDBac7f7 wlx4G0gwDjnRSDcXrCm1FtkDTY9cChHL4Ei6wZ/el0VXpudVTGy24QVmFMJhw6Q4PHVp66qzJIn AVbOkA2fI008X4DiWaOWs4rcRclqIFY1W0HAkB8VGiyvwVNFz29N+EZtVkuE767IxKjQ7A1xFt/ gvFXjzbjyQwB5BedRD97t2frCC3x+3WsMp1b0fdZmloC4unjA2LsvqbCMVQrCnfMLgJm5nfGUJv aCj8/0AT7Aa864A972fqTr/nhQhrDJrI09Q0Ih2Nyj7vOgrlm6lOhWC/dlFJ3UeXc3sfIef0vZz ds1QK+0k9kqRkQafMgeYA2R5tFrED3GuJGDJQLmIuk+WCsmM0LZl0sfgtVahTtYm4840gTmzwzV TmAYTQ65IqGV3AiQ== X-Received: by 2002:ac8:7f10:0:b0:50d:ec32:b84f with SMTP id d75a77b69052e-5165a0c922dmr184664781cf.3.1779187657926; Tue, 19 May 2026 03:47:37 -0700 (PDT) X-Received: by 2002:ac8:7f10:0:b0:50d:ec32:b84f with SMTP id d75a77b69052e-5165a0c922dmr184664441cf.3.1779187657444; Tue, 19 May 2026 03:47:37 -0700 (PDT) Received: from [192.168.119.254] (078088045245.garwolin.vectranet.pl. [78.88.45.245]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-bd4f4ec000csm693210366b.60.2026.05.19.03.47.34 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 19 May 2026 03:47:36 -0700 (PDT) Message-ID: Date: Tue, 19 May 2026 12:47:33 +0200 Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 1/2] dt-bindings: soc: qcom: pmic-glink: Document batteryless property To: Krzysztof Kozlowski , Rakesh Kota Cc: Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Sebastian Reichel , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org, jishnu.prakash@oss.qualcomm.com, kamal.wadhwa@oss.qualcomm.com References: <20260518-add_dc_in_support-v1-0-31fbaa329879@oss.qualcomm.com> <20260518-add_dc_in_support-v1-1-31fbaa329879@oss.qualcomm.com> <20260519082526.odmn5dqi2jftwnln@hu-kotarake-hyd.qualcomm.com> <20260519-first-wine-bulldog-a6a4c7@quoll> Content-Language: en-US From: Konrad Dybcio In-Reply-To: <20260519-first-wine-bulldog-a6a4c7@quoll> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Authority-Analysis: v=2.4 cv=MfBcfZ/f c=1 sm=1 tr=0 ts=6a0c3fca cx=c_pps a=EVbN6Ke/fEF3bsl7X48z0g==:117 a=FpWmc02/iXfjRdCD7H54yg==:17 a=IkcTkHD0fZMA:10 a=NGcC8JguVDcA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22 a=YMgV9FUhrdKAYTUUvYB2:22 a=ZX6by8Qv5zPJwBpBueMA:9 a=3ZKOabzyN94A:10 a=QEXdDO2ut3YA:10 a=a_PwQJl-kcHnX1M80qC6:22 X-Proofpoint-GUID: hbwruuzU_aZ8U5ZzbzkqQiF2Gq5oK841 X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYwNTE5MDEwNiBTYWx0ZWRfX95tijYPCYf7N kO6CStIxilvF4pqKU3BzLWdIpPbnp9VNVm2IlSo36B9vPxqc02Lcbwdxh3DnaDttelrOH4d/MlK ySNnACT1qOIMjiCt+wc4/QjPd4Jf3pyzAUOXMb/lHetBwkp4S5TVTqq9HV+BZcwwgD+olQDu+bc SnGL/5tQr4RZWnnrI0Dd0CI06Sb/ouxn1YovVmLUdq18cRUNBs8yReY+OkICkW+bE+7OpVk74ns 3Yj7xWXWAmk9OXa5xtun3DILZ2FpMv3i90QG21s5sFfNBWCXnZqFIVKatsU4tZJQXxjV/4NdFEG uXirJNkTwuDS51/nQJXTMjOY8WaND6hLK+CDe8Pbap1zKrI5CpJJ4xrSxtmKwS1wAH+lx9T90Be /qY9x00pWcxSyEcEQlTU5m0lsmqMTrMrlkknG+GT07IY7DvUeJ3qvI6tE5sRsNjCp5Lb5bDhDaw Sf2UOn/nlf/kBRDEZhg== X-Proofpoint-ORIG-GUID: hbwruuzU_aZ8U5ZzbzkqQiF2Gq5oK841 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1143,Hydra:6.1.51,FMLib:17.12.100.49 definitions=2026-05-19_03,2026-05-18_01,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 lowpriorityscore=0 clxscore=1015 adultscore=0 malwarescore=0 bulkscore=0 impostorscore=0 spamscore=0 phishscore=0 priorityscore=1501 suspectscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2605130000 definitions=main-2605190106 On 5/19/26 12:35 PM, Krzysztof Kozlowski wrote: > On Tue, May 19, 2026 at 01:55:26PM +0530, Rakesh Kota wrote: >> >>> And isn't lack of monitored battery property enough to indicate that? >> >> Regarding monitored-battery — its absence alone isn't sufficient. The >> BATT_ID line on debug boards is pulled to ~10kΩ, which is used during >> development phase where some battery properties are still present. The >> same ~10kΩ value is also used on some genuinely battery-less production >> platforms where no battery properties exist, making auto-detection >> unreliable. Hence the need for an explicit DT property to identify >> hardware platforms where no battery populated. > > I don't understand this logic. So you claim you have debug boards which > do not have battery, but define monitored-battery? Then these are wrong > and fix them first. I don't think any pmic-glink device defines a monitored-battery node The firmware is in full control of the battery charger (maybe with the exception of some coordination with ECs on some laptops and maybe if the vendor has some very in-depth custom charging hw, but that's educated guesses) Konrad