Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp4757657rwd; Sun, 4 Jun 2023 12:06:50 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ61nx8B7U3F15bQHCspuszsuxzr9MR1kYULaxlz6JzIFCLFNtx0xzGZg4r+bcwzb9rPKWNW X-Received: by 2002:a17:903:48f:b0:1b0:4727:69d4 with SMTP id jj15-20020a170903048f00b001b0472769d4mr2685706plb.54.1685905610072; Sun, 04 Jun 2023 12:06:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685905610; cv=none; d=google.com; s=arc-20160816; b=Wyjalwo/DVH0odnFIWEN7ctcZ/XhR3yj6/iLQlyosBnpVsoFHk4m+PZS+uNz1JIxhC aBVXQ15b0ZNmrA46uPwh8UA3ANLqTCdveJCO4FUyQzQuVy/QP8dSRPjMyRDTN86w/bAn x1pbYq2XYJ3BiCUXQGgTWfFd2JVrE2/XNfOeA/JkjtIv+rDTSCTvge6Yg2jSEow7wuZ8 8NqhGiThFnL1x83KvnCyjIeWd+qiyF4sIPb5YMf5SvJ8tI+f9lSyaRiC06f03ib2jOxz 0+6eCT/sYrfDZkHlzDIKmZ6g/VYHWYZyQDADEjXJv1PuHegLrsRTYUpzL7iDVIpv9FU0 hWGQ== 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=9/TmEA+PoC7xu6/KU/ll32pvJQ2ck1CrGNuRyF6FIV0=; b=AWimb7KuOdePxUXqCmgd8PGRJsxQoIMoyn3wdBUjTLig3YdYBaZM6DeM7MRo49AKY0 uwHWfwoKtiz7ytzS8tJvBlh/NaQfFV98IaHc4dO4wLtU10bikF2Wl82crZHCXAPOPRVN qAZXJLG6+OLzWtXXgXHMhmdgMcN0GqR271kKiJGU9TWfHQg5S+wUUySqgmGBlBgxeb5C 4XRA0/Gvu0dilVQP2ydQKIy7ejaV3Ft8M/SonnWKhoYx8YBYt3ujyk758opkuuPMo6Yo 3z8Hf2llpLZ/LUjGTFFO/yutsfR6aS94xbWT6/PoLk615jJc2yw9ts8pguoZDXGhHlGf 9GUg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=h5sKFEV8; 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 jd9-20020a170903260900b001b02390367fsi4243500plb.595.2023.06.04.12.06.37; Sun, 04 Jun 2023 12:06:50 -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=h5sKFEV8; 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 S232394AbjFDSzc (ORCPT + 99 others); Sun, 4 Jun 2023 14:55:32 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42776 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232016AbjFDSz3 (ORCPT ); Sun, 4 Jun 2023 14:55:29 -0400 Received: from mail-wm1-x335.google.com (mail-wm1-x335.google.com [IPv6:2a00:1450:4864:20::335]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AD4DCE5C; Sun, 4 Jun 2023 11:55:16 -0700 (PDT) Received: by mail-wm1-x335.google.com with SMTP id 5b1f17b1804b1-3f61530506aso41339985e9.1; Sun, 04 Jun 2023 11:55:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1685904915; x=1688496915; 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=9/TmEA+PoC7xu6/KU/ll32pvJQ2ck1CrGNuRyF6FIV0=; b=h5sKFEV8TA0OBcHdACbXty9PxKz8jgUpGUFbiy/GvEKjYur0hVmD+06SUCGLY2yHn3 wHrmRZK1WNIdgSk5SS6PxT6kyriDte832Ogpjw6YI/1Su2MZrTtdLePKdfidrymZBSIC 0RxemvtGNmqSZC4pe6IFvElKtRIapasNwQJqi6FS4I93LoK3wdw/uMn/AGaUAq2Kkmb0 LMSDKc8O1QhhA8l+6CJf6kXCkrblhF5GuqRf0ednu15Ipzaju3PIIg0Mc4Xti0Bz5SRH v6r/EYkQGmGJaArsU5mnlErTUArViEoFOXVyEoX+YBqurbPADpdfhHiIqnHr5t9go+PI R9eg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1685904915; x=1688496915; 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=9/TmEA+PoC7xu6/KU/ll32pvJQ2ck1CrGNuRyF6FIV0=; b=C1qOAQO6eH8ryL7aTvLDDFWWouy3iXsBV5kB9xpjLUM9mZ4GT2G8IvWFjmEpAUzmra meNIiUu/cVoa1noE0gU1YGKv7kfJbGjGVn3OCjX+0mgDahcXxsO2zg7EIIxx2EhEgxHn yl/sPSHDX9CdUbnqdPb0XKpfYkpszCGMvrhrO67+3copdmICzlXYWAA4Su/bQJzlWvXv hY9AX/ongEYGdLg6VVSP46c4QZ005tawJxcjAO40BwqkjTUe2FkMwIkxojh/k4QqQEIr PODKdbP89GL2exVygYesqW+8QErE0cxclDARp30oS5IaSKD3bghVHO6zRZ3KPwfk3wHb q97g== X-Gm-Message-State: AC+VfDxM5JzkOtXU0XEZl1Ff9G/p8/gbdXJIYjjiKJnG529ZsU92tDij R43CEfLzsLX0E7XRNwWjxsznG5uW22YY2V1R X-Received: by 2002:adf:fb42:0:b0:306:2ef0:d223 with SMTP id c2-20020adffb42000000b003062ef0d223mr4541453wrs.62.1685904914549; Sun, 04 Jun 2023 11:55:14 -0700 (PDT) Received: from user-PC.. ([178.134.198.138]) by smtp.gmail.com with ESMTPSA id l8-20020a5d4108000000b00304adbeeabbsm7636433wrp.99.2023.06.04.11.55.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 04 Jun 2023 11:55:14 -0700 (PDT) From: Maksim Kiselev To: linux-iio@vger.kernel.org Cc: Maxim 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 , Andy Shevchenko , Cosmin Tanislav , Arnd Bergmann , =?UTF-8?q?Leonard=20G=C3=B6hrs?= , ChiYuan Huang , Ramona Bolboaca , Ibrahim Tilki , ChiaEn Wu , William Breathitt Gray , Haibo Chen , Hugo Villeneuve , 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 v3 3/3] riscv: dts: allwinner: d1: Add GPADC node Date: Sun, 4 Jun 2023 21:53:16 +0300 Message-Id: <20230604185336.1943889-4-bigunclemax@gmail.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230604185336.1943889-1-bigunclemax@gmail.com> References: <20230604185336.1943889-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 From: Maxim Kiselev This patch adds declaration of the general purpose ADC for D1 and T113s SoCs. Signed-off-by: Maxim 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