From patchwork Sat Jun 10 13:48:41 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Shreeya Patel X-Patchwork-Id: 105943 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp1563006vqr; Sat, 10 Jun 2023 07:08:37 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7WgzEI//7hEDNKzMrqZyU8lai3KVybA5ubNU/mqoqO5RNHWm79V1k6mhy7Ajk7erjj/1RZ X-Received: by 2002:a17:907:961b:b0:978:a01c:366d with SMTP id gb27-20020a170907961b00b00978a01c366dmr3932459ejc.45.1686406117040; Sat, 10 Jun 2023 07:08:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686406117; cv=none; d=google.com; s=arc-20160816; b=F4sF3rr/ejpFHRYexxfBY9V22d+u7elpqGdrzjF5XEcw5dvJ/w6DrevtisG4sTLdAE c2S4/yg0FUbOMfxmRhPymjRPzvgX3BaKn96CjwkCxo5FEvHWMS7bQrVu/CD3woyX5ND9 nNPa35OIGGzlot9Ci+oa/kkGSeoTSrQMNC5z3mtGV/Vk6E9U65OW5MtgBoVZWn61EcDj uV1IpgKGSycrCwLJ+JiHlJb3zXCIB2khMbB0xyeWMo2mpfSTrn5IhDy/kBdbMasJdpl5 mL484WWGxc3Mj+P16GIJBVgVVsguM/QBuHF5Ueu/kglelZH0AR3GC2Xhnl3YUSnnosnR JbCw== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=LWcG6HlcaofcWF1IxyCnCmV4DQnpe0zsKecA57TZpqI=; b=y98KhP7F9/H+l9NTdlc9gzXhJKQpVrMhPLdrXqcaPVhVJhVe7//LAIq8uZ9CiUje7P Occ/fJXK4gSZ6HDc+dAZkt2Vm4DedVFyWxBhrlZjbjG1iI+zlHd8BUGTipmXuswLFBHw C2fuGD9k0yu907HhdzE0BS6gADMArNpFtRL4QILmc+6apXwYVHS4nPCczpqj0Bxo/oVW Wrw7ZHYkezARpTJ9Yv59OAY59tlqXq0zW7aSBv/W1tnFZrAOeHxgP4iy6jN3rzcIMjEX IL3YN+vAkdRCUhaP1AZlnEdBIBgtPGN9DXOnFVtvZ7rSno2lXe6JBhxr80LoiWAIq45o ePIg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=WJP115ex; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id lc9-20020a170906dfe900b0096a7839c72bsi2587343ejc.700.2023.06.10.07.08.07; Sat, 10 Jun 2023 07:08:37 -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=@collabora.com header.s=mail header.b=WJP115ex; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234672AbjFJNs7 (ORCPT + 99 others); Sat, 10 Jun 2023 09:48:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53416 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230311AbjFJNs4 (ORCPT ); Sat, 10 Jun 2023 09:48:56 -0400 Received: from madras.collabora.co.uk (madras.collabora.co.uk [IPv6:2a00:1098:0:82:1000:25:2eeb:e5ab]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D5160BC; Sat, 10 Jun 2023 06:48:55 -0700 (PDT) Received: from localhost.localdomain (unknown [IPv6:2405:201:0:21ea:e49:10dd:40c0:e842]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: shreeya) by madras.collabora.co.uk (Postfix) with ESMTPSA id C26476606EB4; Sat, 10 Jun 2023 14:48:50 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1686404934; bh=YfRPMg6H1Vu6qLLPU55djOlkqrSJyxogmbIBi0tm8ps=; h=From:To:Cc:Subject:Date:From; b=WJP115exnOuhndKFVId7R5RsPwblkmS+fOkVi6XKBQDmRyYrYUfotabp/1I32VyNf 7zMgne2XdHARpVU4L/jt2fUr4fjIRNEnfOLaTsiZex+/QsXQ5gvclyPfssuIlijmM7 iXxySJGtfsUIaFryY7M+jQJaqhRiATDyTrtHo3UMVwB1dgLOTA5S1ct0t5nQfwRdW5 +0xPAIwXYWzUxX9E8lxckAham6PYTualXqqkm5aU/GTVER4NoQUGGz3u38gbppfP+3 m0yXZNCuiOpyEqpXAl5E1QqVryH53KnhFcLyuz7dfreMWE4FkczU1N7FRCw7bVbNbM Lq7yvETSFPijw== From: Shreeya Patel To: robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, heiko@sntech.de, sebastian.reichel@collabora.com Cc: linux-iio@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org, kernel@collabora.com, gustavo.padovan@collabora.com, serge.broslavsky@collabora.com, Shreeya Patel Subject: [PATCH] arm64: dts: rockchip: rock5b: Add saradc node Date: Sat, 10 Jun 2023 19:18:41 +0530 Message-Id: <20230610134841.172313-1-shreeya.patel@collabora.com> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED 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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1768324980661983073?= X-GMAIL-MSGID: =?utf-8?q?1768324980661983073?= Add ADC support for ROCK 5B. Signed-off-by: Shreeya Patel --- arch/arm64/boot/dts/rockchip/rk3588-rock-5b.dts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/arch/arm64/boot/dts/rockchip/rk3588-rock-5b.dts b/arch/arm64/boot/dts/rockchip/rk3588-rock-5b.dts index 154b1089db77..181874905850 100644 --- a/arch/arm64/boot/dts/rockchip/rk3588-rock-5b.dts +++ b/arch/arm64/boot/dts/rockchip/rk3588-rock-5b.dts @@ -207,6 +207,11 @@ &pwm1 { status = "okay"; }; +&saradc { + status = "okay"; + vref-supply = <&avcc_1v8_s0>; +}; + &sdhci { bus-width = <8>; no-sdio;