Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp2522401rwb; Mon, 3 Oct 2022 01:53:45 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6OHtLCFgDERMLULlB+8X7ld2hyp4hOdNILhllmmRSu//eZyhQz4a69RwYvn/c2394QY6sx X-Received: by 2002:a65:63ce:0:b0:43a:2103:b7b8 with SMTP id n14-20020a6563ce000000b0043a2103b7b8mr18616641pgv.59.1664787225371; Mon, 03 Oct 2022 01:53:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1664787225; cv=none; d=google.com; s=arc-20160816; b=Yx1gnDBVprtVMds1t7AhW5efW1du5GZHrpTcf663Ou+WX5fM0R77VXf2s0zoW7gI3o +exN22vo1XSYM1sJ7GlwtWeSF+viSKlGE5SsRcRB4qXm0re1j1en0yXGHdKaYlgHzQ9C MjtUJqY+DOFykhYKcHIwCHagtOTgxCIR/rkNPgZ4Lt5HhZFJRvd+4q7OXykAav0YjDRY tSUO5eWcf+xNDrsL5Bu1PN+hh43EyveHSQYV0h2Ov81MGl9WnoOHYylpkOOpcbIJslQI tkGFVSlr7E3W9Y/XFIr9Qlf9g9+mtRS80DjJpjgWyNGVygWCREH6kX3n6Eew0++r/lqT wwAQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=osR47h8hZijUiWkRpNe4tgz4I5D1NmDPfRHkjph4yN0=; b=eWThHkot08TBrZlIIsGJagUIT8FIv7vQngrmRUWgUOU1AfBCTe4Q5Vs8fCke4b7/Cg i+aj+y3nxt5xpx13lKfGeFiYF9BxfwbESljJ83PD8ahNNND5nc7UR3oILYJagkCS8Qtp 6znRr7WTVEvvkhBFOIAKMa1cEQ2L3DUVsOXIuZsA968nM8wFHLYrabIEiQqSMiSIniAD 8TSfKui+VXJ6MW4FrjBFZeKatPUV+7PsVlwWJfI1KStNmL9/6exOfHZxiw5M1Ei9W9f/ Yki2fUEzO8478KP7Bjj3NxRBzYxhUqBli0I1aAf2gN/fXdBx1jtDeIo+M+SAHouv+6KS COpw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="qC/Zb5U+"; 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=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id 9-20020a17090a0f0900b00200aafea6d6si14933220pjy.171.2022.10.03.01.53.34; Mon, 03 Oct 2022 01:53:45 -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=@kernel.org header.s=k20201202 header.b="qC/Zb5U+"; 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=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229600AbiJCIRa (ORCPT + 99 others); Mon, 3 Oct 2022 04:17:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40456 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229614AbiJCIRH (ORCPT ); Mon, 3 Oct 2022 04:17:07 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 99B357697A; Mon, 3 Oct 2022 00:52:01 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 6828DB80DFA; Mon, 3 Oct 2022 07:38:28 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id B8850C433C1; Mon, 3 Oct 2022 07:38:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1664782707; bh=FMDhul54hBYZQNvlhI+0jeQ0A7mo8ydCvb98f+w5/tk=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=qC/Zb5U+/jHtIErjFIKbjqnjDcQLpGQ/tPS0CHeha5N2hizQpMJqK2bVyz9DEt/8y 3lzB67Ezb/Oxogf7vMwoXpNYaca8yLrMSwfWPOHUA0zjvJ02TdOJRzaRyyrIrysmCE qF3IWzh516DSH/1ocyrZFWzaq00P3BcoW1ljSobzh24bvxNGqAZf2a5tQhvmyHI7Vs fCOqxa8cN1n5FepDwgI8QgL2aKuBxVg2VfbIF9Z41fdGEPhYLyqApXDDo1xbkhJGTC p0Xaq/RM8wOZHOJA1UqynUyDXg/OOuAG5KzB2M1soRfmCw2pDe7U9T2GdnBN6Nls1u ZI5k4VIlRa1Ag== Date: Mon, 3 Oct 2022 08:38:19 +0100 From: Lee Jones To: Jonathan Cameron Cc: Rob Herring , ChiaEn Wu , pavel@ucw.cz, krzysztof.kozlowski+dt@linaro.org, matthias.bgg@gmail.com, lars@metafoo.de, andriy.shevchenko@linux.intel.com, chiaen_wu@richtek.com, alice_chen@richtek.com, cy_huang@richtek.com, linux-leds@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, linux-kernel@vger.kernel.org, linux-iio@vger.kernel.org, szunichen@gmail.com, AngeloGioacchino Del Regno , Andy Shevchenko , Jonathan Cameron Subject: Re: [PATCH v12 3/5] iio: adc: mt6370: Add MediaTek MT6370 support Message-ID: References: <9bf36f09bc5f002f2b09b7cc26edccf109516465.1663926551.git.chiaen_wu@richtek.com> <20220924155525.5663bed8@jic23-huawei> <20220929163418.GA2270491-robh@kernel.org> <20221001181117.7b3f3297@jic23-huawei> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20221001181117.7b3f3297@jic23-huawei> X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, 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 Sat, 01 Oct 2022, Jonathan Cameron wrote: > On Thu, 29 Sep 2022 18:51:32 +0100 > Lee Jones wrote: > > > On Thu, 29 Sep 2022, Rob Herring wrote: > > > > > On Wed, Sep 28, 2022 at 10:23:42AM +0100, Lee Jones wrote: > > > > On Mon, 26 Sep 2022, Rob Herring wrote: > > > > > > > > > On Mon, Sep 26, 2022 at 2:46 AM Lee Jones wrote: > > > > > > > > > > > > On Sat, 24 Sep 2022, Jonathan Cameron wrote: > > > > > > > > > > > > > On Fri, 23 Sep 2022 10:51:24 +0800 > > > > > > > ChiaEn Wu wrote: > > > > > > > > > > > > > > > From: ChiaEn Wu > > > > > > > > > > > > > > > > MediaTek MT6370 is a SubPMIC consisting of a single cell battery charger > > > > > > > > with ADC monitoring, RGB LEDs, dual channel flashlight, WLED backlight > > > > > > > > driver, display bias voltage supply, one general purpose LDO, and the > > > > > > > > USB Type-C & PD controller complies with the latest USB Type-C and PD > > > > > > > > standards. > > > > > > > > > > > > > > > > Add support for the MT6370 ADC driver for system monitoring, including > > > > > > > > charger current, voltage, and temperature. > > > > > > > > > > > > > > > > Reviewed-by: AngeloGioacchino Del Regno > > > > > > > > Reviewed-by: Andy Shevchenko > > > > > > > > Acked-by: Jonathan Cameron > > > > > > > > Signed-off-by: ChiaEn Wu > > > > > > > > > > > > > > This will have to either wait for next cycle, or go through mfd because > > > > > > > of the dt-bindings include which is in the mfd tree. > > > > > > > > > > > > > > Please make those dependencies clear in new versions. > > > > > > > > > > > > If the bindings come together in -next, then subsequently in Mainline, > > > > > > it shouldn't really matter. > > > > > > > > > > Except that the bindings haven't come together and at this point may > > > > > not for 6.1. linux-next has been warning for weeks because the child > > > > > device schemas haven't been applied. I've said it before, all the > > > > > schemas for MFD devices need to be applied together. Or at least the > > > > > MFD schema needs to get applied last. > > > > > > > > > > Furthermore, subsequent versions of this don't get tested and we end > > > > > up with more warnings[1]. > > > > > > > > > > It's only your IIO tree that the DT > > > > > > tooling with complain about, right? > > > > > > > > > > And the MFD tree... > > > > > > > > > > Please apply the LED bindings (patches 1 and 2) so we can get the > > > > > existing warnings fixed and address any new warnings. > > > > > > > > Who usually applies LED bindings? Looks as though they're good to go. > > > > > > Pavel. The issue would be I don't know if the driver side is ready and > > > those usually go together. Other than my complaining here, how's he > > > supposed to know that the bindings at least need to be applied? > > > > > > Again, the process here is not working. I've said before, all the > > > bindings for an MFD need to go via 1 tree. You obviously don't agree, so > > > propose something. The current process of no coordination doesn't work. > > > > The solution would be for someone to create succinct immutable branches, like > > I do for real code. If someone would be happy to do that, I'd be more than > > happy to pull from them. > > > > I go to the effort of creating them to prevent actual build breakages, > > however doing so to keep a documentation helper script happy is a step > > too far for me personally, sorry. > > > > In this case the bindings include is included from the driver - not just the > binding. Obviously there are dances to get around that by using the values > and replacing in following cycle, but that's not the case here! The paragraphs above to not pertain to the use of shared include files. Obviously that would be a good case for the use of IBs. -- Lee Jones [李琼斯]