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 6442C299A8F for ; Fri, 27 Feb 2026 05:34:32 +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=1772170473; cv=none; b=g3UD1QQD34lFmjedwxkBtOWXPfMOIE7Atf6ufOsNG+wgLXM9tbzWuXeN18e48ujqA5vuwExmcIHdmWu6uy6mb1VYEZhDAzh7Pdn3hu7dfOwkVNbjYchMMlMGa00HocxtgZ2Ie+ZcLNHh2MuAnacl1otZogGA8BMezCqe2wpwOjA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772170473; c=relaxed/simple; bh=T0icPvT3kPixrTJc9Y43LyRFOzvLFzRfhhehpihRACQ=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=duhkgGhdfPCo4fCO88gBTX81e3gMNkdyo5PJwKYSFMrsZ+tpI4yv0QEQWF6bynjCqO0wY+raIeT96OizAqNq2RbHWXimWvdVdrYe7viN1VBe/vMCoNJrNhslakyfeltegqRh+jLuGqqPTuMWoMA41GACmi3p3oHXgjbXPp4TgYg= 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=MSW3wCi6; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b=BLRLET7B; 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="MSW3wCi6"; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b="BLRLET7B" 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 61R2KLXv3763233 for ; Fri, 27 Feb 2026 05:34:32 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= Q5TIO3fSGKjj2aR6ScBoOO/Xpvzu2mHHwm+1mDH8hzs=; b=MSW3wCi6SSMP734y KuhxzFh7Pf6Lg9Y+Q0RPnxoy5Z3jtJYZChb0baWGUqR4JGQ91MeTSpb8cotMJcwN gqadiLgvLct87iWxKfFa5A9WafqfwnHBgdo0kVYFpc/0VMTwzzi4q5ZTOCFLmgO4 GF2oWrO5/91baWZ1gj25v/R5gQX+12loFRKFGEJVTDzof2QUrbWieiscwKlsMhtW 7f/J4d7ktrg988eNVwuEgsouKX45ReLUvdROMrkVTdx2XDE+BhCU1jlDNXOI6Cvv sw1TFCdnVMNIq8ySvXlFtmDC4t/aJpQoqIzFC73HwwOrdJXHrC8gMD0XX0FU0L1B ajqsBA== Received: from mail-qv1-f71.google.com (mail-qv1-f71.google.com [209.85.219.71]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4cjt7ya957-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Fri, 27 Feb 2026 05:34:31 +0000 (GMT) Received: by mail-qv1-f71.google.com with SMTP id 6a1803df08f44-899bef1ea49so310033776d6.1 for ; Thu, 26 Feb 2026 21:34:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1772170471; x=1772775271; 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=Q5TIO3fSGKjj2aR6ScBoOO/Xpvzu2mHHwm+1mDH8hzs=; b=BLRLET7BxYUacjfZvw+ukv3sWfguNkHR+ebq81RGteyg7+e6/WE7F+30z+fA7NFaNc h/X5J0wKnaES3xYPA6WIhJBPBRpyQX9/quysFihH9zNLEF3Gv1GLNsTNeTwVz4SF/Z9G EsWFtZgKUMOuCyWK9BlRwjbradeuzl64dOImJTDKNbXAAB4alzQ794s8Y0k/jP/q3u3i Wht53ILE4UFddb1Gv3mSUjR4YFz2AVXBopdFV5ReN/dXAAxMyNTMkbNCUdTh/+syz4W1 D1r2Nf7fywJW4Ro+LkF75W2SLw7CbFR5B7oJDeiRALZB+bq+QOQwgyMmDV9So/wa5hFA vJNg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1772170471; x=1772775271; 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=Q5TIO3fSGKjj2aR6ScBoOO/Xpvzu2mHHwm+1mDH8hzs=; b=ErSt5O2LDVcu7ACoVkfF4l1k57/SK6AVrq14avDL5gilUp2Go9jcYprOdw0rgZt/QT sCEgyI4d3n1G5thigtIsPeRNBj1D4oDHPy3agbm6zJGS38IhW7hD5pVOHKf9V/6sP9L/ HEEaGE13qZzT/2YPD4MU+pOg64gVVX9ItXU1S/19hniz4Xxum2Fvc6LzSgymgbQ7E2EM +jefcPUWST6+j9AcMbmpqHo1eCghUx7+hwJoDA+OMKNco06KP9yv/bTaB6aYqGKhB/qS 6ipzDCJ+NzJGbj1olzNb1YUxWNt9P/CglhtykXVsNgDM7UZPkxrahPvXLqHljQ7nfnUY xq6Q== X-Forwarded-Encrypted: i=1; AJvYcCX8vMQvle885QKQQQ3UqyCjGvTSuQrOXswTG2nmg+MK4RtSi0E4AGD/8ni3toIIUM5dkJnMhRer5MOK4HY=@vger.kernel.org X-Gm-Message-State: AOJu0Yw7KgjKB3LdKc3TB2K1p7RN/59SmJGGmOIu0FtcQH3/gj8EFAlO MW2ziwPYG/LzcZ66v+LIQDRUjvPIi9hjs+pdohb6QBECJvKxeY4aADETi84Vh7AkZThg4+y6SIz NLT6GpBXLWwlH+ZFGrrO1SZ2oXzmBrr8uBDvcHmdY/JYTdb3Dwejd+Sfih4+8S7jq5QM= X-Gm-Gg: ATEYQzwDi/IoXVx1BcR9MG97HuQYrXGiOPv7owlvs+RJtG8PDqQuXxK1w9QAWLahDaU AoQ5Rnusm8gsVOIzyVmPaRBbrudLdIFF9o9laAtgL7URmErQwtrzAcQ0a5A5s9uDClM6swaI2Et g5LLaPX8qFROa1771/mnIBVIHxtLpxTEWLqYWAFAj1OKMRVRhecQDfgDIrOJdUVDLZZmfdAw/nU iuGegZ7RcWrFfvFQt2fUu/T4zBJ5uh2gAh7wVeTnLvPAMu7IQ6I6RiIA2YPDxQDHR8uqUSNrLjH 9i3DD8JDl52YhveC32TLHpeAymAbyLvp9ca71oPgU/v5roeuACtoiybO2kC5My4Np+eGCkK7jVD hBAyfcqY+YaTrCchYGKv22+6IV6yVGZYI3vsOztLxyZaGnzYzlWs46TN4QBXuJ8a38OxwRf1sKw 3AgdDSbrKTqQ== X-Received: by 2002:a05:6214:19eb:b0:896:fb75:d982 with SMTP id 6a1803df08f44-899d1dc464fmr27022066d6.22.1772170470805; Thu, 26 Feb 2026 21:34:30 -0800 (PST) X-Received: by 2002:a05:6214:19eb:b0:896:fb75:d982 with SMTP id 6a1803df08f44-899d1dc464fmr27021936d6.22.1772170470391; Thu, 26 Feb 2026 21:34:30 -0800 (PST) Received: from [10.111.169.142] (Global_NAT1_IAD_FW.qualcomm.com. [129.46.232.65]) by smtp.gmail.com with ESMTPSA id 6a1803df08f44-899c716c53dsm34430476d6.13.2026.02.26.21.34.28 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 26 Feb 2026 21:34:29 -0800 (PST) Message-ID: <9e52af03-772b-4ec2-8834-7f2007efcf78@oss.qualcomm.com> Date: Fri, 27 Feb 2026 13:34:25 +0800 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 v7 0/2] media: i2c: imx412: power on timing adjust To: Sakari Ailus , Mauro Carvalho Chehab Cc: linux-media@vger.kernel.org, linux-kernel@vger.kernel.org References: <20260123-imx412-v7-0-e58303f2b76b@oss.qualcomm.com> Content-Language: en-US From: Wenmeng Liu In-Reply-To: <20260123-imx412-v7-0-e58303f2b76b@oss.qualcomm.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Proofpoint-ORIG-GUID: ij2cHAr3ejfO1S3Xp0IfjRQLlAK0lOJm X-Authority-Analysis: v=2.4 cv=N7Mk1m9B c=1 sm=1 tr=0 ts=69a12ce7 cx=c_pps a=UgVkIMxJMSkC9lv97toC5g==:117 a=C3Dk8TwHQYyIj7nOf9RCJw==:17 a=IkcTkHD0fZMA:10 a=HzLeVaNsDn8A:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22 a=DJpcGTmdVt4CTyJn9g5Z:22 a=VwQbUJbxAAAA:8 a=EUspDBNiAAAA:8 a=39SGFpbFQ5yaoE8DcZ4A:9 a=3ZKOabzyN94A:10 a=QEXdDO2ut3YA:10 a=1HOtulTD9v-eNWfpl4qZ:22 X-Proofpoint-GUID: ij2cHAr3ejfO1S3Xp0IfjRQLlAK0lOJm X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYwMjI3MDA0NCBTYWx0ZWRfXwhDPUAdbNy0F yf9G9961Q7IQNzgI42Xn6x7VLUfgZRzDOqz3C4iMAyukYiGDqltJt3sj3nWIa4CpoRFOsqOhm/h zG6VCyrC2TlYdr/bbF//tCBJMBdbgls94NUdtKHQ5uJOlJ+72mPnS6Y2J8Mdpi8AqLuG6YtXJKg Eb+R+WNM4L5hKHgG7zDvQ7z1gSHSuyBPS6mF9oRT4Jmq9SRt5cIASrL68GZz5fqfhlU3EtLWJ/I QcnQS9/domPGg9q5WfiVoffbtmGulUHq+ccKYRqZEy/EKZ343Vao5REq1bA3WNCe7F5MYuSOJXW rlX03JL55KOgh4oY7BeHB3L9Ir18xVMBGfFJsjBshyH76oK28QyWn+aS7gi8Pa8aCjFTIyopHHm gBqH5rG9OIel1da0rkcRFvQiuO6lwWptpk83FTcr2E2U1UHNktHerAhZsUS6YthKbw+R+HJvNpV 49cFrgHB9WoNwVet53A== X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1121,Hydra:6.1.51,FMLib:17.12.100.49 definitions=2026-02-27_01,2026-02-26_01,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 malwarescore=0 priorityscore=1501 clxscore=1015 suspectscore=0 spamscore=0 adultscore=0 bulkscore=0 phishscore=0 impostorscore=0 lowpriorityscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2602130000 definitions=main-2602270044 On 1/23/2026 5:19 PM, Wenmeng Liu wrote: > This series of patches mainly addresses two issues: > 1. Fix potential timing issues that may occur during the first and second power on. > If the reset GPIO happens to default to the deasserted state at the very > first power-up, the previous sequence could let the sensor run before > supplies/clock are fully stable, while subsequent power cycles would > differ because the driver explicitly toggles reset. This results in > inconsistent power on sequences between the first and later power on. > > 2. The Arducam IMX577 sensor requires a longer reset time. > > Changes in v7: > - Add vendor details to the comments. -- Sakari > - Link to v6: https://lore.kernel.org/r/20260122-imx412-v6-0-2c0b54594c2a@oss.qualcomm.com > > Changes in v6: > - Added comments for the modifications. -- Sakari > - Link to v5: https://lore.kernel.org/r/20260121-imx412-v5-0-be67654a4afe@oss.qualcomm.com > > Changes in v5: > - Assert reset GPIO in imx412_parse_hw_config. -- Tarang > - Link to v4: https://lore.kernel.org/r/20260121-imx412-v4-0-f6bdf83f116b@oss.qualcomm.com > > Changes in v4: > - Add assert reset in probe. -- Sakari > - Link to v3: https://lore.kernel.org/r/20260119-imx412-v3-0-8b46929af773@oss.qualcomm.com > > Changes in v3: > - Fix power on timing. -- Bryan. > - Add reset delay time for Arducam Imx577. > - Link to v2: https://lore.kernel.org/all/20260109044913.3310-1-wenmeng.liu@oss.qualcomm.com/ > > Changes in v2: > - Move the 7.4–8 ms delay before mode-register programming to satisfy T7 (NVM read). > - Link to v1: https://lore.kernel.org/all/20251222-imx412-v1-1-51c7e724b376@oss.qualcomm.com/ > > --- > Wenmeng Liu (2): > media: i2c: imx412: Assert reset GPIO during probe > media: i2c: imx412: Extend the power-on waiting time > > drivers/media/i2c/imx412.c | 8 ++++++-- > 1 file changed, 6 insertions(+), 2 deletions(-) > --- > base-commit: e3b32dcb9f23e3c3927ef3eec6a5842a988fb574 > change-id: 20260119-imx412-d6710b9fd3c6 > > Best regards, Gentle reminder. Thanks, Wenmeng