Received: by 2002:a05:7412:37c9:b0:e2:908c:2ebd with SMTP id jz9csp675614rdb; Tue, 19 Sep 2023 07:10:12 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHu4QbH+Z45O8C6TwT9yhIZuV1MMNdPmKwqxk8vbJ8Mec/qAKS9sEOn1tDfTmrlrmBs5wFi X-Received: by 2002:a05:6a00:a13:b0:68f:cb69:8e66 with SMTP id p19-20020a056a000a1300b0068fcb698e66mr3714086pfh.15.1695132611719; Tue, 19 Sep 2023 07:10:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695132611; cv=none; d=google.com; s=arc-20160816; b=NqYjnEqdpEh4NTPEIYf5C8jrz3t0xKZBrGMJF972TxNSQpHb1+s1wSEqd28tXnIiWQ 8ynBPnZxmBmYU717ScYRowbMTBBBt1yn0JFOJqmWkrxOwwJ9UkQectL4amlu0L65AY9U WzcMPPjrNqfc96JXMtsAfwjMYVtNdYXhXhFjuuGqcBheAxh1Prtag+KWvAuM06BP0nVM 8X4m8imU4cyJRIvyKzTTBbwvuZWG0Br9UWobZ6SyOe+A/R7djNdJuVy5px4Z82qPpjCC OHHf6dPsdAyQ4ME4vcpVccr3fTowPeEToBr9V3a923u5EV1AUTfqZxrXiIkhpRf/N4FD td3w== 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=JG3jOpGiBlF9+cHWglYTrEZpGL+DYIOb/7DV5CqSlOs=; fh=gWeUH/kXTdQen/xvn0f6MiiWyYdvwAQC8Bw9RCEdYa0=; b=pcDAUVHUAARJEupt5U/9wv8qO/IIworHIRXzbTkCL7lH4bJbH45kecktF5i7PLtOzV MMYHH1YFfpN+Zvn/OBl+4DdiDrhr4Pze+Q0TIKRNA7HwfqaJn7HIVOOmi9R02tH//hJL 1k1ydybVKWAvnrnNp6kLAIYktbCyhuGgQZUmloijnxLCs5aFbZE9vY0UGr7yVAAM8FTe fRWuyMYrXdMtmjDyP6fQ5tuNwywhHsB/aJPPGbZgshX6TMHl6UfPZAyXtOK39+koOo2n ClQMH/u8+0r/bjk1AAA5xmRVfhOZ29vHXo+imoSgSM+Z9VPezRJUn2q0XXtRJh87Oey7 I1ZQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=aSywzAKy; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 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 fry.vger.email (fry.vger.email. [23.128.96.38]) by mx.google.com with ESMTPS id o6-20020a639206000000b005775a435989si1321972pgd.671.2023.09.19.07.10.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 Sep 2023 07:10:11 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) client-ip=23.128.96.38; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=aSywzAKy; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by fry.vger.email (Postfix) with ESMTP id 0B74580C7793; Tue, 19 Sep 2023 06:58:23 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232514AbjISN6U (ORCPT + 99 others); Tue, 19 Sep 2023 09:58:20 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:32866 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232647AbjISN56 (ORCPT ); Tue, 19 Sep 2023 09:57:58 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9CD5410C6 for ; Tue, 19 Sep 2023 06:57:33 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 828CEC433C7; Tue, 19 Sep 2023 13:57:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1695131853; bh=JzZ5xVm/GZHS4DZtfSUGhjc20ZbGt4Lo8VFDz2HUIxk=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=aSywzAKy5EmPzI8+fCU6TCCtlQGLZbOb4hBye0ZOJsH8VQLW3Ef9YMSqIWDOe/Hwo L/KYOEBybNvB6GM2wXfXdFDGn18YM6IKJP3P0WPTEMpNiP62ikXkXJd85jNVuPv6y1 fQHS/WrOX2gXFj8GtxFBuyeMi/HLiUXOh0794bAdRC+tD0w9R1WhUJls5s81tZhwse on+DrlqqHHOEurhINMP28BbrgOC8qPtsgbNO9VljdGhaVa/s2YRpHh+RDakb23nmVd 0xoZiRaX/zCvq0rPEgPYUxheI7qgkehCxoPqaBajGdsxidvG/pgfSVQ12tgHkkG2rZ WPrNEGwetv7DA== Date: Tue, 19 Sep 2023 14:57:27 +0100 From: Lee Jones To: Chen-Yu Tsai Cc: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Matthias Brugger , AngeloGioacchino Del Regno , Mark Brown , Zhiyong Tao , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, Krzysztof Kozlowski Subject: Re: [PATCH v3 01/12] dt-bindings: mfd: mt6397: Split out compatible for MediaTek MT6366 PMIC Message-ID: <20230919135727.GS13143@google.com> References: <20230919104357.3971512-1-wenst@chromium.org> <20230919104357.3971512-2-wenst@chromium.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20230919104357.3971512-2-wenst@chromium.org> X-Spam-Status: No, score=-1.2 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on fry.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (fry.vger.email [0.0.0.0]); Tue, 19 Sep 2023 06:58:23 -0700 (PDT) Mark, Please notify me when you apply the other patches in this set and I'll come back and merge this one. On Tue, 19 Sep 2023, Chen-Yu Tsai wrote: > The MT6366 PMIC is mostly, but not fully, compatible with MT6358. It has > a different set of regulators. Specifically, it lacks the camera related > VCAM* LDOs and VLDO28, but has additional VM18, VMDDR, and VSRAM_CORE LDOs. > > The PMICs contain a chip ID register that can be used to detect which > exact model is preset, so it is possible to share a common base > compatible string. > > Add a separate compatible for the MT6366 PMIC, with a fallback to the > MT6358 PMIC. > > Fixes: 49be16305587 ("dt-bindings: mfd: Add compatible for the MediaTek MT6366 PMIC") > Signed-off-by: Chen-Yu Tsai > Acked-by: Krzysztof Kozlowski > --- > Documentation/devicetree/bindings/mfd/mt6397.txt | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) > > diff --git a/Documentation/devicetree/bindings/mfd/mt6397.txt b/Documentation/devicetree/bindings/mfd/mt6397.txt > index 294693a8906c..10540aa7afa1 100644 > --- a/Documentation/devicetree/bindings/mfd/mt6397.txt > +++ b/Documentation/devicetree/bindings/mfd/mt6397.txt > @@ -22,8 +22,9 @@ compatible: > "mediatek,mt6323" for PMIC MT6323 > "mediatek,mt6331" for PMIC MT6331 and MT6332 > "mediatek,mt6357" for PMIC MT6357 > - "mediatek,mt6358" for PMIC MT6358 and MT6366 > + "mediatek,mt6358" for PMIC MT6358 > "mediatek,mt6359" for PMIC MT6359 > + "mediatek,mt6366", "mediatek,mt6358" for PMIC MT6366 > "mediatek,mt6397" for PMIC MT6397 > > Optional subnodes: > @@ -40,6 +41,7 @@ Optional subnodes: > - compatible: "mediatek,mt6323-regulator" > see ../regulator/mt6323-regulator.txt > - compatible: "mediatek,mt6358-regulator" > + - compatible: "mediatek,mt6366-regulator", "mediatek-mt6358-regulator" > see ../regulator/mt6358-regulator.txt > - compatible: "mediatek,mt6397-regulator" > see ../regulator/mt6397-regulator.txt > -- > 2.42.0.459.ge4e396fd5e-goog > -- Lee Jones [李琼斯]