Received: by 2002:a05:6a10:c604:0:0:0:0 with SMTP id y4csp164760pxt; Wed, 4 Aug 2021 19:02:33 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyUGFjYYiLp6/D0xVVbN9anO+RWE6EIdNX+hkieRyPGiLbWzb3hJxkGyqtauhbfiOySZl/Z X-Received: by 2002:a6b:db18:: with SMTP id t24mr132155ioc.163.1628128953712; Wed, 04 Aug 2021 19:02:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1628128953; cv=none; d=google.com; s=arc-20160816; b=S2cYrZ4Fki1BtU007zf4gUR88SAFK3fKz+WKObGmxTMHGQUFasjEYvcP75BZ8N4Yht KLm8ojQD+rQlCXPTLBUsfnGbLNokfLzKv5RX2RCToAOsOE5U8kMOC3R6fYXGhTvd6Diz 9G293axnMD0JrerojSFT+fRZ238ei7ZCNC1DKkmIBWGP0WkfydFBDbq4oXVLLZ+RP+U3 3BmRV+9O91SQ9UDRUYB9ocCEJi91soasKFvoUC4Yqock2fzN4mG6vAvmMEo7pJL0Aa7O sK8La1ztyqn5lGwKKhM3DHv/4cShJvPN/dlod8xErxD1ojgrJiIVDJVHirKl/y7ki8o8 AehA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:references:in-reply-to:message-id:date:subject :cc:to:from; bh=bePdTOyBoZcgkQ2XhTOnUsVlM3VQdL500pCgU41kzkA=; b=0sC7Y9hj4Sob//XD3kDUjWnaPzD7gqhZl+NRNyCY1uldqVPUrl9MgY2kXHXeF35TxE 3jmWImAqo7afLNTdHdRxz8aLa0c8CA80SWs7SOUn/24M7SqCzb8AnkyAhZpCgYP81Z+H HEM9zpwlHRSRK4b1Fkc8cqdw3FMPfhGWETBX5+3Pr798vh7+NB2aEqRfIBhq9iYPoXCH mP5Cc9HrOF3amUCrGbq8xYSeNIx4G1LgXE77nrJAGVH6Fhs3hrbg7yZCeN/CMh7rGs3J yGK6V53v8LlODsaos8qJiFROxpBu+6ve833QreA9XidBDcdWnos1+3YinUuCeuq9LiZQ UTwg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id f11si4178807ils.120.2021.08.04.19.02.20; Wed, 04 Aug 2021 19:02:33 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240889AbhHDUZf (ORCPT + 99 others); Wed, 4 Aug 2021 16:25:35 -0400 Received: from relmlor2.renesas.com ([210.160.252.172]:61567 "EHLO relmlie6.idc.renesas.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S240870AbhHDUZb (ORCPT ); Wed, 4 Aug 2021 16:25:31 -0400 X-IronPort-AV: E=Sophos;i="5.84,295,1620658800"; d="scan'208";a="89824516" Received: from unknown (HELO relmlir6.idc.renesas.com) ([10.200.68.152]) by relmlie6.idc.renesas.com with ESMTP; 05 Aug 2021 05:25:17 +0900 Received: from localhost.localdomain (unknown [10.226.36.204]) by relmlir6.idc.renesas.com (Postfix) with ESMTP id 1E96740E2584; Thu, 5 Aug 2021 05:25:14 +0900 (JST) From: Lad Prabhakar To: Jonathan Cameron , Geert Uytterhoeven , Rob Herring , Lars-Peter Clausen , Magnus Damm , Philipp Zabel , Alexandru Ardelean , linux-iio@vger.kernel.org, devicetree@vger.kernel.org, linux-renesas-soc@vger.kernel.org Cc: linux-kernel@vger.kernel.org, Prabhakar , Biju Das , Lad Prabhakar Subject: [PATCH v4 3/3] arm64: dts: renesas: r9a07g044: Add ADC node Date: Wed, 4 Aug 2021 21:21:18 +0100 Message-Id: <20210804202118.25745-4-prabhakar.mahadev-lad.rj@bp.renesas.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20210804202118.25745-1-prabhakar.mahadev-lad.rj@bp.renesas.com> References: <20210804202118.25745-1-prabhakar.mahadev-lad.rj@bp.renesas.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add ADC node to R9A07G044 (RZ/G2L) SoC DTSI. Signed-off-by: Lad Prabhakar Reviewed-by: Biju Das --- v3-->v4: unchanged This patch applies on top of https://git.kernel.org/pub/scm/linux/kernel/ git/geert/renesas-devel.git/log/?h=renesas-arm-dt-for-v5.15 --- arch/arm64/boot/dts/renesas/r9a07g044.dtsi | 42 ++++++++++++++++++++++ 1 file changed, 42 insertions(+) diff --git a/arch/arm64/boot/dts/renesas/r9a07g044.dtsi b/arch/arm64/boot/dts/renesas/r9a07g044.dtsi index 9a7489dc70d1..28aafa34d583 100644 --- a/arch/arm64/boot/dts/renesas/r9a07g044.dtsi +++ b/arch/arm64/boot/dts/renesas/r9a07g044.dtsi @@ -169,6 +169,48 @@ status = "disabled"; }; + adc: adc@10059000 { + compatible = "renesas,r9a07g044-adc", "renesas,rzg2l-adc"; + reg = <0 0x10059000 0 0x400>; + interrupts = ; + clocks = <&cpg CPG_MOD R9A07G044_ADC_ADCLK>, + <&cpg CPG_MOD R9A07G044_ADC_PCLK>; + clock-names = "adclk", "pclk"; + resets = <&cpg R9A07G044_ADC_PRESETN>, + <&cpg R9A07G044_ADC_ADRST_N>; + reset-names = "presetn", "adrst-n"; + power-domains = <&cpg>; + status = "disabled"; + + #address-cells = <1>; + #size-cells = <0>; + + channel@0 { + reg = <0>; + }; + channel@1 { + reg = <1>; + }; + channel@2 { + reg = <2>; + }; + channel@3 { + reg = <3>; + }; + channel@4 { + reg = <4>; + }; + channel@5 { + reg = <5>; + }; + channel@6 { + reg = <6>; + }; + channel@7 { + reg = <7>; + }; + }; + cpg: clock-controller@11010000 { compatible = "renesas,r9a07g044-cpg"; reg = <0 0x11010000 0 0x10000>; -- 2.17.1