From patchwork Thu Mar 7 15:13:39 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Neil Armstrong X-Patchwork-Id: 10843123 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 770771575 for ; Thu, 7 Mar 2019 15:15:25 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 5FFB928D59 for ; Thu, 7 Mar 2019 15:15:25 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 541112E2E1; Thu, 7 Mar 2019 15:15:25 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 0E17528D59 for ; Thu, 7 Mar 2019 15:15:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=SgZtK6jUaB0J/DeWghWoaH/iWKxLuQqswZmFm8YTTh8=; b=GO6A7cDlNlAWp9 pw52PbBmdP0BaJYBMYRkmaj3qp7izoT4N4G3SWlrBHwt+zKtd7E5YlXtmilsC38YmK7+Q5j4RlIXZ AOVHDa5RBQ0GWFvy4TmNBFQYRn620E1bP1++DQCRPJQMaaPJdUe7tHPek5wmKAuoPF3ItO8FRqhBX 7O6iWbckxrgPtFwJgZ0rSR1eJbDL2o+SsdLY2/XnB3pJvIfE18ljpoXml/mVRYVu0/XIZHaTALE6G C+Cetuv3c20KixEO2AEthgUmWl/lFDb237IpTWQFJnyd+czqj6LRb/Xkm60F3GT+Yz0f3W6UpZYMt mkHaVGGuLQ66NzAITlZg==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1h1uju-0006Yw-IR; Thu, 07 Mar 2019 15:15:18 +0000 Received: from mail-wm1-x343.google.com ([2a00:1450:4864:20::343]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1h1uiV-0003T5-7g for linux-arm-kernel@lists.infradead.org; Thu, 07 Mar 2019 15:13:56 +0000 Received: by mail-wm1-x343.google.com with SMTP id j125so9647535wmj.1 for ; Thu, 07 Mar 2019 07:13:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=HuUseLa2zmd8/nZS2QxaCguzDudsaF0923rEqJjh/Uc=; b=u2b+USzzZuknePxesV1i3XLW46MLNIfHeJ1uXhlCrDlrqh/2zc9re1W6y5bLdK5tCk XSECgJ542UTyTJ+2g7K34xukuXRA2IkUjhjX5j5tt8+TPtNtlfb9OpQ2Ac8NBSE78RCs mpls+bQlg62oVM/CPKd6Gl9a0XHfSCM2z+NObYE9j9mgh16ESU9+Pu4dYz44nwgkgeIx 5iJatANpwWW+jJ3fLTPnR+SeAmyrzuBS23rnW/M8IhdSpAHHKEY6HJF/W39aAyAfYssB wK/BG2Gmjmz1LksoNbJfGVDKl3t8CZVTljltdlIDTCDkpJU7zMz+HyBpE25taPqeYylr HuYA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=HuUseLa2zmd8/nZS2QxaCguzDudsaF0923rEqJjh/Uc=; b=tDTznQ0W8mrsNOLL9iks7djxyhWPdUY1UN4Iv8YRRBoW0LBJk0Nr19ycu1gip/yn1V LaQRvitwagOzBxPf8XxAa8lW3rXgVDTqL3B1opYqUGNTtLUPawt1uShfG95TfWLgfBla oCGaBcIwZgBta+lUu6bCpLmixKh0aSXZQOACuwf5cipBxEZraj26/GHu/YI8c9wxSMDQ PvfVK0Eret+ZA/KcZhUCg94l6xxEePKyvAFJT02+n782JB2NPlVfB4CGMYr3QEA598s+ lYF74QFC9mA52AAvxBKK2ZqEwUuD9r5/KO/67hS6LbEv/euhDim/ApDu89u0s6DLQC11 n++w== X-Gm-Message-State: APjAAAVZpCIpMdtvQ2Vu9hkhxc2WHo6stDe2SH3e5DJQTdpBjsPEzUzG /z2JaY0IbZfYk2++y91Tf24Fyg== X-Google-Smtp-Source: APXvYqxHwJOBmWipAe3mwBTFHjRKhGEGOdYqEvoIPUCBtbTTKuLVoot/CGmhDmOGHdpPKiTdJTQ13g== X-Received: by 2002:a1c:400a:: with SMTP id n10mr5856094wma.56.1551971629333; Thu, 07 Mar 2019 07:13:49 -0800 (PST) Received: from bender.baylibre.local (lmontsouris-657-1-212-31.w90-63.abo.wanadoo.fr. [90.63.244.31]) by smtp.gmail.com with ESMTPSA id r15sm5756563wrt.37.2019.03.07.07.13.48 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 07 Mar 2019 07:13:48 -0800 (PST) From: Neil Armstrong To: khilman@baylibre.com Subject: [PATCH 7/9] arm64: dts: meson: g12a: Add SAR ADC node Date: Thu, 7 Mar 2019 16:13:39 +0100 Message-Id: <20190307151342.7381-8-narmstrong@baylibre.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190307151342.7381-1-narmstrong@baylibre.com> References: <20190307151342.7381-1-narmstrong@baylibre.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190307_071351_679796_C4D0FD18 X-CRM114-Status: GOOD ( 11.61 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-amlogic@lists.infradead.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Neil Armstrong Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP This patch adds the SAR ADC controller node. Signed-off-by: Neil Armstrong Reviewed-by: Martin Blumenstingl --- arch/arm64/boot/dts/amlogic/meson-g12a.dtsi | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/arch/arm64/boot/dts/amlogic/meson-g12a.dtsi b/arch/arm64/boot/dts/amlogic/meson-g12a.dtsi index 50e2cd36e08b..3bcddd412aa1 100644 --- a/arch/arm64/boot/dts/amlogic/meson-g12a.dtsi +++ b/arch/arm64/boot/dts/amlogic/meson-g12a.dtsi @@ -278,6 +278,20 @@ clock-names = "xtal", "pclk", "baud"; status = "disabled"; }; + + saradc: adc@9000 { + compatible = "amlogic,meson-g12a-saradc", + "amlogic,meson-saradc"; + reg = <0x0 0x9000 0x0 0x48>; + #io-channel-cells = <1>; + interrupts = ; + clocks = <&xtal>, + <&clkc_AO CLKID_AO_SAR_ADC>, + <&clkc_AO CLKID_AO_SAR_ADC_CLK>, + <&clkc_AO CLKID_AO_SAR_ADC_SEL>; + clock-names = "clkin", "core", "adc_clk", "adc_sel"; + status = "disabled"; + }; }; gic: interrupt-controller@ffc01000 {