Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp917016rwd; Sat, 20 May 2023 08:58:36 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5neaaQqTd6R8ZPm1stLLwLyDEQ2CulqazxcOtMF6EzHOdgSU2WyEtppMypLf1zAcl1+b5y X-Received: by 2002:a17:903:18b:b0:1ac:82bb:ebdf with SMTP id z11-20020a170903018b00b001ac82bbebdfmr6817005plg.58.1684598316328; Sat, 20 May 2023 08:58:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684598316; cv=none; d=google.com; s=arc-20160816; b=HvEBOYkvu5twb2URmUShpycff5elgyMb11Kwid1KpdjbxYgLH2WXJHXkxWt5C/khw3 agS2lFbX+S3/Ds665UR8FSQLLXFl24rh0kBDCdVX9cB+Tqq7bqjqUFIfKATjsIwl2IUv U1fy5QYvEwZq1L6QDMRS4mMCfPAebhiuLzOC9G2bVcWWrkTMhHTsApsUVZDcxMz6GzI3 rBgA/ZEyjF6DLlbTDJEYkYT6iix9EJzzE+oVV6Za59q2egoYJRNHpTJ3W+ihO66o19s0 yJ5ykxG/MzSfgkp3OJ0UJ8wktk247nMgbQ16CU8t6m9JFucYWoOYWLhGpOx1ske53DGm I4Sg== 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:subject:cc:to:from:date :dkim-signature; bh=1rk8XBtRKfNKEk3J76oK7rssFtrpEbK+mEjrLuHSohQ=; b=cqSNzZtv4dt8Z0gmPCus6p6mtKvuq/s6hJQknNzTeQLr0cf0UQA74VCJCgTrhI4gRE 4qj3WSjlck8X7aNSSNr6QPhm9n8hztfccqiiBDtn+j49jEqIe3kL4tP5VwCdG1Ol2EeR UbKfkGo7T3wkiTB+qyxEgcw/Lhof1fnGX5HtdB0jW1o/imtluJNuZdmQ6KUyOEwn6S7/ Ws5xqDQB4XxSOsOwux/tbpaQWo+UOMFNLRQA2rGdq4kIOHlGX4s9os4k0La3J7X9vjMu i/ezv559RG2gBUJTqifL07/obOShawV3BzUFI9BajHTHtJIwLrwTiyoXy3Jxvl93XIDZ C3fA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=rEOnab3r; 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=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id a17-20020a17090abe1100b002470264eb50si1520652pjs.169.2023.05.20.08.58.20; Sat, 20 May 2023 08:58:36 -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=@kernel.org header.s=k20201202 header.b=rEOnab3r; 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=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231814AbjETPow (ORCPT + 99 others); Sat, 20 May 2023 11:44:52 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37796 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230422AbjETPov (ORCPT ); Sat, 20 May 2023 11:44:51 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 472F2BF; Sat, 20 May 2023 08:44:50 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id D45DA611F0; Sat, 20 May 2023 15:44:49 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id AAE1EC433D2; Sat, 20 May 2023 15:44:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1684597489; bh=RFRzEGWghO4yi2OnUCzx9pLNfSOFFDNaFEjc9XDX0TQ=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=rEOnab3rLPKsb5cBMoIlJCKqhQI1JKt8sxj1pObn3ESiB69HHsVq8z8ZoZoAUeSUi GRleOA1CQQrqWdBHvz/GrOSdhM9F0eRMbD/AZ2KF1W/hLRBJ0E7u+RGaPUJijY32ot C/3PvbCnRtOZ9m/1F6Th4q4/cPOh0wZRqpYpjofx4NazZy510JZ1AI2WaAy23HUhWO ZlhqEU7iquUPULCgKebFLWXor15AVMQKphe3FR47MwAZq2N7ENmDihBD1zcdtGnrf7 nzbEaqf8dmCvzdeaVJtz50s32kcCgkOL8e3WkXPZVYO8VOUpQ3pUgT9fMmtV/xiULd PH2uJ4PWcnAlQ== Date: Sat, 20 May 2023 17:00:57 +0100 From: Jonathan Cameron To: Shreeya Patel Cc: lars@metafoo.de, heiko@sntech.de, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, sebastian.reichel@collabora.com, 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 Subject: Re: [PATCH 0/7] RK3588 ADC support Message-ID: <20230520170057.12bf613f@jic23-huawei> In-Reply-To: <20230516230051.14846-1-shreeya.patel@collabora.com> References: <20230516230051.14846-1-shreeya.patel@collabora.com> X-Mailer: Claws Mail 4.1.1 (GTK 3.24.37; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, 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 On Wed, 17 May 2023 04:30:44 +0530 Shreeya Patel wrote: > This patch series adds ADC support for RK3588 and updates > the DT bindings for the same. > > To test ADC support on Rock 5B board, a voltage divider circuit > was created using the gpio pin 22 ( SARADC_IN4 ) and few more > tests were ran for testing the buffer and trigger using the > iio_generic_buffer tool. > > Shreeya Patel (7): > iio: adc: rockchip_saradc: Add support for RK3588 > iio: adc: rockchip_saradc: Make use of devm_clk_get_enabled > iio: adc: rockchip_saradc: Use of_device_get_match_data > iio: adc: rockchip_saradc: Match alignment with open parenthesis > iio: adc: rockchip_saradc: Use dev_err_probe > arm64: dts: rockchip: Add DT node for ADC support in RK3588 > dt-bindings: iio: adc: Add rockchip,rk3588-saradc string > > .../bindings/iio/adc/rockchip-saradc.yaml | 1 + > arch/arm64/boot/dts/rockchip/rk3588s.dtsi | 12 + > drivers/iio/adc/rockchip_saradc.c | 260 ++++++++++-------- > 3 files changed, 164 insertions(+), 109 deletions(-) > Patches I haven't commented on all look fine to me. Thanks, Jonathan