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 E157530FC3E for ; Thu, 2 Oct 2025 12:45:55 +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=1759409157; cv=none; b=i9nSwEnKAdKj7XF4vlRRx9hvLgTEIcCNwMgoxUP/6PxvXUiwyCJsp+X2I74QlMCxWtNBrT6GEZuiVBWuczh/2bgOw8iLKyv0aTaqcTQzi+e0TXdeCWL1YZKNR9r3q1GTJLtPvI+GDKonnAZO6XOAiXAx3U3DjbDYhEIEbS28o00= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1759409157; c=relaxed/simple; bh=OzzFAPU7JWZ8TpzU3HuOCxPSNDtVN3f9jsR9IwNrpvo=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=MrGdtVanFs5UeW62vcXHtO/gb2CayJ4R240ZDh/5rxX2B44xu5g7dO6qsYU8oJZ2TC1zhJwh6xFoLHCdGHtCgGTG/w2dNHBF65AwAqWIjcMB6z5zUBX4lfZ40DX3kdWStPpDIBNQ5r8hH93F/8Kg786PxV5o/eyA7LDyAVB4T7o= 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=EwxJL9PQ; 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="EwxJL9PQ" Received: from pps.filterd (m0279865.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 5929KfMB031248 for ; Thu, 2 Oct 2025 12:45:55 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= YY2yji4SSSuA6J/yxS5x4trG7A7YFsSGcBCsY+ncM5o=; b=EwxJL9PQC7aJuoqn LdT9BOUTUxKZRh2dmiDMqqKRZ1wK9Dty8AkT/SPyPw52V+Ty9WWSu7KezbR6s6nP HsNY902d1nePKn1WyA75BO2DOMlvpUl+5scfZNG6LbO4m1G5s66rly/8/iTjfYc7 g/Z10GXWozFzm/bMIpTQGwR3RP/S7dmXvqm3yhW2Tjd30Xfct8IOMp7KezoPfADJ PGZY0yBK0YXIbJeG35boExCos6Rs4fgbd+yMAWkWAwi127PvkuPY5SK77/CEtjYF T26fCu3re4msgHrScgex0SE0Fz6Ypa+nalasGcdK64pp3c39dyjZVKZqNOnoEcvR NYdrhg== Received: from mail-qt1-f199.google.com (mail-qt1-f199.google.com [209.85.160.199]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 49e6vr7ryd-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NOT) for ; Thu, 02 Oct 2025 12:45:54 +0000 (GMT) Received: by mail-qt1-f199.google.com with SMTP id d75a77b69052e-4d6c3d10716so1379071cf.2 for ; Thu, 02 Oct 2025 05:45:54 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1759409153; x=1760013953; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=YY2yji4SSSuA6J/yxS5x4trG7A7YFsSGcBCsY+ncM5o=; b=PLVbJyAc7l+468mz45sstSg1lzwJotsY7J7u4ONUJgXj0ySCPVKxnFiUV5mDYQSJ4m 7u7lIUtXct7SbDNcYy/QdT7wdpjoR2s4WCIrqvmlO2EpMP2Nwgl9Y7el2fQV1vxQbOhu GdELh+e2prHX3JriQ3ufOs/gIvJjzUExlWtwSvO146mwlTXSKPYBBQGFo8PNb4yKlPzg HO1UDGv1ZEGgW9ZNIHvzx0JIgN80rx2KCG9Qmvs9QRSTiBkSBFQVH5Dz7Ve6s/AIkVgc 6YFioW8SSJhG5HWtirU2kPLRKiNFXPd3IsAsuA/3rkp1ysfmVpEY4FxwOLoFIR8pQE7z gd7Q== X-Forwarded-Encrypted: i=1; AJvYcCV57c8Td0irMKUdsxA+q4s4rRxe1up9eoezhKH7m0SJvywOatw7iBAx3p3tPv2iQayhUsophmgJUEmm@vger.kernel.org X-Gm-Message-State: AOJu0YykUa0+KR8q1t+61/Sq2m7NbV3hF0ov0GH5feS78xTfsCWP8N5H I1xsAipmLNJItBpNTusey0BnR6HHzZxiw9xwYF3Tj9zVbz0SKAVfUuKcf5iyNx89McnDucajrYj EViQPC9tqt30ndipARjv6yJyJXYM1pvmrNKuNVpVei+8/KxTb6tsAH7ik7N+6FOnW X-Gm-Gg: ASbGncstplN9X/uaheSycMuWmAfVBPykL9Dcb0Jkr3JU7DDTV+L2I+vLX7IFarIPp+4 ZIfJAHdlXk1/YC0WsKGRmUkDvhO58VQyFe6Nt7WuVBVNXTWaFcPREy1emGj3a+edMrW9HSr4Esz wHDVbxGVeEnIg9Rj00wiOwJjfmp2TznVxy4QzkE3w/H7Gz2yFEMoBwRCvvHyppqbAb8s2556kO5 sRb5IZhNlbWAtZnE1uwPnVveS/hp5EjQAbv3p6FVSrJX/Xpb3LNR20Ipo3evYbou0elsWPRljAc maMaTw4Jv7708Uf3/nCVeLAAAEJCgLYM21Mzn4/5SLmWPDthfXbGrM9J98wxsSfM2jwbx/5rHbE m1OnFcRZWKP9S1+nwjPSCba2fmq8= X-Received: by 2002:a05:622a:547:b0:4b7:a9cf:91f with SMTP id d75a77b69052e-4e41db8694cmr60789731cf.8.1759409153134; Thu, 02 Oct 2025 05:45:53 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGbmbyMEl5laym4ZtpLS7VwZdkHI9TTQtdN0M0ejOF2Wn4yjL/VQhmP9xk0GUaubrnM6JYvaA== X-Received: by 2002:a05:622a:547:b0:4b7:a9cf:91f with SMTP id d75a77b69052e-4e41db8694cmr60789321cf.8.1759409152494; Thu, 02 Oct 2025 05:45:52 -0700 (PDT) Received: from [192.168.149.223] (078088045245.garwolin.vectranet.pl. [78.88.45.245]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-b4865e7c47fsm203494966b.37.2025.10.02.05.45.50 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 02 Oct 2025 05:45:51 -0700 (PDT) Message-ID: <1be80052-3ba5-46de-804a-de995f8db5d4@oss.qualcomm.com> Date: Thu, 2 Oct 2025 14:45:49 +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 3/4] arm64: dts: qcom: qcm6490-fairphone-fp5: Enable CCI pull-up To: Griffin Kroah-Hartman , Mauro Carvalho Chehab , Rob Herring , Krzysztof Kozlowski , Conor Dooley , devicetree@vger.kernel.org, Daniel Scally , Sakari Ailus , Bjorn Andersson , Konrad Dybcio , =?UTF-8?Q?Andr=C3=A9_Apitzsch?= , Bryan O'Donoghue , Wolfram Sang Cc: linux-media@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org References: <20251002-dw9800-driver-v1-0-c305328e44f0@fairphone.com> <20251002-dw9800-driver-v1-3-c305328e44f0@fairphone.com> Content-Language: en-US From: Konrad Dybcio In-Reply-To: <20251002-dw9800-driver-v1-3-c305328e44f0@fairphone.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Proofpoint-GUID: 8AXgoEv08emAhsD8RLfqUt28rYTcq27_ X-Proofpoint-Spam-Details-Enc: AW1haW4tMjUwOTI3MDAxNyBTYWx0ZWRfX/DTpU64qHlP7 N9dbhCHCJOr1J6LPW1xJoQCFrp/GqRlO0UUg7hWbzXoIl/j9RWshMuMOGYCIlIBXtWY6e9iLiMS ZU7jA67dAFrIfFIYFoySARnrc8i8OBHEAX/QtxO46+XH7JZ7i2ChtGNk9V0QN27OqINFaqJshuc XOZ22iucjTgHdDwgi3bU+4oCdMD0mx7H8nW/DaycBXt5s5uTF/8+3kpFmEYZ1nqkt7vtatJ3/nu bPiTAs0lsyP8TzQ+qPzYI8xoQEAafNh28D/oMJ360U5D25WGp4ffLCr6qYbuQcJPnSvoLN+/Kcg avc2KKP9CsXm5Kacmg7PS4i9Ah+d7hoLnGhaxrbSh4YlKHnHDJNSjkligndUljlnLDPgsXOl/iZ M7CCJ1mns9bKfOtBmmWESPcXEoBE0w== X-Authority-Analysis: v=2.4 cv=IeiKmGqa c=1 sm=1 tr=0 ts=68de7402 cx=c_pps a=WeENfcodrlLV9YRTxbY/uA==:117 a=FpWmc02/iXfjRdCD7H54yg==:17 a=IkcTkHD0fZMA:10 a=x6icFKpwvdMA:10 a=6H0WHjuAAAAA:8 a=Q18OPwUwxCoJDF6_gJkA:9 a=QEXdDO2ut3YA:10 a=kacYvNCVWA4VmyqE58fU:22 a=Soq9LBFxuPC4vsCAQt-j:22 X-Proofpoint-ORIG-GUID: 8AXgoEv08emAhsD8RLfqUt28rYTcq27_ X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1117,Hydra:6.1.9,FMLib:17.12.80.40 definitions=2025-10-02_05,2025-10-02_03,2025-03-28_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 lowpriorityscore=0 clxscore=1015 priorityscore=1501 bulkscore=0 suspectscore=0 spamscore=0 adultscore=0 impostorscore=0 phishscore=0 malwarescore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.19.0-2509150000 definitions=main-2509270017 On 10/2/25 12:15 PM, Griffin Kroah-Hartman wrote: > Enable vreg_l6p which is used as a pull-up for the CCI busses, to make > sure I2C communication works as expected. > > Signed-off-by: Griffin Kroah-Hartman > --- Makes me wonder if we should maybe extend the CCI definition (or maybe the common i2c-bus binding?) to accept an external pull-up supply, as this is a common problem.. (+Bryan, Wolfram) We could then shut down the regulator when cameras are not in use, preserving some trace amounts of power. Or maybe L6P is already used as a pull-up supply for more things onboard and should be always-on either way? Could you please check that, Griffin? Konrad > arch/arm64/boot/dts/qcom/qcm6490-fairphone-fp5.dts | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/arch/arm64/boot/dts/qcom/qcm6490-fairphone-fp5.dts b/arch/arm64/boot/dts/qcom/qcm6490-fairphone-fp5.dts > index e115b6a52b299ef663ccfb614785f8f89091f39d..2dd2c452592aa6b0ac826f19eb9cb1a8b90cee47 100644 > --- a/arch/arm64/boot/dts/qcom/qcm6490-fairphone-fp5.dts > +++ b/arch/arm64/boot/dts/qcom/qcm6490-fairphone-fp5.dts > @@ -749,6 +749,8 @@ vreg_l6p: ldo6 { > regulator-name = "vreg_l6p"; > regulator-min-microvolt = <1700000>; > regulator-max-microvolt = <1904000>; > + /* Pull-up for CCI I2C busses */ > + regulator-always-on; > }; > > vreg_l7p: ldo7 { >