Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp2513430pxa; Mon, 17 Aug 2020 11:30:12 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx46f4ZxUkrYIF046S9FLByPxu73Vi7jU+xYXN2sBRIWF4WM2zYWLiAzWNOsuURwuiRLgco X-Received: by 2002:a17:906:a88b:: with SMTP id ha11mr16140229ejb.545.1597689012629; Mon, 17 Aug 2020 11:30:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1597689012; cv=none; d=google.com; s=arc-20160816; b=YOxP2pIhUKvPKHam7m0Us3x2TgAC1SBNtVT1aACVR1HYOZbP8HPMA7Z7LWppZ9lxFz 6DmyFlsGsNDs+1LkvnGdRpCoUgwjUrqFJFFiQcB2a1n+ZvSOkBns07iu7dYEeyuYTAIY 7JCsHz5PrvQaMqJbO8zkt4roG+pzfHP1GY3vxBxcoa1uz8szDobTmXXx3xDqsvIwCW4l n+24ouAcKsYOxaA5DAA1o8Q5yu5mALQUBPI3D3ZwPsYSA+ATTORey0d0UHIFY/9HOUt0 P7BBqpLwCLC/0O8TpAjYfhVE46m0sFZgJqFrMZqYzq2N/OkUlgG95JVjIJG2DBWK7jre B6JA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=ze/Fp2bEpwKS0D9hQT11IEgTLHA/U4BtBRsUXbpJDzw=; b=EOxe/WnsF2CsZnOBKZmzGmH0O05J+VdjH4vCm707AxKJ5/8av5a6WKftVBmdSJsK4b Z2UUjmsnWqzXcbyR+ks1vHexwhPthvDpC3C3ibqKnGS9UGM30EhRW7yfYTKhC8SaXiZx 2qcDjNvx+jmXUnvDGfiSg8mkSXqVxz0PB4wucUnoZCAReTO3eoLbN9c+wzT4p3G8c6LH hPq8wGfS/EfEUneEyAfasj6IXg7xn6xLymVn92oFQGXqkEsvU/btnIcIsq9CcAEt4AOv 4FIimbjjwGHYOejVNaNpDEFG4zl4Qt0j4tOhKVDvIY/SuOojf79uHmKMRx/xDpYQ24kL 1Rzw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@lechnology.com header.s=default header.b=hUOEEO0p; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id t21si11589461edi.213.2020.08.17.11.29.49; Mon, 17 Aug 2020 11:30:12 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=fail header.i=@lechnology.com header.s=default header.b=hUOEEO0p; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2390595AbgHQS0G (ORCPT + 99 others); Mon, 17 Aug 2020 14:26:06 -0400 Received: from vern.gendns.com ([98.142.107.122]:44834 "EHLO vern.gendns.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2390893AbgHQSZu (ORCPT ); Mon, 17 Aug 2020 14:25:50 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lechnology.com; s=default; h=Content-Transfer-Encoding:Content-Type: In-Reply-To:MIME-Version:Date:Message-ID:From:References:Cc:To:Subject:Sender :Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=ze/Fp2bEpwKS0D9hQT11IEgTLHA/U4BtBRsUXbpJDzw=; b=hUOEEO0pBh6USLjb3wUcU7dmJ5 NTOn7l7umnSmy9ivG4IgvlD3g2YSwGVz4aItNZTyKLAIPOygQvs06lPjhAFblIRvmXfHmtrIE6szG Zkq409nojD8P1KSuIJX/LJeLfO8/X82EM91pvuzsyU5lugzgkPwZkecPrrvnzawI2U6DbvYI5TZvi 0AWzSkE3GYALchMBbPwjk0WxuXkBuioJ+xe/VhnWNpnYZOct76FhUTwUcDEaESyrnqnGEysRiveKD XdFvkVl/dZFeXUulybWzbbIFi4AmRGts8gbjAFk7QdiaJo5pGREiSvx0kk/Fxcs3Y9G0MD5akqBJf 3FVSWpLA==; Received: from 108-198-5-147.lightspeed.okcbok.sbcglobal.net ([108.198.5.147]:39396 helo=[192.168.0.134]) by vern.gendns.com with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.93) (envelope-from ) id 1k7jpK-0006y6-Eb; Mon, 17 Aug 2020 14:25:46 -0400 Subject: Re: [PATCH] power: supply: Add dependency to lego-ev3-battery Kconfig options To: Alex Dewar Cc: Sebastian Reichel , linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, Sekhar Nori , Bartosz Go??aszewski References: <20200809185444.54247-1-alex.dewar90@gmail.com> <20200812133711.ddwhxypmvr27pxdu@lenovo-laptop> <20200812190253.zewvdfvyu6cnggcl@lenovo-laptop> <0927eaf0-62d6-adaf-c4b0-89d7f4cc7b4a@lechnology.com> <20200817174344.lxuzlly4it5vpfmz@lenovo-laptop> From: David Lechner Message-ID: Date: Mon, 17 Aug 2020 13:25:45 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: <20200817174344.lxuzlly4it5vpfmz@lenovo-laptop> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - vern.gendns.com X-AntiAbuse: Original Domain - vger.kernel.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - lechnology.com X-Get-Message-Sender-Via: vern.gendns.com: authenticated_id: davidmain+lechnology.com/only user confirmed/virtual account not confirmed X-Authenticated-Sender: vern.gendns.com: davidmain@lechnology.com X-Source: X-Source-Args: X-Source-Dir: Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 8/17/20 12:43 PM, Alex Dewar wrote: > On Wed, Aug 12, 2020 at 02:12:57PM -0500, David Lechner wrote: >> On 8/12/20 2:02 PM, Alex Dewar wrote: >>> On Wed, Aug 12, 2020 at 10:24:30AM -0500, David Lechner wrote: >>>> On 8/12/20 8:37 AM, Alex Dewar wrote: >>>>> On Tue, Aug 11, 2020 at 09:24:10AM -0500, David Lechner wrote: >>>>>> On 8/9/20 1:54 PM, Alex Dewar wrote: >>>>>>> This battery appears only to be used by a single board (DA850), so it >>>>>>> makes sense to add this to the Kconfig file so that users don't build >>>>>>> the module unnecessarily. It currently seems to be built for the x86 >>>>>>> Arch Linux kernel where it's probably not doing much good. >>>>>> >>>>>> It would probably also make sense to add "default n" since it only >>>>>> applies to one board in the entire arch. >>>>> >>>>> Ah ok. That makes sense. Would you like me to send a follow-on patch for >>>>> this? >>>> >>>> You can just send a v2 patch that includes the change below and the >>>> additional change. >>> >>> I've just had a look at the documentation[1] and it seems that as there's >>> no "default y" there it'll default to n anyway. Have I got that right? >>> >>> [1] https://www.kernel.org/doc/html/latest/kbuild/kconfig-language.html#menu-attributes >>> >> >> Yes, that seems right. That makes me wonder why this would have been enabled in >> the Arch Linux kernel for x86 then. > > Not sure, maybe the Arch devs like Lego? ;-) > > Are you happy to give an Acked-by for this anyhoo? Yup. Acked-by: David Lechner > > @Sebastian, are you happy to pick up this patch? > > Best, > Alex >