From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-yw1-f176.google.com (mail-yw1-f176.google.com [209.85.128.176]) (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 2E87E3F9F35 for ; Tue, 31 Mar 2026 19:43:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.176 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1774986211; cv=none; b=NLF+XU2+tfKVLG+JW/Mp0+lX+nqNu34HKxDO3Aq6ypwl6bW3VikTPTO+wAOg459RPyanPELrxt0MR2smoJ3c21/3/0TuvgE4uYTEUYkT4lmP1O99fPkh3nJx53vO3Q1bpxx6YzpdmowTR2D/sqwuazT56sV+lww7qhBpyhSOM00= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1774986211; c=relaxed/simple; bh=/MNqRrFHFC2WqhLreC+/2rydPkjQ8ipbpo3qxRn9Epk=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=bjw+9Cwkie1D3Vj+v1BDOoIcrxszQIYnQxukM6gwlInM+p/H5J9s86Im3aAtIydFXnpsRSuHtmn2pWWsRmXOOElQFBLDlz2iY2CWHquLJ+IosCzyd0K7YMpU4PhIc1PEHPq5wDOnfebnl+4qTdN2UE3nAq20dtCcXHB6/C/qbnA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=qbIDyqoK; arc=none smtp.client-ip=209.85.128.176 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="qbIDyqoK" Received: by mail-yw1-f176.google.com with SMTP id 00721157ae682-7986e538decso29077907b3.1 for ; Tue, 31 Mar 2026 12:43:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1774986209; x=1775591009; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=7dMNu0l7hZLwXtDpNqW37ilehWYmKAByHIWOjqdmC4k=; b=qbIDyqoKT/zjFjdqaPelWJjQdNwVr/BgpU7jODjzLaGZ0chGs7Z3peB389VMRUeDEh kyfQ3ivBZSZ9X0501Stobg44I2MNAO75qVhnkZ7ILHoyDLSazQp2HxErzIeJe/zUjbgV t9Zww/InlgiruLPs9azT7MxQCP2Ir00cbHmtG2bG53vw5MtmHyJSl1LtXCU8iopDMhZx /u1eK/Qj1RV6JrYW1T3HLfEI6F6/JhUVUZVHRSVmooHnTudV5XmvZJ9RgwHQyiQMiGSi oXG8lv3Ggih/bsGfYpLrB2XXLYFIlKuJAsfMZW21CNLDHKUweZprcK1G1rze57+ndExk AgOA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1774986209; x=1775591009; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-gg:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=7dMNu0l7hZLwXtDpNqW37ilehWYmKAByHIWOjqdmC4k=; b=op/uENv1b34odLp+h49AqlQ8wfD8qlc1dQAPyc3o51Yon4aKqkcyoy+K6y4eE7UbFu yvfSpIAoSRQEN03fhpDcBhlfxDJpg9/ADzPH60IHcWbtEzMcrugobNad2NWtW/RI8Qsx UKH8RQZlj2XngbKrJij7V0hz5QRZYfK20nEkeq/8ruTLoWA7yDv/juZptxnJSB2/KYcd XZ722Kp/6XKeRVXT4h8rY8Kbw2d6/MNP75BgwYdyjNjqAcpb56NV6Uhb3LzBL/wsXyAg uRYPUEAy54cz58j8rwrADwKome3PQWQghZz8STqCseVxOIFSxjwAyOWk6MyTrw3uO9uj gnxQ== X-Forwarded-Encrypted: i=1; AJvYcCU2YHYFgMPCNf90j1/vC770HIAwrzp6U5VaOTey6UGxLJihsH8rBWEKOZIzvng6D6PIGjCZWEkOR+3t4Lp1@vger.kernel.org X-Gm-Message-State: AOJu0YxFO8FGtsW4loP+0lbXwTF6ye1tIXc/+nqSU5S5q0zYb+R/YCuT QlJkV4giEGIjHBWLQaNseAdMMNh5enou1062hQXr/GTvatZmgjddQvef X-Gm-Gg: ATEYQzwKwYnpOoMS027Ytm0L/E+XvmBhF3SIyi7RtYwzwpTeJjOs0mmbnxtJjTODHtH JUdTy3UwitgfySdvFlcI3ZbvAsrRtV/RqRW5KGfRo4hGJHz8Y7w+P2L4gwZ76BxQRJFIjbNZbyw 0c7VD2jH4qjE7twKLvXI7T/ZeEDAtw+Zw5tKZtUPZbO8EDxg3PI0hK7xMRiEJA8WEgiza+wsRHy +t8QRqEEvbzm4bg1vifdSpzEhxQiMi1RoKSCtpi2TKFeazEtaPjYWWmVSq77eibDniCjKP70K6L +Y4ZsCEMJJz9RkA0B+ZgTDtQqUxXxjALF4nbLUAHxIeh82/Ra8xOw8r4UWSWkqG3ceJIsCKoUCA OT6MlWqaOKOw4CbbR9f5de/88q2E3a5JqVIQf63SBL/n+ktYZ/8bn30/8eJaaovRcgdSFbYQGWu oznhP4XDaMDxbS7oIK+7jO6wNhTg3o3uJmR00= X-Received: by 2002:a05:690c:38a:b0:79a:c7f8:d9a0 with SMTP id 00721157ae682-7a211e4ea2amr8562427b3.33.1774986209251; Tue, 31 Mar 2026 12:43:29 -0700 (PDT) Received: from localhost ([199.7.157.124]) by smtp.gmail.com with ESMTPSA id 00721157ae682-79cb7135d8asm53647957b3.4.2026.03.31.12.43.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 31 Mar 2026 12:43:28 -0700 (PDT) Date: Tue, 31 Mar 2026 15:44:12 -0400 From: Richard Acayan To: Sakari Ailus Cc: David Heidelberg , Mauro Carvalho Chehab , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Robert Foss , Todor Tomov , Bryan O'Donoghue , Vladimir Zapolskiy , Bjorn Andersson , Konrad Dybcio , Tianshu Qiu , Robert Mader , phone-devel@vger.kernel.org, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-media@vger.kernel.org Subject: Re: [PATCH v9 7/7] arm64: dts: qcom: sdm670-google-sargo: add imx355 front camera Message-ID: References: <20260217002738.133534-1-mailingradian@gmail.com> <20260217002738.133534-8-mailingradian@gmail.com> <1349f725-a20f-4935-a829-208c8e583ad9@ixit.cz> Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: On Tue, Mar 31, 2026 at 10:02:55AM +0300, Sakari Ailus wrote: > On Mon, Mar 30, 2026 at 09:27:59PM -0400, Richard Acayan wrote: > > On Tue, Mar 24, 2026 at 12:57:59PM +0200, Sakari Ailus wrote: > > > Hi David, Richard, > > > > > > On Tue, Mar 24, 2026 at 10:35:24AM +0100, David Heidelberg wrote: > > > > > > > > > > > > On 24/03/2026 03:05, Richard Acayan wrote: > > > > > On Fri, Mar 13, 2026 at 07:26:47PM +0100, David Heidelberg wrote: > > > > > > On 17/02/2026 01:27, Richard Acayan wrote: > > > > > > [...] > > > > > > > > > > > > > +&cci_i2c1 { > > > > > > > + camera@1a { > > > > > > > + compatible = "sony,imx355"; > > > > > > > + reg = <0x1a>; > > > > > > > + > > > > > > > + clocks = <&camcc CAM_CC_MCLK2_CLK>; > > > > > > > + > > > > > > > + assigned-clocks = <&camcc CAM_CC_MCLK2_CLK>; > > > > > > > + assigned-clock-rates = <19200000>; > > > > > > > > > > > > Extract from #sdm670-mainline:erebion.eu discussion: > > > > > > The imx355 can operate on 24 MHz (on both Pixel 3 and 3a), but Linux kernel > > > > > > driver can operate only with 19.2 MHz. > > > > > > > > > > > > I assume it would be worth it mention at least by comment here. > > > > > > > > > > This might set the series back because the devicetree isn't meant to be > > > > > written for specific software, but it's included in v11 because you > > > > > already asked twice. > > > > > > > > > > > > > I would say node with lower clock frequency is still much better than > > > > nothing or placeholder saying "i2c camera here". Instead we'll have small > > > > placeholder that value can be bumped to 24 MHz. Important is this can be > > > > easily improved when at least one consumer of the device-tree gains support. > > > > > > > > We have very scarce support of cameras on mobile phones in mainline, thus > > > > leaving a comment that HW can do 24 MHz is reasonable compromise IMHO. > > > > > > The bindings could document the supported frequency range. > > > > > > In DTS it may make sense to set the frequency the vendor uses as it may > > > affect the link frequencies (albeit I guess they're the same in this > > > case?). > > > > Is this review relevant to v11? > > I'd think so: it doesn't mention the frequency should be 24 MHz. Ok, please check the dts comment in v12 when I send it and continue there.