Re: [v2] riscv: dts: starfive: jh7110: Add camera subsystem nodes

From: Conor Dooley
Date: Wed Jan 31 2024 - 09:36:43 EST


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 <changhuang.liang@xxxxxxxxxxxxxxxx>
> ---
> .../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 = <4000000>;
> };
>
> + imx219_clk: imx219-clock {
> + compatible = "fixed-clock";
> + clock-output-names = "imx219_clk";
> + clock-frequency = <24000000>;
> + #clock-cells = <0>;
> + };

Why do you need an output name here?
Also, where does this clock come from? Is it an oscillator on the board?

> + imx219_vana_2v8: 2p8v {

For all of these regulators, please put "regular-" as a prefix for the
node names.

Cheers,
Conor.

Attachment: signature.asc
Description: PGP signature