Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp668010pxk; Wed, 16 Sep 2020 13:54:04 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw6ZxjmDfwSqnYuRKe9lbqMDtrBlNu1V/cnHmaS1eZZps5p8K/yp0pZw6/dHkWMD1eGSpq3 X-Received: by 2002:aa7:d6c6:: with SMTP id x6mr29884158edr.338.1600289644295; Wed, 16 Sep 2020 13:54:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1600289644; cv=none; d=google.com; s=arc-20160816; b=Ze3atE35+aRXtdWIX26DcJDtIza/SeKZ1ZSRXZmxcjJdtZ3VnKQ3z1NOPDCTNKu3ur Z90QGI6RXwrRNW9gvehQVRK+bEHBffXwBO03rJbNCXKhPdLBnCz5seE8qmNwSVhDi6Ob P22B5Qw/gzBCb9CUCwPZIUgVikFPtic3vmAJIyISwHOypXnRt07t9vM9DH9qNbvClk48 SKZ6+zA6GFdrEnZd3LFdjtYkmvdfcOAcH0ef4htvso667d2Cat906G92td3q//kca9UO Hnwivto95+75M4yIVEQkHS9HvGL/QVyVZueTWjwW0S2U14I73VWXiwVa9kgVuz2khxa7 eugQ== 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; bh=5gUp55yblDRTwSJC5LKUSlLC20SThbbzkRsaE4ERc6Y=; b=ZJPcToYGFwNT9dJpdYczxwzFf/FgxI1EpINHPyjqASE5dH0+7ExQdXWcUrEDzwVFmp 0S8O41yYkpynsgfpwYc6OdHqHtL+wqY752+1tJ6OOqxv6gWGxNSSuvrdbL33qwXtgWOS 42/kNItH4+p8bzDvis0IfLx4t48tUef3l0mcFlRRoNrzNeQJ/fWbT8pj5vyw6iPIzriW XqBgDfedj8CIK/gpq3lPmspSJnNHUf8eI/W672ypEmLyjeB6fyYGUdnonrqlLJMNUnFa f5HZLIuAcXTeyLtJKXJzKbt7V5pe4UtVUMm4COAfEyIxu7sWoq1Jq83zLJG79GDZCd/6 gGNA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=ezAIWE6x; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id dt14si12504932ejb.133.2020.09.16.13.53.41; Wed, 16 Sep 2020 13:54:04 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=ezAIWE6x; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S1728346AbgIPUuo (ORCPT + 99 others); Wed, 16 Sep 2020 16:50:44 -0400 Received: from mail.kernel.org ([198.145.29.99]:53686 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726605AbgIPQ4A (ORCPT ); Wed, 16 Sep 2020 12:56:00 -0400 Received: from localhost (fw-tnat.cambridge.arm.com [217.140.96.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 1FEBD2224D; Wed, 16 Sep 2020 16:29:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1600273754; bh=vQuddypePWopKLwAeXnG8RvvPYBE/eT7ts8KwaQnsQY=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=ezAIWE6xWR+4vx9EUMOKzP4uUHtW8t33dINp+B6G02NO6teVRteWeuLrmiyDwtObL LVQwxDKXTLM6dQDszN1x7uzI7qGoquXdrGzxzRqE1O6Sf4J1PPVjD+jeE3VfnWyhbm OZsPWcnuYSXWojUxcDse0OZnSuzNuV8dj2AC/Ywc= Date: Wed, 16 Sep 2020 17:28:24 +0100 From: Mark Brown To: Ricardo Ribalda Cc: Greg Kroah-Hartman , "Rafael J. Wysocki" , linux-kernel@vger.kernel.org, Ricardo Ribalda Subject: Re: [PATCH] regmap: Add support for 12/20 register formatting Message-ID: <20200916162824.GC6374@sirena.org.uk> References: <20200916160552.1062243-1-ribalda@kernel.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="aT9PWwzfKXlsBJM1" Content-Disposition: inline In-Reply-To: <20200916160552.1062243-1-ribalda@kernel.org> X-Cookie: I'm shaving!! I'M SHAVING!! User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --aT9PWwzfKXlsBJM1 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Sep 16, 2020 at 06:05:52PM +0200, Ricardo Ribalda wrote: > From: Ricardo Ribalda >=20 > Devices such as the AD5628 require 32 bits of data divided in 12 bits > for dummy, command and address, and 20 for data and dummy. What exactly is the format you're trying to describe here? It sounds like there's two blocks of padding in here (I'm assuing that's what dummy means) but what's the exact arrangement here and what are the commands? It sounds like this might not work ideally with things like the cache code (if it makes things seems sparser than they are) and might not be obvious to someone looking at the datsheet. --aT9PWwzfKXlsBJM1 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAl9iPScACgkQJNaLcl1U h9C4SQf8CSVdFJ5EzmgHk9nbgny+S72hZbixYAJ4GavSxz5Ls2tWOLWR8S4nSo5H lvvzIMCrhVSViGNuf9XaVtGctzV5oQCapCKQd1apyAh6I76nxHXS/OkwmTdxYQuE 2wet5zy/vACtbEAZkBjnmqoX1SAk2OJXw5ZlmNdeeUygpQGTnfbXSthEOSq6wjXk OhrN+U/jK6oXAvCWShi0SZVLimLDXhg+j5geYpFVvUopOjs2qrBQAh7Lny04QEl3 tPontOsJ8Uuiw+u/LENQsVebfNejJTn/18Cq93DCDfOylRxxBc3mVnONuZKaq5U5 oLuXtxVijTVlB+oGNBgXfhQPa22EBQ== =gqak -----END PGP SIGNATURE----- --aT9PWwzfKXlsBJM1--