Received: by 2002:ab2:6a05:0:b0:1f8:1780:a4ed with SMTP id w5csp2588386lqo; Tue, 14 May 2024 03:29:22 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXmkF8V73Q0kXBz+3M7F0rtrpapJzLbmgLObMLh35AXBnupEe1tesIWrjUHi5rwJVbLAZc3fXYHswmED4w028rjEGNXaR5wbs4pCuu8UA== X-Google-Smtp-Source: AGHT+IHs5YRPdN0/FcMDkUCnE3ygAQlSvr6YhdN6vlgKm3cla/cin3bpDfX760Scj7y+QtWtUTMz X-Received: by 2002:a05:6808:141:b0:3c9:68b7:a82 with SMTP id 5614622812f47-3c997062f88mr13397676b6e.22.1715682561826; Tue, 14 May 2024 03:29:21 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715682561; cv=pass; d=google.com; s=arc-20160816; b=Q3KJKi39e3B7LcXaTonuC6kVjxhooz65r3yFC2bl7CeKX7UaNpd7fayj60RdSoQatK q0hrhtCWFiTHKE657FDil+uLgfmtr2DzUArtaSKC+wDQY251PN1zpP+hrccO5VI8PHV4 3t4dfLzY5nviKQXnIBDtGXpgQInT0RMOw/WzO7p7awhEAXbLBIAwGfTvBCUyFjvDztz9 p8iTsa70TDwnrv5eRfCm5697ewNxUFIHPnj5vJSnzsyqpveV/A+0JEdJhwO104UUCJ1M toHpblkRbuFESTdlBb/hIIiYUR+t2sP1yPf0/W2IT/iGx7ol9GV7mMMLIgq7z0bWR3YS 4TvQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=xF3zT0SFAHFV8f1xSDC2OVkubCx4Y2io97YQnHTp8JA=; fh=kX8xe2pMn/eTy+I8WwPH40LB8UjtN0v4NKJ4cEAGd4k=; b=oGIVWaH0958Je5ZPUcDC2aqSoI+1Yj6bySnsfzhCjrOO0kxy3QwEb6f1mlIqRSxhpD PC5EsqspqCHwyBi2Qvh8O6srpaJ/g/YZqa7FP2PQ2Mn/sXxnymK8X4RuPBsPaTcIu9tE 8fdIZxIjLpMPWRaqbjUKs5I3phFWh4/lATTR81ub8M9qdO26FJXynjwPvSqdan6A205u c6RFq6XkU5ArdIGtc/Zpxrm5P6jp70XVNSHVl/SXADssHBJiJhaJNOQZIQxohrZGoOtX WewzRWkB325tQqtTS3Hbig0Y1PV8SGzEvWakFoiW2v/mjFPSKCMZwrw+MEkuN87g2e05 6Rng==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=ebZtsB3+; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-178525-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-178525-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id d2e1a72fcca58-6f4d2b3fa5asi11179136b3a.337.2024.05.14.03.29.21 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 14 May 2024 03:29:21 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-178525-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=ebZtsB3+; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-178525-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-178525-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id A7803B20A4C for ; Tue, 14 May 2024 10:29:20 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 93B4113473F; Tue, 14 May 2024 09:47:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="ebZtsB3+" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id B791453E15; Tue, 14 May 2024 09:47:02 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715680022; cv=none; b=jqHH/7jmU+f+ZdwvLmGDwILedoMarpOTTnSBk5r4ITgya/SqCi3hGvODHuPtZxr7AP6o1VvyDryeVO8PVR/5Dd9a2v6GQ5hWPP7kfDWK+Q9Rqm8DVDK9YXcl79xbZlukxfTv9l9ekPOLKBLuUk/hSv6PIcMjIiosHNoHcD66+lo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715680022; c=relaxed/simple; bh=1Zdh3I3iV5/PfBYzP95f6ESpwYqR9hmPaBqIdpc80Os=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=aQwGGz1wpWjABiWddG3EVHrr3hsQ2zKWx10tjPiCvogagutcdnP+7IQoW0riLuMXdIysRIv68SGnIEE9/05JODV/HeDcxo1FXjBchtORTwJIOj3p6AxJWRzrLpSZYVXZXf5FFpzkP6ZHwCJcpeYSRNylU5SE7uX39v+2bzccGYw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=ebZtsB3+; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id BA5B1C32782; Tue, 14 May 2024 09:46:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1715680022; bh=1Zdh3I3iV5/PfBYzP95f6ESpwYqR9hmPaBqIdpc80Os=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=ebZtsB3+Hv9eriC+r0eJ/3356apxrIQaXbLiyLZDcevp1g7Iff2R1fc8/pmU8Tcfh 4X+M6GKQzy35r38ADhYUL+zcUr23n/XXrk8plj4BDhjELOyfIPZ+7EFtdbvp4XtBCr PZ0L5bgmeSryggK2PorkIuIpafdY4jLfrL7TTFwSU3WiMI1LbTskVbNjgfCL536dHW F1DoJMaaZUAenqkPy9hWgxSvcQUoz8579hYES7RyrtqPMdkIMB/r2Ip51eHTIBbRHW YgySYldZaPQrSy/Rd3CUDKyfpTm6mZr0ebRukPpjFMO1B7pf+iKNB9eObAYbeMpgEC qcSG80+KWxkbA== Date: Tue, 14 May 2024 10:46:29 +0100 From: Mark Brown To: Dmitry Torokhov Cc: Felix Kaechele , Job Noorman , Rob Herring , Krzysztof Kozlowski , Conor Dooley , linux-input@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2 3/5] input: himax_hx83112b: implement MCU register reading Message-ID: <44570cd2-9540-47f8-a409-26220b0812fb@sirena.org.uk> References: <20240511121245.109644-1-felix@kaechele.ca> <20240511121245.109644-4-felix@kaechele.ca> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="qIPUr/BZPS1Qo9uv" Content-Disposition: inline In-Reply-To: X-Cookie: In the war of wits, he's unarmed. --qIPUr/BZPS1Qo9uv Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Mon, May 13, 2024 at 04:01:59PM -0700, Dmitry Torokhov wrote: > On Sat, May 11, 2024 at 08:12:24AM -0400, Felix Kaechele wrote: > > Implement reading from the MCU in a more universal fashion. This allows > > properly handling reads of more than 4 bytes using the AHB FIFO > > implemented in the chip. > Mark, do we have anything in regmap to support this better or having a > wrapper is the best solution here? No, I've not seen something that explicitly requires toggling a burst mode on and off to do a bulk operation. Off the top of my head I'd suggest just always leaving the burst mode enabled but I assume there's some downside to doing that. We could add something but I'm not sure if it's worth it without having seen any other devices with the same need. --qIPUr/BZPS1Qo9uv Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAmZDMvUACgkQJNaLcl1U h9CCogf/eDQCdhAa8JoQL0uKEvCPgYIHa+U0n7N0kt6REwUn7vSgK8Wiy9Z4wfyE FqwL1PXqrv3pHNi9xn8/L+QhpAM2s2TEnVcAp7O4M2m5AlKIJPfzdg2hVBNCkBhu 1L/idQLya58JGKcrQn4/ukNdf37o9ZE9FyY0s1h8/SBmLQEGUQGVOuCbgQR4QXAU /axeuus9qA+pbqmqhdV0vVJPrfwkLZxmOlwkTIbx6wbAodYY3KYV3z0z7onG7Hyo wcZys6QN37X7UnZWwyMF57YMXDxVcYv4FoRASc1ILRwMv6ooBHlEA7Pw5MMHm1tr m8lhLOwy3MPSOaiuufcJdRHR3py7fw== =0n8h -----END PGP SIGNATURE----- --qIPUr/BZPS1Qo9uv--