From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-qt1-f177.google.com (mail-qt1-f177.google.com [209.85.160.177]) (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 D4EBC146A66 for ; Tue, 31 Mar 2026 01:27:24 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.160.177 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1774920446; cv=none; b=OVpZQiySinMJHS6PmLWTg0ZMmdXg8yaYRAKCxpfRGgUWKndOWuyygC4r5MCYGmotkCTiPMqScSNQ/PWcXyKKdiuB99SaUy8HL8/WMZdx3Py6sKaOpDwahLbZmJu/hyYPjL0lLqpJCsw+tWaYkaDVsF8GqDT2nRk/eiDKB2T6qMQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1774920446; c=relaxed/simple; bh=DoIAKu1bIw6WjuD6GcmqJ8DVq8l3eat3WF9PWpABhgg=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=Ep2V74MF5CV9RbY26jPoDsXrTnvOjaxBgccM1f4eRyYSuO9EIRLFTr+E5972o6sFayL+JN6tcIX3C8rOBAIWe9ySEq4KimAAS340J3SnIl70+p2WrsD7W8Pn5BdUAxS9u4UGn3LHFHpkZIYDGZmsOrGMjLtSfub/vKJCH/+Ir5Y= 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=OQPIgX3e; arc=none smtp.client-ip=209.85.160.177 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="OQPIgX3e" Received: by mail-qt1-f177.google.com with SMTP id d75a77b69052e-505a1789a27so26996221cf.3 for ; Mon, 30 Mar 2026 18:27:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1774920444; x=1775525244; 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=D0yulhRwyETMpFsHW020W350NiZgzMyyxXfQQBfRWcw=; b=OQPIgX3eE3bBYxdpeHII1NQiDfY0MZc/n6fH3Q6EmBgaxJgTiFqsRaMHr8vrEL6lMm jrLIlunjodjTmGOZPK6k7mY8QPPJhFEnU6oH93926O9411d30yUo6Xjb2BEKBB+ucCTp NdanPoThIjuIDtBsTfHfGJvGw1K7xNZR/jRR/FklJOwBxa6QZeUGOO7DyKY+VeAZTAPR IJN4PvhCoMOwiwGdEA9gF2QdTMTZnl/BAUw9CN4rSdYb8GKRWH+V7f67Ozlqz2BfnAvk cumDhtWIovMuBApYCDl1IgehBegxf8WYnLCWWT6c4JxcokWqnFyiY/8+wGFi3ss+Nx6i 5mrg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1774920444; x=1775525244; 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=D0yulhRwyETMpFsHW020W350NiZgzMyyxXfQQBfRWcw=; b=UcQy/3TtFGX+08yOfOgu8g8GCPktt13hqVQLsemfkR9i6oETsKIFF7B7Vw37ksvZrq XxRIKGUlLL5noyekmfSC5pTws3bgguRvo1p/0o9xgjMZnInPibc3ucgElznOphg31vEt +BYWo9o60xsfkhszwPODwFBEuofU6j0by7XnBskyPtkDvOprhomvbtsoQE2FYXVugZ1s 9ezFzqpKEZ54EgJEja81Hag5VqAxkpfJODf1Gz1fm51W9f2hU6/raKvwvy0/yyPPiW9G xHkkZ/h7vvJDnVvSVMzuoL2T9Q7pHMoD0VxIfzlWHZ/F24hX7wr1srPfiTTVrMdAJo6Q Qyfw== X-Forwarded-Encrypted: i=1; AJvYcCW09GK+ncPJmZrN9cmaSiwpFOcvjjmxhwkr7+n0dLaT56kTArehRf5AYxKnhVkKQ/hpaF2PET1vqG1QKVqQ@vger.kernel.org X-Gm-Message-State: AOJu0YzagEGvumrYc9LghPrfedLhxCFBa7gsm+ydXy0o+pPed1QwcpmS rq4xboUHtx+m8CiuMIrKtSxO5NhlWx88cim/I0hDsA9O3iX/h6XpkCZI X-Gm-Gg: ATEYQzycrlb2yPySOto5bgppr3KRHM1R63XOW2QkA3QHZR0Z4naZ6z0SbiBnnGFZ5d7 5ypUZmoV0C9Y6hPhyjJDg1VN7pmwRgfMpf3tBlRo3GV/AkGrFGVeg9j39eQrADKS892PIM1c5O4 aAbTI+zAQY5jRWVV1DNhhhjdIUr6KsRr4GuT1+6d2kj2IEtstwCffb8ga7ZOxHV8YnjkuxSLo7O fRbJoCOxPEZGkAQBCmzZ06U1D/nsvK7Z6Q1Vjtw2iZ3+W/RN345obEkzbKhoRkY/zV3VdJioQBK Lq1cd4ZuLzVPExCKHqW268ME2tHTODZYLAwt1r93Se1zDdg5xr6Rm2GNE6FFZzpUzxgtut+nFWM ul68s26xJ2/ep+bN13DfOaanGbbdUC8R5wYaulu60+NLfukeaFnQ6blbr5I41cyR7denBjO/daR VmoeOZwCZTWM6m/5Q/tvjRKJgQvA== X-Received: by 2002:ac8:7f12:0:b0:509:320:2de6 with SMTP id d75a77b69052e-50ba386455dmr204956541cf.25.1774920443757; Mon, 30 Mar 2026 18:27:23 -0700 (PDT) Received: from localhost ([184.144.58.243]) by smtp.gmail.com with ESMTPSA id d75a77b69052e-50bb3df388dsm96604781cf.6.2026.03.30.18.27.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 30 Mar 2026 18:27:23 -0700 (PDT) Date: Mon, 30 Mar 2026 21:27:59 -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 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?