Received: by 2002:a05:7208:9594:b0:7e:5202:c8b4 with SMTP id gs20csp1320956rbb; Mon, 26 Feb 2024 06:01:34 -0800 (PST) X-Forwarded-Encrypted: i=2; AJvYcCV4VuxzpeaX1QROG7PA8SDAJWQ5KNJiKvl4KPiQ6AtOAYbaarubTvgIhLSuU6O7b3Dhzbq4lFG3ToAD63G56WpeyAmMhvyEvdHkGvQq9Q== X-Google-Smtp-Source: AGHT+IH4PpEK3l5xbziCUfb/I/PBL2z78vkq7H02cYSUIaR7Iajim1wEhAVsV5rzce2Fy1tIRQxt X-Received: by 2002:ae9:f30f:0:b0:787:3aac:5499 with SMTP id p15-20020ae9f30f000000b007873aac5499mr8028445qkg.35.1708956094458; Mon, 26 Feb 2024 06:01:34 -0800 (PST) Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id xx14-20020a05620a5d8e00b007871aa88a2csi5155761qkn.585.2024.02.26.06.01.34 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 26 Feb 2024 06:01:34 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-81554-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20230601 header.b=Wc1OsdpK; arc=fail (body hash mismatch); spf=pass (google.com: domain of linux-kernel+bounces-81554-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-81554-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com 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 ny.mirrors.kernel.org (Postfix) with ESMTPS id A293C1C286E2 for ; Mon, 26 Feb 2024 14:01:31 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 2A62A12A142; Mon, 26 Feb 2024 14:01:14 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="Wc1OsdpK" Received: from mail-ua1-f54.google.com (mail-ua1-f54.google.com [209.85.222.54]) (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 A4E8B129A67; Mon, 26 Feb 2024 14:01:11 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.222.54 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708956073; cv=none; b=ui8k1QZox5fNCplood7xtCEK/Sb2d0NeUamcfvwSV0U8RDnak3HeQe8XaghSzMaBMBi7CBPkrJA1IvYI/n7NVN8QnJCuBZdaPQxlqG+dY3etJeSKZPGRiPcA9SvPPWuJdywOgPyDnkbZBgGLJ/2K0T+6uZ6MvMkSpX/jx+hzRCU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708956073; c=relaxed/simple; bh=FoewpGzgpzpqtpCSQxjM1rucew+UpAWVAiJKuK/PiHc=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=QPT5+/kPLM39KvZeOQ306qOphe9VRUehh7p06A6PnAbYDXhChUibu515+CCHbDXuePLELUBuXScsM9ie4oUSaysTO7OCBxKjMiasKjAIWEs7VYPj48MzADc6cBVlUDK0bD1kQ+AOgwXlmdddjyWsDIuIGcHm/4YSqzDS96WE+68= 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=Wc1OsdpK; arc=none smtp.client-ip=209.85.222.54 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 Received: by mail-ua1-f54.google.com with SMTP id a1e0cc1a2514c-7d5c40f874aso1573997241.1; Mon, 26 Feb 2024 06:01:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1708956070; x=1709560870; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=yNHascdJNtuHgIE/f0tSQFcH6XfYn7+0/LouiuRBLL0=; b=Wc1OsdpKZNQ6EI2Ywd7cE6zdAafTxPnA6aw60pF1QbsW/4n/vvgRL5YIgeH/PjVrOs hXhu14jcDPf8yOocNbeDdmwYENhuasxJFt/0PDMJB3m3shoI7vLKJ9CsiSVEzWr4i3x1 2JTDFHoh/vhhTXNpGvr7466RKovpn8KkXqvqyllPI0HG29MURgKNu//n94FSTWPeU2KY Jh1/NR6NdSQei0/CBPdPJJ+vLMhwX9lQD44YXdTPWpH62Sm9/SqyFD+Ih9xzpLKeA/pf 5ilMl5D+p0zF/tcqiu4K5FWr5jSQ8kaorq6eHTMEBqxPNooqiCeiiw26XKddoKzRRxwL O+6w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708956070; x=1709560870; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=yNHascdJNtuHgIE/f0tSQFcH6XfYn7+0/LouiuRBLL0=; b=k2Gd4lG1sMHvbp/IGlduDUWsFnLztolrW3cBHLSQvNye9pQ5SIvu43+T3FdpeLFC6H PKHdS6fRIDlPsLtlUwCMNgze3OMvgPymKw0VUa/7a3KOjKkwWEFRj7D4Tvrk/6BcK2aW /JrQZdRemAcJq/65MiTDnkLghkPplCYw0zNgRt0008pC1RtTunkFiCIMtuh1R1RjDDsG LHlVdbontbqk+mxNXZAOF0zt0YxjhuN12XVyIc9hz6dLJiZwBjGlAc1TeFCF2hJTX+er EHpkUmr5TBrUkGoB4wCELqtMDV/YOOPvUqW4+DOYdLkkSQ2J+8MUUjxEpE9e6WqcaHcj VolA== X-Forwarded-Encrypted: i=1; AJvYcCUMUX6BeFsh03WZiBqzSuwoRfRtaPR1XqBH8Lb6G3233uCROpEH0vwYkGopdYkeGJeSOUDgA0g0vEZKmKriF7YeJUBxosZxeBwWolgx2U7BxkZBvR2/5KTqsCxWsPT7a5pFlZITQywubSxO2c2hOuOSP6hVrA2CuUt+F/97d2cIhz0U/qxkJu4NMsjP X-Gm-Message-State: AOJu0YyQzdqnU57MDFJIDfHWSmX8JJQ6UXfyCm8WD9wGvX5/GfQAASoc /wqIHgE0BKkemuAHvtC0BDvB8WLAAkxFdlcy3xKCjQcx2N5ZuSBnhxb+qOMNV8DC7PFJhZeZ1yb 6ihrNrAVXSVK3EYI24olY82Cvm0o= X-Received: by 2002:a1f:ed41:0:b0:4c0:1bb6:322 with SMTP id l62-20020a1fed41000000b004c01bb60322mr3287871vkh.15.1708956070413; Mon, 26 Feb 2024 06:01:10 -0800 (PST) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20240219160912.1206647-1-prabhakar.mahadev-lad.rj@bp.renesas.com> <20240219160912.1206647-3-prabhakar.mahadev-lad.rj@bp.renesas.com> In-Reply-To: From: "Lad, Prabhakar" Date: Mon, 26 Feb 2024 14:00:20 +0000 Message-ID: Subject: Re: [PATCH 2/4] dt-bindings: arm: renesas: Document Renesas RZ/V2H{P} System Controller To: Geert Uytterhoeven Cc: Magnus Damm , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Catalin Marinas , Will Deacon , linux-arm-kernel@lists.infradead.org, linux-renesas-soc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Fabrizio Castro , Lad Prabhakar Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi Geert, Thank you for the review. On Mon, Feb 26, 2024 at 1:41=E2=80=AFPM Geert Uytterhoeven wrote: > > Hi Prabhakar, > > Thanks for your patch! > > On Mon, Feb 19, 2024 at 5:10=E2=80=AFPM Prabhakar wrote: > > From: Lad Prabhakar > > > > Add DT binding documentation for System Controller (SYS) found on > > RZ/V2H{P} ("R9A09G057") SoC's. > > RZ/V2H(P) > > > > > SYS block contains the SYS_LSI_DEVID register which can be used to > > retrieve SoC version information. > > > > Signed-off-by: Lad Prabhakar > > Reviewed-by: Fabrizio Castro > > > --- /dev/null > > +++ b/Documentation/devicetree/bindings/soc/renesas/renesas,r9a09g057-s= ys.yaml > > @@ -0,0 +1,59 @@ > > +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) > > +%YAML 1.2 > > +--- > > +$id: http://devicetree.org/schemas/soc/renesas/renesas,r9a09g057-sys.y= aml# > > +$schema: http://devicetree.org/meta-schemas/core.yaml# > > + > > +title: Renesas RZ/V2H{P} System Controller (SYS) > > + > > +maintainers: > > + - Geert Uytterhoeven > > + > > +description: > > + The RZ/V2H{P} SYS (System Controller) controls the overall > > RZ/V2H(P) > OK. > > + configuration of the LSI and supports the following functions, > > + - Trust zone control > > + - Extend access by specific masters to address beyond 4GB space > > + - GBETH configuration > > + - Control of settings and states of SRAM/PCIe/CM33/CA55/CR8/xSPI/ADC= /TSU > > + - LSI version > > + - WDT stop control > > + - General registers > > + > > +properties: > > + compatible: > > + const: renesas,r9a09g057-sys > > + > > + reg: > > + maxItems: 1 > > + > > + clocks: > > + items: > > + - description: Clock from external oscillator > > Isn't this SYS_0_PCLK inside the CPG? > As per the block diagram (figure 4.4-3), if we follow the clock source for SYS it traces back to 24MHz Oscillator. Let me know how you want me to describe this please. > > + > > + resets: > > + items: > > + - description: SYS_0_PRESETN reset signal > > + > > +required: > > + - compatible > > + - reg > > + - clocks > > + - resets > > + > > +additionalProperties: false > > + > > +examples: > > + - | > > + extal_clk: extal-clk { > > + compatible =3D "fixed-clock"; > > + #clock-cells =3D <0>; > > + clock-frequency =3D <24000000>; > > + }; > > + > > + sys: system-controller@10430000 { > > + compatible =3D "renesas,r9a09g057-sys"; > > + reg =3D <0x10430000 0x10000>; > > + clocks =3D <&extal_clk>; > > clocks =3D <&cpg 1>; > > (I guess it will be 1 ;-) > Yep indeed ;) Cheers, Prabhakar > > + resets =3D <&cpg 1>; > > + }; > > Gr{oetje,eeting}s, > > Geert > > > -- > Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m6= 8k.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