Received: by 2002:a05:7412:bb8d:b0:d7:7d3a:4fe2 with SMTP id js13csp1136585rdb; Wed, 16 Aug 2023 02:54:24 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFYciaWyiU87QaMcKtmj2RPSiM6urTHSK4ijK4mER6rBn/ARrCRTn0KaqOZ5ELgfeolYjLX X-Received: by 2002:a17:907:7855:b0:993:d632:2c3 with SMTP id lb21-20020a170907785500b00993d63202c3mr1838137ejc.21.1692179664454; Wed, 16 Aug 2023 02:54:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1692179664; cv=none; d=google.com; s=arc-20160816; b=FHY+UwZ/8yyC631iJWzNJZd8CcGZIudrd508iYQY/laV87Tv50i+phbxdkGI1dXIB5 ilIbV1MXhmpBjZwqZ+dEiFiL1IAGR9vZYeCkgMhH3icjgNoq5eE1/Z9yHjppxrO3ECTX uDk3jZhqkQ2nzjeBL4TDQnJRykmjUWZzWQkP/786eJl1AdvxNU7nI33AJ7pBujOTTFoW 0U1fP67nKZnOKfitOZBkHO8nhvo4RoDl58we2Hj7okfXeE+QAWERRrQuQ+OpTH+RI1Lr TV6+fLgSsmFgm68Iyoi/nzultEnXjTV8HTl8on2te07BMjEKlT3jXv+e7KIx1RRdmhtf XP1w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version; bh=D9eow44psCHjqVxOekQdhcvrnG+ABkk529FAq0kaV+E=; fh=65V/MIDBPxqGKzYdfL1Y1Phw+VgGrvM1xKL6uzJvIvY=; b=NVUQutkGgjJ6aR9mxkfqtcV7i4sCjSSwd5uD0xbIDKUYJ8MQaENxm+VdcOakRci4q9 oraw1HAbFgSrQjHE+45lfFNBT4VNJR/JwK5DWvfojF01fQHrqtmTHQnau5Wr/b6SiWQz ceWyM+dHPs8r6tfpmtxJ3hSzON/A6fi4l1IionoGYFhWMuOe7fhfBFblmaBJE3zeQ12y LUiXcXbVx3ZGLP1pVJMhF0Q6c4ZJszTWcUr5L0UVgKyis2uw/iUPSIO1TYRZuTTJrygD 2IewLhOtkoqZI6RY3H3dCx+XTaqnXbpfib9G+gx+0gSKUmtWT98jYyCor8U9wRlpwsma svrw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id z24-20020a1709064e1800b00992feae3848si10664325eju.38.2023.08.16.02.53.59; Wed, 16 Aug 2023 02:54:24 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S242820AbjHPISE convert rfc822-to-8bit (ORCPT + 99 others); Wed, 16 Aug 2023 04:18:04 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55290 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S242815AbjHPIRl (ORCPT ); Wed, 16 Aug 2023 04:17:41 -0400 Received: from mail-yb1-f172.google.com (mail-yb1-f172.google.com [209.85.219.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 48EE5EE; Wed, 16 Aug 2023 01:17:40 -0700 (PDT) Received: by mail-yb1-f172.google.com with SMTP id 3f1490d57ef6-d3d729a08e4so5962554276.3; Wed, 16 Aug 2023 01:17:40 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1692173859; x=1692778659; 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=ESkmRThEK2MchFSExrknLIvAqB3viLgPmFCCHLR0kO8=; b=JKh99PyYmpZeyEzht0IWaQyjzt4SUmH7VxROsZIYqJAYXL5vzhucicviTJGUgxL1vv y+yUntYPPGwvkTl6Aa6ChA7laCTJY5mk2BWKg08kuSLUlJhRmOjhFzlb9ReqEIaxMMn+ g4b5LkVwvuwvYihAc4gjW7doYBwBD+/goJcWVLId7vYLIkDhrFFWxjpzNWOot09i2tin +jjhCflQZcwh2hY+qamAqch9SdTX6tm9RWZmSE4pTePjfUrXD3Fg1y+G5EPSJQwrbRS0 c/Yc+fY+mxZV40+8InSceCnJN10SXcSaEY1OPkMXKTI0+8wfCHvQI3bXlU8Jg4wyTOTJ r6aQ== X-Gm-Message-State: AOJu0YzpJO0ZKCwKJ290Xy8ZYwiBEnTmp33FpzHdZ5wVW98JOz0qr+e1 iB5KWnctHBxBQrqf/MoY8fhRcD3eR3XiTQ== X-Received: by 2002:a25:cf0e:0:b0:d07:e343:1cf0 with SMTP id f14-20020a25cf0e000000b00d07e3431cf0mr1166730ybg.8.1692173859278; Wed, 16 Aug 2023 01:17:39 -0700 (PDT) Received: from mail-yb1-f182.google.com (mail-yb1-f182.google.com. [209.85.219.182]) by smtp.gmail.com with ESMTPSA id e191-20020a2537c8000000b00d071631665fsm3372319yba.59.2023.08.16.01.17.38 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 16 Aug 2023 01:17:38 -0700 (PDT) Received: by mail-yb1-f182.google.com with SMTP id 3f1490d57ef6-d3d729a08e4so5962538276.3; Wed, 16 Aug 2023 01:17:38 -0700 (PDT) X-Received: by 2002:a25:cc0d:0:b0:d3c:2cb2:f678 with SMTP id l13-20020a25cc0d000000b00d3c2cb2f678mr1001926ybf.64.1692173858196; Wed, 16 Aug 2023 01:17:38 -0700 (PDT) MIME-Version: 1.0 References: <588d302477cb7e6b30b52ee6448807324c57b88a.1692113321.git.geert+renesas@glider.be> <94dd2237-2a4a-fb45-ceb1-f224fafd4e36@ideasonboard.com> In-Reply-To: <94dd2237-2a4a-fb45-ceb1-f224fafd4e36@ideasonboard.com> From: Geert Uytterhoeven Date: Wed, 16 Aug 2023 10:17:26 +0200 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH] i2c: Make I2C_ATR invisible To: Tomi Valkeinen Cc: Wolfram Sang , Sakari Ailus , Andy Shevchenko , Luca Ceresoli , linux-i2c@vger.kernel.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8BIT X-Spam-Status: No, score=-1.4 required=5.0 tests=BAYES_00, FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS, RCVD_IN_DNSWL_BLOCKED,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Tomi, On Tue, Aug 15, 2023 at 6:00 PM Tomi Valkeinen wrote: > On 15/08/2023 18:29, Geert Uytterhoeven wrote: > > I2C Address Translator (ATR) support is not a stand-alone driver, but a > > library. All of its users select I2C_ATR. Hence there is no need for > > the user to enable this symbol manually, except when compile-testing. > > > > Fixes: a076a860acae77bb ("media: i2c: add I2C Address Translator (ATR) support") > > Signed-off-by: Geert Uytterhoeven > > --- > > Do we care yet about out-of-tree drivers that need this functionality? > > --- > > drivers/i2c/Kconfig | 2 +- > > 1 file changed, 1 insertion(+), 1 deletion(-) > > > > diff --git a/drivers/i2c/Kconfig b/drivers/i2c/Kconfig > > index c6d1a345ea6d8aee..9388823bb0bb960c 100644 > > --- a/drivers/i2c/Kconfig > > +++ b/drivers/i2c/Kconfig > > @@ -72,7 +72,7 @@ config I2C_MUX > > source "drivers/i2c/muxes/Kconfig" > > > > config I2C_ATR > > - tristate "I2C Address Translator (ATR) support" > > + tristate "I2C Address Translator (ATR) support" if COMPILE_TEST > > help > > Enable support for I2C Address Translator (ATR) chips. > > > > Isn't this normally done with just "tristate", without the text? Is > there a need to make configs manually selectable when compile-test is > enabled? "tristate" without the text would make the symbol invisible, too. However, then the user has no way to enable it for compile-testing (unless also enabling one of the symbols that select it, which may not be possible due to other dependencies). Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds