Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp1606937rwi; Mon, 10 Oct 2022 19:57:50 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5O/7g5tTvF7qbkvy7KZ21Ar3a/ZPu8g5yKD0gcSjfsjeKO4arj0FuFdvPTCMKZ3Qcptj4L X-Received: by 2002:a17:90b:1c06:b0:20a:f070:9f3c with SMTP id oc6-20020a17090b1c0600b0020af0709f3cmr24461187pjb.151.1665457069879; Mon, 10 Oct 2022 19:57:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1665457069; cv=none; d=google.com; s=arc-20160816; b=teYLlSqD8/a0GaWUx8hbPgnFEAYXJ3hTLsIifk+Nl3f5ZQv8a09lqi0dsKEr7Ksw/z pCEYK08QQ3+KUjkoHE0PmBQRp8o4MbFM0cfmjRtr7ExaDdZ6r9fexvrjw7Q7fdC/EX/V uOFTRJ7Lzqvddvb0HgNjHNT8Xy0I/lYJJkrStG3YXLKijpUNtYQDfhwyQAxhmFqpyQqn RasNXMqzv/5N2ddGcULnvKOAkdeeg8vDLYp+3SEW5Wln+gRkdQ3zlMpcpBoLiAUUPrhf CKrSTMO9OAFo0QjIOuay2FhFdrjHSJrkoJJC7Y1ZDi6GbxTop7iKa7mY83LIihFf7myp d+cQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=VGL9iA1eU5cRSfFnKKNpXrK9dyHSOHJ0yZSzYyhp9uU=; b=mETNZl89ISH1mv6VOjAqJ/hjjtbYGllO+W8Q/GF8VzuBYMKi254RP/kxQTCQ2TLO5W 7Q9eJstsQjuwFIu6kIK0P8uRmPzUCEZSe4955rtLGWCPSYHiFHRobPfVGwHBxpp1Bxi4 0m0KwiCtcTogqFuALc0I5MsbxuibL+8qr0sMPBfBkEQQFKxpxvZ0PpC96L8esw6Dv2eV dpzHpYDgrHRd+Bz/KG2SQJwTOgck29sg/Ho8s9EUaQS13431szV9beTM9WQzpBvCdjBi 0ugClUtQz04jiOt13UQ6ahm7Eb6OXcyR5wAJYIzruTfglgHE6RWnXeEsuq5JzhKByJMY MVkw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=cmhVkoms; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id x3-20020a63cc03000000b0043c1cb75c22si14995627pgf.333.2022.10.10.19.57.38; Mon, 10 Oct 2022 19:57:49 -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; dkim=pass header.i=@gmail.com header.s=20210112 header.b=cmhVkoms; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229711AbiJKCDZ (ORCPT + 99 others); Mon, 10 Oct 2022 22:03:25 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43742 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229701AbiJKCDU (ORCPT ); Mon, 10 Oct 2022 22:03:20 -0400 Received: from mail-qv1-xf2d.google.com (mail-qv1-xf2d.google.com [IPv6:2607:f8b0:4864:20::f2d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 65B1A7F0AD; Mon, 10 Oct 2022 19:03:19 -0700 (PDT) Received: by mail-qv1-xf2d.google.com with SMTP id l19so8156756qvu.4; Mon, 10 Oct 2022 19:03:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=VGL9iA1eU5cRSfFnKKNpXrK9dyHSOHJ0yZSzYyhp9uU=; b=cmhVkoms9HBWoRT2ra/pvHPATa5XnR3v1/v64xNqA9d96OlkusGwkkppuvTf5T1mPp GjKZfBXg/ni1RRrcHcqI3pPNBycOvYNmOyDAuJowU2/MuIBN5nRRzwBWhTWvaFVD9ETz Ycss9xJLT5sjwu8OCU9rPVitHo9HJ/NPGn8c2ZsZR+VyQ3BbgFfjgr59tVhLgdTvrPjR OQVfJuxJr0NoF7k3dYAziW4JisAmnApQxe7fIcI3/pSq+TKSRTSZ0Tt1FgQMtZRgOxJZ e6ClnI+vpOVFtTduucUheXF/s6A7L1hINOV9Z2Ig4yJwhcqK4FqZXBAOmoxZAmyTgIBX n7aQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=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=VGL9iA1eU5cRSfFnKKNpXrK9dyHSOHJ0yZSzYyhp9uU=; b=DsDk/YYhRyNjyIFb3NoCWsbJy02EMNPvfFD6uWsC5upLnjyWcj2VLnG7xCfK4M9pAA 1kh4gQOq4LbvZDiiJ/ipDW0CqJq3DkTVUMHwYZ0rNzR2Ad0HkBG1X2P2m0rsy1l/DQgp cH8WfBxgXaSJ66fBvr8gq2KLfSINT+fK3qA9GufCkh667npch+a38klZs6TQCdbQvxTa QWSQ6KI9MtJrgV/OIXC0qnxFkayiRI3M4gN3SgmqMgvYxRrpOe04ETp9Obv7RkObiRxR aVCp7mudpNLIISHKMaQT0Sdxg8smm1bWzHL4qr0cqbGf9vCoSE2J+uQxlG1eEMQC5TC2 Kt8A== X-Gm-Message-State: ACrzQf3+dwDqtL0OL9Lf/3P8mS2PkKjQRfrlvTgcJ6TYhLl7+79ONaBk xIf6sMtvwSrBjuwIpxLS9r8MlO22+KrhgmN3pnU= X-Received: by 2002:a05:6214:2a83:b0:4b1:cdc6:821d with SMTP id jr3-20020a0562142a8300b004b1cdc6821dmr17207341qvb.36.1665453798548; Mon, 10 Oct 2022 19:03:18 -0700 (PDT) MIME-Version: 1.0 References: <20220922023337.15609-1-renzhijie2@huawei.com> <904af4cb-147f-a7ba-63e3-c27cad0350f2@gmail.com> In-Reply-To: From: ChiaEn Wu Date: Tue, 11 Oct 2022 10:02:42 +0800 Message-ID: Subject: Re: [PATCH -next] power: supply: mt6370: Fix Kconfig dependency To: Ren Zhijie Cc: sre@kernel.org, andy.shevchenko@gmail.com, chiaen_wu@richtek.com, linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS autolearn=ham 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 On Sun, Oct 9, 2022 at 9:34 PM Ren Zhijie wrote: ... > >> diff --git a/drivers/power/supply/Kconfig b/drivers/power/supply/Kconfig > >> index 591deb82e2c6..62111f4bb093 100644 > >> --- a/drivers/power/supply/Kconfig > >> +++ b/drivers/power/supply/Kconfig > >> @@ -623,6 +623,7 @@ config CHARGER_MT6370 > >> tristate "MediaTek MT6370 Charger Driver" > >> depends on MFD_MT6370 > >> depends on REGULATOR > >> + depends on IIO > >> select LINEAR_RANGES > >> help > >> Say Y here to enable MT6370 Charger Part. > > > > Hi Ren, > > > > Thanks for catching this! > > > > Reviewed-by: ChiaEn Wu > > Hi Ren, There is the same patch that Sebastian already applies. (https://git.kernel.org/pub/scm/linux/kernel/git/sre/linux-power-supply.git/commit/?h=for-next&id=d8be4fe92433ad905eedc7d877099685eb2eaaa1) Thanks. -- Best Regards, ChiaEn Wu