Received: by 2002:a05:7412:bbc7:b0:fc:a2b0:25d7 with SMTP id kh7csp3072551rdb; Tue, 6 Feb 2024 06:32:30 -0800 (PST) X-Google-Smtp-Source: AGHT+IGL3eGZEoHwav03gz0yNTh7n+TnFd2bxO5AfoP8brIAQcRsLg80wYPm7ONmpUFhCyszJ6Cx X-Received: by 2002:a05:6122:4490:b0:4c0:1fe7:4ad7 with SMTP id cz16-20020a056122449000b004c01fe74ad7mr2320891vkb.3.1707229950758; Tue, 06 Feb 2024 06:32:30 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707229950; cv=pass; d=google.com; s=arc-20160816; b=sJgQ+odf8h8jExMyrPk+RXIj1QoKl5oQtpMYgTWeAqJcjaUAn1fEDb00hRraAyFuJ/ 20S8h7u4LEhOyKpldUPn+6AvUzw6VlSG/xalZlKS8iAMmBcSnvQTVlxteeNj2CKMucxp MiWJYIOKjI+mlfU904CiRN8QO/h7KhFinZt3xshUSyoKe1yS5pEjkRxEEb6JbZCrgRJx vtq7xCowe6P8Ff/C3dB/M0AYsRzmDAacOm9dFyLX+OTdxeWdANWlulESln0NGLmMS68x lkAFjP3v6q512SDcfj7A4V9g4Z3glmTPXnZoO+bf+iXc/ggGkxt6dZipvGriTGVw1rA4 5haQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:in-reply-to:content-disposition:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:references :message-id:subject:cc:to:from:date; bh=s9Gk42F6NtrsLLCgZ8dIR7GFxOideG7Cevnh4+AQjCg=; fh=nkUH1KHcKNSfpQYHIXX3Dfy2+o9UR+lEjxkv7CDTsYg=; b=LFItoXygap3YMd4unVLdwxdX3T7ZOlO6HBJJznhcN0oXPYqaKobRAoZezstIdGpCaL 4mZ1AqX0V//BkBRWSbGOrK+9Fgr2BM1sVNmVF/7W8jIv2bRaLz3ZgL8CBDEJs8K0lnNV 5OD4yxOwv9Pefq2czJn/go40AArNP/pDIG0bUddd5t55lh3vMWFZAP/MApWlUokkbcTr lRt217awW0A1DilGcApUdp5St1ElqvC4/h4Sf3pm/K/yQpqmMUZKWQEfbF0MMQaci6Ho ucNO37ZDLEiQq1M31SWA9MvEleh0oX+shtCP3dd9DTKBJQRXOm/T3cghTXZKdWbshUQK LgYQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=kaiser.cx); spf=pass (google.com: domain of linux-kernel+bounces-55116-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-55116-linux.lists.archive=gmail.com@vger.kernel.org" X-Forwarded-Encrypted: i=1; AJvYcCUOmuNcqpMfZdCITv11MFh5oYlzMchgkvdIV1KqAALhMoM7d7K0QOB9uJrJV38TAaJ1W2dEUuI9lS/6oeJALneOiWKNZmYYwOTYz7eKGw== Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id l14-20020a05612207ce00b004bd40308809si346395vkr.84.2024.02.06.06.32.30 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 06 Feb 2024 06:32:30 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-55116-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; arc=pass (i=1 spf=pass spfdomain=kaiser.cx); spf=pass (google.com: domain of linux-kernel+bounces-55116-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-55116-linux.lists.archive=gmail.com@vger.kernel.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 7A2161C2338F for ; Tue, 6 Feb 2024 14:32:30 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 36FCE12FB2F; Tue, 6 Feb 2024 14:32:09 +0000 (UTC) Received: from akranes.kaiser.cx (akranes.kaiser.cx [152.53.16.207]) (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 132391E538; Tue, 6 Feb 2024 14:32:05 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=152.53.16.207 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707229928; cv=none; b=prG8n2I2Q08p7idbDVNr4kVEERux9VL8kTUhJ2mYg9PKNP5HDET8ZO/KOGLczbO4Sl6NPPm2mVhQNyryz9SJt0YPxdTvVf2IG5/mNPEPmAIwlIQYAH/anSl1lavrRMBjSZusCnBlSw5+KfsWlxr4Bpmk6B0rfWQqMg7Gk+nB5+4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707229928; c=relaxed/simple; bh=FXlLwj57nAJFGF/Vub+i5XUXQg7kTxUUzmFuRuy0jiU=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=rldLpcChIvJ0L7P4TxEUYVxFX1aIsyRm7MHHQYmhBZraZ55m9fltrCgblCW5VzyYBoPJgKF+NvwQ/WYfieKzDGANmL77/OcMPELTVvktjW8dGuvtwunHGakgzgSeE4/KP0xhZS85ayStEkrVQmavMy7FUxsJ4+TDzzrDiOaorz4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=kaiser.cx; spf=pass smtp.mailfrom=kaiser.cx; arc=none smtp.client-ip=152.53.16.207 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=kaiser.cx Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=kaiser.cx Received: from martin by akranes.kaiser.cx with local (Exim 4.96) (envelope-from ) id 1rXM4h-000AXd-1k; Tue, 06 Feb 2024 15:05:23 +0100 Date: Tue, 6 Feb 2024 15:05:23 +0100 From: Martin Kaiser To: Francesco Dolcini Cc: Shawn Guo , Linus Walleij , Bartosz Golaszewski , Peng Fan , Andrew Lunn , linux-gpio@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v4 1/4] gpio: vf610: allow disabling the vf610 driver Message-ID: References: <20240124205900.14791-1-martin@kaiser.cx> <20240124205900.14791-2-martin@kaiser.cx> <20240126122719.GA13659@francesco-nb> 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=us-ascii Content-Disposition: inline In-Reply-To: Sender: "Martin Kaiser,,," Thus wrote Francesco Dolcini (francesco@dolcini.it): > On Mon, Jan 29, 2024 at 10:26:16PM +0100, Martin Kaiser wrote: > > Thus wrote Francesco Dolcini (francesco@dolcini.it): > > > On Wed, Jan 24, 2024 at 09:58:57PM +0100, Martin Kaiser wrote: > > > > The vf610 gpio driver is enabled by default for all i.MX machines, > > > > without any option to disable it in a board-specific config file. > > > > Most i.MX chipsets have no hardware for this driver. Change the default > > > > to enable GPIO_VF610 for SOC_VF610 and disable it otherwise. > > > > Add a text description after the bool type, this makes the driver > > > > selectable by make config etc. > > > > Fixes: 30a35c07d9e9 ("gpio: vf610: drop the SOC_VF610 dependency for GPIO_VF610") > > > > Signed-off-by: Martin Kaiser > > > > --- > > > > config GPIO_VF610 > > > > - def_bool y > > > > + bool "VF610 GPIO support" > > > > + default y if SOC_VF610 > > > any reason for having this default y for SOC_VF610, but not for the > > > other SOC that uses the same variant (i.MX7ULP, ... ?). > > Ok, it's probably not as consistent as it could be. > ... > > Does this make sense? > sounds fair to me. Sorry for the delay, other tasks got in the way. The maintainers have meanwhile merged v4. Basically, the conclusion of my last mail was that imx7ulp and soc_vf610 could be configured in the same way to make things a bit clearer. This wouldn't be much of an improvement compared to the v4 set, I'd suggest keeping the current state. Thanks, Martin