From patchwork Mon Apr 24 12:34:56 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nikita Shubin X-Patchwork-Id: 86960 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp2637928vqo; Mon, 24 Apr 2023 03:23:50 -0700 (PDT) X-Google-Smtp-Source: AKy350YBMwtsCh13WTJv9rdAKIgJkAZ9JgE4g6Hx0qTv4sKKtDBhHVPignwehVWYBshjrm/yA0I4 X-Received: by 2002:a17:902:d484:b0:1a9:712d:18b5 with SMTP id c4-20020a170902d48400b001a9712d18b5mr4483804plg.67.1682331830346; Mon, 24 Apr 2023 03:23:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1682331830; cv=none; d=google.com; s=arc-20160816; b=nYgU1qnJHWTaVNhE0Nhiqte7OiKuumtd37zZFTPDN65yCMYw2RS32IOcN/RSRFncBO 3zs0bBzI/hbzWhs00QgjMIsfl07hLZ6u1e0TMdYYzR+T7PvLzaw7Kq9axP1WQ0MOLSLp P3uvbTtX6lWfCSi3gEncvffl1j2aXVXxeRkcIBgHlwT8IpT716sAqhhzjA3I6ku0+gR6 lVpg9Hht773Ai2hQLalfDVKoAjFYuKQXteT0c4uif6yfefXpIozxprkcnKm/mJAuE2rj +U0PUoBk6b5O82C1WV/wLj2VGw+jTM15a/Wf1c5AsyrbepQiL7/Svai6adSFJDfTDl+D mTVw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:to:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:from :dkim-signature; bh=57/N2X2NjfJHd1MXj/SFLxLizk4CNxdab09llBiN+CU=; b=ygZmbx50vMDyfFUUspJxudHYaxVtTd8RPksjufmRgcNlor/JJ1TZ5W0EQRhLzeDr/N VVQXiS24e/1OWhCTo3ex8IHzRMYrkg6+R2WvQcKL2nunFdmcLnIG7BOu2wNrAcaNcBQw mnSDJkmZcvx+R2FGonGmg1LEkj8RKPXRQmPxBE8JA3XD6IUSXjxQ4gtyThUVfq7KF81T uJYZm2s4owrx1+O4uS6Bo4F6+GhjpmQOQ5RIHD4LX3nICNEc3w3r6wD0i4X2eqVzNMNk /CL6o4h0uulbuV8rpqXa1ANOsY8w9k+tvm1bHE8jR2DWJxEgpICj9Qkc7P6CLGSzjKav oilg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@maquefel.me header.s=mail header.b=r3GBlIQw; 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 Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id c15-20020a170902d48f00b001a6dba52e52si7645768plg.390.2023.04.24.03.23.36; Mon, 24 Apr 2023 03:23: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=fail header.i=@maquefel.me header.s=mail header.b=r3GBlIQw; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230152AbjDXKVh (ORCPT + 99 others); Mon, 24 Apr 2023 06:21:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44476 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231680AbjDXKUs (ORCPT ); Mon, 24 Apr 2023 06:20:48 -0400 Received: from forward502b.mail.yandex.net (forward502b.mail.yandex.net [IPv6:2a02:6b8:c02:900:1:45:d181:d502]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 84EC33C10; Mon, 24 Apr 2023 03:20:46 -0700 (PDT) Received: from mail-nwsmtp-smtp-production-main-39.myt.yp-c.yandex.net (mail-nwsmtp-smtp-production-main-39.myt.yp-c.yandex.net [IPv6:2a02:6b8:c12:261e:0:640:2e3d:0]) by forward502b.mail.yandex.net (Yandex) with ESMTP id ED33B5EE01; Mon, 24 Apr 2023 12:36:14 +0300 (MSK) Received: by mail-nwsmtp-smtp-production-main-39.myt.yp-c.yandex.net (smtp/Yandex) with ESMTPSA id JZBb1pbWwKo0-TzXOZxF8; Mon, 24 Apr 2023 12:36:14 +0300 X-Yandex-Fwd: 1 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=maquefel.me; s=mail; t=1682328974; bh=57/N2X2NjfJHd1MXj/SFLxLizk4CNxdab09llBiN+CU=; h=Message-Id:Date:In-Reply-To:Cc:Subject:References:To:From; b=r3GBlIQwuRaY7/uV2L68G7b6j/zEw5MSg/2g41Zu/hZZV2N4Y23pYUMBD39ppk48y oRru3Ch0FoMjKk+hRd0Mph8Y2iTM3PPkV9uAHQS2z1KMl/eNOi02N8XMs6nOwxwEND oUNvCN0g7YI6mU+cYdAtnMmni778989g/8WPm+Pc= Authentication-Results: mail-nwsmtp-smtp-production-main-39.myt.yp-c.yandex.net; dkim=pass header.i=@maquefel.me From: Nikita Shubin Cc: Arnd Bergmann , Linus Walleij , Alexander Sverdlin , Rob Herring , Krzysztof Kozlowski , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 40/43] ARM: dts: ep93xx: Add ADC node Date: Mon, 24 Apr 2023 15:34:56 +0300 Message-Id: <20230424123522.18302-41-nikita.shubin@maquefel.me> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230424123522.18302-1-nikita.shubin@maquefel.me> References: <20230424123522.18302-1-nikita.shubin@maquefel.me> MIME-Version: 1.0 X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW,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 To: unlisted-recipients:; (no To-header on input) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1764052781325983076?= X-GMAIL-MSGID: =?utf-8?q?1764052781325983076?= From: Alexander Sverdlin Add ADC node describing AD Converter present on EP9301 and EP9302 SoCs. Signed-off-by: Alexander Sverdlin Signed-off-by: Nikita Shubin --- arch/arm/boot/dts/ep93xx.dtsi | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/arch/arm/boot/dts/ep93xx.dtsi b/arch/arm/boot/dts/ep93xx.dtsi index 67ecfde539af..d896bdcc6b10 100644 --- a/arch/arm/boot/dts/ep93xx.dtsi +++ b/arch/arm/boot/dts/ep93xx.dtsi @@ -354,6 +354,15 @@ spi0: spi@808a0000 { status = "disabled"; }; + adc: adc@80900000 { + compatible = "cirrus,ep9301-adc"; + reg = <0x80900000 0x28>; + clocks = <&syscon EP93XX_CLK_ADC>; + interrupt-parent = <&vic0>; + interrupts = <30>; + status = "disabled"; + }; + watchdog0: watchdog@80940000 { compatible = "cirrus,ep9301-wdt"; reg = <0x80940000 0x08>;