From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wr1-f47.google.com (mail-wr1-f47.google.com [209.85.221.47]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id F1BC178F2E for ; Mon, 26 Jan 2026 12:41:37 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.47 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1769431299; cv=none; b=V5XlOGMNSqXkjR/32rNZ9FLV93I9up0jjeVQptlgbp7z4us/IbYam9xEC5nkyWEyviGCTPv/1laobEZ9azsh5WdIezuZ0ZgJPIxW0xufxYLoZudAKFXbFGE8llNlcwsZ7pUd6fVsUka10XIieW2dnX647y2iO7khOK1l4zYLmjk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1769431299; c=relaxed/simple; bh=TtDt5bqLhmfPeg66JCoa1PxY2VKZg9bpDjYbry2EG2Y=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=ureZZQ4L3dolIoOk7K3HpB1BRCzmpEtKzMSA22Yf6AlalHv7YWzQqV0nF0m8AtB3WYkcz3oMzoM9+4Tv18Bf59lI92q/3wfQ/YHj+MrxTNZ6KCaMVAKa+G0NcoIK01k6+NGHmMz9qVMZRsa4ICesbYOFCPAkrH95w9+3eYkp+C4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=SlZJipkJ; arc=none smtp.client-ip=209.85.221.47 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="SlZJipkJ" Received: by mail-wr1-f47.google.com with SMTP id ffacd0b85a97d-432d2c7dd52so4598887f8f.2 for ; Mon, 26 Jan 2026 04:41:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1769431296; x=1770036096; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:content-language:from :references:cc:to:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=GGkVRtj39ec/cXScWV7OP3CGW3GGq8UKBj+5Z3odKBc=; b=SlZJipkJOIN7WVWSGD5fHuWFZAifuaOysuN5g773D6hG1DU0cya6ZfxrgcMLAdEOdR OGDR04S7AcXVMtInN52FwLQCOYC5Q3Fd//qb94eMQqhuM1MFm+hsKP1t5FhYbS61dnp0 onsEkNyK3GXBsg8RyD5gK18856sKU5OCqctTVFb4hX0gyVAU6na8F6tERNgN93+Q96vc T0UNWBAs5ZozIa/9dkuewGDyGtPXRjg/b82zsaNLeaA3Ilnuhb3qtnsp4F8hl3lTr2Ut hcbm2dCPh1OHMgFhhK71WdJhNHFadMAxL2Yv5fyjlWrCXySRRC7jeWv13rz8Zn7dD+u8 BtLA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1769431296; x=1770036096; h=content-transfer-encoding:in-reply-to:content-language:from :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=GGkVRtj39ec/cXScWV7OP3CGW3GGq8UKBj+5Z3odKBc=; b=YsB4kjqhEncPOfYBzcRwTYW0iRwPLHxryLKL+dpGFyQF+hUa+9FzYRYjQaxQJsUHwo tzCIfCqYwI2FvpyJ8aIk+sKWQ2uRMVAwN3JrbqSYTP3mzqkOluj8f2b3XRm6dN9jUZDr zJXrQKZ8RJ1DyRhDj4LhAvoYpdiyCRMnvespAb7ZosgYZwqbH8nyhpojZ0Eb6g4XaIrB KudpbttfOhCRgKunI35h+zg4AYqXVf4LE466lhwFADobEed3oDXSe8hTiBto+RSDahnZ jyY3iAjZ5en53CaoUZ8YtJLvhr34Ec8Xdn32UXJdLYPU/Eb58aPLeOhAG49/Jj9DnQiK v9lA== X-Forwarded-Encrypted: i=1; AJvYcCW7FWy3A6H1BPa1lvtBGGtzc8hV1afSSIGVptT1IzNyohZ8/XXKs4AGBsehw7jgsoVHS/kLiDZkhykyOGg8@vger.kernel.org X-Gm-Message-State: AOJu0YwwrQtIX0xILVs8Hu3Sg06avzAZOJTt7CCjgVRULcjnU6BrCP6I RCBZvB5QKhmjS1AaqGiKB5VYFDFJvqfsUM78OZXsmls4b5DxFpt7NcRmJ6iOTgVvN4g= X-Gm-Gg: AZuq6aJ6eEe6UCvNsglb7aMcGcNyNkRrEPz34lay4X4Bk6kdpmyq1vdI12VOVj9h05r c+X7O3A9gECNamlYiZalu0241DXOX7ObqP/uTlN458Z8LH/bNnVk/lUA7bYmwxe9hDpWjbz1GHU WCmxYcRocdQgiFGdhavYCwuv+ZicoTLXszD/bI6Sl68uANihG1gR4Uxot2r38llIUA0rbyKSYNO O3WdEt8JrTjQMjbBcVzZyk/ZYlPWrdDCegbIsYFINf+djs6KEXHbbAigrwNv8W7ofdtCagVAW5I STQyxgjDBlUWrqzOxaaFAj0bGet2WAk8KFbgNe89YZQBMxU+zTF0GPJ19gxXfr9Nctnj9J5ERhh VIQHcd0psPnSwfFfLLs6n4AC91KyUWpOBPCbWKE3X2Nq7Dlpy0Ho+rX3B9hweHJbwyFTBXfGhZ/ vd6CF6nqez7LtYB/LV2orUwi6myFNbW7UTjdullvzSvKIIva3IDs31 X-Received: by 2002:a5d:5349:0:b0:435:a600:2601 with SMTP id ffacd0b85a97d-435ca1201f2mr5525322f8f.16.1769431296323; Mon, 26 Jan 2026 04:41:36 -0800 (PST) Received: from [192.168.0.40] (188-141-3-146.dynamic.upc.ie. [188.141.3.146]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-435b1c02dd4sm29593878f8f.5.2026.01.26.04.41.34 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 26 Jan 2026 04:41:35 -0800 (PST) Message-ID: Date: Mon, 26 Jan 2026 12:41:34 +0000 Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v2 1/1] media: i2c: ov02c10: Keep power on and use reset for power management To: Saikiran B , Bryan O'Donoghue Cc: linux-media@vger.kernel.org, linux-arm-msm@vger.kernel.org, rfoss@kernel.org, todor.too@gmail.com, vladimir.zapolskiy@linaro.org, hansg@kernel.org, sakari.ailus@linux.intel.com, mchehab@kernel.org, stable@vger.kernel.org References: <20260125171745.484806-1-bjsaikiran@gmail.com> <20260126061528.63785-1-bjsaikiran@gmail.com> <20260126061528.63785-2-bjsaikiran@gmail.com> From: Bryan O'Donoghue Content-Language: en-US In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 26/01/2026 12:24, Saikiran B wrote: > Yes, I implemented your suggested sequence in power_on(): > > Assert XSHUTDOWN (Reset GPIO = 1) +5 milliseconds > Enable Regulators > Enable Clock > Wait 2ms+ > Release XSHUTDOWN (Reset GPIO = 0) > > Even with this sequence, the brownout prevents detection if the > off-time was ~2.3s (I got this 2.3s number by conducting extensive > stress tests on the platform starting from 50ms to 3s. At 2.3s the > success rate was 100%. Anything below 2.3s, the sensor entered a > brownout state atleast once.) > > Thanks & Regards, > Saikiran ? --- bod