From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.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 C55053C3BFA for ; Fri, 22 May 2026 09:24:25 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=205.220.180.131 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1779441867; cv=none; b=R202YqiVJicXHFFwPZx2LVsQtLjN1JZtND9YgPjod+wSUD25kghcNiLUPucJfBWtNKSEw2sTHrOB6kh0tOxZgECK0D4bkbOt28LxXThuG6+kTYBy/5OoKlLSG3P/Q++cOuDAmo9hZ8FPS1BTRqLmxjJnRMn9VqadjhglwG3DP3g= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1779441867; c=relaxed/simple; bh=+IBidySudLXvX0hBrNR/qamTJH6kfsbZPwdiFk+FWSM=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=su2NCvyoegPaVvcbsvSbVfv/8+pu2qaUPHazZhqShZF/LM9UCvCDZwzX2XoL/jRUzpuG6lsxeidP6Wi/aPLscdXPpAd5HGe/lJfLLIX2WEqrsIO9otk++dlGHtViwukmlCmexxn0l3PrSkKRKqDCzUlm6MFbh5ZJY6Q+lmNgs+w= 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=mqWlC/Vd; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b=QrqWHb+P; arc=none smtp.client-ip=205.220.180.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="mqWlC/Vd"; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b="QrqWHb+P" Received: from pps.filterd (m0279868.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 64M6UNom1959419 for ; Fri, 22 May 2026 09:24:24 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= +IBidySudLXvX0hBrNR/qamTJH6kfsbZPwdiFk+FWSM=; b=mqWlC/VdunaOrdlo yltyKLZEPW7gGXbYdkJoRFHNtW33urNBdJjOLZSfbyPEaTSNer/Y8UxnVKfkvYty q0aSmnK1ICe8nVcAXpRpTKj4CfMmqV6+TwYjmNhcYmuAAllqP9lskxqMxCoKbMH9 BS0ShXHsRzrrdR0hSwEtu3hfxLkKFxXlmdxYEV1OeJE++EMNCGegj5EEW/O/Fsfo lM4DhUb5R66cTGN+RXQc/9kixwBHkc4QeH+SAsGXBT+8fOBbEzN+uGDXFPc4j3fP hYsz2owceZxIzUGzvWL2gonuH1mW8XdroE5S1DYq2nf12RWZsK/oaoDdAOYou5C9 +hUxCA== Received: from mail-qk1-f200.google.com (mail-qk1-f200.google.com [209.85.222.200]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4eahxeru14-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Fri, 22 May 2026 09:24:24 +0000 (GMT) Received: by mail-qk1-f200.google.com with SMTP id af79cd13be357-914b56f450aso19478085a.2 for ; Fri, 22 May 2026 02:24:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1779441864; x=1780046664; 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=+IBidySudLXvX0hBrNR/qamTJH6kfsbZPwdiFk+FWSM=; b=QrqWHb+PTT0ISrwslDH1/lAr0iwyuOAw0Ze6b25NlZ0VOUWSWa40A41C86WtEaabHi jgbNSzCkf1vn0bR/GaiZWdXX4F55r4zT9nnZdCTxQPv0FblGWahwepep4VsV1DYvKT0K V96v398AW3/yXYACh/Nytok+ZpLEVSD0pGvvgX+Iy/0kcBmgB9codRpNPbkLyfC9W7uJ vkyYQPSpNfMNbyRtQy1MRcWte2pgHnhHw02DJ/R2wGWKT7Ud3Gfb4swG+rOz487+VyrH QEgdS2SDrli6IvqN0woxBZIGa0t6VaHy5pVx2ToMlQ8F7mB912xX1BYY2D6e2f4Dqq+m Hgdg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1779441864; x=1780046664; 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=+IBidySudLXvX0hBrNR/qamTJH6kfsbZPwdiFk+FWSM=; b=EuYCfH5XK0YuOttLEbkerSyj9v20369vr6YA5YABUg71EJMJZTATQ4e/iLq+oip3sX 5yRZrOrmaOOMMDBHd6EX4Mnk6kWZvYzYVSF24oVEe6zkK50T8Mm+UCtzkJMGclljJsdE vljrbWGmCBBMn5e12TAlYK9l5WrDkDexgOoLrkOoxQlQ+b5nehnET+H9uSH5aszKhF1D VuFN4uI6OLZC28whKoHoHqoFA1bQ+zBMNhxX6xb5tjCgKCX+Y40rp6nJgb9akLSfms2D /D7OmCbBEqQlbcZneY3adD0yc6vrVJKTuzppuev1lzEGM6VrXPjFgKcss4I5K/chqI2z lIyQ== X-Forwarded-Encrypted: i=1; AFNElJ/g9SlreGi9upMd+jUilYWbh81vmLdaqGEUKeqWlWtA0sr8MrwecJOrEoED1S03M2DTrNXE32eGtA4D40c=@vger.kernel.org X-Gm-Message-State: AOJu0Ywufl/rwPPScIUHYu2lY5eEY8YDWxYulgsYo+QmZwdrS3KCcCsl hQN6lTAuyU7Ki7cfHJ7gqKgiarICrW/y56SjKWuhds+ohhhX/eoLAOJBV8HYTKYvDTaSWMNbDCn bdawLkYqs6xrs1wDkmHyRfI5PC4se/0dpixqYWZymcrP7r5tasqflgejT2Fbo4TJ5SXU= X-Gm-Gg: Acq92OHtX7dKJ88wZYi5hD26U6R9MxTZCKaSlYRx55x1hvKt4xCIamW473clG3XVc0m Wsd/9Nly+mcNoEJo08/RD/ujvxP1sw/bU30aTUpg9jEq2jWAzkYF1KFgU1Vx5aII1gi5OLxZcye 0jmhaauIYcH3BSDoWCs4i5wfEqitlJ28Hjov+EhxYngCxLxeSfHa6oqnv34bF7rsvQJDx7mTn1O vfcokiV5NkVxzUPVAxfL7KipiHA9ivGrU9ptoG6QlflE4h1k9cvp9st8s0DTobuiTiEYnEqPWBV AyIcDMJN4v2HHjYoJKxtt3N11Yoe6BIZLKjaw2S8aNed+A9+UyI0C9uOSlKaPZ23Z+WaDranxW9 F2y2vVGY2FDwLG8y7ISFyWV3MoR4hYPkwhTbxEZ0ELkcYpA== X-Received: by 2002:a05:620a:4109:b0:8ee:f43a:bb63 with SMTP id af79cd13be357-914b460262dmr299246585a.0.1779441864062; Fri, 22 May 2026 02:24:24 -0700 (PDT) X-Received: by 2002:a05:620a:4109:b0:8ee:f43a:bb63 with SMTP id af79cd13be357-914b460262dmr299244885a.0.1779441863651; Fri, 22 May 2026 02:24:23 -0700 (PDT) Received: from [192.168.119.254] ([178.235.128.140]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-bddc62d6369sm34163566b.45.2026.05.22.02.24.20 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 22 May 2026 02:24:22 -0700 (PDT) Message-ID: <82019c2e-6b6e-4edd-91b3-a28ef6eb09eb@oss.qualcomm.com> Date: Fri, 22 May 2026 11:24:19 +0200 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 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> Content-Language: en-US From: Konrad Dybcio In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYwNTIyMDA5MyBTYWx0ZWRfX9lZL+EO6L6av wuJoQpBDl1T5SASI9sfU5xIU/uvkTXPxbvoFH9rR8rNTJwZkDbFqUTpTVsisLMmHjdbjfyTyu/4 FSAh4Ew4+4H4zc2bxxdGJwx27VX0gPD5Y68aaMurNc1Ji8xcITtSUWTPxxS9RzRY/ZhJuy7KBgr Gw2txndf6Bm4ewyx32Bv0DYlH9Q/hXbinDYzUEcYeOfyRgFy/juecI/NDMI0IrdKFzYln+nsMzy 1vPSNyZSU9LsAOaV4RziwvlvIdZ7nMI2iS62eyax3Wd6YOYktqc+hGRAYDUjn/3sa7DDVT6BUp/ dFjQCWzDzjWKQgJMfbN7eGT43HNv0Twm9ghi3Pq4gLK/RsAW9j0aGol2n2eMWfqmSzDZtsB6qqX edeboslNQctD8RBpizSVqQnLXmIkmZoNCmvY7T3MM5mYN15sZL40cN5jNN9qi4WDFIWChA9MPPT zRTlaKXMupY2iIPQs5Q== X-Proofpoint-GUID: xlFnphJdYeM6_CEJdnch7y0GTsxv2fKL X-Proofpoint-ORIG-GUID: xlFnphJdYeM6_CEJdnch7y0GTsxv2fKL X-Authority-Analysis: v=2.4 cv=ar2CzyZV c=1 sm=1 tr=0 ts=6a1020c8 cx=c_pps a=hnmNkyzTK/kJ09Xio7VxxA==:117 a=PRfkaYvzSr8QmIIGAkY2Sg==:17 a=IkcTkHD0fZMA:10 a=NGcC8JguVDcA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22 a=ZpdpYltYx_vBUK5n70dp:22 a=diiQsov5Z0b7G057BPwA:9 a=QEXdDO2ut3YA:10 a=PEH46H7Ffwr30OY-TuGO:22 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 impostorscore=0 bulkscore=0 spamscore=0 malwarescore=0 adultscore=0 clxscore=1015 priorityscore=1501 phishscore=0 lowpriorityscore=0 suspectscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2605130000 definitions=main-2605220093 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 In some abstract way, perhaps monitored_battery = <&pmic_glink> could be thought of as valid (since that's the data source the OS gets to see) Konrad