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 4CEC638E13F for ; Fri, 22 May 2026 10:34:29 +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=1779446070; cv=none; b=YKSfVF8O6BLxN1fV0mjnsDDAiDkHjq+B2KnRVePdSAthnmxYKqLk0q/DZCX6vlp0TQcc/vGDWv0iYtM8fTCaS05SCLZ4vgWiz46xH7H7WBlRNHePSvdC5CYTg0LpXIhw+ukFaBGzc6FdMKoHqd3FkqMn3OYc8jgyxV4Ke1UsHu4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1779446070; c=relaxed/simple; bh=y3IuxWVbfihwfZfgLeBcRjY1oAwsSCax75MFWUkmmRc=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=RbksiuvQ9cqGu9iVvWlGrHqZZDw//B2nEvGQ1JthDO+MOCNSskZ7ayIDvHsLTPtfKKQx5ZOl8g23//C9+HrQH0EG3ugRnUq3zSXWz4rGqcBaDwmbTq3IPGxIPGf7X4IDRt1RAD1Wn65qe6Q9UN52PgQ8/cG4WYbQd0UFp1R6HL8= 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=HNG1RXc7; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b=V0iXFsYb; 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="HNG1RXc7"; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b="V0iXFsYb" 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 64M8bXnL3532225 for ; Fri, 22 May 2026 10:34:28 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= QcQe+UoAJYQdJcK+S4fBmdCwye0gDdCM9Uba839eVo8=; b=HNG1RXc7UPwT3lBr AmuXsLp0+r3XGXmStneaEMKZN51GHZ3qtHIVMRceA3kuCDhPa4RuEKs+i5z5HT3G xEiBBt3dJVqG0C4+jAf4B8WcWXe1D/nelXrdUKBy/AeGfKdQ0qcFR47eY5tEiH3I dmd+p194BaTHo0Qw/jur/2sfPn5b45cgOnXkSWKM/fBxncHcYLVBBKHjUW/gdNwH 2rk/6kZlmgMdVFay+SluAUn/nb0P6AaFIIm5W3XerGSnutShGDNigKbl8FAV3UYI AisJ/ZZxh9ahUmu9Z6MOWyw3EY7mwp0V84gZaKnCMlLCmNOLoJKvcMyIvT2hmKLz OxkThw== 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 4ea39gvn0w-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Fri, 22 May 2026 10:34:28 +0000 (GMT) Received: by mail-qk1-f197.google.com with SMTP id af79cd13be357-914b56f450aso20865585a.2 for ; Fri, 22 May 2026 03:34:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1779446067; x=1780050867; 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=QcQe+UoAJYQdJcK+S4fBmdCwye0gDdCM9Uba839eVo8=; b=V0iXFsYbBndtYKPW5As9Ex3h0v3zlND09FwYeHIZYGKAYHQoDXzGzlPXB39VBx7WVD oLooDiur7nQGU8XXDwChviaLTTfSsPYzXuzLLOiUzxtBjwsBIRN23cOB1SOoSPuHPqjg Let9qhOhCaN4HXP9c1P05cjez8mEofNo4SiHQjSiXI711IHyscLWGZP/g5uEcfYD+dLa ZZXPEveBrnen97Q66LRmzrixBLg6QKKG+2ZLOz3J5n23x/cDfsPwJLR/sNOJd+v/y0fU GM6GUsYugx9tmWe7za6Gu8oWaCvFX205QFjuNdDv42iYL22EA4hGCKG717dEADBvfZP1 BbUQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1779446067; x=1780050867; 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=QcQe+UoAJYQdJcK+S4fBmdCwye0gDdCM9Uba839eVo8=; b=Aw8Y+n7BlrGVMUYyCtmkno7hLKih9Pagrc9RqA9RNqNqT0FjnSBv3EJhPy/cgCDHFI oM0duk7s9OBeKf6cEkriR0LZ5+YcR+mwTubpKel9Ezfn+uW+3SwNCqHtgCclawmgrBup JzYNMAzwRTFCm1+EvIbDiA6h2u3C6AanO23RpzqGqYKmb/uW5prM5Uu3CVcPIjHb8q0p MdjJ+9enZZyfvUmiaB7Yp5r44+vW4wwBFHwfjLkHSHcmlbhZEAcaeXZ0EP1Y2I9KSEua gH44eN9FgDXSU1tTDifauXiHD75O1KC/CRzBIAAxrzzqYUdSwaaN6IqAI5HYqZQfe+R9 sKCw== X-Forwarded-Encrypted: i=1; AFNElJ/e6AeKg0WQ9hJiV5lDTNqNZVBYxZ9T8YJaa3WtQit6FD/UoKbqDzg/E1AcW21rzKZ4u15iBNK19g==@vger.kernel.org X-Gm-Message-State: AOJu0Yxl/JLQULANqJHUdDA1YN1n5tgSDE60nu5QonAtesQz52ljIa4D lh2PeIgTEdG5o8EKztxllQNGId6yTtuT5xbqL2R0OrSUDVuwWSlVXFdQstIcp+UQUDikKsB2vcK 06maK+/ZrTJe8Dz4rklkDhRwRYdfPfpl2DJiyNXgSIToUqzNCB86gXGzuEPJsqg== X-Gm-Gg: Acq92OGhKcdwqd+VTpuQJU46qAb23x8q+19pN2lak1s4tI+JzpiDGt2vXIpj7NwvoFO ZZatu8ySVN69kvG2+3LrPuwbTojPXDpLhjQEdWKD0HywDxuKWFFlYqM+cXefffQtalKBQYTKXLr 4K/gsyfP0rcue7xP/IYdhE6Cr8HBOxu3cxRmDuzt4Y1YQ00xUbDR157/dBmlEFxZ5tgA6pJUlV4 2y+yveXJnhMdi18mugW7kNTHs4JWVWQxiZgglNGuyokMQ0Hf2wjsMJ9W249Fk4pXOuAbba8F3g8 Xex2z7IifycNIdhxHj8K8C5k/HIaDWcFOZwY6vEvsGQzHOBzXjHJeRrrrsniMmNMEbf649I5fbJ y+3l7/kKz5FnTRqaNt6YTAsHahZesCjqztytaLFBoay6Vlw== X-Received: by 2002:a05:620a:6603:b0:911:e556:c7c5 with SMTP id af79cd13be357-914b4a3db29mr300110485a.8.1779446067679; Fri, 22 May 2026 03:34:27 -0700 (PDT) X-Received: by 2002:a05:620a:6603:b0:911:e556:c7c5 with SMTP id af79cd13be357-914b4a3db29mr300108085a.8.1779446067273; Fri, 22 May 2026 03:34:27 -0700 (PDT) Received: from [192.168.119.254] ([178.235.128.140]) by smtp.gmail.com with ESMTPSA id 4fb4d7f45d1cf-688b9b6d023sm525800a12.5.2026.05.22.03.34.23 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 22 May 2026 03:34:25 -0700 (PDT) Message-ID: <6129602e-6dfe-4194-9c44-b0e4fb4da1a1@oss.qualcomm.com> Date: Fri, 22 May 2026 12:34:22 +0200 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 1/2] dt-bindings: soc: qcom: pmic-glink: Document batteryless property To: Krzysztof Kozlowski , Kamal Wadhwa , jishnu.prakash@oss.qualcomm.com Cc: Rakesh Kota , 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 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> <20260521071341.q4efqssppvettaey@hu-kamalw-hyd.qualcomm.com> <86f76a81-832d-4ba5-81d5-38b46b7dc0a7@kernel.org> <6c595a5f-b979-4e8b-ae77-d28d24700588@oss.qualcomm.com> <82019c2e-6b6e-4edd-91b3-a28ef6eb09eb@oss.qualcomm.com> Content-Language: en-US From: Konrad Dybcio In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Authority-Analysis: v=2.4 cv=Yr8/gYYX c=1 sm=1 tr=0 ts=6a103134 cx=c_pps a=50t2pK5VMbmlHzFWWp8p/g==:117 a=PRfkaYvzSr8QmIIGAkY2Sg==:17 a=IkcTkHD0fZMA:10 a=NGcC8JguVDcA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22 a=YMgV9FUhrdKAYTUUvYB2:22 a=YeHrj-Ycd-3U9Jybuc4A:9 a=QEXdDO2ut3YA:10 a=IoWCM6iH3mJn3m4BftBB:22 X-Proofpoint-ORIG-GUID: 3x1MoZgwyU6vEWqZfY5Lta2ZyQkRgq4H X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYwNTIyMDEwNSBTYWx0ZWRfX06+DZa/p8EAk JQwxbmcMfB/dAxJRhIGDlKLf8U60wF0hIRr+W4hlrBE/5JfBkSNbGPUcNZmOvpJTnwIKYsj9myv Z5EU1VTrF7p4K/wZTZzzv1DRaZgKrarqhB5t2anxxIBSadX53TG0V9IH17jr2ABxOzgOJ+67X/H bVILCloIphsZe+n96eQZNNjv7jSdGh1FOjn4QtZkAipDVGCMXOuDZO+j/mL34MUoMy4DjhIokEp Um0lR6Y6Xi7CTf8Pqwm3TxPK9tim8PQK3CmbgQCCFdfECJf4Y/6dyjvQSHWj6CBZTNRQiLMYd8f b9GL7idsr977nDvaU6kRlJUJ8XGWXBEmn7SgenMyt0bC1vUT6hkctE7ff1txo3cmZ8kRZecCGlG X/xSsntz9ZcbcDclbg95pAUav+JwijNDwvWUovlVvBRN3t2NslMo5fITcnMJLeg23chARHUOris v+UA1Dao/0TEwGpDfjQ== X-Proofpoint-GUID: 3x1MoZgwyU6vEWqZfY5Lta2ZyQkRgq4H 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-22_02,2026-05-18_01,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 adultscore=0 priorityscore=1501 lowpriorityscore=0 clxscore=1015 suspectscore=0 bulkscore=0 impostorscore=0 phishscore=0 spamscore=0 malwarescore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2605130000 definitions=main-2605220105 On 5/22/26 12:32 PM, Krzysztof Kozlowski wrote: > On 22/05/2026 11:24, Konrad Dybcio wrote: >> On 5/21/26 11:58 AM, Krzysztof Kozlowski wrote: >>> On 21/05/2026 10:46, Konrad Dybcio wrote: >>>> On 5/21/26 9:20 AM, Krzysztof Kozlowski wrote: >>>>>> Since firmware does not have a way to dynamically tell if it on a >>>>>> debug-board powered device or a DCIN powered device, We are required to >>>>>> add this new DT property. >>>>> >>>>> Neither debug-board powered device nor battery-less will have >>>>> monitored-battery, thus again, why lack of that property cannot tell you >>>>> what you need? >>>> >>>> A device with a battery will not have a monitored-battery either >>> But why? If for such device property "no battery" is suitable, then for >>> me "monitored-battery" is suitable as well. IOW, if you say that having >>> a property describing batter is not a accurate hardware property here, >>> then neither saying "no battery" is, because no batter is basically some >>> sort of battery (just like empty set is still a set, empty array is >>> still an array). >> >> The battmgr service running on one of the remoteprocs already has all >> the information about the battery and it also handles all the type-c, >> PD and charger configuration, only letting the OS know about the >> results. >> >> Hence, unless there's some other hardware at play (e.g. for custom >> 200 W charging), which wasn't fully implemented in the QC firmware, >> there is no reason to describe a battery separately, since the OS >> can't do anything useful with that information > > That's a good explanation and it implies: "no-battery" is not suitable. I agree the firmware should be fixed Konrad