Received: by 2002:a89:48b:0:b0:1f5:f2ab:c469 with SMTP id a11csp879869lqd; Wed, 24 Apr 2024 22:17:36 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCX8wc0ctW+yHQ7xSuUthKLbMC7kf8DcfEYKmjQiPylOe6KqP+1kW5wsr4Xyry9oDaXORHhnvYYN1+fK8+duOdzzdU25YND/OcbqygyIRA== X-Google-Smtp-Source: AGHT+IFB/wfEYg05rwYjwbT1HodrcHKlWlipih79hjn+Xrv2+7tAIc7x0/f+PFiHUyhm02lURSKn X-Received: by 2002:a2e:321a:0:b0:2d6:db84:5e93 with SMTP id y26-20020a2e321a000000b002d6db845e93mr2411942ljy.47.1714022256508; Wed, 24 Apr 2024 22:17:36 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714022256; cv=pass; d=google.com; s=arc-20160816; b=n5Z4S6oq2GUfkhJ1bPxr/uvCtpdCgyfyS5QT6aXlH1KjdXnznC5VmJAxi9pE1CvoSq i9IJoRJ2DyJ7+8FZYiCAqNiGiikcCiHXz/UB/4dmaELwtyjvRXcG55b8JokqZrRHOuom OU5tnyGl8IV3YqdtfTVwvtQvQN6XKDLrsIDUhLHUR0RN00RdyaWqeyVZtZuGq/WTi+MP H+kT6es71e7VOv8icWHrcePWIKeaQelsXHCO1SBNqvuFWCXnO8ONSnnIAXTW5esNsO4I RNaUPajRZjGB70e0hXJYCpHTe8wspj3MX84qEoAKfXeMdVy6euN2PkPIt6psvixOVvt/ Bt4A== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :references:message-id:cc:to:from:date:dkim-signature:subject :dkim-signature; bh=/xj/OOBC3+MsFiy3PYCAgX5GBgEu3yvNZiuEeiuPbtE=; fh=wDRQOH5oTle5I7CydnHz/zJHunFYfmAMb7VTbfZ+FQg=; b=bDBl5HbVJ0rn54oQn9iwLaNwxQCuHWyX/QEGhatOza5O27x+4h63eKonu3V5AoKyuu bVkvL7m+Uey46kAkyMA8TvXUgje86e5aihu/I7Wykt95WnaIBUIlaq8TZsTEjFsqO9/H cZF/7n/7tkz9GZffpoWIVsWTqCoi/OCBLFrbzCHudgbAyAjkkbS2yGIVw9JAe5MZ+B7u exA1guNw3Lqhop2iQ35JwnzjSL9RVWjPqea4aiCAiv0Ho4tw3jvQePdorCi3p/hFodFm BGveqz4104MdBs5WhAM/GhNPnbxaFJ7ClF1dsbablXKkPKuQnfqmjzElxiYTPuABTg3Y Dwag==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@tq-group.com header.s=key1 header.b="j46R/NrE"; dkim=temperror (no key for signature) header.i=@ew.tq-group.com header.s=dkim header.b=m41kyz8+; arc=pass (i=1 spf=pass spfdomain=ew.tq-group.com dkim=pass dkdomain=tq-group.com dmarc=pass fromdomain=ew.tq-group.com); spf=pass (google.com: domain of linux-kernel+bounces-158020-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-158020-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=tq-group.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id h13-20020a056402280d00b00571d5652231si8416638ede.362.2024.04.24.22.17.36 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 24 Apr 2024 22:17:36 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-158020-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@tq-group.com header.s=key1 header.b="j46R/NrE"; dkim=temperror (no key for signature) header.i=@ew.tq-group.com header.s=dkim header.b=m41kyz8+; arc=pass (i=1 spf=pass spfdomain=ew.tq-group.com dkim=pass dkdomain=tq-group.com dmarc=pass fromdomain=ew.tq-group.com); spf=pass (google.com: domain of linux-kernel+bounces-158020-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-158020-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=tq-group.com 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 am.mirrors.kernel.org (Postfix) with ESMTPS id 3BAAD1F229EF for ; Thu, 25 Apr 2024 05:17:36 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id A68D83B796; Thu, 25 Apr 2024 05:17:24 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=tq-group.com header.i=@tq-group.com header.b="j46R/NrE"; dkim=fail reason="key not found in DNS" (0-bit key) header.d=ew.tq-group.com header.i=@ew.tq-group.com header.b="m41kyz8+" Received: from mx1.tq-group.com (mx1.tq-group.com [93.104.207.81]) (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 C25653A268; Thu, 25 Apr 2024 05:17:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=93.104.207.81 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714022243; cv=none; b=RpPjCsqdDYlvqSVl1ruCcpzEegrTb2uaMHQRNQvuBYan/lx2a/xBuOn2XoiQbBG6ytqtGXX9Hnx71ypyGU/69BYp8S2jxSFV5azBAlt/GmXFN1nbmyRSo4jIVUiBNlCN2nELpe6D0ZMerZWrGMBNQuWdt2864XRXgVFUy8jLDcw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714022243; c=relaxed/simple; bh=RK2YlCh2s9KnyoLCc1jJ8rRT18CZqFxUXklyFFkdZSE=; h=Subject:Date:From:To:Cc:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=Qk1RY6Su6VY//iBE02DqXVnVpJ7UO7pJVIrPZze+INMIssNBEWawApFY9u2DEkIGX2vfynEb2BqM9OWQg76z9hGXPPETXZ5q5ZiMC/RFfyBrbVJm8lbHR0H6lecZG+QpnXxn91X6NSrCtrcofSp675BiGxvdmHjOZObS+IHW8IQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=ew.tq-group.com; spf=pass smtp.mailfrom=ew.tq-group.com; dkim=pass (2048-bit key) header.d=tq-group.com header.i=@tq-group.com header.b=j46R/NrE; dkim=fail (0-bit key) header.d=ew.tq-group.com header.i=@ew.tq-group.com header.b=m41kyz8+ reason="key not found in DNS"; arc=none smtp.client-ip=93.104.207.81 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=ew.tq-group.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=ew.tq-group.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tq-group.com; i=@tq-group.com; q=dns/txt; s=key1; t=1714022240; x=1745558240; h=date:from:to:cc:message-id:references:mime-version: content-transfer-encoding:in-reply-to:subject; bh=/xj/OOBC3+MsFiy3PYCAgX5GBgEu3yvNZiuEeiuPbtE=; b=j46R/NrErrdUiQne0KGY6LkJUm8xy0dvpDMvOMdPmnadVgoNjXg9InM7 cU4tq6CdOUI0cHabWkK26YtKGn3QcXSWg8nWGy2w5ZxauXAXWF+0Y0pbT VD0OgEEZ3OxehwiHNIvggFsERSiebIqdBah+vnDGo2KLNh43+AIiKqWRs ISl4DfgWH8Wo/foxLq873fde+FmG9lREKggLNjnyPIySWpJYd161xhLw9 pNzwhL1X5QxMqcziKHzV5GWKSLZXp5Bq1e41/z5AAT/5ohZFwRLMcQC7r OSebZrEeCAw0Yy4pr+HSOunDO7oAs5qQY3GQdJAMWWuGESlBvgPycefOP Q==; X-IronPort-AV: E=Sophos;i="6.07,228,1708383600"; d="scan'208";a="36602300" Subject: Re: Re: [PATCH 1/4] can: mcp251xfd: stop timestamp before sending chip to sleep Received: from vmailcow01.tq-net.de ([10.150.86.48]) by mx1.tq-group.com with ESMTP; 25 Apr 2024 07:17:17 +0200 Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id 07567170DA8; Thu, 25 Apr 2024 07:17:12 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ew.tq-group.com; s=dkim; t=1714022233; h=from:subject:date:message-id:to:cc:mime-version:content-type: content-transfer-encoding:in-reply-to:references; bh=/xj/OOBC3+MsFiy3PYCAgX5GBgEu3yvNZiuEeiuPbtE=; b=m41kyz8+Hl86bU/LuB0roKPfJ9HH4G9cxaI4h2qJX9AcbSqdCzSz6kMRfbfHehajlTMlpW ydzEgEhr15jSo6TSkOtWyrqtlzHnKC1hsxNWp/LdKQyyFWuw5Q9vdE4gOU3CATG+Q1BhzA Tm9vDm7aiTFYbMgR6ErSiVRZ52ZmyvEFw/RVxpSZdp1UyCtgp9xPBT0HqGlLF69N4iM7We 235dcejgD5CPqcCUHy6BqnRDNh9eoouOXyqnnlqNHLDf38Sxr6vqhk7OiOfni1IVD5S4+S utTCAVEktHx5HRJE14DzJ21/TCuSUlCNg5nQ0ys94OsknXoOho3ddYJLPDMZQQ== Date: Thu, 25 Apr 2024 07:17:11 +0200 From: Gregor Herburger To: Marc Kleine-Budde 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, alexander.stein@ew.tq-group.com Message-ID: References: <20240417-mcp251xfd-gpio-feature-v1-0-bc0c61fd0c80@ew.tq-group.com> <20240417-mcp251xfd-gpio-feature-v1-1-bc0c61fd0c80@ew.tq-group.com> <20240424-adaptable-zircon-badger-1fefd9-mkl@pengutronix.de> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20240424-adaptable-zircon-badger-1fefd9-mkl@pengutronix.de> X-Last-TLS-Session-Version: TLSv1.3 On Wed, Apr 24, 2024 at 01:54:54PM +0200, Marc Kleine-Budde wrote: > On 17.04.2024 15:43:54, Gregor Herburger wrote: > > MCP2518FD exits Low-Power Mode (LPM) when CS is asserted. When chip > > is send to sleep and the timestamp workqueue is not stopped chip is > > waked by SPI transfer of mcp251xfd_timestamp_read. > > How does the Low-Power Mode affect the GPIO lines? Is there a difference > if the device is only in sleep mode? The MCP251XFD_REG_IOCON is cleared when leaving Low-Power Mode. This is why I implemented regcache. Best regards Gregor -- TQ-Systems GmbH | Mühlstraße 2, Gut Delling | 82229 Seefeld, Germany Amtsgericht München, HRB 105018 Geschäftsführer: Detlef Schneider, Rüdiger Stahl, Stefan Schneider https://www.tq-group.com/