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 6297245945 for ; Wed, 3 Jul 2024 14:30:12 +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=1720017014; cv=none; b=PCQLZj6RL0asvI7dgCbBDUL42je7LIVVInOVVLD9p0uls3j2a+9HQWph160EkSldSiXXCRXOKpNtVRFgc7Usxm0I1Xt6qPj8Aa6c/TUk56Vg3/RILYXM2T/R7OZYjBgwVzTDJjt1WW9odWEt911Q6qbXOL9D95mMYf/er1kRtDE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1720017014; c=relaxed/simple; bh=703hhRSpknmH8TbKJyDrP7eger1IOJLJ7Yp6gEEIU5E=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=HFExLU5bKEiWkakc+baSPJha0yY8QVxTLeaCqvkUAONPENqQhu1KwEHckQnVNNB4NDAzch0l2R57sYfZFh8uifW322JzjQrNd4rLJC5knUNbrKnTgNTPAtPNPSKLppbq4EQaw73UjtbPTor9Jjpu5iHB451ZkK0bhrcrPJ02wJs= 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=OME98eeL; 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="OME98eeL" Received: by mail-wm1-f54.google.com with SMTP id 5b1f17b1804b1-4256aee6e4dso39699385e9.1 for ; Wed, 03 Jul 2024 07:30:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1720017011; x=1720621811; 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=5uMdQw5W+def7pihp9EhrnCgDBaY8Iz8fouuXaSiQ08=; b=OME98eeLhuWzT/j9kMrnOj2s71aM9YvTM3YlSVGVokKT8ss6JAAzCaJyJyX0ADTU+a cn3Rcir7LQfU/I3xiKj7GJNNzX+4w9yyouK7ZCGUFa9cZMTKSmz9l3zfEbubv9WzTAxP sRjym+eQ5SbCWBATdDTYXoSeKnJJclg8ckTxj+3B660VK8F4HSBl/EA637IMnoZFQhZN PdTBd2ioRpJH0jCpljp+egCvtnK3zcimEThyx/MHU5ypV9BPRXLsUqKEoO+nokqUnTD8 XkQTPZaHkNZuYR58EoMYPY39urwT+snt+/0BsS8Y82OZA8HdfFMHs17/IXESRvS+Qcw7 KjRQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1720017011; x=1720621811; 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=5uMdQw5W+def7pihp9EhrnCgDBaY8Iz8fouuXaSiQ08=; b=bP4YA+KzM8934aLBRB5MU8GavJXfEjwkVb3XtOiKOF7dLiTurMau9U2B8fIrkphsoY CS1zsSF9KHyJS0OXM7CA6KLGI2I4EkF2heonVdMk6y0oJXsqn7X8b8YWps6pKGkrc/P8 78mBpNzhnxyZRRQBOifAVFfEJfCgRv322UTvqwGaGCxITbOi0TFFLUGG1HDms6Ch0LDP WlEc02jvmF5wiV7MHfjtcmWY+IrukOWfR3Ktax5ijUqqZD9NaACDuyiQ+e8vEtnph1Qh k6UB0/AuTV9rmT77k17BSra6tg4iQcmpN0CgM1Of0NISNMP0Nm8A977XvDKuIiOjOdJ3 MXYw== X-Forwarded-Encrypted: i=1; AJvYcCVJNcGvtXQHM2ijRhN1JRj/qerOcUTxDmkCXli2OQt05SJGTCttpqW82bgpIJtLrXUwqdRfQjNYO2Tq7HhlQpLqR1fjd0KYCFuzxqc= X-Gm-Message-State: AOJu0Yxeg0hAshVThLuzutHKr+4tQDc7KYrQNHf7BCVZ7eFJM7UMVpYM mIaedpR54S3wtNa8Ryf6WnaeKYOnr2O+UszBtZ/MRUFbWEqGzPn58E9OnQOszg4= X-Google-Smtp-Source: AGHT+IFMA3j+9ZoVQ1XUOszmpt90crPyACidhPK2ftUVLUgtC81roKmr7IVwuI6zp4tDlyFz7yqSlw== X-Received: by 2002:a5d:6d83:0:b0:367:89e7:72a2 with SMTP id ffacd0b85a97d-36789e773b2mr3889568f8f.22.1720017010701; Wed, 03 Jul 2024 07:30:10 -0700 (PDT) Received: from [192.168.0.3] ([176.61.106.227]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-3675a0fc4c9sm16033873f8f.86.2024.07.03.07.30.09 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 03 Jul 2024 07:30:10 -0700 (PDT) Message-ID: <49b2504f-e5ab-4ea9-aefb-bc9c7f71f5fc@linaro.org> Date: Wed, 3 Jul 2024 15:30:09 +0100 Precedence: bulk X-Mailing-List: linux-media@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: Failure to stop CAMSS stream (sc8280xp) To: Johan Hovold , Robert Foss , Todor Tomov Cc: Mauro Carvalho Chehab , Kieran Bingham , linux-media@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org References: Content-Language: en-US From: Bryan O'Donoghue In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 03/07/2024 14:07, Johan Hovold wrote: > Is this a known issue with CAMSS or is something missing in the sc8280xp > integration? A known issue on my end, I also want to root cause intermittent sensor startup failure, before switching on the sensor upstream for more common use. > I'm using the following (squashed) devicetree patch from Bryan to enable > the camera (everything else is upstream): > > https://github.com/jhovold/linux/commit/85b41b8d0efd418509df548592f95b43b9663409 > > The issue was there with 6.9 as well so it's not a (recent) regression. > > Probing the camera sometimes, but infrequently, also fails with: > > qcom-camss ac5a000.camss: Failed to power up pipeline: -13 Yes this. If you recall on the pm8010 I had mentioned to you about a wait-time to startup the regulator - thinking it was the regulator causing this error. More likely the GPIO reset polarity or delay needs to be tweaked in the sensor driver. > and I'm seeing the following warning on every boot: > > i2c-qcom-cci ac4c000.cci: Found 19200000 cci clk rate while 37500000 was expected That's hanging around for quite a long time 19.2 MHz is a perfectly valid clock, useless error message. --- bod