From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-vk1-f178.google.com (mail-vk1-f178.google.com [209.85.221.178]) (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 C9A75428821 for ; Wed, 27 May 2026 16:14:34 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.178 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1779898479; cv=none; b=YPkLwDLzWs/L0kB+mkSinKa0lo6Xy6GqgSLkTD62lgWCPYGNnhuF9sMDat9XQJUCd5sFqEexV/bAnIINKP1mAYGLghYtp7Is25Fo188/v7710Mp3GQBZfCqW1LLU9sEHf1gsC1/4y7vnoF5lANcGUZb0uFC5qhpxeWxfkbZcA4M= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1779898479; c=relaxed/simple; bh=XYayIj2bcoUQ45OGK87OeopF01WpTuC4QqfWdPm3k6k=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=ucRZ2Twb238ZdA36MXg9rVkuGsBZhX72sbecfHgx/5FXzhH9Odg/0E0cMtyGPPjfmFC/zrkvTR44dHgc8ZHiXDGQ1+qDlH+0ADqkhd806ZeM6zk1ju3Jyd5yTNyNovrFy3qaBq4nNAT1O9mjvVZYDPPOsJ2VIoljVOsZGmwLJrc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=linux-m68k.org; spf=pass smtp.mailfrom=gmail.com; arc=none smtp.client-ip=209.85.221.178 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=linux-m68k.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-vk1-f178.google.com with SMTP id 71dfb90a1353d-57533363201so4025686e0c.0 for ; Wed, 27 May 2026 09:14:34 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1779898473; x=1780503273; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=dxGsTvcdtI7PYt4KC637Hd2zpBAihaHwB8QPjSFnO0U=; b=hvgYqGR4qfnHmoMKat3P7MGQaFFlLWYp5ep2h+WXNRNpgCGQWkedxdsQHpWQMa6o9+ erBnJ2qz84q3I3M2URAPoOfmZWbyhoJTtbUg4W6ait2XknZ6cnjNa+pb+wzAlZwNXllx fwzvnhmhy0z8bn6Hxf55dtUxCv5jyttdVGK2LEu/HfzbXZKvk6qxLYJ51J7JJp9caEyB iVpE5chQwIH6WMYLN4r7RLLbLTblcvmpydEehswK+ogfAOwWvDS7k/Ib2uQRu1507fMu Xvdh3+IDqxpo/bIQf5F/y8EHdXcMO/fJTl+36yYYWLpa1IS4oaR3st6QG2OV8aBZtF9O kWrg== X-Forwarded-Encrypted: i=1; AFNElJ9iVVCvfN2Sne1GHacJXmwBjYP9cV3AwjLOqwmEYYsXRWkm3icHOrorV7K17TrZlMIOOaGHkks9HspvBgU=@vger.kernel.org X-Gm-Message-State: AOJu0YzuU1nwfSsoV/rXWwjWxyQ46N7tyXijnWkLAJfHc8d1MEwzK/Fn hYHAzQLrwm183U6koioX5al12Ab7GzOW+JhQR5ML0CLXVhmz+xukC+u/uwA7aMkNuBY= X-Gm-Gg: Acq92OFWnYk/II5mUBI71ls1aXGdcj0xtzg7b5zOL/6Ht9uI6G4nQ5ju1+Jvai2bvGq 5B64EjZeYSvEeu1PsmIhB4fCfnXix/SJtT4D5rFuOWIxhXaBV5aGKWYocbVV3kGcaJ6t7e9AW6m 2FMCAB3kaqmxDdIqqXxbZPrba0fsk1x5meK47SH+4N3VmGzIhceX0EwJw2vrc3tteb2dhbD/b2e C4i7+J4zhtCKP1s/tXIuf2C0fGn5hb5I95JEcbYaIXd7W0Px9ojyfND+nIxSx/1ZAYHil02jSC4 nwZpOtTRdEvaa2ACNUPT6bBx/MWc2faUcOlclIW0yXQWwWyW9lTsbiKLJCiKD8fqJXcPqVbNkwv FG+OyUSqthrGjGxe53k+3HRCQ8iaZBY+kjZCru3VZEozt8UmjklN8q0vxnu6oitmifsl7od0Zb7 uxsw1EASHDxLC45QupXnN5UFnZK9OhikGN7020uPXuUqbBEdjZnT6eDXNF0+4tk7h9 X-Received: by 2002:a05:6122:3214:b0:56f:2609:cd95 with SMTP id 71dfb90a1353d-586626bd8acmr13451790e0c.9.1779898472660; Wed, 27 May 2026 09:14:32 -0700 (PDT) Received: from mail-vk1-f175.google.com (mail-vk1-f175.google.com. [209.85.221.175]) by smtp.gmail.com with ESMTPSA id 71dfb90a1353d-586f23ee48esm20642539e0c.3.2026.05.27.09.14.32 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 27 May 2026 09:14:32 -0700 (PDT) Received: by mail-vk1-f175.google.com with SMTP id 71dfb90a1353d-575171b1ce7so4011692e0c.1 for ; Wed, 27 May 2026 09:14:32 -0700 (PDT) X-Forwarded-Encrypted: i=1; AFNElJ+8JXIaNTJhN405ISyNWICZxafuRqJY5R2GU3IsB6l4H7EcZLWwc9l4JzokBI/h4MSoLsZ/FMN+FsofDTQ=@vger.kernel.org X-Received: by 2002:a05:6122:1d4c:b0:56a:9841:9f81 with SMTP id 71dfb90a1353d-5865f81d411mr8287657e0c.6.1779898471992; Wed, 27 May 2026 09:14:31 -0700 (PDT) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20260505123708.134069-1-biju.das.jz@bp.renesas.com> <20260505123708.134069-5-biju.das.jz@bp.renesas.com> In-Reply-To: <20260505123708.134069-5-biju.das.jz@bp.renesas.com> From: Geert Uytterhoeven Date: Wed, 27 May 2026 18:14:20 +0200 X-Gmail-Original-Message-ID: X-Gm-Features: AVHnY4JrXSmqNZqmujlKDflqJnu1Nl8gCkfriUHTc0klgy__a4lXTYZsbOBs3IU Message-ID: Subject: Re: [PATCH 4/5] arm64: dts: renesas: rzg3l-smarc-som: Enable versa clock generator To: Biju Cc: Magnus Damm , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Biju Das , linux-renesas-soc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Prabhakar Mahadev Lad Content-Type: text/plain; charset="UTF-8" Hi Biju, Thanks for your patch! On Tue, 5 May 2026 at 14:37, Biju wrote: > From: Biju Das > > The RZ/G3L SMARC SoM has versa 5P35023B clock generator to generate the > below clocks: > se1: AUDIO_MCK (11.2896 or 12.2880 MHz) > se2: RZ_AUDIO_CLK_B (11.2896 MHz) > se3: RZ_AUDIO_CLK_C (12.2880 MHz) > diff{1,1B}: ET{0,1}_PHY_CLK (25 MHz) > diff2{2,2B}: Not connected All of these are listed in clock output index order... > ref: Not connected ... except for "ref", which is the first output, so please move it to the top. > Enable versa 5P35023B clock generator on the RZ/G3L SoM DTSI. > > Signed-off-by: Biju Das > --- a/arch/arm64/boot/dts/renesas/rzg3l-smarc-som.dtsi > +++ b/arch/arm64/boot/dts/renesas/rzg3l-smarc-som.dtsi > @@ -40,6 +40,12 @@ memory@48000000 { > /* First 128MiB is reserved for secure area. */ > reg = <0x0 0x48000000 0x0 0x78000000>; > }; > + > + x2_clk: x2-clock { > + compatible = "fixed-clock"; > + #clock-cells = <0>; > + clock-frequency = <24000000>; > + }; > }; > > ð0 { > @@ -75,6 +81,20 @@ &extal_clk { > &i2c0 { > pinctrl-0 = <&i2c0_pins>; > pinctrl-names = "default"; > + > + versa3: clock-generator@68 { > + compatible = "renesas,5p35023"; > + reg = <0x68>; > + #clock-cells = <1>; > + clocks = <&x2_clk>; > + > + assigned-clocks = <&versa3 0>, <&versa3 1>, > + <&versa3 2>, <&versa3 3>, > + <&versa3 4>, <&versa3 5>; > + assigned-clock-rates = <24000000>, <12288000>, > + <11289600>, <12288000>, > + <25000000>, <25000000>; Why do you set the clock rate of the (unused) ref output? Copy-paste from the DT bindings example? > + }; > }; > > &mdio0 { \ Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds