Received: by 2002:a05:7412:cfc7:b0:fc:a2b0:25d7 with SMTP id by7csp2462635rdb; Wed, 21 Feb 2024 08:20:39 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCUx1I7sENsdBEcWCoQ5h+KvUw2HFYLciP/RFAlfy1wefUqxWCuWo4wOqXcLGWh2tVkDUub2oduwejLTW8aA7pbUcILeUfHQHuueau8BLA== X-Google-Smtp-Source: AGHT+IH4yTz6RP97GOe2slBCE1befmLniSG8O/q07o+S7OIH/AKr5HEl3X8FAX5wWq4NZX3z5mHL X-Received: by 2002:a05:6a00:99b:b0:6e4:59e4:5cf with SMTP id u27-20020a056a00099b00b006e459e405cfmr14361130pfg.7.1708532439337; Wed, 21 Feb 2024 08:20:39 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708532439; cv=pass; d=google.com; s=arc-20160816; b=PeJ9baLP+hQPpfc+4dKQf6kTU4uFy4qYEvbXyTZ2tyeh20W7DGyYHSQ7JybgDTGdxx 9ZW9wHRWiQ3ERptyM2Bs8N4PvXIhUP8/5mWMf3uvsk8FrPNOGFgUv1iuEi/o1muLATxl q1Jzs/vfoheZl09KyITBycqhrXBve2fsH8VCvBsey7HsvKbocKzoKVYqhWp8Rbms12K5 4wsXDaST5qcTXvzieMZwvG8a9tTycAElDgMbAGLcpzX3V1FkmMWTLZTF+lpzjF3yTIGb Wc4rtDPQY0ZTqzZVpDMR5ODuuwdTkd93nVcEMZpsnAh/6oNeG1KuPMf61uWJV/QB09PB HbjQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:references:from:to:cc:subject:message-id:date :content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:dkim-signature; bh=/iZaP2iqfKmtJsxgwYrLbSeh4l2Ui6y1YNvqMc6YgDU=; fh=e+tSaZobpTn+mfrkgE1cPTa5xwbrqI9WeCP7kp+V0po=; b=VoOTWc6e2n6vwP5TFVBJzKGXh9M5X8Kv4HtMPh8k0SqsB9ZMfvlnKwfPVdQ/3CWhmj kTaIKYg8V9TvPaS1kiG3JV+/s+NCWGcnJKcUcCfyd7NNIbDCBbQrGUF2RV+QWZ9iFD1t CXWf6xQBV9xxFWhtRlJj1RlFCnZRvO9UfYNUUf477t0D6LSKOryVwuWFnWFrRdeCEroY MYXNipLreV5be5ovnRWyR7kdyo4uai/2hCqTTZjmnDFAqKpKewnYvWZ3pc3XIAp3biLC cHoJTVHQw0SFD/YjCxC3vSQ/cLPyTBQbbMnr/BS0BP+TRt7kbcwOMJEhXMTkFV8BuaMS kUfQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=Ov4Qzcww; 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-75091-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-75091-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. [139.178.88.99]) by mx.google.com with ESMTPS id l23-20020a63ba57000000b005c66b8a7329si8512044pgu.15.2024.02.21.08.20.39 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 21 Feb 2024 08:20:39 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-75091-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=pass header.i=@bootlin.com header.s=gm1 header.b=Ov4Qzcww; 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-75091-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-75091-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 B39EE285BF7 for ; Wed, 21 Feb 2024 16:20:20 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 49EC58173D; Wed, 21 Feb 2024 16:20:14 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b="Ov4Qzcww" Received: from relay9-d.mail.gandi.net (relay9-d.mail.gandi.net [217.70.183.199]) (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 4CB8F3A1A2; Wed, 21 Feb 2024 16:20:09 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=217.70.183.199 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708532413; cv=none; b=oe51hKbJNcmUHyNtYTdBHRyVJ2AJz07cFAEBTkTkYGKfAnky4o2pM6wFUSpZ2VnJW46GxRo3TKLo5sFVEKi5PHCGZvnRQscuYqsQepNCFE3z9RVPMRH8hGNctxvUu3eTc1Wa+wLN5AhvX9PKM/Lg3M4yoBaIl0cc46dj0wMaN44= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708532413; c=relaxed/simple; bh=Jv77BKBMeiG/2ccQEV5Y0hNVCO0qasm00dKSVctkfdE=; h=Mime-Version:Content-Type:Date:Message-Id:Subject:Cc:To:From: References:In-Reply-To; b=g8t9ZYMgQWwRaPgY33kGFInukqiSZ04tNeBQsQuYEUIF8hgaqJ5VXAchYaxpC81fhNRKSf8p/FhzllzLe4b2izCIEK54J8yH7o+YmD6LxXAE5DIXCHIJ2XUEFP+YqzTe8PytH8kyOIyMEt1aeYX5fMSc8Brub5zicE67B3Fwqas= 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=Ov4Qzcww; arc=none smtp.client-ip=217.70.183.199 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 8CEECFF80B; Wed, 21 Feb 2024 16:20:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1708532408; 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: in-reply-to:in-reply-to:references:references; bh=/iZaP2iqfKmtJsxgwYrLbSeh4l2Ui6y1YNvqMc6YgDU=; b=Ov4QzcwwK74DcmYrB3MfqOZ4uASvFg6MD+s8zyECgBZLyYUP9f2G/+dpfIe1WEggyXFgL0 71rl6N7MPYeBf2tGwxmVgSbLQUFCWBZotLI7/7DsWGgUyRCqJ6VLgvBFXKXOnphqXI+3Rj oFQh77q/QB0NozZA6BsOXBsfWAIcWLg0NGjPuleJOcuYr9JB0d9w+QvZGEjXpKns+CXK1G 4Lpo3FEOAHE9kpnb5xit/9HYCZdb2kco/HJGX+Y5sM7J6dGbAkoo/kXmaZeety1iS5p8hn PtW/GtuQi96SeBzKqJUN1OVUGkaKA6fS38pmPEbn2udjs5yeAMPZZEWif7BXfw== Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=UTF-8 Date: Wed, 21 Feb 2024 17:20:03 +0100 Message-Id: Subject: Re: [PATCH 05/23] gpio: nomadik: extract GPIO platform driver from drivers/pinctrl/nomadik/ Cc: "Bartosz Golaszewski" , "Rob Herring" , "Krzysztof Kozlowski" , "Conor Dooley" , "Philipp Zabel" , "Thomas Bogendoerfer" , , , , , , "Gregory CLEMENT" , "Vladimir Kondratiev" , "Thomas Petazzoni" , "Tawfik Bayouk" To: "Linus Walleij" From: =?utf-8?q?Th=C3=A9o_Lebrun?= X-Mailer: aerc 0.15.2 References: <20240214-mbly-gpio-v1-0-f88c0ccf372b@bootlin.com> <20240214-mbly-gpio-v1-5-f88c0ccf372b@bootlin.com> In-Reply-To: X-GND-Sasl: theo.lebrun@bootlin.com Hello, On Wed Feb 21, 2024 at 3:37 PM CET, Linus Walleij wrote: > just a quick note here: > > On Wed, Feb 14, 2024 at 5:24=E2=80=AFPM Th=C3=A9o Lebrun wrote: > > > +config GPIO_NOMADIK > > + bool "Nomadik GPIO driver" > > + depends on ARCH_U8500 || ARCH_NOMADIK || COMPILE_TEST > > + select OF_GPIO > > + select GPIOLIB_IRQCHIP > > Could you add: > > default PINCTRL_NOMADIK > > so it is turned on by default when we have that, since they are jitted to= gether > so closely. Would that bring something more than what is currently present? I've set PINCTRL_NOMADIK to select GPIO_NOMADIK. This means that if PINCTRL_NOMADIK=3Dy then GPIO_NOMADIK=3Dy. If PINCTRL_NOMADIK=3Dn then GPIO_NOMADIK is free to be whatever. This behavior sounds similar to what would happen if adding "default PINCTRL_NOMADIK". Thanks, -- Th=C3=A9o Lebrun, Bootlin Embedded Linux and Kernel engineering https://bootlin.com