Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp744302pxa; Wed, 12 Aug 2020 12:18:26 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzoCsaCqjalsSClVBcc12ug40h0jRZ0mL9PytIRtLZ+sb4WUUFP5sWYpqN2rK95zSO8vnq3 X-Received: by 2002:a17:906:cc48:: with SMTP id mm8mr1398675ejb.292.1597259906565; Wed, 12 Aug 2020 12:18:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1597259906; cv=none; d=google.com; s=arc-20160816; b=D/Ut5XeHoz1wOBji23gsTi+yh5mMtoidqu9xXW3FPj4LLqdPXjy0RoiMl3AxM7CbUw 53Mixr7WSCkJvIrU4eY/AWF2LoCoI3d0ioL5RA8qzeZqAYSFbJLFPl6ctufyIfc0ssfi +WytT2EvCsEnHghnQQnwL0zmWXB/JN2k4PZPOL8SaBXm/j58nsUS/e+zFCTqhEwqs057 JlqeXmHmSotqY7fmqz1tJ7yunYkbK1jOELEYCR95kHpx/3t5j30crHtUrPqB6NOXxcLN eZpccLGS57VQ8W3cyyzbji6anTxY4iBy7QcFmz+x1sSlNT7Y+2Icle5FpcmiJnahXZsw AJKg== 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=qM5nPDBhBvPAsBEzD4c5quUlPti/t71UOuDeVlipCnk=; b=OwrHULnHUnI3wVdwEVOHQiOeXkEaAsJ/6UkP4aFOMbtVxkBAVOewKKYVlvTSWi3vNo Gx+Iw2h2Sczf3BhutdqUk9eTn6vjKkc0R1iYTqP7sIhHkvrBT1F6xDs5pg+7JgQVqONM QogsyOw1SuJXAuj33QCPjsf0zLceFeNA6M+baw5mZypZtYAaK7Ri4qTuGHjLeEfB2B1s 2ghAbCnzSuXLbajonaMOh/PXZj/3Qe9iuKHmm2ywNskdPoTC6Ba63eKOZPbz+MR+EY2F y9jIJu3z9IYfm8v3Cxg6XhwazFz7iWy0kYOKzvrwYHFgFz8zSlg6INqRkSoqzx232rhR ZJaw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@lechnology.com header.s=default header.b="yBZ/lJsm"; 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 i6si1832910ejc.494.2020.08.12.12.16.54; Wed, 12 Aug 2020 12:18:26 -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="yBZ/lJsm"; 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 S1726531AbgHLTNB (ORCPT + 99 others); Wed, 12 Aug 2020 15:13:01 -0400 Received: from vern.gendns.com ([98.142.107.122]:33598 "EHLO vern.gendns.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726456AbgHLTNB (ORCPT ); Wed, 12 Aug 2020 15:13:01 -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=qM5nPDBhBvPAsBEzD4c5quUlPti/t71UOuDeVlipCnk=; b=yBZ/lJsmAhiQfmQmFQIEb+kyby zSVg2C/e6xITeR5yuLQq4dJPj10q3mXtqhetnbdZv6TnvOq0ZEhQdV4XMSqriFpA4Pg+rPXEP62Ar zoY4yuXBq9V8Wu33TgCRzJ8pacTa3fDcE8TPcSlGaOZU8sidQKYDRMz9b4ck1eljH0fC3xspbgAe0 cKJ+jfNzJNU3cCScCelc+QL3j6buDMzsjCuTmZVsTDqA15qBpguRwom+i+bUFi35OhTMcWvyXYA6Y iht3rpzso0bjtyrr6ha92pSh6odhuTQTGetN5aHyj8VvZb1IVUtbuVX4LC4BQb3uDSwPJERtP6BKi eefhZqBQ==; Received: from [2600:1700:4830:165f::19e] (port=36036) by vern.gendns.com with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.93) (envelope-from ) id 1k5wBG-0008ER-Iu; Wed, 12 Aug 2020 15:12:58 -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> From: David Lechner Message-ID: <0927eaf0-62d6-adaf-c4b0-89d7f4cc7b4a@lechnology.com> Date: Wed, 12 Aug 2020 14:12:57 -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: <20200812190253.zewvdfvyu6cnggcl@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/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.