Received: by 2002:a05:7412:bbc7:b0:fc:a2b0:25d7 with SMTP id kh7csp968221rdb; Fri, 2 Feb 2024 09:14:46 -0800 (PST) X-Google-Smtp-Source: AGHT+IF/c0fp3JAgTegCS6d87AuUfNGyT4hgvhTLLR/cgprKXD+zNEykwVJOOV2RXMDVwlDhH0V8 X-Received: by 2002:a17:902:d2d1:b0:1d9:855a:3130 with SMTP id n17-20020a170902d2d100b001d9855a3130mr619615plc.33.1706894086322; Fri, 02 Feb 2024 09:14:46 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706894086; cv=pass; d=google.com; s=arc-20160816; b=KC3RMsQi5OuL23HHmG8CEx9/EaphbQoEVumHb9kK7ZzuGWH7vvjz7Id1WPgSowUPO2 o/8AIGT/FUfre33U/++vT/WUX8Ur5rm0OXuzT1VeUxymCPZSKOBs3o1KO2tpUnIj2xHu DIKG/AUqDuDJMMbUOX7VROzlXnb0OAiMwaPeawKV04HjtFk6UqmL9F4IKhHCAolUO6xu H6BgBOZBrH8h+8GnU270j8j9whJHICwG2CFYQ9deLp74u2R+o+vTtKX8uNNbIBvKDmcG TIRbW4mo+piqDiTc7kIUONWVBkOR996I2VDnHpkRA1NgHo3EFu2a00tWS+6tY6pbUXS/ OjLg== 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=VbqhyALqzDyP0hBswaHzLxYxe7qA/Th1jKTwfFW1Qto=; fh=xu/1IPV8dWK+aDeViJKaclxgVtXaCHWLuyotNJ1pm+M=; b=YkmdeAVWnhbU9TUMaXwM9uf0Ytv82dYIuIX8qSi5ewhZhvWA3TPC8dFS3dH8cCb71A sKcfC3gGTV1zIe/hRTjNwoqtmkr9irMlaF9FiCKOCnQ0bQaqtFwseHGgaU7lDW1velHZ 0K6cZbruMSAT7BFRLJJVpvaK+o4RmEaKlBWDtCK8Q197i7qCq9bMo2e/R4MX71KAVUzN PEsGV6exUSU4PHXmC7Gx6aXK+j44OqnDh2sr8rrrwEjeXeSJAAxdMFzk25OMmBPJASpF e8NTL5S5x5Mr1CEawiYHks+Ks4rfHb+vm/Ebc1Gyw5VNE1vpWx368bUeXyd32FM9mww0 r5wQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=qNCqFUzT; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-50171-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-50171-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; AJvYcCX82Vt2B7ns6ZSUwSO2OM0WqzTiT7DyqijK6FL3Z8APnAX7bw8aaoenLaSkxHF2AxEnVO67No2+ZBKO9ed8vvRR3gGyzEESNhhYdoCkdg== Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id o22-20020a63fb16000000b005dbec0a0adfsi1861932pgh.320.2024.02.02.09.14.45 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 02 Feb 2024 09:14:46 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-50171-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=qNCqFUzT; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-50171-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-50171-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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 4042AB2D0DB for ; Fri, 2 Feb 2024 16:47:46 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 8CF43148FF8; Fri, 2 Feb 2024 16:47:29 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="qNCqFUzT" 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 1BB671487DB; Fri, 2 Feb 2024 16:47:23 +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=1706892444; cv=none; b=EIo8PNCK+fyTWscE6BXtqlDUNC0q+NldArI/01XOmeh+jgQQMZFT22VI5OMvZvemBZsbgCsPCdNlYXH4laP8iD/ysso6CH54zE6Y0DUmiRpSmmF9e4FANiFc5WWvk2/lgtKEI7V0GSkB6dGw/LZhhUiFTd9qLokfVGiUtCwDwiM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706892444; c=relaxed/simple; bh=qVGQPqaAKKe4rQPmvSxnfJxycvP91+EBvnjm6km00sU=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=pDiWhonAYmRYEpYa3/Eu7fCigT+6r2on+Lt3WkSCiATFGW4eBhNLNG+oY8ckSqNMbVjVaWHXkafkxTbCD9Pgor6Ka9L2lzVZsSQFRy3p2NuvuIqG+Px42HF5ITCt3p0LJ1d0jBV/xQbPMSokwCVJtFLX4xLw8EGP8IwzjTVoFQM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=qNCqFUzT; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 221D2C433C7; Fri, 2 Feb 2024 16:47:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1706892442; bh=qVGQPqaAKKe4rQPmvSxnfJxycvP91+EBvnjm6km00sU=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=qNCqFUzTNiblKPnDQEd8pje0NXH4Zy3nqDPZrHBJIwDuSZulOTSYJkzEPpxXJpnY8 Fgqdae3dL6Vcw/z+hwVavA4mh7DTV7iDwNFjErVaF1pN5BFxrVOC5bvF9VCrcHulQO mGICncO3/J/ZBtMCbf7tX9MuYMP3folEPxo3ga2eyR2wmKnUWd3xmxZ3Kq5H5ydOaO 1X35NC29UpyzTygfL5wyXagjVz73WuiNWiYduyyCwvHEW6tb2CLuOAb5Chrc8ccBCA Sw+BrWqr4Jwm1F1zRshfaSk5DhZwfl9Yt1Iqx+ylGW6cxMPwFlqONy6GjGFXPaFaRO tl1d0paIiPePw== Date: Fri, 2 Feb 2024 16:47:17 +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?5Zue5aSNOiDlm57lpI06IFt2Mg==?= =?utf-8?Q?=5D?= riscv: dts: starfive: jh7110: Add camera subsystem nodes Message-ID: <20240202-spoiler-deceit-0e9ac720fd2c@spud> References: <20240130082509.217683-1-changhuang.liang@starfivetech.com> <20240131-recycling-entering-b742e0e835eb@spud> <20240201-handiwork-excretion-36aa2eea0709@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="BCDHEep2tdoQkpJp" Content-Disposition: inline In-Reply-To: --BCDHEep2tdoQkpJp Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Feb 02, 2024 at 02:29:16AM +0000, Changhuang Liang wrote: >=20 > Hi, Conor, >=20 > [...] > > > > > + imx219_clk: imx219-clock { > > > > > + compatible =3D "fixed-clock"; > > > > > + clock-output-names =3D "imx219_clk"; > > > > > + clock-frequency =3D <24000000>; > > > > > + #clock-cells =3D <0>; > > > > > + }; > > > > > > > > Why do you need an output name here? > > > > > > The output name can be unnecessary. > > > > > > > Also, where does this clock come from? Is it an oscillator on the b= oard? > > > > > > > > > > This clock come from imx219, not the VisionFive 2 board. > >=20 > > If the camera is not on the visionfive 2 board, why are you adding this= to > > visionfive-2.dtsi? >=20 > It seems that I need to use dtso. Right? Yes. FWIW, the same comments as applied for the sound card Walker tried to add applies here too, unless this ships with the boards: | I'm not against allowing in-tree overlays for hats/capes/daughter-boards | that come bundled with a board, but accepting ones for a hat that | someone decided to use theoretically has no limit! The "someone" in this | case might be a StarFive developer, but it could be any random one of | your customers next! https://lore.kernel.org/linux-riscv/20230510-riveter-ridden-3f056251e623@sp= ud/ I figure this is a similar case as that? --BCDHEep2tdoQkpJp Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRh246EGq/8RLhDjO14tDGHoIJi0gUCZb0clQAKCRB4tDGHoIJi 0s6AAP9L5qiPX0VFQUsozcIGbJ6jTWsVE9WjcORf+MEOv8bBLwD/eAwDIKs2E/3d hREM5pnSpQkMLMCQ+cIoxbBnsRfWGgY= =bMIQ -----END PGP SIGNATURE----- --BCDHEep2tdoQkpJp--