Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp3808458imm; Mon, 6 Aug 2018 10:57:25 -0700 (PDT) X-Google-Smtp-Source: AAOMgpc2TZoqj9hgcgyirV9WBqrwm8vtgrSIdgOwu68vQ6pt7+6YtpcfutTt9C5Yw8uMp9INw6VC X-Received: by 2002:a63:5624:: with SMTP id k36-v6mr15632710pgb.146.1533578245421; Mon, 06 Aug 2018 10:57:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1533578245; cv=none; d=google.com; s=arc-20160816; b=zhlvNG9WcJSKp1JOJAJjM33/el2ofw9vMwGFQh3UpXkGVfwPEPjQl+Pn2/NH/W/CWn 9IYWkRS0HI1wHR1Ogm6+kkx09FW0zlZJASo00pXt4vFhDq/Fa7fNZni7rEYQdRJncAkm 7WR+hcFeph5UrWuHtNDP1u37BQLovXWGGXLOMzQjZtVeRWXtO4yW7jzt7yPKlK2WmiXO 1U2z5S2o8RghzXgnF5KSbjY8IrhFXhzRgSuQoRu9IIX1hVzh2ejzaXrbQhH7cromnE2t VR+b6zBLxP7o9yril8nBSegUKdCF0UmZviML0e/frshPZsVXL6CqNjxaAFt4ROUQb8A3 CoUg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature:arc-authentication-results; bh=1l2kTpL3fcWCU243cZZT2hUpFGkPsvcYEmhJN31zs00=; b=i2YYQ7N0XLQIXtMR3v9wP/9ZI6Bi0yhGHIAXZII1YYd3aYiPYrGoJXdJMdExljiGmR I+Pff44FsTQr+0I+bQ4CSm21VM+ZiNmkx9cyuqANqumPtjSZpgjRbv/mIxDewGfEgfX7 qCttjksCf6EmeEpfZ0IA40nOIcRUQjYQnsWgVdW9i9IbwKUfTScAzDt9dDIPJJxzI973 r0t0zQGN2dKywCVUFU43jOZj0cVuhbmktO7tBLqbX5xehw7CyDLDaO5DAsEYjvIUdxhn w9EClBN8OQp9B4/PaAysUEdRrwITafLfqfGz3ZtxPwJIg4gmKTosHJaqc2FY/YIhgmW4 7KhA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@sirena.org.uk header.s=20170815-heliosphere header.b=DLQS4tTP; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id z89-v6si13856618pfd.357.2018.08.06.10.57.10; Mon, 06 Aug 2018 10:57:25 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@sirena.org.uk header.s=20170815-heliosphere header.b=DLQS4tTP; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1733150AbeHFSOC (ORCPT + 99 others); Mon, 6 Aug 2018 14:14:02 -0400 Received: from heliosphere.sirena.org.uk ([172.104.155.198]:47662 "EHLO heliosphere.sirena.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1733097AbeHFSOC (ORCPT ); Mon, 6 Aug 2018 14:14:02 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sirena.org.uk; s=20170815-heliosphere; h=In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=1l2kTpL3fcWCU243cZZT2hUpFGkPsvcYEmhJN31zs00=; b=DLQS4tTP1DwmAWrbWLyDvedyt gj6ZMC4QUzkG/7lUVnetYrY4HgXC7aAkqb5EYwOpXt9XC+Rp9u39eQqr+21OHlIc+0ywwbamBuO3c YD2c76tZJDKKR90DDP7XfxE9VvH9YHwlOw0cw1Y45oZSOvLSC6N9nOmhpUhZI2dR5pxdI=; Received: from cpc102320-sgyl38-2-0-cust46.18-2.cable.virginm.net ([82.37.168.47] helo=finisterre.ee.mobilebroadband) by heliosphere.sirena.org.uk with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1fmhzH-000859-0Z; Mon, 06 Aug 2018 16:04:03 +0000 Received: by finisterre.ee.mobilebroadband (Postfix, from userid 1000) id 56211440078; Mon, 6 Aug 2018 17:04:02 +0100 (BST) Date: Mon, 6 Aug 2018 17:04:02 +0100 From: Mark Brown To: "Popa, Stefan Serban" Cc: "lars@metafoo.de" , "robh+dt@kernel.org" , "knaack.h@gmx.de" , "linux-kernel@vger.kernel.org" , "jic23@kernel.org" , "devicetree@vger.kernel.org" , "Hennerich, Michael" , "linux-iio@vger.kernel.org" , "mchehab+samsung@kernel.org" , "mark.rutland@arm.com" , "akpm@linux-foundation.org" , "pmeerw@pmeerw.net" , "gregkh@linuxfoundation.org" , "leonard.crestez@intel.com" , "davem@davemloft.net" Subject: Re: [PATCH v4 3/6] regmap: Add regmap_noinc_read API Message-ID: <20180806160402.GR2414@sirena.org.uk> References: <1533557087-10401-1-git-send-email-stefan.popa@analog.com> <1533557087-10401-4-git-send-email-stefan.popa@analog.com> <20180806143901.GP2414@sirena.org.uk> <1533569985.11050.9.camel@analog.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="CVXKxAdNG2kQIXaJ" Content-Disposition: inline In-Reply-To: <1533569985.11050.9.camel@analog.com> X-Cookie: Many are called, few volunteer. User-Agent: Mutt/1.10.0 (2018-05-17) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --CVXKxAdNG2kQIXaJ Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Aug 06, 2018 at 03:39:53PM +0000, Popa, Stefan Serban wrote: > On Lu, 2018-08-06 at 15:39 +0100, Mark Brown wrote: > > I suggested having an explicit operation to check if a register supports > > this mode of operation when I reviewed an earlier version, I didn't > > notice a reply on that? > Sorry, I got confused about what needs to be done. Should I add a new fie= ld > to the=A0regmap_config struct which will be checked during the function c= all? > Something like=A0can_multi_write? How do you suggest it should be called?= Is > readable_noinc_reg ok? Like I said last time I'd suggest making it more like the readable and volatile checks - I'm fairly sure I've seen devices that don't autoincrement only for some registers. --CVXKxAdNG2kQIXaJ Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAltocXEACgkQJNaLcl1U h9CPEwgAgJgNRHOcXvq09ljPcT1HbHSUubDS7V9azrcS1ep0ybNo22MQvjqIZnbU 8GZasf4D4qUuVuswM7kMLuJsgiq6JyY8CNJYWluZWXAmqYo6jSrX5fVwjimkSdjT DJj6MqjheDNKEmkToR2NNLbWsVC34Ky8Fy7qOg/xiOTl9A9ZTIq1PIeQoFeafK27 sg6+IRkm1Mad9Eenxu79DXxj7wZaJMCX/e6syQSuw3yMYMBPdymPXibIuyS6EsCX 91r/8xKnhERTBDV65dNfoo+XNCk3kHAIrUFw6lr75G9qz/Vk9uM6p8RiQDoQjlzF UKNfObAIqgWfy+WcqJoGVjCVYQLjGA== =08kk -----END PGP SIGNATURE----- --CVXKxAdNG2kQIXaJ--