From nobody Thu Oct 2 00:54:12 2025 Received: from relmlie6.idc.renesas.com (relmlor2.renesas.com [210.160.252.172]) by smtp.subspace.kernel.org (Postfix) with ESMTP id EDC4B322759; Thu, 25 Sep 2025 22:41:17 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=210.160.252.172 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1758840079; cv=none; b=szCTm7CtZnnA8A6BR2EUb8PWoWgvTX9LjjQUrbJ4SvetrM07OmR2tcumPRlKnlo+FVs0/UxJ+g2OTCJYzzrd0WXhcK3baox3CDrAp1cFTIfyCsrUGjGcBF+RL8VWDuhUhybUZJczBLTR0If1N4p+/1notIVmhsG/DRPv7do5PWc= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1758840079; c=relaxed/simple; bh=x1yOWnf7BlpJEG8EWYAT2jSSVwYz8D6FZmHjS8CE+Gg=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=pxmvoBcqFg6uJvpVKcAFcfhpsCxwZPUUIFWs72V2zxxE9lLxuEwRzlJ5ypxVJ3nDFk6ooY8fHv0MuVOb5ccYMXO8ytiwIDjPyw9IO547u0oZosjosZhOYpIxf5+4kF0+LfiT5Zup7bjgxsSnDiM6UlAGv66dSUMXw5cWeQ0m+MI= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=renesas.com; spf=pass smtp.mailfrom=renesas.com; arc=none smtp.client-ip=210.160.252.172 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=renesas.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=renesas.com X-CSE-ConnectionGUID: +x2L5YNqRoOfQigSo2kDnA== X-CSE-MsgGUID: Xg080kraSzSfePfM6GJ9ig== Received: from unknown (HELO relmlir5.idc.renesas.com) ([10.200.68.151]) by relmlie6.idc.renesas.com with ESMTP; 26 Sep 2025 07:41:17 +0900 Received: from demon-pc.localdomain (unknown [10.226.92.2]) by relmlir5.idc.renesas.com (Postfix) with ESMTP id 3FDC5400CF0A; Fri, 26 Sep 2025 07:41:12 +0900 (JST) From: Cosmin Tanislav To: Cc: Cosmin Tanislav , Jonathan Cameron , David Lechner , =?UTF-8?q?Nuno=20S=C3=A1?= , Andy Shevchenko , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Geert Uytterhoeven , Magnus Damm , linux-iio@vger.kernel.org, linux-renesas-soc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 5/7] arm64: dts: renesas: r9a09g087: Add ADCs support Date: Fri, 26 Sep 2025 01:40:07 +0300 Message-ID: <20250925224013.2146983-6-cosmin-gabriel.tanislav.xa@renesas.com> X-Mailer: git-send-email 2.51.0 In-Reply-To: <20250925224013.2146983-1-cosmin-gabriel.tanislav.xa@renesas.com> References: <20250925224013.2146983-1-cosmin-gabriel.tanislav.xa@renesas.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Renesas RZ/T2H (R9A09G087) includes three 12-Bit successive approximation A/D converters, two 4-channel ADCs, and one 15-channel ADC. Add support for all of them. Signed-off-by: Cosmin Tanislav --- arch/arm64/boot/dts/renesas/r9a09g087.dtsi | 69 ++++++++++++++++++++++ 1 file changed, 69 insertions(+) diff --git a/arch/arm64/boot/dts/renesas/r9a09g087.dtsi b/arch/arm64/boot/d= ts/renesas/r9a09g087.dtsi index 88669868f0ee..faca2fd47257 100644 --- a/arch/arm64/boot/dts/renesas/r9a09g087.dtsi +++ b/arch/arm64/boot/dts/renesas/r9a09g087.dtsi @@ -666,6 +666,75 @@ gic: interrupt-controller@83000000 { interrupts =3D ; }; =20 + adc0: adc@90014000 { + compatible =3D "renesas,r9a09g087-adc"; + reg =3D <0 0x90014000 0 0x400>; + interrupts =3D , + , + , + , + , + , + ; + interrupt-names =3D "adi", "gbadi", "gcadi", + "cmpai", "cmpbi", "wcmpm", "wcmpum"; + clocks =3D <&cpg CPG_CORE R9A09G087_CLK_PCLKL>, + <&cpg CPG_MOD 206>; + clock-names =3D "adclk", "pclk"; + power-domains =3D <&cpg>; + #address-cells =3D <1>; + #size-cells =3D <0>; + #io-channel-cells =3D <1>; + renesas,max-channels =3D <4>; + status =3D "disabled"; + }; + + adc1: adc@90014400 { + compatible =3D "renesas,r9a09g087-adc"; + reg =3D <0 0x90014400 0 0x400>; + interrupts =3D , + , + , + , + , + , + ; + interrupt-names =3D "adi", "gbadi", "gcadi", + "cmpai", "cmpbi", "wcmpm", "wcmpum"; + clocks =3D <&cpg CPG_CORE R9A09G087_CLK_PCLKL>, + <&cpg CPG_MOD 207>; + clock-names =3D "adclk", "pclk"; + power-domains =3D <&cpg>; + #address-cells =3D <1>; + #size-cells =3D <0>; + #io-channel-cells =3D <1>; + renesas,max-channels =3D <4>; + status =3D "disabled"; + }; + + adc2: adc@80008000 { + compatible =3D "renesas,r9a09g087-adc"; + reg =3D <0 0x80008000 0 0x400>; + interrupts =3D , + , + , + , + , + , + ; + interrupt-names =3D "adi", "gbadi", "gcadi", + "cmpai", "cmpbi", "wcmpm", "wcmpum"; + clocks =3D <&cpg CPG_CORE R9A09G087_CLK_PCLKL>, + <&cpg CPG_MOD 225>; + clock-names =3D "adclk", "pclk"; + power-domains =3D <&cpg>; + #address-cells =3D <1>; + #size-cells =3D <0>; + #io-channel-cells =3D <1>; + renesas,max-channels =3D <15>; + status =3D "disabled"; + }; + ohci: usb@92040000 { compatible =3D "generic-ohci"; reg =3D <0 0x92040000 0 0x100>; --=20 2.51.0