Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp2486770pxa; Mon, 17 Aug 2020 10:47:31 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwSyjh1X9sOcZ0jV/FgZHwewBl+bNIVRl1A7E973gC71PdCs4Xz/uF/P5+tZWBp2b//2vwh X-Received: by 2002:a50:d75e:: with SMTP id i30mr16670142edj.246.1597686451368; Mon, 17 Aug 2020 10:47:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1597686451; cv=none; d=google.com; s=arc-20160816; b=dJl8IkKJmdEP0qprm9zw7e1sw4rSrRBcavIhtCmN7KTweH+xJR0FctSXyZr/uVreqy xMELEJhkdlEJhlvzHmN129rrgOZgIN+Vzo1G37T/S2SSCJUxSHo+q3tns55vvMw+m28N BaF2h8IocInfQfzsE4CGuHAAlHocGib+wuwTOJuntkltDkoytnV16+kkS/xjWBCtadyG CZTlpBrcn9Fg+2iJglQzXXg8pC03QbJaSACuozbzGny78oiSfhMzyJvycL86jfnqy0Gj cr5KRms7GL6iRFcA1Abftn/wYraMOVGRrDnvOahIoVdJNlf2j8m1M8FZC/d+qp2bFpi0 Nb4A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:date:from :dkim-signature; bh=HFsbrpQA/6K/m6r64TJHx6ZpqfJgPOgySDUCEdnMbUs=; b=zjCtehp6zCa7UUsFgkBEpGH6nTBs9l6wH12X2RRk//iQETBVK+GJFmaBj+KV+msR/9 xjI7XrhrQC/QBlgI3UbKkEr0F8vrTxoo5GKOnLG6sjgrXHRD95w9AnbMF//AFDbrWzFo hqAyQL1pQakfOKiutLzeSIkNtGKgPuVriNmQRwQxOJGmkgQgFFNzpl+l28bAS2ZD+r1J STkRg1kKT74uaHwwT8F1M2C7KTHdGXZ3aVNk/UV80f9u+UWXVu+5+P79CIC4GO38ayex KY6n/PCOgeL24I/gsKkBJrvQaN4hUjfrKXn7cqf1XI/wLPomTbnZUCWURZbOCf1FDnTo WoEw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=BEVJDvx4; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id ox11si11412508ejb.727.2020.08.17.10.47.08; Mon, 17 Aug 2020 10:47:31 -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=pass header.i=@gmail.com header.s=20161025 header.b=BEVJDvx4; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388992AbgHQRn4 (ORCPT + 99 others); Mon, 17 Aug 2020 13:43:56 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54684 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2389020AbgHQRns (ORCPT ); Mon, 17 Aug 2020 13:43:48 -0400 Received: from mail-wm1-x343.google.com (mail-wm1-x343.google.com [IPv6:2a00:1450:4864:20::343]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 99461C061389; Mon, 17 Aug 2020 10:43:48 -0700 (PDT) Received: by mail-wm1-x343.google.com with SMTP id x5so13949493wmi.2; Mon, 17 Aug 2020 10:43:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:date:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=HFsbrpQA/6K/m6r64TJHx6ZpqfJgPOgySDUCEdnMbUs=; b=BEVJDvx4JugvWQ1LtNcvyOtVSVOmLiagYyaUL4nRagGU9m0FqRjQngHvQ+WqZu1gpN G/6e3/WToUY711n0lcpG6utJKT4+1ge+FKcETxwVdq8SwEXmmWFJA5dF/7jhjYLYBrpG s9pk+O6sE35yNH8cZFSwElKy6xPNP11BZZIHzGrsN4DopoNUVdZtIp8mEMVZ85ZDDvzD hdWV4V9hlZNZxt1k833BuryAlMT2pqX/UEbCoSstqGFxgYX0hQXnfmxyvyYKjUe3uWz3 AUy9/GH+rZixjDs9WNrEKmcvmJOO4+8BJx3do2iJzZ3GLCbrpUcPRo1Ggqo+zowb/8BE ANMA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:date:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=HFsbrpQA/6K/m6r64TJHx6ZpqfJgPOgySDUCEdnMbUs=; b=LuGTfsvtC+Z1EaJL5ODbGrNibIZwnZzuMl+XAFSANSMWMsx6+swTbqEg7MzLgJZ7bY E3Hu7fdeJHMUud8lfDY/nTIiYuyBJEHqN8Dxl4FzzHsh3cb/5wgd5XZOf2sLUv7ojdvT nTovuRT59CHyqwAx1MJoDZIT+6asx3bOujFzwURkZGeByqNatN0XNZ/2iixxbemZZtee YNjFX5D2/0RAUgEoQjJS2+k3UasVoVe1YjW9t9QZlthKFBXC63vy3zP49sJ9B7Cx8RMg Yml01QSAG0O78drOKisKlLCkJK9NUKExrB3BgnlP5CniAIV9Pm0C6JghtjsiHdhO9G6Y ncxA== X-Gm-Message-State: AOAM533dMbWWspZsHtQShfvqWvIPJ0o0Y2/mtbV2c/161HUn5UTYje/j RAXqmxS4KkEeE0P+DQmt4X8= X-Received: by 2002:a1c:3b89:: with SMTP id i131mr15545485wma.30.1597686227372; Mon, 17 Aug 2020 10:43:47 -0700 (PDT) Received: from lenovo-laptop (cpc83661-brig20-2-0-cust443.3-3.cable.virginm.net. [82.28.105.188]) by smtp.gmail.com with ESMTPSA id a10sm31312236wro.35.2020.08.17.10.43.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 17 Aug 2020 10:43:46 -0700 (PDT) From: Alex Dewar X-Google-Original-From: Alex Dewar Date: Mon, 17 Aug 2020 18:43:44 +0100 To: David Lechner Cc: Alex Dewar , Sebastian Reichel , linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, Sekhar Nori , Bartosz Go??aszewski Subject: Re: [PATCH] power: supply: Add dependency to lego-ev3-battery Kconfig options Message-ID: <20200817174344.lxuzlly4it5vpfmz@lenovo-laptop> References: <20200809185444.54247-1-alex.dewar90@gmail.com> <20200812133711.ddwhxypmvr27pxdu@lenovo-laptop> <20200812190253.zewvdfvyu6cnggcl@lenovo-laptop> <0927eaf0-62d6-adaf-c4b0-89d7f4cc7b4a@lechnology.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <0927eaf0-62d6-adaf-c4b0-89d7f4cc7b4a@lechnology.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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? @Sebastian, are you happy to pick up this patch? Best, Alex