Received: by 2002:a05:7412:bbc7:b0:fc:a2b0:25d7 with SMTP id kh7csp367566rdb; Thu, 1 Feb 2024 10:40:54 -0800 (PST) X-Google-Smtp-Source: AGHT+IF9XPKPCsy0R4d43rzR5KaYPyvbRWAnLOb42VEdK9D4ioKzm1qXQ3y69oM19QgcJeQWqREm X-Received: by 2002:a17:90b:4b41:b0:295:fb9c:f6c9 with SMTP id mi1-20020a17090b4b4100b00295fb9cf6c9mr4333107pjb.0.1706812854157; Thu, 01 Feb 2024 10:40:54 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706812854; cv=pass; d=google.com; s=arc-20160816; b=mCodJHNR8f8a9Ll2/vqXsX18T61at+X5NiaNUycaKNlpmqxc6aFHVnr1XgFj9WLVZt Avt2FGub3HCxVgEj1XahccaDgrQSu9qGkg0uYEZEe5EOCV3PZxZqexUuouJVkKzipBJM 0JQgorb0dOumJ5NKvCMFHE5VybpkMfGl6QU8QT+bz5Nuf911wb7GA8agHLPfEstdVbSZ Bp/WkOa/R/OSDs0HpI6lFB8VeurvH0+kRDOCXXoRGtFLCiUYi1jkh7HFH290gWROnrS4 PSSmgW55JZKy0OKkfJVEWimGqOTzDuNcAS4auVy9p3MQ8z9tGYIybgVy8j+SPIxrkHu5 5KvA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=UgjjbAwqhkCK1+vM973xshiTU9buX9IrOA3wNeIIhmU=; fh=/3LkYuVcBOqeLrbvc6YKV7a85V/u/HyuVl+NLmweljc=; b=kFRpk6nxEsfi87dBOVuLDSbg9y6BRscq5nNu5KKggJHHgXnqA7gRUPEwg7jP4+Ivhp uqqzFWEyO8FJWm3EBYirs1Z+cTohILGy/QB/oLgqOXK2dgFpZUUFc70fFjpTKgRMpVcC LZKOGG0PQ02sLVHYqIMjNSMzERzzLf+w5sCErMs7ToUw7bC7TZVPaeZLnFagmln2RB2P ULtGsP5Q9dda8ZT1PUeR3S05ejmhDUjbMQRvZjY/qyISrng3MzEeA+/x4TyPCa2lh0hQ TLcnw//xqv8uJI9lR9aIQcIc4sYk+i3gMkEMet15C0dhndwcO1Y2Y10knFp2uoeQZfK5 VuRw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=RqKSHXuv; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-48713-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-48713-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org X-Forwarded-Encrypted: i=1; AJvYcCWg9MbfmruR6oz016x7zO4blX4Vb5FffJXCiRa7UiEN5OFSPFfmun/qC29LvYGU7DUPykt3HsfPJcpZDQfdTDgOJ5QH5v0kgKotlNDXzg== Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id gt18-20020a17090af2d200b00295e3413670si222392pjb.131.2024.02.01.10.40.53 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 01 Feb 2024 10:40:54 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-48713-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=RqKSHXuv; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-48713-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-48713-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 274D3289409 for ; Thu, 1 Feb 2024 18:38:16 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 8254684FA8; Thu, 1 Feb 2024 18:37:58 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="RqKSHXuv" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id A962682C88; Thu, 1 Feb 2024 18:37:57 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706812677; cv=none; b=uPKlg5l0DMsmzEj6NuNv+DICq/PIMhwVmvZfQ0r49OSyanm5dv9tKn2zkCaVPykGjTuZhRuxswaA3FqA765zImwpcUo6YUa55xlvZdRPz7E/PM3wlt+9A/cp4Ec0WiESNBa/NC5GHBxcFD0pnAotb6MOHFhHBg98/utpFlF4Ago= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706812677; c=relaxed/simple; bh=0JVpzxvxHW0CTZLMhUSI5/1YEsJwW5sGalQevgBRPig=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=ei8QeG3OC17HdO9BTvpwnbP2z4cZbEPRq6NfvpsJg5/8IGIibiigPa3Z7pD7svIg5SYTpuZTGNkOJkf4o8Bpr40xIl16TS6yJhLct/ChrZtFAdnnYdWz4VwDceDFdQdlrlGB320msiIr9yoEd6Ey60SJTfES8RdSaIzpfMwDWbg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=RqKSHXuv; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8DE0DC433F1; Thu, 1 Feb 2024 18:37:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1706812677; bh=0JVpzxvxHW0CTZLMhUSI5/1YEsJwW5sGalQevgBRPig=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=RqKSHXuvgjL0C8Scyh/DKYXAe4w5/voFVCi4sLwxrmUFM5F3on17NUnZV9s8sw6Gi feC+RN7VeJpPn/2WZ23ZHgGsF5+zX1MivRCZ05qAk1JesfpQc3QYkPbqjAv51qG1qG ISNyF6TRUbzIkdJrGqtWyBm4Bthu8S+wcVrMn5covTI1GmZZigKzLimm+lYO33bypA 6AL9redV6TPUGkUHLiUrm/pWbjYnnwKhKfcH2WyMNtX8W22AnPlu924unKphfawY62 LIvQ0tOJQBmWeTdkW7Cxn95xr6+9YgEe+bWeJWl2KRjOOYn6Br4CmHRPBxOxWbnlc6 CKL6LUYcHZkZQ== Date: Thu, 1 Feb 2024 18:37:52 +0000 From: Conor Dooley To: Changhuang Liang Cc: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Emil Renner Berthing , Paul Walmsley , Palmer Dabbelt , Albert Ou , Jack Zhu , "linux-kernel@vger.kernel.org" , "linux-riscv@lists.infradead.org" , "devicetree@vger.kernel.org" Subject: Re: =?utf-8?B?5Zue5aSNOiBbdjI=?= =?utf-8?Q?=5D?= riscv: dts: starfive: jh7110: Add camera subsystem nodes Message-ID: <20240201-handiwork-excretion-36aa2eea0709@spud> References: <20240130082509.217683-1-changhuang.liang@starfivetech.com> <20240131-recycling-entering-b742e0e835eb@spud> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="aKOGQMxv8o8LMxKI" Content-Disposition: inline In-Reply-To: --aKOGQMxv8o8LMxKI Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Feb 01, 2024 at 01:42:13AM +0000, Changhuang Liang wrote: > Hi, Conor >=20 > > On Tue, Jan 30, 2024 at 12:25:09AM -0800, Changhuang Liang wrote: > > > Add camera subsystem nodes for the StarFive JH7110 SoC. They contain > > > the imx219, dphy-rx, csi2rx, camss nodes. > > > > > > Signed-off-by: Changhuang Liang > > > --- > > > .../jh7110-starfive-visionfive-2.dtsi | 103 > > ++++++++++++++++++ > > > arch/riscv/boot/dts/starfive/jh7110.dtsi | 67 ++++++++++++ > > > 2 files changed, 170 insertions(+) > > > > > > diff --git > > > a/arch/riscv/boot/dts/starfive/jh7110-starfive-visionfive-2.dtsi > > > b/arch/riscv/boot/dts/starfive/jh7110-starfive-visionfive-2.dtsi > > > index b89e9791efa7..e0027bb379ef 100644 > > > --- a/arch/riscv/boot/dts/starfive/jh7110-starfive-visionfive-2.dtsi > > > +++ b/arch/riscv/boot/dts/starfive/jh7110-starfive-visionfive-2.dtsi > > > @@ -30,6 +30,37 @@ cpus { > > > timebase-frequency =3D <4000000>; > > > }; > > > > > > + imx219_clk: imx219-clock { > > > + compatible =3D "fixed-clock"; > > > + clock-output-names =3D "imx219_clk"; > > > + clock-frequency =3D <24000000>; > > > + #clock-cells =3D <0>; > > > + }; > >=20 > > Why do you need an output name here? >=20 > The output name can be unnecessary.=20 >=20 > > Also, where does this clock come from? Is it an oscillator on the board? > >=20 >=20 > This clock come from imx219, not the VisionFive 2 board. If the camera is not on the visionfive 2 board, why are you adding this to visionfive-2.dtsi? --aKOGQMxv8o8LMxKI Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRh246EGq/8RLhDjO14tDGHoIJi0gUCZbvlAAAKCRB4tDGHoIJi 0t7uAP99Kv0Ha56vaQ3FmdELSrLyGZPzRKwDjvkXfD/FjO5zzwD/Y5FDv6A1egV9 RKSaWFPmNuF8uiKHjPFGwcVibWqw8gs= =+5Bw -----END PGP SIGNATURE----- --aKOGQMxv8o8LMxKI--