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 97A2B480DC1 for ; Wed, 1 Jul 2026 11:45:21 +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=1782906322; cv=none; b=swFNWJ/HMLRVE65tWxaOxmDTcHQPWq3TLderoSsGwh311hgaGwTRJVF/qyq2yV0FjwknCxVtoZ9MOomRjVHV9w4H+kdqvxchz+ESU0lpqCzZIY2aggLepsU+vsG+CdnHbVREaDmy+l0T0fonxcthjEujApTC5KKIRCNFEYLk0NM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1782906322; c=relaxed/simple; bh=SQSUko4GI9pCE+p2f+KLI+dpEc5vU+iudSehiK/dI1w=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=GLZQjWnHLTYk47GXXn0HMFQyeREVfgvZ0p6rSHbkEVqQI7yy6wmLYuzjmEDRx6Opb0VnyutGiGBX5AL86ivGJHUgt5VfYTp+Ay4YumffUrkUMmgizwyXj4yycxzHxfEG90Rb/lB6A7fHCq1vlQr4EJp3WBjjROYR9ILhA3XZEjQ= 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=OiLBWZFT; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b=OpNTcFVb; 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="OiLBWZFT"; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b="OpNTcFVb" Received: from pps.filterd (m0279864.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 661A8Uqo643978 for ; Wed, 1 Jul 2026 11:45:21 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= ijykd+gMiu7hdyIzaCH2W3+H+cWrNMIuL/ruF75GJNs=; b=OiLBWZFTj3qfHrPf Fyf79lVgXB7hnvLvxok54wWh+KxNvnXrZfX5O2GOtXzC9wRMe8dO+asrjkoXs8gG QA6ADFbEMoA3uhCfjWAtR2AY6EsRPhN/xtF7F/gDijePoa0lQPK2XERg1+doR2lN dUSpo8YI4yxWcbGAD+cLNqXzHh+xhxramZNx6Aq0zBXKFSBiPeSy9ZIZGCoMvpBo lJVDBeXTFQ98Gt2+k7VWo8fQvEp8fOdQKSyoEtku0Z7G7s0pS8+a1PMmxwCt8b0A gy0kJcJrwUfCANMszqnDxlo3xmClrCe5haA2riv7Hve0rXIj8vQMszyyp1TsCJxV 1D2oYA== 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 4f4hbd4mbk-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Wed, 01 Jul 2026 11:45:20 +0000 (GMT) Received: by mail-qt1-f197.google.com with SMTP id d75a77b69052e-51a15cef334so821531cf.3 for ; Wed, 01 Jul 2026 04:45:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1782906320; x=1783511120; darn=vger.kernel.org; h=content-transfer-encoding:content-type: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 :content-type; bh=ijykd+gMiu7hdyIzaCH2W3+H+cWrNMIuL/ruF75GJNs=; b=OpNTcFVb2Z8ZHLnVVdWrgOJFgfiC659+PZGlUDnqj1lUkv6+FH+dMCA7gBg2tf7Qil Hjm+85bMKiiet+dFj3Za19WUVc6iY7JC5/DBmP3ej4nop6E49ilmYjupFI5kJ4XXKA8U Pg2s3uvNJIFAD+g+VCWLW3jGv9qvMPY0yjoiTm6MPGF0pTM4w/3vYOVeaVaZ55N+qhV/ rM0pUVjEZ+J4rUnReUCPnAyDOAYjYf6xgNPeyMwOD65Z03htPNiyTLxiLFpQsuNhPCus 5B+yxpOPPdlP08h4QSYKzhLqLzHDFuGvdSGd9Uqs0bIdOSGu+bzQaM9GeAW6AJPOfRxv pLxA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1782906320; x=1783511120; h=content-transfer-encoding:content-type: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:content-type; bh=ijykd+gMiu7hdyIzaCH2W3+H+cWrNMIuL/ruF75GJNs=; b=Cd3ZtGFRJcVB3aj4pj2++PagL/GfOsTP+iVkh4kBcWoRO+DrhtQqsdMSRkZaknOxjl Ssj+7UJi/z/1bLhH3Pgloxn9v4ZvboT/Z4ih30knDAYn8eXLyh3vhXYLHodaWIXMHKCH d5/sa8FIqlO/jxgvZyNA/SeOlIQMxOSvKJeIUNnSZ3ZuUoamzg+Y1IGhQsW6RCDpNx7L PdykuxpRGVRWV3VDHtIrfCVvQV0Hhu7XrrrLNv6rDRrDeyYcbBRns6QHph8GOoDEE6Ch 76PkQ3Z6VkUFtIBgnaXlwwXkhp5PNKCEbTg2hbeKgHYVTFWx7bZOzqPTUqSafxHMYp3x vScg== X-Forwarded-Encrypted: i=1; AFNElJ+CEGPy17AxmCUmI+tK2zV/ctmmali2Ai3CIMSGSlV52XNV4SvHOj3UUKWVOaPXtJD/k2xGZRNWwzSKnxg=@vger.kernel.org X-Gm-Message-State: AOJu0YxEv3by7ingvbWSkQYZ1ESejYSKnkyCAeq97qMUUxj3824rWN2g ta/wGjj+EsdPhh8GXFX0jrVzJOxcVcprcsAjFiQMmw/n489A1NyqPZfxYE5PuSxgsID+u2HvRNP jGXMg0yngmzNdOqv3j6C+ocCeYpoaj094a2NCWPGYg2RiuRX4n0cEgX80p0aAxw4/ZHw= X-Gm-Gg: AfdE7ckCuvMRIRilO2jHd4Nz8d+DjzQU9VxLP53xBoDKpVYJQHA3O8rjY1B4EaQG9tn M/wnYYTnV/ekqYq39Ge614ak4fzpYKMX1oVoUGXjxq/Na5nmB1CcI2ZgLUrXA2SJG3EOWrbm+bO BjEHVP3dq4PjZqVF3ncT2QyCx1g37gQAGxDYPTxzUEdBE868nleR83fKymtQix+hnaE2Fw90k+4 BRLQI2bB4AcZGjBKNqxj1dpozgnbyMUGIhvK79ra6byNS7FXexAaizeprQrGuI5kmrv10Mfu5xS RSnlhKHfBPcsm0lu9ZEF2/wSt0R3HTKUxcAOAAbnZCgIt9MC5YWEiW6x1qF9Tcj+7FlRMENaZ8J UAkcAKDWm9XmItHOM4L060qzIrDtAm6+c780= X-Received: by 2002:ac8:5a86:0:b0:51c:8fb:fa46 with SMTP id d75a77b69052e-51c26b392eemr8382471cf.9.1782906319724; Wed, 01 Jul 2026 04:45:19 -0700 (PDT) X-Received: by 2002:ac8:5a86:0:b0:51c:8fb:fa46 with SMTP id d75a77b69052e-51c26b392eemr8382091cf.9.1782906318977; Wed, 01 Jul 2026 04:45:18 -0700 (PDT) Received: from [192.168.120.170] ([178.235.128.140]) by smtp.gmail.com with ESMTPSA id 4fb4d7f45d1cf-6987c967a60sm2607666a12.26.2026.07.01.04.45.15 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 01 Jul 2026 04:45:17 -0700 (PDT) Message-ID: <75b423b3-d721-4bff-8d42-603cb5679364@oss.qualcomm.com> Date: Wed, 1 Jul 2026 13:45:14 +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] arm64: dts: qcom: sc8280xp-huawei-gaokun3: Add dsi panel DT node To: Pengyu Luo Cc: Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org References: <20260630042229.277799-1-mitltlatltl@gmail.com> <35f13ab2-cdba-426f-bf4b-36f53ce1d4bb@oss.qualcomm.com> <250311af-0860-4a76-9799-c01608b87293@oss.qualcomm.com> Content-Language: en-US From: Konrad Dybcio In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Proofpoint-Spam-Info: AW1haW4tMjYwNzAxMDEyNCBTYWx0ZWRfX5mYW0fkPZ0Hn iV81M6gwA8eNB6NrFUXD0YcaDWsjyQSDYVmBWFbcxUfKTSnPDTCeUbSMKONWL4f5MVsLYWUfNoL ZGUn8y/DS82qOyd2u+0Ysdnd9frtZHc= X-Authority-Analysis: v=2.4 cv=MpJiLWae c=1 sm=1 tr=0 ts=6a44fdd0 cx=c_pps a=EVbN6Ke/fEF3bsl7X48z0g==:117 a=PRfkaYvzSr8QmIIGAkY2Sg==:17 a=IkcTkHD0fZMA:10 a=RAioF0-LDSMA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22 a=DJpcGTmdVt4CTyJn9g5Z:22 a=VwQbUJbxAAAA:8 a=EUspDBNiAAAA:8 a=pGLkceISAAAA:8 a=mzDM7A3Z3UpNTzwAeNcA:9 a=3ZKOabzyN94A:10 a=QEXdDO2ut3YA:10 a=a_PwQJl-kcHnX1M80qC6:22 X-Proofpoint-ORIG-GUID: rIGE1sRDezOKwThphL7Dq2s-M_mKgIU0 X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYwNzAxMDEyNCBTYWx0ZWRfX8C2NLQUTyGu/ gLZ0TEj4eXn/Ae9WfzmIbFCuhJq1SNG5ioUIoniJXhBZOFb7YCP+zcrQTkGchxDAjmQI5VLfnzm oPuUW9EuA09wWjcaxg6PE0jL0fbBGwn5hkE2i2IRrXH5RnhcemKdzKpbsbOKFNNUrY3Dc+4Sa1c EHSmg3aP3R2sjT2910c03w2OJDyeyG7mjXsWO7Bkb2kk0QjMrVu76iAlC1AmOCuYGzFcoARd53a nLIGd7T4v6r7nc/uz1IQ+0Fia6jE6o1ddyTtVccTEZxSG0lVi/6xe7XiR/EZ44yIQyX0m3t8vD/ CKnzvdWlEUbA69+7oVAtFsNXgEgU/7B9kfto8pqfHCDDw3h4T5OZaxIXOXj0zNq/zxzLD4jynl2 WCINngRlbL+fjJG1u02RionsCLg4q1erpbqzNoT4ylf8EFG65w4Mw7/gQ0SqlWSBvpFUA3Fe61H f5n0H0Pp0JLokFMnJBg== X-Proofpoint-GUID: rIGE1sRDezOKwThphL7Dq2s-M_mKgIU0 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1143,Hydra:6.1.125,FMLib:17.12.100.49 definitions=2026-07-01_03,2026-06-26_01,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 lowpriorityscore=0 priorityscore=1501 clxscore=1015 impostorscore=0 phishscore=0 adultscore=0 malwarescore=0 bulkscore=0 spamscore=0 suspectscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2606150000 definitions=main-2607010124 On 6/30/26 12:41 PM, Pengyu Luo wrote: > On Tue, Jun 30, 2026 at 6:34 PM Konrad Dybcio > wrote: >> >> On 6/30/26 12:30 PM, Pengyu Luo wrote: >>> On Tue, Jun 30, 2026 at 6:29 PM Konrad Dybcio >>> wrote: >>>> >>>> On 6/30/26 11:28 AM, Pengyu Luo wrote: >>>>> On Tue, Jun 30, 2026 at 5:18 PM Konrad Dybcio >>>>> wrote: >>>>>> >>>>>> On 6/30/26 6:22 AM, Pengyu Luo wrote: >>>>>>> DSI panel driver have been added for a while, so add the DT node to >>>>>>> enable it. vdd{a,s}-supply for dsi, dsi_phy are blank since the DSDT >>>>>>> describes the wrong, no impact after manual disabling these wrong >>>>>>> supplies. >>>>>>> >>>>>>> Signed-off-by: Pengyu Luo >>>>>>> --- >>>>>> >>>>>> [...] >>>>>> >>>>>>> +&mdss0_dsi0 { >>>>>>> + /* real vdda is unknown */ >>>>>>> + >>>>>> >>>>>> L3B: DSI core 1.2 V (both?) >>>>>> L6B: DSI0/1 PLL and core 0.9 V >>>>>> >>>>> >>>>> Yes, that is what I saw in the DSDT, however, I can disable them >>>>> safely (hack the regulator driver to add a sysfs to handle these >>>>> regulators), the panel works well. >>>> >>>> L3B additionally powers CSIPHY2/3, EDP0/1, REFGEN (probably why it >>>> ends up being on), UFSPHY and USB1_PHY >>>> >>>> L6B additionally powers the same components, minus refgen and USB >>>> >>> >>> No, I confirmed they are totally disabled, since there is a way to check it now. >>> https://lore.kernel.org/linux-arm-msm/20260420-read-rpmh-v3-v4-0-70c152e6c958@oss.qualcomm.com/ >> >> This presents you with the status of the votes casted by HLOS, not >> the actual hardware state >> > > If so, non-HLOS will vote on some critical regulators to keep them on, > IIRC, once I disabled L9D, system reseted immediately. NHLOS will generally ensure that the hardware that it needs is powered. This does not extend to hardware that *you* may want to access in Linux (or which was left online by UEFI), which I suspect was the case here >> To get the latter, you'd have to dump the SPMI registers >> > I will appreciate it if you provide more information. Take a look at drivers/regulator/qcom_spmi-regulator.c, you can get the actual live value of the enable register and the voltage selector for each regulator Konrad