Received: by 2002:a05:7412:e794:b0:fa:551:50a7 with SMTP id o20csp1874108rdd; Thu, 11 Jan 2024 11:46:31 -0800 (PST) X-Google-Smtp-Source: AGHT+IGshSJDkc8sXM7Nw5tJQdAb9ETXnWvChEkUZKj9OwXj/TAYJj4FDve4HJ4A2usS2YuwFMh9 X-Received: by 2002:a05:6214:dcf:b0:681:8cc:833a with SMTP id 15-20020a0562140dcf00b0068108cc833amr156762qvt.81.1705002391320; Thu, 11 Jan 2024 11:46:31 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1705002391; cv=none; d=google.com; s=arc-20160816; b=TmtdMjgjDRiMbL14/NFtx3qGFZHfp9LUdkNeemCZ1jgvXKKdn72lwXoRVgxV0N2Pzc z6SVhA05EJn/lmDHZMOHYdXQz91NqK/C2PvjWwFKI7LpWDU+C4vDLJd7rG6VqXH2BEc7 RMv70ml4+qbR7Hb9fYf/44aguf7ErEqWNqhwpvq2QxwgN3SrMVtnUleaO6gyisNMdZWc 944vQ14ti/COZ0dQCyu2LbxW/dhD+tm4oN8njd21eycdTvUpu/gxkuyJwZCfkOvfgOJi IgzHxiIoXiHX5BWy4b9nTOFp+BpWPBYiLV2ZXZinxCaSdMi4y4M1cJ6GYubVB+U2JIcC 5R4g== 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=QAi2GDQ+ThdQ1lT7Cr2g77YBh1JVwDL9p52yhtkQlNo=; fh=61PZ86t4RxU3tKVb97bT9qnKwbtFq+GGedRQCfYmHpo=; b=KjgO27zn6S3ZuMb/3cqceCh0mWRmijnjZHCWHepJZCCgU708FbkeVZSH6hwvVHuyHB aqrVvPmlwUUCvejcATOwNXGmXnXmKSWqst0SVh3qddEE7Bc63enqXDk/KFGI41C+5Au3 ysrstLMjAgIzq3noe+OcpYTSGz9NGAQHZlm0UU7KO2OcKzzpGj9zalJAE0r2NH8MqdXf 2PN2iCexrNQrv4z6hpDg5zoCbJkOSxYfJIGh5qjQz93ZP/7rrx9gEDXeaFm1QzlQz+t0 UGskzL9AuhaTCLDZqQRF/xdaIr9+NwRdUIabEWEBu0neu7cGkWaf0YVFzgrKGoRD58Er ycBA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=jVrfh2eI; spf=pass (google.com: domain of linux-kernel+bounces-24015-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-24015-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id b28-20020a0cb3dc000000b00680285e7c68si1443193qvf.424.2024.01.11.11.46.31 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 11 Jan 2024 11:46:31 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-24015-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=jVrfh2eI; spf=pass (google.com: domain of linux-kernel+bounces-24015-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-24015-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 1553C1C23E6C for ; Thu, 11 Jan 2024 19:46:31 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id DCCD956741; Thu, 11 Jan 2024 19:46:23 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="jVrfh2eI" Received: from mail-yb1-f169.google.com (mail-yb1-f169.google.com [209.85.219.169]) (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 9062C52F9F for ; Thu, 11 Jan 2024 19:46:20 +0000 (UTC) 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-yb1-f169.google.com with SMTP id 3f1490d57ef6-d9b9adaf291so4199024276.1 for ; Thu, 11 Jan 2024 11:46:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1705002379; x=1705607179; 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=QAi2GDQ+ThdQ1lT7Cr2g77YBh1JVwDL9p52yhtkQlNo=; b=jVrfh2eIfKUdq1E/b3tnplpCL7xWlTRv+kslpwK32KG7qYz3NKoKPIBJRUzq4Q9vwS ItqcvepuwkUipMhL/N64VaRQtKdc3+1Xebvmw6gLmmVfM7u7QFFNZYyw7dhhiMLCAi2Q TUxxDe+3R/QHRE4j0igvqWeArlkK3I5VCCy6rZ800fGpt1sSzX0IZHnnFekFqtOAKBi9 RwEhgvtRJqskEiiw6WWju3iZMm+/Nwp+6mL2Ttq5mrNShAjSGl+oDntsWACuvJtTXeL5 72GTHDInGV7Qah5qsTiYhbwhj5VfphHU8DNGcnNF72GPW322wV2AT2IS0MszH2g2iuZw gD9Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1705002379; x=1705607179; 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=QAi2GDQ+ThdQ1lT7Cr2g77YBh1JVwDL9p52yhtkQlNo=; b=iOpG4gvZLEl176/61dKUqZ4EWvlki2uMUYoSCD8FuT/2rjQpRDQ9535fet1qi7ZoYT PYVtT4lOyaTnPTfn7XL4YvOtfiD4cF5POdzrF0EUCpZVuGmhqJyEQEMBi4yKe31tgiqF JcArN/CepKpkit/PP5XmZFOOtGbr3UTzoCJZ5Xf99L/aoxrswAruV9oiuU+4ZFZtKPgC ga42vbIf8pSbjmPVMOGnz6H3ELRcy+QE1klst0QE4l80xdW4Fmcq8s/XhvGgdaQGWEny pz6g6aJr9IMgivMtRLDjfumfGa9nEmGPX95/W8wVLM2USWKG/KmGZcud3GIBB1nMbE3E fOSw== X-Gm-Message-State: AOJu0YwmXXXvXKeIHs8/PIyCV4pGLga/ghOVFSe1qeWU7ofZ3Q4K7ew3 w+257zVUCQUnsAzKDowyr/h3yFGhlobZwd2/XW29e6qIdAoLrQ== X-Received: by 2002:a25:74c8:0:b0:dbd:b419:1ca6 with SMTP id p191-20020a2574c8000000b00dbdb4191ca6mr133118ybc.82.1705002379332; Thu, 11 Jan 2024 11:46:19 -0800 (PST) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20240111150429.681567-1-martin@kaiser.cx> In-Reply-To: <20240111150429.681567-1-martin@kaiser.cx> From: Linus Walleij Date: Thu, 11 Jan 2024 20:46:07 +0100 Message-ID: Subject: Re: [PATCH] gpio: vf610: allow disabling the vf610 driver To: Martin Kaiser Cc: Bartosz Golaszewski , Peng Fan , linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Thu, Jan 11, 2024 at 4:05=E2=80=AFPM Martin Kaiser wr= ote: > 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. i.MX chips other than SOC_VF610 can now > enable the driver from their board config. > > Fixes: 30a35c07d9e9 ("gpio: vf610: drop the SOC_VF610 dependency for GPIO= _VF610") > Signed-off-by: Martin Kaiser Reviewed-by: Linus Walleij Yours, Linus Walleij