Received: by 2002:a89:413:0:b0:1fd:dba5:e537 with SMTP id m19csp138258lqs; Thu, 13 Jun 2024 06:18:09 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWvgSPCxbeyFgs7a6hZ3CFofiqJalE0Dh7eTKNlf6PMVuWG4Ajm37uec0ghVpipLHJSftM0RT6IgOvDWYiCGljNdmwVuB6DW7C+PEXrLw== X-Google-Smtp-Source: AGHT+IFW/LzoBA//Pv0sf7DylVgJlWdXh78E8+g9tAPfOlZ2fqPBkb73iqeBbtEoRyqtbcgtXnp+ X-Received: by 2002:a17:903:32ca:b0:1f7:171e:5264 with SMTP id d9443c01a7336-1f83b637bcemr52745575ad.4.1718284688963; Thu, 13 Jun 2024 06:18:08 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1718284688; cv=pass; d=google.com; s=arc-20160816; b=jHALt2zSNJCOysak5zi6oDTkM97jc4Z+B0qL82ZKrtsZ40jiw7sLvx8d5q4gYS3ltr IHtb6IcQhc2zz+ptioChkrfm72aTwuz+KYMCgYiKjJge+xhB7H4RKBLG0H0l5nIenbi1 puwqNGCaLxFiCMlcAk0vnuWndNpum5xs4t+jukVINfTL165Nvfe5SHerZyE+2dT17bQB c+tLN/M6dOf7ZHaXULJlLFoydCWSLjjgzRqhY/oOC/uwGm6rGWcLinmEZCMapzXkru5q RDZ8gTC8FYimuK8IRhzsFyqowRlSMvGWddofBNMj/GWKMtkklzF/r17++7eRM68du2aE G8SA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:from :dkim-signature; bh=HCp+HRWBM7otRyA0rCsZa1wXyol+qhme87TP5J80410=; fh=jhDd7fPr50pt/7AT3ZKjMssyVGTEdEgMheLVuKLyfsg=; b=mLcSpem1ZGR7Nvr+55WIkh7hEyGXredrk8SDaJg2bacMWaYLybcQmukxR8XNEnX0oZ ra/f3atWawaEOp6/LCS8oHPqvL5x2GsVGWCdrfJuAmBsxF0v82ECmmwS+4zpY7aaGXic U3GOeLBs0/otYUx82n+IybTQcurx1X6yG/Ir5ej/YiFExLqkWnNr7z0qta1q8fKFJIWt G0DcmhZyKX4CLvO7iLEQ8G5H+cGRuNqVvuypb5/mEuIf3sHu5FZXtuVyi+HSOTHYqkOW STwjgWWHobObBkxqj48SINplcfgd2e+O7tChngr8wtxc2zEfRx2IOf4GzRM9Q/2mV/3M nvPA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=QFxQd2Wa; arc=pass (i=1 spf=pass spfdomain=bootlin.com dkim=pass dkdomain=bootlin.com dmarc=pass fromdomain=bootlin.com); spf=pass (google.com: domain of linux-kernel+bounces-213253-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-213253-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id d9443c01a7336-1f855ecaac2si12300305ad.311.2024.06.13.06.18.08 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 13 Jun 2024 06:18:08 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-213253-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; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=QFxQd2Wa; arc=pass (i=1 spf=pass spfdomain=bootlin.com dkim=pass dkdomain=bootlin.com dmarc=pass fromdomain=bootlin.com); spf=pass (google.com: domain of linux-kernel+bounces-213253-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-213253-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 06A1E285A43 for ; Thu, 13 Jun 2024 13:08:00 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 9F369143C5D; Thu, 13 Jun 2024 13:07:54 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b="QFxQd2Wa" Received: from relay1-d.mail.gandi.net (relay1-d.mail.gandi.net [217.70.183.193]) (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 BB95F1E49B for ; Thu, 13 Jun 2024 13:07:51 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=217.70.183.193 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718284073; cv=none; b=bQ5G6Cup9TV+Fo1/6ofdD9w9vRARxuGqhWLSij2IzKqnYDesGcxtIus9SarFhRYktrC+rLu+ZrRTveza2TI3kkdlTSqNFqgzu7i5aoeU+8/eqQjOTHI7alB0VCa50FgHim7ao3zaW3YRAHDgX5x0/nU2EB+Dg7htZe8RJ8mv6RU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718284073; c=relaxed/simple; bh=nYhITXwpEqswuA0y+v2fNK+GobGvtB6mkwsMf3RAmbE=; h=From:Subject:Date:Message-Id:MIME-Version:Content-Type:To:Cc; b=Ngv+MPYOKNF1V2uWQ22wMJ9q0q/f9BBUUAZI4KmVfQstLLhm3YJmQTf9vzb6Wz2987B3YrjSMKErJi6b4jjq1Ss4AK7Cam0oP7bEW41d3JUKXH9JBCKmleZU/VV1LaRRognSiowtYX2LkzJjdLXumVMjPJ1fLFq5dcqsGXhrQTU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com; spf=pass smtp.mailfrom=bootlin.com; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b=QFxQd2Wa; arc=none smtp.client-ip=217.70.183.193 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=bootlin.com Received: by mail.gandi.net (Postfix) with ESMTPSA id 80FED24000A; Thu, 13 Jun 2024 13:07:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1718284064; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=HCp+HRWBM7otRyA0rCsZa1wXyol+qhme87TP5J80410=; b=QFxQd2WaIo5VgVuJiPC2kWnLWxQ2UmKrlbkARWsl5NTmKGA7iD4sYcYwXHzqhL06YAUGno 1Do6DxQx+f7kKs2J3kEJemZnygs5W8LJ16Ka9UvEotqSlXBTBh6QBm63+600lIUU65uL4V alSnKGNJJ62t/cHR+TGUF9TywehpEK3xcTi8ZlxIN9pwauAgCeta+7XN6VKt8StWs1OAAk vGRd0P31e9dooFk8or5vunTzGIWy9cQ0Ygblyiq1buFk0VV8VkJ6d7/iuETcqFIfMdwRDp cV0Gwrkmuxo0szYScqhxGFiGC9wYvV/v05YkSue66vBr57c/bYFhgRQQ3p36gA== From: Thomas Richard Subject: [PATCH 0/2] Add resume support for the mux mmio driver Date: Thu, 13 Jun 2024 15:07:29 +0200 Message-Id: <20240613-mux-mmio-resume-support-v1-0-4525bf56024a@bootlin.com> 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-Transfer-Encoding: 8bit X-B4-Tracking: v=1; b=H4sIABHvamYC/x2NSwrDMAwFrxK0riCxTRe9SulCSZVGC3+Q6hIIu XvsLmcewzvAWIUNHsMByj8xyanBdBtg2Sh9GOXdGNzownifPMa6Y4ySUdlqZLRaStYvhtXPjnw g7whaPZMxzkpp2XpvTrGrPhXlVfb/6fN1nhd+OY65hAAAAA== To: Peter Rosin Cc: linux-kernel@vger.kernel.org, gregory.clement@bootlin.com, theo.lebrun@bootlin.com, thomas.petazzoni@bootlin.com, u-kumar1@ti.com, Thomas Richard X-Mailer: b4 0.12.0 X-GND-Sasl: thomas.richard@bootlin.com The patches of this series were originally in the series "Add suspend to ram support for PCIe on J7200" [1]. There is no changes compared to the patches in the series [1]. These patches add resume support for the mmio driver. The first patch adds a new function mux_chip_resume() in the mux subsystem. The second patch adds the resume support for the mmio driver using this new function. [1] https://lore.kernel.org/all/20240102-j7200-pcie-s2r-v6-0-4656ef6e6d66@bootlin.com/ Signed-off-by: Thomas Richard --- Thomas Richard (1): mux: add mux_chip_resume() function Théo Lebrun (1): mux: mmio: add resume support drivers/mux/core.c | 29 +++++++++++++++++++++++++++++ drivers/mux/mmio.c | 12 ++++++++++++ include/linux/mux/driver.h | 1 + 3 files changed, 42 insertions(+) --- base-commit: 8e7767d07e04b89999d5adefb190f4d5e566d8d4 change-id: 20240613-mux-mmio-resume-support-4f3b2a34a32a Best regards, -- Thomas Richard