Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp3876339rwd; Sat, 3 Jun 2023 14:05:34 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7PHXgrBqB3a/xutak8LVh+Re0HE4jvS2RPqFBq8w0P/SlPGW8gwyeHK7IQz1xTeT+br3hD X-Received: by 2002:a05:6808:14f:b0:39a:a9e9:38cb with SMTP id h15-20020a056808014f00b0039aa9e938cbmr408290oie.22.1685826334655; Sat, 03 Jun 2023 14:05:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685826334; cv=none; d=google.com; s=arc-20160816; b=cAcs8T8M/dHmEIAWMbbqhZteAwVP/hvOcLkB3ni8W3ORdtA7Vk0xbWbGYsetB2npP8 NXBd4UkeXWHJqddLGyMmxBiBrjZrLm53QSunBHKlNBSIZPp89VlhQ2JNdeOqKDLYq1bZ rdLy9Gv/hl7CmAWQzGllctXNsYjRa+lGF+zVd90YfFFVm5hVkzbs1qMSPfNYlflxv8nT z8zyN0dPeBDI4AZCu4GZCo6EaEdDFPep9nkMRN/Xp/D4m+2HTS57hnVEmmh20LriZwVw RI19gz8oQBMqSEszhpwLswAEvEXlbGCW4pKppXa9gyBe5VsHCH3a9s0IfKrt/qujNzKv fZYw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:date:from; bh=fEKSAtm0WJgCn6zBkQjmnOpOiiFSxcD8X/Im8YjKiT0=; b=YLbW/BbInqnBIgNvJ8C2Q3W506gz3z+vhtOiiE0+km4F9Z2D8wOnMgMIiR600sOl2J 3dD9FhsYM3IbpLRbqRfyiIkz0BI4b9OIJfSY9NhUskQSrSiNQfjtOQ8hVYH79YrnAcEB HvfiPgXkpY3xL6E/ZGTFdtopMZm7DQCYPogy+0wW3wTW92/TvTHxzM+IY8zi5nGPwxIl RsRNMXJGFLwmgla/e6qRqS9HjrhxGrixKfe1u++uHPj7oTHCdkRoreYKdrO9nebwL69A RED/KtRBUK1rxQgXnXpqt7nalA4ajJV9+n17lMryH2gjc9Fmj3YwdNn8KkgxroR5IOLE W19A== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (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 6-20020a170902c10600b001ab007aff67si3033324pli.32.2023.06.03.14.05.22; Sat, 03 Jun 2023 14:05:34 -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; 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=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230371AbjFCUuO (ORCPT + 99 others); Sat, 3 Jun 2023 16:50:14 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36512 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230163AbjFCUuM (ORCPT ); Sat, 3 Jun 2023 16:50:12 -0400 Received: from fgw20-7.mail.saunalahti.fi (fgw20-7.mail.saunalahti.fi [62.142.5.81]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9AA0D196 for ; Sat, 3 Jun 2023 13:50:11 -0700 (PDT) Received: from localhost (88-113-26-95.elisa-laajakaista.fi [88.113.26.95]) by fgw20.mail.saunalahti.fi (Halon) with ESMTP id 3a507e03-0250-11ee-b3cf-005056bd6ce9; Sat, 03 Jun 2023 23:50:09 +0300 (EEST) From: andy.shevchenko@gmail.com Date: Sat, 3 Jun 2023 23:50:09 +0300 To: Shreeya Patel Cc: jic23@kernel.org, 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, gustavo.padovan@collabora.com, kernel@collabora.com, serge.broslavsky@collabora.com Subject: Re: [PATCH v3 0/8] RK3588 ADC support Message-ID: References: <20230603185340.13838-1-shreeya.patel@collabora.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230603185340.13838-1-shreeya.patel@collabora.com> X-Spam-Status: No, score=0.7 required=5.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, FORGED_GMAIL_RCVD,FREEMAIL_FROM,NML_ADSP_CUSTOM_MED,RCVD_IN_MSPIKE_H2, SPF_HELO_NONE,SPF_SOFTFAIL,T_SCC_BODY_TEXT_LINE autolearn=no 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 Sun, Jun 04, 2023 at 12:23:32AM +0530, Shreeya Patel kirjoitti: > 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 support using > the iio_generic_buffer tool. Well done! For patches 1-6 Reviewed-by: Andy Shevchenko (with one nit-pick to be addressed) > Changes in v3 > - Add bitfield.h header file in patch 2. > - Add a Reviewed-by tag in patch 2. > - Do not remove clock enabling and disabling from the suspend and > resume functions respectively in patch 3 > > Changes in v2 > - Add from address in patches 1 and 2. > - Create separate patches for adding new device support and changes to > the old device code. > - Make use of FIELD_PREP in patch 2. > - Move the enablement of clocks at it's original position in patch 3 > - Add Reviewed-by tag in patches 4 and 5. > - Add an Acked-by tag in patch 8. > > Shreeya Patel (8): > iio: adc: rockchip_saradc: Add callback functions > 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 | 246 +++++++++++------- > 3 files changed, 168 insertions(+), 91 deletions(-) > > -- > 2.30.2 > -- With Best Regards, Andy Shevchenko