Received: by 2002:a05:7412:8d09:b0:fa:4c10:6cad with SMTP id bj9csp61690rdb; Mon, 15 Jan 2024 12:09:37 -0800 (PST) X-Google-Smtp-Source: AGHT+IGdOO1VRDDGNHok868ZcbJLyE+smhaN2QCCzg8UZ4cq8TYHfHxdz5GrmG2W1i7LUG346y4S X-Received: by 2002:a05:6e02:590:b0:35f:c98f:b191 with SMTP id c16-20020a056e02059000b0035fc98fb191mr7600741ils.42.1705349377525; Mon, 15 Jan 2024 12:09:37 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1705349377; cv=none; d=google.com; s=arc-20160816; b=yEwH5CWIAh3Wk0ZbLJJInqSDrnkgraAlDYgnOQFMNR6x3I2ZprDkOHR4WMPRunBq66 gbgcBmqdvmY42/QPipzJKAMAhT0KDLuSE4M44MJeivmgB3u+sFbCeIH/IYJf1KVc7AK5 7ipyeOT3ApNQlyKTWN3jhkP5qdnZ6vnzlY1fSOU5ae0fYg5ZWlRC94Grbn0J/oCv6uj8 uMt9Pg/2QdO1+XRgAsTjUDAkuKnEbPpNg2RJZwgoEkS7Zzob4h4rrGzbAnnlU5bBAZDT cE393USJFZVF823Rv7oUOwaDOrMkKz80b31/zIdWSAhNLJanRG2/Y3fHeX7ixWmH380U naqg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:list-unsubscribe:list-subscribe :list-id:precedence:dkim-signature; bh=gc3C+MBMc6Ztw+6xT76btF8SzXzx4phMTduOYUFRk2E=; fh=SwzX0tglQFYcPD71mvgbAwSYlQ5cQ3p+hpmdhIQdgbM=; b=T8XnyQ+FVEWx1Biismg1UGIUF6sklGNT93u4uhhRJP0bGDQOJKyDpOxewjeg4dqUmE usYFrefwI7Y3udgd7v9breEbfeE1Fb1H9kbWbQ2WVE1XZYfG6wGJJOlfiCEnOwVUjmet 60fGmExsj4XQy/fMpVKX12HeDOyf6P73YXb1daZ2diEWfRJkLX9SVBxmRPjUbYU4Xawc 1mm792MMvBIuMnO1NFNbAPZIuAG829TGEJ8B3gTKK/P0U2viuXnfDvIhXwAY/bwm720a KhUP015R9tU9jyoHMEKwZvsttk+F1RDI8gSkXj6zoA6GvNU+gIbn77+6cmeh2x0Oi+1X un8g== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20230601 header.b=heHjV5H1; spf=pass (google.com: domain of linux-kernel+bounces-26462-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-26462-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id t10-20020a63534a000000b005cdf9bab888si9081602pgl.231.2024.01.15.12.09.37 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 15 Jan 2024 12:09:37 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-26462-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20230601 header.b=heHjV5H1; spf=pass (google.com: domain of linux-kernel+bounces-26462-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-26462-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.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 2471C2838DF for ; Mon, 15 Jan 2024 20:09:37 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id DE43C1947F; Mon, 15 Jan 2024 20:09:26 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="heHjV5H1" Received: from mail-ej1-f52.google.com (mail-ej1-f52.google.com [209.85.218.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id A031A18E3A; Mon, 15 Jan 2024 20:09:24 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-ej1-f52.google.com with SMTP id a640c23a62f3a-a28ab7ae504so868856466b.3; Mon, 15 Jan 2024 12:09:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1705349363; x=1705954163; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=eTSsmF9bay5eiASBLzGyhlZe0LQNn59Lj5uJ3Vfhg1s=; b=heHjV5H1+l/x0SMXp2JLdQ7NrEDSyNzT7Elipm7NMRIM6UBR8h7hAfDAz5L2o8wFIV byXARA72cDQQPGKXdW0iIFRxlWIPHFcccH/f4DCxk4wU2c/Hns2pBcOm3QIbJScU5rHd CrvvBsJL7xOYSLlf44Z3t+Drv85XrhPpZck3OaSaL0FZkPW/0Tguqm0T3CGJD69EVg0f xoqzsEusxgCr5nQGx6KV37nWyOUu3MzvELN9AteUs0nBgcPs2TWFJngHKUuG0aayjM/l UbeVnYKQc3dGr1ZmuafkvcmhZbRbF3r7FVVh2cXFX5rCthDwX4tjGeejOWA+B8Sj+EpH qKhg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1705349363; x=1705954163; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=eTSsmF9bay5eiASBLzGyhlZe0LQNn59Lj5uJ3Vfhg1s=; b=bmkp6oxlVeGcWUMzOmpd6/UBrZNks/evvDXDNUpt08+R8P6j3+IgjOKPFs0UxkzGmG k81S0o1ZtdH/30dukzrBWwuTLGpOHZmsGTJq6CIJteR45U6uHY9flO04Kiy/SalxSBJW edFL09+OHit80GD3lOOSzhMzflaAg8/+P/JGVrFaaabGMH9evK2fjwuRtppf1GSnnCSh lPy9bVDfyG4QMHEp19lIaTDpwwfo9LrIOK4nt9o1iYeHqRiv86eWbpCIw0vu0MB57rV9 TpS271f4cflDe4XqNeAPYENZ6byx5s0a0Jxk0RNdQyG9YnuVjKGelV1lYjR19R3faOh6 j3rA== X-Gm-Message-State: AOJu0YxD24MVkeVanUjiwFGfGJivA1hK6ps/brgdlXS1Oftdih9GLpjL 8It0JpN2MzlAckAMCdprI7J7h0XzDpNGT9iv/oM= X-Received: by 2002:a17:906:fc10:b0:a2e:51bb:6e97 with SMTP id ov16-20020a170906fc1000b00a2e51bb6e97mr121762ejb.67.1705349362821; Mon, 15 Jan 2024 12:09:22 -0800 (PST) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20240102-j7200-pcie-s2r-v1-0-84e55da52400@bootlin.com> <20240102-j7200-pcie-s2r-v1-13-84e55da52400@bootlin.com> In-Reply-To: <20240102-j7200-pcie-s2r-v1-13-84e55da52400@bootlin.com> From: Andy Shevchenko Date: Mon, 15 Jan 2024 22:08:45 +0200 Message-ID: Subject: Re: [PATCH 13/14] PCI: j721e: move reset GPIO to device struct To: Thomas Richard Cc: Linus Walleij , Bartosz Golaszewski , Andy Shevchenko , Tony Lindgren , Haojian Zhuang , Vignesh R , Aaro Koskinen , Janusz Krzysztofik , Andi Shyti , Peter Rosin , Vinod Koul , Kishon Vijay Abraham I , Philipp Zabel , Tom Joseph , Lorenzo Pieralisi , =?UTF-8?Q?Krzysztof_Wilczy=C5=84ski?= , Rob Herring , Bjorn Helgaas , linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-omap@vger.kernel.org, linux-i2c@vger.kernel.org, linux-phy@lists.infradead.org, linux-pci@vger.kernel.org, gregory.clement@bootlin.com, theo.lebrun@bootlin.com, thomas.petazzoni@bootlin.com, u-kumar1@ti.com Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Mon, Jan 15, 2024 at 6:16=E2=80=AFPM Thomas Richard wrote: > > From: Th=C3=A9o Lebrun > > Move reset GPIO to device struct, so it can be used at suspend and > resume stages. .. > - struct gpio_desc *gpiod; You can leave this and make the patch much lighter. .. > if (ret !=3D -EPROBE_DEFER) > dev_err(dev, "Failed to get reset GPIO\n"= ); Side note (not related to this change): perhaps dev_err_probe()? --=20 With Best Regards, Andy Shevchenko