Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp2795830rwd; Wed, 14 Jun 2023 07:27:21 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ41k/Uw2cW4Y+rnJkscnP4yP637RW3x9Clgg4U3rWlxKvEoSg4ge0OcHkFV213JoBdFqdOw X-Received: by 2002:a17:907:d8f:b0:965:ff38:2fb3 with SMTP id go15-20020a1709070d8f00b00965ff382fb3mr14739405ejc.74.1686752840803; Wed, 14 Jun 2023 07:27:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686752840; cv=none; d=google.com; s=arc-20160816; b=pnaFTFO2VU+f2yRjt680Mtv3CAUA+CmQaBHSBQXcsFrCy6MX1itNo6Iphm2Y78Um2i AjgHPRSemKMAR8c+iOCUih0cZbfqglHgAVj5aqG+R3dXY10ADsUsv6ENPAW6lwcBb4oQ Z4hQc2NeVV/lDz/kDnImoLfEjnDDuUxqKaxBP2BJZiQSTCIK0ma4HY3XW8rGgC11GFZX g78TehXA8JK9cT+avdMiZ/6QrqEmLNJ0Mc3VE85nK0OOO+SHeaoU1MVtKkczXMmO7tWX zmKYYVXftVCCNeiWNjMj6QjjZC1iMTjZLqCYXs3hVfrbljFQjKL76QuoFIYii8WgVehK RRBQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=dPsNG/FZ1k4UaDSBhJRqncRzudNFaZG2hOicOFjuDg0=; b=nIK8g6HVlT+jcYjn/FxhHv5Ci6lXhKIoWkeEW1xhgQQCmLX2S347oXJ4kxOsnMsOKU JIsy8qEje7NGTPpasuvUGka2mZqLabNDFTq2MI7bcTCLf00a/u3MRkNMGw5+WTY5mV6I /GAWll/wOaa08PvijG2Kvai3Iy/Tt6bH4Mlq0+5o8+y8mVypRUiqUJsIBqyj4RNCu/Ij So0M26B3+jyNZ3DyXiWXtR3vtXNosg7CjhsaHHecV/YAFHUgQrdOwXaolVcF15iYtmwC NyqqLHE/ZEF3VB+79jprjTxP1BkDGYT83Nyw37cOE56nrjhi1/9oOwE7U7huydXO3zII TDYw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=AsIeycw7; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id r18-20020a1709062cd200b009788e95e36dsi8314797ejr.723.2023.06.14.07.26.49; Wed, 14 Jun 2023 07:27:20 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=AsIeycw7; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S244990AbjFNN2v (ORCPT + 99 others); Wed, 14 Jun 2023 09:28:51 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42954 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236592AbjFNN2t (ORCPT ); Wed, 14 Jun 2023 09:28:49 -0400 Received: from mail-wm1-x332.google.com (mail-wm1-x332.google.com [IPv6:2a00:1450:4864:20::332]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E99682110; Wed, 14 Jun 2023 06:28:42 -0700 (PDT) Received: by mail-wm1-x332.google.com with SMTP id 5b1f17b1804b1-3f8c65020dfso8029415e9.2; Wed, 14 Jun 2023 06:28:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1686749321; x=1689341321; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=dPsNG/FZ1k4UaDSBhJRqncRzudNFaZG2hOicOFjuDg0=; b=AsIeycw7JKSVlX3rZAXj0VwdwEpUA2cD5kZgqIEd1XvHiu3ykvduo88KsTKzKKG3EK SWDNmkagjHwGdbFJQq6vXAtCthe/rufzfteujq9byzWzQ5TviAGm9c4cwtSHU/ZJlg8e yossznwjncroo/0G2M4iKun5LidbAiOGOHK32rSnH6Gpr3cZgGKimytAH1H8i5wk5o7G go0PvSQ2v5/yxUeA3E0MIB01DEJwOQYj2xuStS5IVs7/ierzqgHe4jjWqApZdNMS8lb/ EB//F+xYOiwfy9AYguYRf3LUuJwzU3457PdpZ95KTPsAPFwUdJDhcNcu56qmKs5zd1Z+ wb0g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1686749321; x=1689341321; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=dPsNG/FZ1k4UaDSBhJRqncRzudNFaZG2hOicOFjuDg0=; b=O7THpR2BlEROcaJ9ZQL2QOtrGfhSUkjmEPXz3oXhW1NL8INW5dOCrBixIXXYkGXATH bNcERyOE0gYJcr0tjbnxZ83XzZXiII/fiBayWNvPgmpTtQrwkiIjFcNsmXL/GlggYTNe ajI0sT9IwGnNmRjCdAOhTjnsC+kOtYidzxc0AhvAWzUdAVBeYtseQKF1UAKjHOcgs2lp cmTKIpkRzRAVa1IK5uq/IeOlTdECZZG3WHN2dyoh6KWdrVe76jA1ERyzcJiO30cD9zGP fiQQ+uKVtApmudx6BI+xJQV6l82tfxRtnVGmiAESCrytVVrkfSKoW+nxhRrLT5ufWmXl 5u6w== X-Gm-Message-State: AC+VfDwQZEBld3a72VzLfVVKaGOcUbMh5Jfy6B0iLwaeAEmEZsrU76eJ Jtkp9J8D3QbuJjUOFRD164miY2+MgVBdVU/L X-Received: by 2002:adf:f810:0:b0:30f:d32c:ed8e with SMTP id s16-20020adff810000000b0030fd32ced8emr2357358wrp.45.1686749320597; Wed, 14 Jun 2023 06:28:40 -0700 (PDT) Received: from user-PC.. ([92.51.95.194]) by smtp.gmail.com with ESMTPSA id l6-20020a5d4bc6000000b003047ae72b14sm18295017wrt.82.2023.06.14.06.28.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 14 Jun 2023 06:28:40 -0700 (PDT) From: Maksim Kiselev To: linux-iio@vger.kernel.org Cc: Maksim Kiselev , Jonathan Cameron , Lars-Peter Clausen , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Chen-Yu Tsai , Jernej Skrabec , Samuel Holland , Paul Walmsley , Palmer Dabbelt , Albert Ou , Philipp Zabel , Cristian Ciocaltea , Heiko Stuebner , Andy Shevchenko , Cosmin Tanislav , Ulf Hansson , Arnd Bergmann , Haibo Chen , Hugo Villeneuve , ChiYuan Huang , Ramona Bolboaca , Ibrahim Tilki , ChiaEn Wu , William Breathitt Gray , Caleb Connolly , =?UTF-8?q?Leonard=20G=C3=B6hrs?= , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-sunxi@lists.linux.dev, linux-kernel@vger.kernel.org, linux-riscv@lists.infradead.org Subject: [PATCH v6 3/3] riscv: dts: allwinner: d1: Add GPADC node Date: Wed, 14 Jun 2023 16:26:27 +0300 Message-Id: <20230614132644.699425-4-bigunclemax@gmail.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230614132644.699425-1-bigunclemax@gmail.com> References: <20230614132644.699425-1-bigunclemax@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patch adds declaration of the general purpose ADC for D1 and T113s SoCs. Signed-off-by: Maksim Kiselev --- arch/riscv/boot/dts/allwinner/sunxi-d1s-t113.dtsi | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/arch/riscv/boot/dts/allwinner/sunxi-d1s-t113.dtsi b/arch/riscv/boot/dts/allwinner/sunxi-d1s-t113.dtsi index 922e8e0e2c09..90c79041cfba 100644 --- a/arch/riscv/boot/dts/allwinner/sunxi-d1s-t113.dtsi +++ b/arch/riscv/boot/dts/allwinner/sunxi-d1s-t113.dtsi @@ -138,6 +138,16 @@ ccu: clock-controller@2001000 { #reset-cells = <1>; }; + gpadc: adc@2009000 { + compatible = "allwinner,sun20i-d1-gpadc"; + reg = <0x2009000 0x1000>; + clocks = <&ccu CLK_BUS_GPADC>; + resets = <&ccu RST_BUS_GPADC>; + interrupts = ; + status = "disabled"; + #io-channel-cells = <1>; + }; + dmic: dmic@2031000 { compatible = "allwinner,sun20i-d1-dmic", "allwinner,sun50i-h6-dmic"; -- 2.39.2