From patchwork Sat Jan 20 18:29:26 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Martin Kaiser X-Patchwork-Id: 19206 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7301:2bc4:b0:101:a8e8:374 with SMTP id hx4csp1752604dyb; Sat, 20 Jan 2024 10:30:25 -0800 (PST) X-Google-Smtp-Source: AGHT+IFE6ay3cKkmDElDOctJ3MJMwgBt9kfYk3tT0lhm8UH/0nYDY+zUmMPycvyUIEPzmxt/UQew X-Received: by 2002:ac8:5804:0:b0:42a:2ada:d689 with SMTP id g4-20020ac85804000000b0042a2adad689mr3123837qtg.45.1705775424865; Sat, 20 Jan 2024 10:30:24 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1705775424; cv=pass; d=google.com; s=arc-20160816; b=Wbnvo6dyTjh8snO+DUUpIaXTmgv4KcVY80WXusMqW0GjUZGlkUqjCjwvjliUepy2wr cX11ti7XIvGMR6wWwxz1TB4HpAua5XBzPkK/kxgbTiQe5SHa8YPsMqjB4TnV5Mvg60Ul dOUXTvZzYmJ+AqEBZBQKBkz4VxWKU8wwgnnUh78cT1K27TLpntN/m16tY1e7x3VcJgpA AhC+x7iF72ipSLbaTg5lXBSXEXaQ3gOyfQ9IhoRIdW+aLOCBf0C3Lg1Ov0BhjNkgQtiL IjuiJYRa7rTMhoQQgPKW2Izz0YEjEgB8RYafWBqv634E2oMw1KiUQjzy8bexEbo47hC0 c/tA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from; bh=UlKMY0jmgXwpOxBEasQ5pPNbGtkOjDxee5LO+pwTxlo=; fh=0DZzQ0T1pV/QOLYdVR6ViMk4Eul4BEXt2QI1d1lw5Y4=; b=BluU6lsmqYwbbndlOo/DMQXZtHGV9Kdmb29myacaFEw3gN2LdP4+au9SRLbzj2m5a8 O8Y5Hca2TSwc7UlhUYYDFiNN4B+oYOfR1ylJL4iS6N67hlSaQjIVxm21x0Jme28X1tVt C3tXSl4IrkW4wWHKx132+1omMrzu5NHdgrFMfb5jB2wItuu9EE0AUmwe1f7BdyVyG/lY j9wPtEnrJ7swh/+QtKw/O00bjrL6g/j/9G84cZK4h/pFl8KAC6MYuW5NMzuNVqI754qC DxCkC2omt+00COBp15Caq6aAZwKmTqf5oYPxmfAFszZOMtgC0C7BqBkn75DQ6QHKENSc 3x9Q== 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-31870-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-31870-ouuuleilei=gmail.com@vger.kernel.org" Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id v7-20020a05622a130700b00429c7c5072esi2043102qtk.179.2024.01.20.10.30.24 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 20 Jan 2024 10:30:24 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-31870-ouuuleilei=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-31870-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-31870-ouuuleilei=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 A2A341C20DA5 for ; Sat, 20 Jan 2024 18:30:24 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 6600B14A82; Sat, 20 Jan 2024 18:30:06 +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 2005011733; Sat, 20 Jan 2024 18:30:02 +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=1705775404; cv=none; b=I+qzzsW3ciQTgxjBLcVYmaUUvuS96jrmW5M6YLYhXg7n2HVlFJkDzu0Yw2Zb9Oz3y0ccqqROVNcArQzPK48iaMvK0xOTJDBVlyusJds1X6XzqFETlT1Qny9rgefIkSfWkUqOR2meP9zk/pCr7TSuLN+qh9PjpDgcGHzgB8f7kmM= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705775404; c=relaxed/simple; bh=uIPdtkbBt+Jh4Hvciji0ddUOb1PyIPzOde60CEcpvtM=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=Jmqps3NMiLyBZG1bYnQrYU8eF+b/jFbUmc/sWulKzPc67A2AkrU2sqocgEslhKjH2xFPTUfJksXpJIXEDBDepxRHtkq+0e4zt+neePchqOFiXiMYKkDleE7Y255cBtCMeQog1Ti9m4liGPS2mU2A08pVyAWlYR3xp8AOWZZAM48= 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 dslb-178-004-202-210.178.004.pools.vodafone-ip.de ([178.4.202.210] helo=martin-debian-2.paytec.ch) by akranes.kaiser.cx with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1rRG6H-000BIC-0W; Sat, 20 Jan 2024 19:29:49 +0100 From: Martin Kaiser To: Shawn Guo , Linus Walleij , Bartosz Golaszewski Cc: Peng Fan , linux-gpio@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Martin Kaiser Subject: [PATCH v3 0/3] gpio: vf610: allow disabling the vf610 driver Date: Sat, 20 Jan 2024 19:29:26 +0100 Message-Id: <20240120182929.1129183-1-martin@kaiser.cx> X-Mailer: git-send-email 2.39.2 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1788635171597054145 X-GMAIL-MSGID: 1788635171597054145 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. Change gpio's Kconfig to allow disabling this driver. Disable it by default unless we have a vf610 soc. Enable it in the defconfigs for the i.MX chips that need it. Martin Kaiser (3): gpio: vf610: allow disabling the vf610 driver ARM: imx_v6_v7_defconfig: enable the vf610 gpio driver arm64: defconfig: enable the vf610 gpio driver arch/arm/configs/imx_v6_v7_defconfig | 1 + arch/arm64/configs/defconfig | 1 + drivers/gpio/Kconfig | 3 ++- 3 files changed, 4 insertions(+), 1 deletion(-)