Received: by 2002:a05:6520:4d:b0:139:a872:a4c9 with SMTP id i13csp763170lkm; Wed, 22 Sep 2021 14:23:36 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzOvMFqv72QiQ6NrfWw1vAKPZJaM4F3/RoIImL0yqM8nPQrI1tLX2vLnX8AG8m77uwkMo2Z X-Received: by 2002:a17:906:130a:: with SMTP id w10mr1492476ejb.87.1632345815993; Wed, 22 Sep 2021 14:23:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1632345815; cv=none; d=google.com; s=arc-20160816; b=hlVIooYipbhSfhphQe6dI3BzP59kPw7UNNeXM6vSs1aV0HzGbbwWcgO4FNN1kXJR1y 1T+w9mWmt2VPSHEcS+8RkjTCGO/ZloCtlSo0uStItnhf+eY57eNfu7R64ga1q7vCoFNk lmkXwO/fOaFAKT8cdKjjkVC5EIY0GfsfuKb2TqJIKS/KEkGZmoggC5M8XBzdiTBpK54M /9hvsfWnKF1rgqDMU0ExvyN0v7zW12zdA7GXzutd37ALHVLONsaVBJ22tOK2FbqyEnaJ ITraCx4bDsNHlEcQipOR5B0UCLL83lbf8JbUE7+3hTMbGoMqa3jEQX7tZJK1vdUHPaM7 pUlA== 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=7T9k2fUvYEmypBsgkaV6i3o6+9nJGaHAWLqAKizRMaU=; b=qtafS+0zpFHRjGL8KYoStD4VhF95fTtAL1FRhICFn2SWmqiJJVL2l8lw0r3UP4JQlf vLiIfa0lzfhsjReJFwWdjiV2+pXmLM4nM0z9f2lGlIwWjQUSXDKeLu43R0OMsTT3s9Qj buo4KU7vfoqF14N5ojGglSLQ9r9IuMcHML34xwBtJEfUqxEpMCDGhASfY+m7NsGwiEgd dHJro9/EjTOr4AoK64AqNJdZTz1qcfcUU6y+syXV3TdzwCV/d1jFHgnIMX/Hs5eM6oZg pZDamchIdhquxJXG0DMLxm18pKKve7gzyR/caTN5Omyr8FWOETT+kfHuA3fGtxMPWebu s3kw== 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 bz6si3832464ejc.374.2021.09.22.14.23.12; Wed, 22 Sep 2021 14:23:35 -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 S238043AbhIVVWf (ORCPT + 99 others); Wed, 22 Sep 2021 17:22:35 -0400 Received: from relmlor2.renesas.com ([210.160.252.172]:47514 "EHLO relmlie6.idc.renesas.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S238108AbhIVVWb (ORCPT ); Wed, 22 Sep 2021 17:22:31 -0400 X-IronPort-AV: E=Sophos;i="5.85,315,1624287600"; d="scan'208";a="94853365" Received: from unknown (HELO relmlir6.idc.renesas.com) ([10.200.68.152]) by relmlie6.idc.renesas.com with ESMTP; 23 Sep 2021 06:21:00 +0900 Received: from localhost.localdomain (unknown [10.226.36.204]) by relmlir6.idc.renesas.com (Postfix) with ESMTP id 4F63B41041EC; Thu, 23 Sep 2021 06:20:58 +0900 (JST) From: Lad Prabhakar To: Geert Uytterhoeven , Magnus Damm , Rob Herring Cc: linux-renesas-soc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Prabhakar , Biju Das , Lad Prabhakar Subject: [PATCH 2/3] arm64: dts: renesas: rzg2l-smarc-som: Enable ADC on SMARC platform Date: Wed, 22 Sep 2021 22:20:48 +0100 Message-Id: <20210922212049.19851-3-prabhakar.mahadev-lad.rj@bp.renesas.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20210922212049.19851-1-prabhakar.mahadev-lad.rj@bp.renesas.com> References: <20210922212049.19851-1-prabhakar.mahadev-lad.rj@bp.renesas.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Enable the ADC which is present on RZ/G2L SMARC SOM. Signed-off-by: Lad Prabhakar Reviewed-by: Biju Das --- .../arm64/boot/dts/renesas/rzg2l-smarc-som.dtsi | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/arch/arm64/boot/dts/renesas/rzg2l-smarc-som.dtsi b/arch/arm64/boot/dts/renesas/rzg2l-smarc-som.dtsi index 0748f2e7396a..da1ee2206e1a 100644 --- a/arch/arm64/boot/dts/renesas/rzg2l-smarc-som.dtsi +++ b/arch/arm64/boot/dts/renesas/rzg2l-smarc-som.dtsi @@ -5,6 +5,8 @@ * Copyright (C) 2021 Renesas Electronics Corp. */ +#include + / { memory@48000000 { device_type = "memory"; @@ -13,6 +15,21 @@ }; }; +&adc { + pinctrl-0 = <&adc_pins>; + pinctrl-names = "default"; + status = "okay"; + + /delete-node/ channel@6; + /delete-node/ channel@7; +}; + &extal_clk { clock-frequency = <24000000>; }; + +&pinctrl { + adc_pins: adc { + pinmux = ; /* ADC_TRG */ + }; +}; -- 2.17.1