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 4CC4E3A6B8C for ; Thu, 21 May 2026 08:48: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=1779353320; cv=none; b=VjxwFyhqfESM3fUq33jRvBng4Ca1ExafrG8BCowM630M1plNez24oR15FoFWytSmKKZ1jrVVMXGyU4xoLke9ShYBkR1m2ZX+iCkdMi52+JUR5mGadhh3u5sBGigIxH/VAtH6xr0PJDEZGoBtQKt9Ro5eGsNW1qhwOn/8YENLvSY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1779353320; c=relaxed/simple; bh=57ptv98eHT5HWsuAJvje9omWUtBApDIfl+FgKZ+ptQ0=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=AleuWHFPa+p4h8qH4CboaHBMHfllM6tbS7Luk2+IsIv2InHrA7S8GA2VJyNljkzeTg9UcFQqbeXSSULg73XGJ8w0I16sKDvdHS/1FaOsG5wBZZZF7mDg1vGfGbNFPKFlmmKo0+GLltHOhQoyVUjrHfnfscAaO7LMThktSyMUTl0= 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=YSvSrWoY; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b=AApbvyOE; 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="YSvSrWoY"; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b="AApbvyOE" Received: from pps.filterd (m0279865.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 64L6ExAo1798088 for ; Thu, 21 May 2026 08:48:38 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= fPSwqpTo03Bkl0v3i4c9hpTGEzAjY7Tg79AzsZEcbAE=; b=YSvSrWoYRS8d2pDa zeYLe7C2ZycakQs0S4vZ842NP5K15wj5uvyeK91nQCDZ69KKlM8R7T4fc/S9jagw dw3VxxPt7Coq2v/m18HeCyWKI549nm3Aq34G3KnxLuPLNAWeQAhf9lKrES3RhamF Rk1RNBTdq4Jp3BnTv2CeCcy33P3gcg9sHdW7LgSH9U+6nWAEQat3AWY7T1UWoIqk 6AakZZDIoaPANRbY5ODRzb5wcwYLprRSzomYJCS0jRZ3Utm+FMjmC+cJ73Z+TjJ8 wp6JqswWPVVqZw5RDGR+0TvJ7nKQpTNCY5JDf7GQoambvkPqjwBBiin5Beaj5lGq RRnuGw== 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 4e9dxu43g4-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Thu, 21 May 2026 08:48:38 +0000 (GMT) Received: by mail-qt1-f198.google.com with SMTP id d75a77b69052e-50d840206c3so18098561cf.3 for ; Thu, 21 May 2026 01:48:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1779353317; x=1779958117; 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=fPSwqpTo03Bkl0v3i4c9hpTGEzAjY7Tg79AzsZEcbAE=; b=AApbvyOE/ePO2rhP+eLhetaC4M9V8paH75zI7EA/vN2OSUbnBmeUBF7U3UQ5lQCGKo BkSsaKSmDJqu6Qtqq1YOc/99eBbef1ancP+GrLXV2qLeEGD56Nd5Z2OF16JPpmLd2wpJ jEoo/gt/wsco9wfot8d4qMdkHsIgunX2o1YE6jGsVLXBhnaPMCzXwxcplN8e7Bfp0S7I O+Z91G/YMrREFntna3Zt+7NVggERkSVP8+DrJjKKLToYciA2CCGLyCsTFFc5QJXnf/ju 0x1vhImpCVtq/us+Aigx8ikXhyYk59zO7fkKOjf8oYJhPsbSn2DuQcX25mjH8D0mKojL TQQw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1779353317; x=1779958117; 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=fPSwqpTo03Bkl0v3i4c9hpTGEzAjY7Tg79AzsZEcbAE=; b=X/2fIvlw8I8+AkdbEq5H6ACXtZcptVoA8puE/y2HVcY1emuyMTNAu/iKy7GLVpHuXO 2Nk8KxygHnmTeZVFk6m1HOojDRy0b+yJXsFE+KVy7UjVFVWeujGB9kEXa51jLI170B2z JPqPmxWGVxGAmQxUEeFiIgdVG8Z6UKLPBotIhbkiCfYOdcCqfoFDxvu0bevEnxtbrA0s 7jSN2SbFBZsELuGw9lAxt3w/ToJnIjWvG0geYlHdu8uuiBnR72aaDBBUZVAD3xRNYHjR xxZtX0XxRT2/+nKTRBOyALf5bffYso23PhdGThUGq0WzEvXRyuJ8A9/LSqMseZZ5j/NQ 7jng== X-Forwarded-Encrypted: i=1; AFNElJ+2fpySMmbQuZZmrYKWXuhx9opgAcDKsTN6e8kr2joObgjKjhKzwroSAIijnCIoaxB7+Gqs0JQ0y5jndR8=@vger.kernel.org X-Gm-Message-State: AOJu0YyaDnQnyMkXCkxj3isuOlTyK49iyIff4szlKbvpg2cjnhvOncyU J6xEaA5rBw3OMH+bO+IyFxifkFT91YZMTQH64Kp+MBNM5/KsOLTnoUr8FUpMpFZbxKn71Ats9SM BNg+VpcKLRhbLTf1nN4sMfLAkdQ5bUiZ0xtHi8JgmxL1LmDLwIEMLHemd0zOSWmieI9c= X-Gm-Gg: Acq92OGgcj7stGe5TviYS8n0BMGDPg+h7OnM0S+e1UI8uYVG660BRivb3+P1uxBRxAh plSGtZm2meqFTu7H+kE2ua203XKqsA63kyi8q6kaUqnlsRq97iGUakf+JGKGp7elohnAtnFiQic SoVkCKxzrJA8Xz0Gzk07HKLJMvWc5TUNcentGt1aFUHRyZIxYR5XTvpbeOPqpXSbnQBAgoddV9g 26nEwYMQVr5sZ1YftdotOD9I+LEvp4gd+6zl9yS56YxaN+5712noZ6RS3jD/oXBDDQLUi7RF9ot BlSI5UTRWBGoA1Q7k8mFEjoia+DxpIauK3NShDZErW8FpZeSdmw0P9GX3YGjno7RNXenhR1n595 RsEnqcoAKbHZrsKPqbwmMgxXAo/4kcNbxu9aJ0nFx/K74OO78v3tfqoejMO8p6K0zYXIASkEEFe 0t4rugFsM++mVyFQ== X-Received: by 2002:ac8:5812:0:b0:50f:b9a6:82ae with SMTP id d75a77b69052e-516c54382cbmr18835281cf.2.1779353317524; Thu, 21 May 2026 01:48:37 -0700 (PDT) X-Received: by 2002:ac8:5812:0:b0:50f:b9a6:82ae with SMTP id d75a77b69052e-516c54382cbmr18835131cf.2.1779353316998; Thu, 21 May 2026 01:48:36 -0700 (PDT) Received: from [192.168.119.254] (078088045245.garwolin.vectranet.pl. [78.88.45.245]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-bdc87890ab5sm17545766b.4.2026.05.21.01.48.33 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 21 May 2026 01:48:35 -0700 (PDT) Message-ID: <624a780c-0b22-45e3-aec5-e61c319de901@oss.qualcomm.com> Date: Thu, 21 May 2026 10:48:32 +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 02/11] arm64: dts: qcom: sc8280xp-arcata: Enable backlight To: =?UTF-8?Q?J=C3=A9r=C3=B4me_de_Bretagne?= , Douglas Anderson , Neil Armstrong , Jessica Zhang , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Simona Vetter , Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, Krzysztof Kozlowski References: <20260520-surface-sp9-5g-for-next-v1-0-9df52552bf87@gmail.com> <20260520-surface-sp9-5g-for-next-v1-2-9df52552bf87@gmail.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-Details-Enc: AW1haW4tMjYwNTIxMDA4NiBTYWx0ZWRfX/XuM6BzdXyOn x88K3Ul/X6xiuZP59TZVY5oYYpRi/gKulLgNLwqbyxLIkZEFXZJbaGpDmTBgUaayg3sz187b996 z2OVO0S5I6M4D/aTpit6c4tl9FEycTOZUTNljczgXcpDqrf9Nrwz3He6GMmw5xnKLYREr8pmjzI 56cICelxPPy+z3W4UN2f48Fly63ZbFv4B3KAuD5/v8xpirskx/SIg1UUFN+oTTegC5FAtgIUabu hK2M92PNAavoj8Q4GaA8ooXZzR2uTdPqX5hUzI/Db2gqICIivNl8L7VgSewqKvL9jJEbRhyYc5o PeSXyRUYG0WnGCbj6/YDstTtxDDo/iRRCfTDQEKojCAZZp7PCMXkZqZisLPyKh4azRuMF4uMz7Y qDOLvexvZpQhXnjJeH+js1qYsuvg3Ucboymm6eY9GTzk8xUfqN3goAPE9MVQLHDrNJe4CWVzLhn CeQ9toaZ0NFe2l9hIJA== X-Authority-Analysis: v=2.4 cv=Zckt8MVA c=1 sm=1 tr=0 ts=6a0ec6e6 cx=c_pps a=mPf7EqFMSY9/WdsSgAYMbA==:117 a=FpWmc02/iXfjRdCD7H54yg==:17 a=IkcTkHD0fZMA:10 a=NGcC8JguVDcA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22 a=Um2Pa8k9VHT-vaBCBUpS:22 a=pGLkceISAAAA:8 a=-MGe_S8tJvSwwJYLNm8A:9 a=3ZKOabzyN94A:10 a=QEXdDO2ut3YA:10 a=dawVfQjAaf238kedN5IG:22 X-Proofpoint-GUID: mBcA027ew9oAUEC1o98HR0oXRhXHxu-y X-Proofpoint-ORIG-GUID: mBcA027ew9oAUEC1o98HR0oXRhXHxu-y 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-21_01,2026-05-18_01,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 suspectscore=0 adultscore=0 priorityscore=1501 malwarescore=0 clxscore=1015 phishscore=0 bulkscore=0 lowpriorityscore=0 impostorscore=0 spamscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2605130000 definitions=main-2605210086 On 5/21/26 12:26 AM, Jérôme de Bretagne wrote: > On 5/20/26 18:40, Jérôme de Bretagne via B4 Relay wrote: >> From: Jérôme de Bretagne >> >> Add backlight nodes and enable backlight so that it can be controlled >> with the corresponding buttons found on Surface Pro Type Cover keyboards. >> >> The nodes are almost identical to the ones from the ThinkPad X13s with >> a different enable GPIO for the vreg_edp_bl node. >> >> The difference was found by looking at the output of /sys/kernel/debug/gpio >> on the ThinkPad X13s to see the properties of its enable gpio9: [...] > and ... backlight still works! It can also be enabled/disabled with: >    /sys/class/backlight/backlight/bl_power > as expected. > > I have no clue why both gpio6 on pmc8280_2 and gpio6 on pmc8280c can enable and disable the backlight. Is it a common scenario? Could it be that one of them is an ENABLE_BL pin, while the other one enables the regulator? Konrad