Received: by 2002:a05:7412:5112:b0:fa:6e18:a558 with SMTP id fm18csp47225rdb; Mon, 22 Jan 2024 11:26:08 -0800 (PST) X-Google-Smtp-Source: AGHT+IFs71DWnJFeXwcT0ngnXWQuvbywChNm/cxOim1H0OKH5W6+pPMn/1ocNTeGwESKYWdc+HQ2 X-Received: by 2002:a17:902:eac2:b0:1d6:f16b:a30e with SMTP id p2-20020a170902eac200b001d6f16ba30emr5361646pld.5.1705951568219; Mon, 22 Jan 2024 11:26:08 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1705951568; cv=pass; d=google.com; s=arc-20160816; b=fmxpdx1KzXm6+j3u44vgQhzUnjBFzs2p0EMRbAEv1LPIWfkr180fl0KRL5v+RhU+pj DeFJCZr4L7v1kP/N3POHn5GTk/qRwV2+48IMl4BHSRM9mSKIvmdb3Vsrs5dTmc8pYepL ObzG2BAZEZPVs0Z4a8++6aGXYqxLBmGEBCVKJK4jLnXWPliK4cbVQ5jZ/+i4DVdXJPzO +/nd87GyAvp8jAQIBqg/FCL1ZfP+z7D3BP6eMiMhsBIXcmqRrg3OH1wTHX6Wb0Hd73Tu N6fu7WMe5EV1pfjVmpedgiqnfR5hpHjEjupP/bk6ciloITIl8FecL1MxjtxAqZnv+t2F w+cQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :references:message-id:subject:cc:to:from:date:dkim-signature; bh=sYGuiuUN/VCPpW9oWOQ4p73+grZOykVwihNpjjDuv0Q=; fh=wLNDIKLUXy3LdP6/Dufl35YYrvLlI1Uly1gGxHzDebY=; b=JPkodUB/P5fnyppiKKpEBMdiUld7QwzH69If4qo6bxqMWX6texqftP64qgHTJxqfMW tofjlfi9D8IZZS4D3npkHnlm+uycqZc7FTJCZNUtgLIMfJmTs6NoaTszfc6e0UiX1D2r +DYCuS9dcnG8IzKE6EtuuNzhoPAOpt7lJSeLl/344pLnKD5BTAz/fNBc6xgEslbWKvK+ FuN+k6svBDIHs9mNiKZiLFqM5CoNjJAJUiNjWyxUGoWzWxfjGKudihSllQ0A51XqBQ+h uB57DAXRkAjyahqHzPX1JphKdSDCDN3YjgNt0EhexFzhmDJuDMkjGivkK11QLEm0z7oM GzBg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=F3SK6Tjl; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-33868-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-33868-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id j10-20020a170902690a00b001d453cffb92si8229362plk.620.2024.01.22.11.26.07 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 22 Jan 2024 11:26:08 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-33868-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=F3SK6Tjl; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-33868-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-33868-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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 2CB37B29F26 for ; Mon, 22 Jan 2024 18:23:04 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 3FAF04CB5F; Mon, 22 Jan 2024 17:50:38 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="F3SK6Tjl" Received: from mail-wr1-f42.google.com (mail-wr1-f42.google.com [209.85.221.42]) (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 DC06E3D57C for ; Mon, 22 Jan 2024 17:50:35 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.42 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705945837; cv=none; b=DIRY7AH2Q/3gIJ7QdsBo0BKDjrLJDNVlI1DGPJD1ISHPFqcbm8DTmhOXIcvWm/OLgg0dqUlI85Okt01IZa9Xdi+MPxallTcA4f+wM+6bQBimjsbqvv33RIyKh2sRcsQuAZ+JGRRiqeLy8Ed8vftucm8vJr0qs9+xWH9dQ5ailmQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705945837; c=relaxed/simple; bh=xLPMMOi9U5aA2QOUyNYRwdev7zD4A+KnUqD+T4+EA/Y=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=K4B589bBKi5jJz4OnS0cpIayZ77SyGxsnL3D3MUkTWc1z7sXywTuR4MPyHnZzXO5nmweq/0+zC+S7QjOZQG6Ln/lmlocNAonEcsoJXcP6IP/otCopF3dHrnGSuGylOhH1i5VpO0KJ7pGEwb87PqZOinkpcfiARC9xMeXhOA9kWk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=F3SK6Tjl; arc=none smtp.client-ip=209.85.221.42 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-wr1-f42.google.com with SMTP id ffacd0b85a97d-3367a304091so3816839f8f.3 for ; Mon, 22 Jan 2024 09:50:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1705945834; x=1706550634; darn=vger.kernel.org; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:cc:to:from:date:from:to :cc:subject:date:message-id:reply-to; bh=sYGuiuUN/VCPpW9oWOQ4p73+grZOykVwihNpjjDuv0Q=; b=F3SK6TjlNfQnBS4iXAAc0b9u8u04WFz0BR17agbw8LPd7czINCOtAvlubBLCcdN8SN Iptkxj8v2kLA1hD8xExxhw//T+icNkTpoyiLV3tbzGANVQY8vtzflRJ4r49vQ/iL+d/C T2e6K3UOUeJl3D94hie4a2pHfJb0Lp+CWygjk7wPIWElGw2A0AZMOntSoFSLLEXc9IVc LPDmA5F2W5g9kOfjmr+DYpXc9hKbpTnEN5jQ649bqx64YApBYnLYKZBdI/3OFrstB2jA HJgRegE0xklM7YWjyHkSVYILVlofiME+Pzn1sqc4YipxIbM57oRgigJtixgInp/J21m4 vVnw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1705945834; x=1706550634; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=sYGuiuUN/VCPpW9oWOQ4p73+grZOykVwihNpjjDuv0Q=; b=mjUGhs0B/8jV3ssB/1GRgO9N+bLLSKd0Q+GiVEd3Pf0UCqz2nZSjdFnq52clry4JHP TUdKuKS99L8AJHtINDKZIL+f84Rl+I9wp/SsdEMZ7ZY6PR6sCCaMAgSTJRuZQGyp8NB3 +fBs/AOT3G/udKOWU0M2p++to653jfTYZq5un0FrmcpZ9+mmE9rOH3pgTh/l7r5jgu9v WZ/nEcBT3CgMqj6k8ajBn8p+XzjC/IG+1zkBfPM6ap/OvemqJBg4O8RZehuV2jzv5aHX BhaaQ/glzsofqG/k7SeKU9kZTNY6CcpZrchtdNlM1FJxMSYw0sqFcu47ZzXLlE1RHNlH f88A== X-Gm-Message-State: AOJu0YziQbQLMvhGLyKzPe00WUHv+T0N5RFZk6R/aFJxcmvdtw/Az0+Q BV2NgRMxHt3fIFuhnW0KiN4FOra50FqwH6vf751FNu1lR1DB2gMuwPcSRoqrRzNhnsgox5ttY1/ yq6M= X-Received: by 2002:adf:a199:0:b0:337:bdf2:26fe with SMTP id u25-20020adfa199000000b00337bdf226femr2086857wru.161.1705945834114; Mon, 22 Jan 2024 09:50:34 -0800 (PST) Received: from aspen.lan (aztw-34-b2-v4wan-166919-cust780.vm26.cable.virginm.net. [82.37.195.13]) by smtp.gmail.com with ESMTPSA id s15-20020a5d6a8f000000b00336898daceasm11996072wru.96.2024.01.22.09.50.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 22 Jan 2024 09:50:33 -0800 (PST) Date: Mon, 22 Jan 2024 17:50:31 +0000 From: Daniel Thompson To: Duje =?utf-8?Q?Mihanovi=C4=87?= Cc: Lee Jones , Jingoo Han , Pavel Machek , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Helge Deller , Linus Walleij , Karel Balej , ~postmarketos/upstreaming@lists.sr.ht, phone-devel@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-leds@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-fbdev@vger.kernel.org Subject: Re: [PATCH v3 1/3] leds: ktd2692: move ExpressWire code to library Message-ID: <20240122175031.GC8815@aspen.lan> References: <20240120-ktd2801-v3-0-fe2cbafffb21@skole.hr> <20240122165011.GA8815@aspen.lan> <23373359.6Emhk5qWAg@radijator> <3603320.R56niFO833@radijator> 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=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <3603320.R56niFO833@radijator> On Mon, Jan 22, 2024 at 06:26:04PM +0100, Duje Mihanović wrote: > On Monday, January 22, 2024 5:57:53 PM CET Duje Mihanović wrote: > > On Monday, January 22, 2024 5:50:11 PM CET Daniel Thompson wrote: > > > AFAICT nothing will inhibit setting GPIOLIB so allyes- and allmodconfig > > > builds will always end up with GPIOLIB enabled. If we are happy to > > > select it then I think that is enough! > > > > In that case I guess I'll just make it select GPIOLIB. > > Nevermind that, it'll have to be 'depends on' after all: > > drivers/gpio/Kconfig:6:error: recursive dependency detected! > drivers/gpio/Kconfig:6: symbol GPIOLIB is selected by LEDS_EXPRESSWIRE > drivers/leds/Kconfig:184: symbol LEDS_EXPRESSWIRE depends on NEW_LEDS Can this dependency could be broken by declaring LEDS_EXPRESSWIRE at the top (or bottom) of the KConfig file (it's an option without a UI and does not need to be within the if NEW_LEDS block). I'm aware this kind of change could provoke an argument about which sub-system the expresswire code should live in... but I think it's a worthwhile change anyway! We shouldn't need NEW_LEDS for this. Daniel.