Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp4376274rwd; Sun, 4 Jun 2023 04:11:51 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6FqRpSkDvuum+HlAmfHxms2+QCutk16e1+w17U+3/WQ3q9JVjaZTQRarCBlH9bO40hl32P X-Received: by 2002:a05:6358:9316:b0:121:4f03:1ef0 with SMTP id x22-20020a056358931600b001214f031ef0mr18102178rwa.19.1685877111483; Sun, 04 Jun 2023 04:11:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685877111; cv=none; d=google.com; s=arc-20160816; b=zzfYCNAutXrv+KwMws4nbmuNYFcbBEQOub6EwnWiI7SOl6r6spVzwixepVHo/v04Wr NoHRLCxqPZ55Rx7vzTRorX+K/i43mRpsIalutjb0QzAbbLkl7SY/HCn1PFTGwTR1JVVG ldjRjTw97V4zBbJCvaDnu00dfkwUgPG1XLr7mg5QoEvsBYixkHOYYw9Yb+OUPgPWTZoY HaJg1suDHqC7S4wdYiia+Lc8znRhEb69NOUf2Usr2f7cRzZwlfsbV3D+nHraBc37mm3h L118bCIgY9CRDUc0HyFeBPQM3yKxzsKwYWVdGPktLjVPNzPFuUxDzItyNETDozBCvQEP 5aMA== 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=5dpLAEPFwB5l8zGKNoJWY1nrj0VOiw54yU7j7Nn+upA=; b=vJUgBsAcpH92YLqLgDAo9JODkhOUJCd5tuZkQV+VipfPCgdXmfPfxFlEwbgGYUePAb supiYrFlaztHUDzCayYPYU2dwBTD2cYlyZXnXutM0BWIi8IFASrnQ4ZXnCk3Auzv3yy6 /Asezciylz+D1umeDkS6ioEx6APILCrUxSAX2vczHfMas1Pecytb5kS4v09OBFvcyntQ 8/asTRqAE7Dy9flIGnDOZpYyxZtzyIIN1SWeK4mFhUmdxAug6zX70myUmV++tOhVBKdC q+EXSVZy0A3gtPF9FEW8ycnbX0MwEPY8SF8P4kRb5gxKJMw7klZC4E5asmp3hXurrkmN qplw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=F9gEOFAa; 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 n1-20020aa79841000000b0064f6b54b886si3855269pfq.19.2023.06.04.04.11.37; Sun, 04 Jun 2023 04:11:51 -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=F9gEOFAa; 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 S231161AbjFDK1x (ORCPT + 99 others); Sun, 4 Jun 2023 06:27:53 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51336 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231148AbjFDK1w (ORCPT ); Sun, 4 Jun 2023 06:27:52 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 640DFA3; Sun, 4 Jun 2023 03:27:51 -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 0026A6119D; Sun, 4 Jun 2023 10:27:51 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id C4881C433D2; Sun, 4 Jun 2023 10:27:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1685874470; bh=GDFD2QaDPXXZG69Pe6qfg/v2YwVstAycrro3d0aXXw8=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=F9gEOFAag92qMFuczSBuQUu/wejjL/Bk2+RZXcZKa0sCYHy9XSjw98lwVQVotNUNu BcHK3HHdEY8FCk1oBS970nOvqLt8z9kJTT/Kr/vbWu0LpMMat8q9pu4zXoDt6hMub5 nOp1c4/QpKKAO04HqI8Csf3oZScLR50Yqj9YlYCXmApdxkfEhQXGLdgP7SU+7xp0i2 Z0oOt4T4e+GyyV888gGFpEB0ZYMkce8QgybjvUcIDIRHu6eN0uaS6w6tRTu7Pq6Qbd EfTf/Z5n5QpCBxESakyOYxqa8nz7B0HSK1XT8N/KE2Yv1yiF/7zc/M7VKSwvQ8TYZs rVpp+FlV0ClQw== Date: Sun, 4 Jun 2023 11:27:45 +0100 From: Jonathan Cameron To: andy.shevchenko@gmail.com Cc: Shreeya Patel , 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: <20230604112745.402beb1c@jic23-huawei> In-Reply-To: References: <20230603185340.13838-1-shreeya.patel@collabora.com> X-Mailer: Claws Mail 4.1.1 (GTK 3.24.38; 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 Sat, 3 Jun 2023 23:50:09 +0300 andy.shevchenko@gmail.com wrote: > 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) Addressed the nit whilst applying and picked up 1-6,8. Applied them to the togreg branch of iio.git, but initially I'll just push that out as testing for 0-day to take a look and see what we missed. As normal 7 should go via appropriate SoC tree > > > 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 > > >