Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp4376446rwd; Sun, 4 Jun 2023 04:12:05 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5xEMJLwPVIHx0KOG77IzithtJ8H6LkuWPwmT+dzF/ILKuCSEb4CVBtoYU2WRPU0oL84swQ X-Received: by 2002:a17:902:b481:b0:1ae:6135:a050 with SMTP id y1-20020a170902b48100b001ae6135a050mr4479754plr.19.1685877125027; Sun, 04 Jun 2023 04:12:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685877125; cv=none; d=google.com; s=arc-20160816; b=yqSkVdC0vc7tUqG/9/Kbx6i9yCiVR6MbIgy4wumH/pqZuc+JnmhInQZPY8hnLx8F6l MJA3BxlAL6D9aHRKyNn9fmIItkMwQrKnx/51dvw1GEtd+cqpZKC5v0FjKnUZPvipVlKY ELvSFnpGR25b7J0YDQRqT3XHYtSwyau18uasRHDPUtw1uZSxvtml74X8weq1bT0w34Vw 5bQ8Mzvkw/2QeN1GgbKJRDPND372lzSqboKz6IW//vNXirzGkRhpaAcMNYatpdtmypAn YBnYvM2InsYDfJNUmWBgrBZdx2fOaPBNhaMNvRhESoI2x2fBGFt/eLDY/9jwB3mykdW1 TsbQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=s356a0trtjxPcGls+2JtYYhzmH942JoemPunDLY8vsc=; b=Z7n26tMGRbQAKHB4Db/XN8JRwejEx77yoQVLYmt5VMGRloafo5gb8K8rkCATjUTU7k 9xxzRVsY+YPZcJDaS3w43FAA0RLLvZ2Z/TyeOaNdqLixr1KnKL7t9UAFUXhXLvSfCgZf Nn/R1gb3WfZPUvNLDsiqUZ7a0BW2d5+buQKCxvUeFkHEWCJCstlhC7dCXrAdeZwgi+3A 8VZpLCBazKQe8uBphCN4b0WcgH55kSnR9+pgC2/Hl7CF4Qn74U1+FRuPtD2QZcnIPJCt LB+BIPI58KTk8FJCjo12r1t9aUXUOz2UIikCH6akBTCQE0xOPaSHaMWBo04EERZ5rINY pkOQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=HrYJlw7M; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id f4-20020a170902860400b001ac75cbde64si3772206plo.622.2023.06.04.04.11.50; Sun, 04 Jun 2023 04:12:04 -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=HrYJlw7M; 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 S230487AbjFDKYg (ORCPT + 99 others); Sun, 4 Jun 2023 06:24:36 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49136 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229522AbjFDKYe (ORCPT ); Sun, 4 Jun 2023 06:24:34 -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 C99B9A3; Sun, 4 Jun 2023 03:24:33 -0700 (PDT) Received: from [IPV6:2405:201:0:21ea:e49:10dd:40c0:e842] (unknown [IPv6:2405:201:0:21ea:e49:10dd:40c0:e842]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 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 513C56603050; Sun, 4 Jun 2023 11:24:28 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1685874272; bh=G8Vk4YtafBa+Pb7sMLpiLgNRNeR4Wa7C+A6DNmqd86o=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=HrYJlw7MM2qYuiRvq+qE41QzDb7R6Nd4mJqho1ydq3uRjdUluf6wEkCz7LX8JAy1b 5a3638jRUzq37UenKgYnEHcGBe7DNv2iVZMLuRsEyfgCu8MdNbi0NZnpkBUgVnt2BA /CtSkQ3Op89NP6eXIY9txFw+PHoZ+ED/4HVINlHXP+q5RIt1qfN4mJju9F2FUBulxY 0xrf4MGr4AcgDrTNrS6KHWG4b+UVvjgfwWyTVwSku4POZcRmTqEdNVuV+jZbGUvV71 MzLYebvmx+yo1rJY0BdywLnOAAYwfnCH0i9Md/I1l/0TGnE7huA9nk3sgdWQiLS9qA idZRsjfelVuJA== Message-ID: Date: Sun, 4 Jun 2023 15:54:24 +0530 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.9.0 Subject: Re: [PATCH v3 2/8] iio: adc: rockchip_saradc: Add support for RK3588 Content-Language: en-US To: Jonathan Cameron 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, gustavo.padovan@collabora.com, kernel@collabora.com, serge.broslavsky@collabora.com, Simon Xue , AngeloGioacchino Del Regno , andy.shevchenko@gmail.com References: <20230603185340.13838-1-shreeya.patel@collabora.com> <20230603185340.13838-3-shreeya.patel@collabora.com> <20230604112043.43b1ada0@jic23-huawei> From: Shreeya Patel In-Reply-To: <20230604112043.43b1ada0@jic23-huawei> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.2 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,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 04/06/23 15:50, Jonathan Cameron wrote: > On Sat, 3 Jun 2023 23:48:00 +0300 > andy.shevchenko@gmail.com wrote: > >> Sun, Jun 04, 2023 at 12:23:34AM +0530, Shreeya Patel kirjoitti: >>> From: Simon Xue >>> >>> Add new start and read functions to support rk3588 device. >>> Also, add a device compatible string for the same. >> ... >> >>> +/* v2 registers */ >>> +#define SARADC2_CONV_CON 0x0 >>> +#define SARADC_T_PD_SOC 0x4 >>> +#define SARADC_T_DAS_SOC 0xc >> Can you use fixed-width values for all registers? >> >> 0x000 >> 0x004 >> 0x00c >> >>> +#define SARADC2_END_INT_EN 0x104 >>> +#define SARADC2_ST_CON 0x108 >>> +#define SARADC2_STATUS 0x10c >>> +#define SARADC2_END_INT_ST 0x110 >>> +#define SARADC2_DATA_BASE 0x120 > I tidied this up whilst applying.  Ah, I was just about to send a v4 with the change. Thank you for making the changes. Regards, Shreeya Patel > Jonathan