Received: by 2002:a05:7412:d1aa:b0:fc:a2b0:25d7 with SMTP id ba42csp1530664rdb; Wed, 31 Jan 2024 01:07:03 -0800 (PST) X-Google-Smtp-Source: AGHT+IE6vtI93xfAKHbDAo+tCgW6ZOlXdp4oMuYcmT1gkvKno8CsXp+ZVO2UT53gIGaZBTmIiNNE X-Received: by 2002:ad4:5190:0:b0:68c:6ef2:4736 with SMTP id b16-20020ad45190000000b0068c6ef24736mr639426qvp.3.1706692023682; Wed, 31 Jan 2024 01:07:03 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706692023; cv=pass; d=google.com; s=arc-20160816; b=qobYgPz8dEc0Aja6tibaHEDfD0LdjCtzpraVXZv/kzV84t5QySpzygH6JOepjMR4eo hwsgjvMc7RY10LJx0eq9U06xfAgLzAEMvwzOGRa+psyuubuAWmW4HQyC+hEKiztt2EpE qyQahq6KCkdKnNqtCRNdYOQ/suiYFmLKWcSrY4u1BReo43ecNt3iUa1czTUE0e0sMOtJ yLbUerQxwirn1QN2VoSI3ZCM8MIU7P2jCl5XAaL28pw1Ok+dtViuiRX5dBXB3Z1fd4F/ Odl6x4EA56ttZfo3TjVhcfeGh0FzKOhelUuZH6c1Gb2PmIrHgSITVPI6gws/8OUFNFN3 OhjA== ARC-Message-Signature: i=2; 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=4P30cDZJoK8lB7gKvnrdCDa1fyR371TkfVJY5FVRBso=; fh=kS94mabqZwusJJTMywdFpAtPMfj1y0oomJazYttU68A=; b=saZDfPqlo1+qyTYepg3AnrIF38Hl7PwOazQTMieobdII7iQO+EG39rqrlP022EBYa1 YZJoUoenISKrQoFxJu07+WpzPEK09fQZWQCGR2fkRjqr15EjcUJbxIcm3Vgzzu63nXXS PJOYyBdF4K2hBx5x/LJETRpQthZqZo1g9F1PeknWH9+/Y0nImQU1ZlUUS1qbXSVlFb4k zB0m9IbjBrYH1eEZlV1v/KDBlr2hd/Pyo74plskmn2+kILPbGbyOKaAvmfKuVwdUwlM2 vPdTFjrkWL/lVNfI5GfprRlv0sDe1MdCBp1BrSUaLuzu9kmFNcOdwb4VXsvMQQ5Sjh64 O2zw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Q+Fa4+xk; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-46090-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-46090-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org X-Forwarded-Encrypted: i=1; AJvYcCWd3T9ZhJV0epo7wE7Cf9vYz9BdxBD8sXY8s7TzcfA8MUoiIvq1GcdytRJfTj8lnE/FTQ+JLAgh8KMW63YIBsrmiHLp1cR+Dpvk3OCmfA== Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id pc9-20020a05620a840900b0078160007378si11461516qkn.388.2024.01.31.01.07.03 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 31 Jan 2024 01:07:03 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-46090-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Q+Fa4+xk; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-46090-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-46090-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 6E4791C2843A for ; Wed, 31 Jan 2024 09:06:09 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 426FC6F070; Wed, 31 Jan 2024 09:00:20 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="Q+Fa4+xk" Received: from mail-yw1-f178.google.com (mail-yw1-f178.google.com [209.85.128.178]) (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 B954B6DD12 for ; Wed, 31 Jan 2024 09:00:17 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.178 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706691619; cv=none; b=GvkcFdA+lwkjbzlH0f+48Mlw07dsKUjH8Q2Prhvub7DNJZUSDRyIYrNIVLUGtl78wAQKsm6WAI1RF7EuBltN/xnNNj0+js/PXjLJWQ6Okfn5j8aPqFQiXDjj3r7gw4pVW9Q5KQ6+iSe/Xz5TFwbqc5mQN0WGh3uBFVJdS7PXWEU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706691619; c=relaxed/simple; bh=4P30cDZJoK8lB7gKvnrdCDa1fyR371TkfVJY5FVRBso=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=WE09jEDJMvddECEHROJXDizZJVviDQrQypgHRkG0A/aWf97DoIVewP89bOFOGzCbqDyc5V7WpAM7augJNUQBzDBNwSBX26eVm4BJ9EQrWtb6do1diXeOuTg4r+LYIAyFclWAiBvnQsVQRwbHdfXq8hrfUdvOYI7zAnPGoW+kRYk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=Q+Fa4+xk; arc=none smtp.client-ip=209.85.128.178 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-yw1-f178.google.com with SMTP id 00721157ae682-5ff7a8b5e61so45972817b3.2 for ; Wed, 31 Jan 2024 01:00:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1706691616; x=1707296416; 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=4P30cDZJoK8lB7gKvnrdCDa1fyR371TkfVJY5FVRBso=; b=Q+Fa4+xknqGuZ1jER6gHM0aX/zbkOIh0YiJ+8zfTalq208itEMP9X2/C53ym14Owmn qcfYTBF1sSYpBR1fcivEyZVD2k4QoDWK8mJAgGiNkUNmxdg88wz1l3tvSJy0uW8T3uq+ L2yB/lpLwjGc48eD9ExRg9UMnbZfJqydDoTLHyRB5L6MUI5QVNgNO6/VFOs4qdU5Hlyo VUGZeOC7GnOaLcJRQdlR/Pm5LcgH2LcE8KGlXGhzO+bBYtz9KUl1cy2gjtWkjC3LHyrO brGFTg1rsnZQiSgoNlOejRqpLExbszszXpoBd/lQW0R4INJrrWK9gMflsOe6I0s0/DSI vwyA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706691616; x=1707296416; 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=4P30cDZJoK8lB7gKvnrdCDa1fyR371TkfVJY5FVRBso=; b=A/7kmQ2rwoW+evAr726CBLZfKjwPtGt+y9JKumEZLin5dpBqMsGPbl6LmABXMZ6Zyh CwoifOPvya/w6hbDOdGRJAxSShVDot3e6Nub5ZYwqCXExDxrDvWXtymdZtRSeeodpQEQ QWDjejwRb4LowqC7sz35ikZgbv8T+/9ctjHBCs5CfElcSacrctJ1ebf8aOm+mYR9NuHG sT96cUUxCyvCs+KoqH412TMUxgfh/avdv98jojLkjF0qx8Ph8TZ+cWPRDTb900CnLfEy xODDHdD1uyez2uMcAc83hRjE5pUE2pdmAV7uVH6gpHAvMkh/KLzvWNWD6a+UMA8CIRjo cTXQ== X-Gm-Message-State: AOJu0YxQsg3suSaJnF4fRIcsLxzOzfLpx/wu/zHe81mSg19zmZdWiHMn IyfRmsGmQt+VbvXcuILjtqfTmHlcYbpi/ov3uKvrlJpgMVJzODP/K2YNo4bjZlLY+a9QHuzF7YX mrzHbfW6A8Pn1qs8jFerF+iMcBgVAG2WhV6L7eA== X-Received: by 2002:a0d:eb16:0:b0:603:fd33:8b81 with SMTP id u22-20020a0deb16000000b00603fd338b81mr708880ywe.21.1706691616679; Wed, 31 Jan 2024 01:00:16 -0800 (PST) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20240125081601.118051-1-krzysztof.kozlowski@linaro.org> In-Reply-To: From: Linus Walleij Date: Wed, 31 Jan 2024 10:00:05 +0100 Message-ID: Subject: Re: [PATCH 1/3] gpiolib: add gpiod_to_gpio_device() stub for !GPIOLIB To: Krzysztof Kozlowski Cc: Bartosz Golaszewski , Peter Rosin , linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org, stable@vger.kernel.org, Philipp Zabel Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Thu, Jan 25, 2024 at 9:59=E2=80=AFAM Krzysztof Kozlowski wrote: > [Bart] > > Why is this needed? Users of gpio/driver.h should select GPIOLIB. > > The third patch shows you the user which will not select GPIOLIB. Why? > Because there is no hard dependency between one core framework (RESET) > on other core framework (GPIOLIB). > > The first two patches are added for the same purpose, even though there > is no need currently. That reset driver implementing a GPIO chip has not been reviewed by the GPIO maintainers so I looked up the patch and replied, we have review comments. Yours, Linus Walleij