From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.6 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id DBA76C43461 for ; Wed, 16 Sep 2020 20:50:51 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 8E02A206BE for ; Wed, 16 Sep 2020 20:50:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1600289451; bh=vQuddypePWopKLwAeXnG8RvvPYBE/eT7ts8KwaQnsQY=; h=Date:From:To:Cc:Subject:References:In-Reply-To:List-ID:From; b=BiRYNSASvZEQO5djWoDgAdZSia6X6Csv92W+XsVEJPXDsfAxa8hkwEDueT+Tzsxnc yYqzsvyke9JjO3JlGeygHApMqYOKUmYIav+h5JAdRnwiteSCuajO35d1r0g87/KpK8 +Z4Iqqf/CI4mW6yKNepnkMioK0EBjmXjvdE75SL0= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728537AbgIPUut (ORCPT ); Wed, 16 Sep 2020 16:50:49 -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--