Received: by 2002:ab2:7b86:0:b0:1f7:5705:b850 with SMTP id q6csp1285498lqh; Mon, 6 May 2024 03:03:13 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVT/rKNQeb+zl7xQOS4K54F0/uw6PxthqOxAOHjUNIkmyX9eUVgmQpxTcwGqs1HO8jNcQQ2cFSuphtNERz5ag5fj6q7YLI0W5Ft1k8Uhw== X-Google-Smtp-Source: AGHT+IE275kGTpormcSv8iAo60NEoqUtHbgs4FAdTa4eBN/PY2+m02xzzIAPxYy/tJXhpKr9TQGY X-Received: by 2002:a05:6a20:8424:b0:1a7:a3cb:7901 with SMTP id c36-20020a056a20842400b001a7a3cb7901mr10268348pzd.61.1714989793070; Mon, 06 May 2024 03:03:13 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714989793; cv=pass; d=google.com; s=arc-20160816; b=LND6lZotji8o30cN+KJS43uKdl996b6IiubvZ6CRRDmN13jlqvJrxIm3BuD12OoIbR 34dLJYpCdSo8WB21hsvIRXNM+2uTCejDRdFdRUQW4QBYEzepSDz+h602lnBLuT/+NlpW ugYGPRmpVRGMuLgru7TbH3bTDCY0knF0we+zrXvMLJ0Qxh3s6YuShG5jyjdaZM6jlRwl B6LQ86UAjr9i+0oXiauh/vrMokqGUHk8BQRgh+iuns2D2qdcElptiXFB55gazT2UZwVQ QCt90f2Q+BVlhqth+VU1pf6FKvzXY7HlIJ8vGm+RjCiSZzV3noDxhtzCE/HOFleXZeTr yi4g== 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; bh=NajP5dmCnElxiGQ9WFX0oSnrfwDVemSf4/n0nEv/TJY=; fh=NY5hY5vecEGk10bGcIJmsl3T7EyhPmY6EUt4vUA1Z4U=; b=KaNWaNNfhx9oXxjbZmPguns18h4x6nJ4wpT7EI5oRJJIYB/Lgh8sLygE0ww7tmrlRa PVqI/1qEGKM3OZBg8k4b7aBIjHm/Si2ESHIVkrxBu2vyqTGfyxvhngXPliuTjAFyGI5k j1Ge1O1cRybcwtWasr95PfFwiKXXrjLqrWAoZGA5R81rvb2DR7eRolXEGz/KmwrpVaa8 OR8gQLDgZeOj8lltMyzKSuBIRYSjLw8wu3itxmwRJrFxtaCOUN07YgYceudcE+p+Hbyq 8Fb2ycWzeYnaGhQITX/lITxa/7nVwobh7UfOPhfmdKlSKhmeXOYZtfZDn9wBZlzN1FYg 4ubQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=pengutronix.de); spf=pass (google.com: domain of linux-kernel+bounces-169634-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-169634-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id t7-20020a056a00138700b006f44ea147d8si5789660pfg.292.2024.05.06.03.03.12 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 06 May 2024 03:03:13 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-169634-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=pengutronix.de); spf=pass (google.com: domain of linux-kernel+bounces-169634-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-169634-linux.lists.archive=gmail.com@vger.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 sv.mirrors.kernel.org (Postfix) with ESMTPS id A2605280D2E for ; Mon, 6 May 2024 10:03:12 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 102141428ED; Mon, 6 May 2024 10:03:08 +0000 (UTC) Received: from metis.whiteo.stw.pengutronix.de (metis.whiteo.stw.pengutronix.de [185.203.201.7]) (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 4441114264C for ; Mon, 6 May 2024 10:03:06 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=185.203.201.7 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714989787; cv=none; b=d1qG+BU1DUPuKwvzqpiMXamRTputXOPyJ/X+b5PCTlNvTAs+hLHKmkJg/2MO09HZIn8eWIe0I03p3Xpb9XXD2sj0/Dzr6oQVBlWXQTPu4tyrV7l4z+OCjS/4cMDs0DnN7SwaOkfL4iJm0v8nq0p3H7zWHv29yFiaDuyUngZxGVQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714989787; c=relaxed/simple; bh=Z4EcRz/G6UHRpsJjAcYqWpUOiBu9/8gVcBoHx1+EaB4=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=iS+wfiasrrHaSNVXAGSm6uLDgMlCEjP+Nqn5wiqrYmPCq4D6kLZ2gFpnzhmDlhyXT2eyqG77xYOmtBMI5c/mb72kdIV/Ij564i+vwzVoHB5WM6GLUnZsZ0xrJPzD4/Z2rwVAkag3hhmPZ/3AHYPgutwkkay67KfxI4E8hho+tfM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=pengutronix.de; spf=pass smtp.mailfrom=pengutronix.de; arc=none smtp.client-ip=185.203.201.7 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=pengutronix.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=pengutronix.de Received: from drehscheibe.grey.stw.pengutronix.de ([2a0a:edc0:0:c01:1d::a2]) by metis.whiteo.stw.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1s3vBG-0007qw-Vy; Mon, 06 May 2024 12:02:47 +0200 Received: from [2a0a:edc0:0:b01:1d::7b] (helo=bjornoya.blackshift.org) by drehscheibe.grey.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1s3vBF-00GEz0-Eb; Mon, 06 May 2024 12:02:45 +0200 Received: from pengutronix.de (unknown [172.20.34.65]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (prime256v1) server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) (Authenticated sender: mkl-all@blackshift.org) by smtp.blackshift.org (Postfix) with ESMTPSA id 051D92CB44D; Mon, 06 May 2024 10:02:45 +0000 (UTC) Date: Mon, 6 May 2024 12:02:44 +0200 From: Marc Kleine-Budde To: Gregor Herburger Cc: Manivannan Sadhasivam , Thomas Kopp , Vincent Mailhol , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Rob Herring , Krzysztof Kozlowski , Conor Dooley , linux-can@vger.kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux@ew.tq-group.com Subject: Re: [PATCH v2 0/6] can: mcp251xfd: add gpio functionality Message-ID: <20240506-imperial-taupe-deer-9132a5-mkl@pengutronix.de> References: <20240506-mcp251xfd-gpio-feature-v2-0-615b16fa8789@ew.tq-group.com> 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="sse27ts3gacsw3dx" Content-Disposition: inline In-Reply-To: <20240506-mcp251xfd-gpio-feature-v2-0-615b16fa8789@ew.tq-group.com> X-SA-Exim-Connect-IP: 2a0a:edc0:0:c01:1d::a2 X-SA-Exim-Mail-From: mkl@pengutronix.de X-SA-Exim-Scanned: No (on metis.whiteo.stw.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-kernel@vger.kernel.org --sse27ts3gacsw3dx Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 06.05.2024 07:59:42, Gregor Herburger wrote: > Hi all, >=20 > The mcp251xfd allows two pins to be configured as GPIOs. This series > adds support for this feature. >=20 > The GPIO functionality is controlled with the IOCON register which has > an erratum. The second patch is to work around this erratum. I am not ^^^^^^ > sure if the place for the check and workaround in > mcp251xfd_regmap_crc_write is correct or if the check could be bypassed > with a direct call to mcp251xfd_regmap_crc_gather_write. If you have a > better suggestion where to add the check please let me know. Yes, better move the workaround to mcp251xfd_regmap_crc_gather_write(). I don't remember under which circumstances regmap uses the gather_write() or the write() function. > Patch 1-3 from https://lore.kernel.org/linux-can/20240429-mcp251xfd-runti= me_pm-v1-0-c26a93a66544@pengutronix.de/ Nitpick: Please add your S-o-b to these patches. Marc --=20 Pengutronix e.K. | Marc Kleine-Budde | Embedded Linux | https://www.pengutronix.de | Vertretung N=C3=BCrnberg | Phone: +49-5121-206917-129 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-9 | --sse27ts3gacsw3dx Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEUEC6huC2BN0pvD5fKDiiPnotvG8FAmY4qsEACgkQKDiiPnot vG8TYAf9HmPQqBGVCnYkMCu3rzFuWptfpRq+2Ef2dNd1CszgbeuOuEN+Z97BRRHy KZjA/1Y1Y5185xwvzHH3TFSBB7H1huYN2zekcIEYVGNMExwYBpEPhWzdjWc2IH6w xdfwz21foHD50PsRk72FGmijpXN46RXBEIuV6KVbyvVVufNXxcNEz6yYcpIjgT+G TgVmmglnNtZmzYNfUgu9gKVAdbskQkUaziTlIO/QQwXveBTOWisq/83asXFMO9Sb u68PbNU6Z+/YKUv+OGz73a2cVV7NUcICpZPRHabgqFKmGzGFavFzb+8xXU42jPMN zgpwVIDPo8o2euA/22RHCkb2vudCDA== =+dVm -----END PGP SIGNATURE----- --sse27ts3gacsw3dx--