From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wm1-f54.google.com (mail-wm1-f54.google.com [209.85.128.54]) (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 D08A114532D for ; Thu, 11 Jul 2024 12:25:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.54 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1720700732; cv=none; b=YZx4npiDGF7BAoY5iY1/Z7H9hWHIcD4ldQRZI5054dBoKV1vONXLK3GOFsh+raB4zozS+1DpyAPUVTWL8dZlQWY1B/DtDokcLe1IJ7pdBt9ebmHaQGnTAwTXnt3qKrh3NTjivyS3xx1GVav8CSV9WqFSm6cmlgI28pABTWgqwRU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1720700732; c=relaxed/simple; bh=+4agpP4fKew4RJi8Fu9CbGGBtivkkmDoF7lWUBBjsTA=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=da2nOtFXwyA9Zjjp61sgAtM39u/R2O2O4HOGpIwPcp9ZmAHhehw/BC9FjmYSKKLCNQ0HmLl0g6GOqDNWoOwMG6a0Djh3B0jL6BjLIIEBtXbFGVpnD+5WrLsg0/VGCOysGxFbdhdFgO+JvANH1X/K2aue51eczZ/3Qul3m+fOqLA= 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=qB8XhNlj; arc=none smtp.client-ip=209.85.128.54 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="qB8XhNlj" Received: by mail-wm1-f54.google.com with SMTP id 5b1f17b1804b1-426526d30aaso5643025e9.0 for ; Thu, 11 Jul 2024 05:25:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1720700729; x=1721305529; 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=QsuxKhv37VJtjgsQPrgg4cYo5c3nfgRPfOWIb6JCAwA=; b=qB8XhNljJbWzEYqo6JEcqFXUHjTVUyA1TJ2XW8nEq1KZxYL1YAa1UOONoZrOiFAf22 pwjhwaViInopyvIEam6ay/LnKzevq2PM+wJmsI+2BpYs4z0tX0X//NysK9fMSeGeaMhY 4k4geKwEl9+5lTLaqO049hge4vUAavUTFUr5y4ijZdCuVx/M9TIODl+ETKSPa3B1q5EC 3qItCasuV7p87NEaPADbdKhWqZ7Tn90DrL1I82eb+/KrXe2pgs/lx4YO9P8EKTA8ooTc qT5NHb/0Y9X1KqhoCDxSJVO3Uz0iII+ekRH2yKqODWVF+k+OJNdkVub0+0yMQkqKfQH/ 0Jvg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1720700729; x=1721305529; 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=QsuxKhv37VJtjgsQPrgg4cYo5c3nfgRPfOWIb6JCAwA=; b=PUaq5aEngujDY9cXS0DAa+6OpECZNW98t3a3iktNAbCVdBIpLXOQJrFSekYhWqTHKD cKGj8oSdmxqnlqHr2lHFZBhnJkUJZKrmxFKHFWLSrhXDT+0e/t25oCj+BV5s1lVu8xGy WXFue5Nl+CW6CatHO/9CERFuYI/0SKw8P6uETxOU8ZjWtCqzEcGhdRcUr5ab6nNHSn+y 9NrBLRbTCaOjreqTm90xyCby6j11LOZrNt95Cm7vLLrfIyNrmjnrsAjMPzgrLu1zDzOA jJAEL45j3ZH9V408MjNZVhTImUr7F8BatAwsshNMbvqq9hSRCOIRD8SWs+xkpadagpH/ OQtA== X-Forwarded-Encrypted: i=1; AJvYcCWstl4oeF+IbG0UGolhYnGs/Qd6jFQsUe/tF7DMfEbhoVl9SY1DPvLscaoVKgyojIt0uLXcXp0RUPZi04yEcioQeQBZoVeAqP952Kzh X-Gm-Message-State: AOJu0Yxv2Z/HrXTTGM05r+hxOvv2uEbGVpL96rzc5ow/xP4xp53W/LEn T1t4hT3J7W9WoK4qG9sy9iQWVTYecaaNdFUD+7nuOvPP8jSPQwYKcCecDfT4LIE= X-Google-Smtp-Source: AGHT+IFzl7Kbq9YU3O0zMt6IJS1tzDY6wqKPq6NgvTLS9ETYv7JkW2OhVbjBeqsfX2eaFQ7N2dshnQ== X-Received: by 2002:a05:600c:2d43:b0:426:5fcc:deb0 with SMTP id 5b1f17b1804b1-426707e38bemr55061115e9.24.1720700729221; Thu, 11 Jul 2024 05:25:29 -0700 (PDT) Received: from [192.168.0.3] ([176.61.106.227]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-427979f5784sm38609385e9.31.2024.07.11.05.25.28 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 11 Jul 2024 05:25:28 -0700 (PDT) Message-ID: Date: Thu, 11 Jul 2024 13:25:27 +0100 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 2/2] media: ov5675: Elongate reset to first transaction minimum gap To: Quentin Schulz , Sakari Ailus , Mauro Carvalho Chehab , Quentin Schulz , Jacopo Mondi Cc: Johan Hovold , Kieran Bingham , linux-media@vger.kernel.org, linux-kernel@vger.kernel.org, stable@vger.kernel.org, dave.stevenson@raspberrypi.com References: <20240711-linux-next-ov5675-v1-0-69e9b6c62c16@linaro.org> <20240711-linux-next-ov5675-v1-2-69e9b6c62c16@linaro.org> <1051b88e-d6af-4361-a4de-95a28ddfad69@cherry.de> <078e3274-f592-4ce0-a938-d58a0f88cf84@linaro.org> <3646cd1f-09f1-4e80-8d55-a9ac25cbf81d@cherry.de> Content-Language: en-US From: Bryan O'Donoghue In-Reply-To: <3646cd1f-09f1-4e80-8d55-a9ac25cbf81d@cherry.de> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 11/07/2024 13:22, Quentin Schulz wrote: > Hi Bryan, > > On 7/11/24 2:07 PM, Bryan O'Donoghue wrote: >> On 11/07/2024 12:41, Quentin Schulz wrote: >> Worst case XVCLK period is 1.365 milliseconds. >> >> If your theory on the GPIO is correct, its still difficult to see how >> @ 6MHz - which we don't yet support and probably never will, that 1.5 >> milliseconds would be insufficient. >> >> So - I'm happy enough to throw out the first patch and give a range of >> 1.5 to 1.6 milliseconds instead. >> > > Works for me. Great. Just for record, I'll update power_off() too to match the logic we are applying @ power_on since we've decided the calculation based on XVCLK is overkill. --- bod