Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp506237pxf; Wed, 24 Mar 2021 09:21:15 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwsGwOQEVjtEV1UmTsToysGZ9PeAX7gtzRU9EuAHrqFE51xI0TM3uBe9vjsSMR+9ChJKdd1 X-Received: by 2002:a17:906:3e89:: with SMTP id a9mr4403203ejj.405.1616602875117; Wed, 24 Mar 2021 09:21:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1616602875; cv=none; d=google.com; s=arc-20160816; b=XLWq5j0luWEHEZBlYuDFsEWty34ZIy5mehbzhnbf37fwb+6hlVELG8oxaCf/VhShVc eDvGtoOrgn42qhnTMcdaz/GMia0iTyjaDFSrl8kaxeNo8D/Dset8gAthiik6jsSO3jJh yymJQwuFOiESVmbfYfjIe+IBC/hGtXDx5D8uYN1iJfN2A1iTIU9mQcPyk9G9eurytCvw L/HMa7KorYvMOLg7USEEfAqqPSvdQE5syT4BQPfZEf8D6tPB8CiMlEHwo2byW8ASlqtN QvGI1rXt+qE9ejLvywg//oTlbH1des1S1KL/jVaRu64PRvOBF2h0v70OzCd9eAoq5Q5x iNkw== 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; bh=QXqHoBlkPrNwRpEMtYqdUlQOXPQTYdJ14Lsi73wF+Zg=; b=DMXV3UyoHKOAs3SFqV6Yp/Vo+WGh3/SMYDE60jperBcaTA+rSgzMXIpEVbslSc0Po4 RdTYXJEYMyQ0OIIYBWXm/6xnBqlOqgpyHThTdRUeO5MF9qrak0G+wDH2mABq8V3C5kbO DimwWC8+wSnXlQJaNyBmYtdy5E+dhkQxVy/9SEwzRBfcdgZh1s9am5jVxWBt1vNyHckG LSM6U6/TBCvOKFTvQRJLyg/XFcemcHGk6jcUCBhPrs6rswedJsEf+BSOlEQ6zgmZ6B5c YZkpH1mm+XqYYKwLHMsDGFb1wbImVI3tow/7MiDqwtN/WqD/+l8CzlzZ84v9BlAx9lBH Mvaw== ARC-Authentication-Results: i=1; mx.google.com; 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=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id z14si2192028edq.36.2021.03.24.09.20.51; Wed, 24 Mar 2021 09:21:15 -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; 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=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234076AbhCXQRR (ORCPT + 99 others); Wed, 24 Mar 2021 12:17:17 -0400 Received: from mail-il1-f170.google.com ([209.85.166.170]:37579 "EHLO mail-il1-f170.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233950AbhCXQQs (ORCPT ); Wed, 24 Mar 2021 12:16:48 -0400 Received: by mail-il1-f170.google.com with SMTP id z9so21870065ilb.4; Wed, 24 Mar 2021 09:16:48 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:content-transfer-encoding :in-reply-to; bh=QXqHoBlkPrNwRpEMtYqdUlQOXPQTYdJ14Lsi73wF+Zg=; b=irjvXcUNLsPTRh/AVVbJ7tvRR8p74XEXTX3VGAdZjlfXkMgLbo2r1UIEXHja9BYsLc 0ySoIOPwoum9yd2ArAAkWLfZtxiozqzXfmoJNMEJ9TNZ/ErmeB3AJpSB7DZ5xuOMiGSz 0Rk2KWiNdZK5xkXGA/FIXPO4NgTCQ5Li5lKK+KaFvHBKZZtTHZMn+S3O8WIYaz4h+eTV qxoFa03NwEOW3+t36sfPr0EOegQMshbAA5OG4NDBO1K0Q2NCsPpOmtTMH9CvqjkaJTiF CObMlymfjKHc/NbN8b1iDjiA//Kj1EV0ML79qVYWjiN6rnJupb0/Nzx2145U38soF2br dJQA== X-Gm-Message-State: AOAM5332I/U3zKm8HIFkYeFU924sFU/Gskc+aJUBtubpv6hNeaYv0voF xQKLp9UBqlfi9rtJmIZUgA== X-Received: by 2002:a92:5214:: with SMTP id g20mr3131964ilb.260.1616602607879; Wed, 24 Mar 2021 09:16:47 -0700 (PDT) Received: from robh.at.kernel.org ([64.188.179.253]) by smtp.gmail.com with ESMTPSA id m20sm1299949ilj.66.2021.03.24.09.16.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 24 Mar 2021 09:16:46 -0700 (PDT) Received: (nullmailer pid 3176722 invoked by uid 1000); Wed, 24 Mar 2021 16:16:43 -0000 Date: Wed, 24 Mar 2021 10:16:43 -0600 From: Rob Herring To: Enric Balletbo Serra Cc: matthias.bgg@kernel.org, Lee Jones , Matthias Brugger , Liam Girdwood , Mark Brown , "devicetree@vger.kernel.org" , "moderated list:ARM/Mediatek SoC support" , linux-kernel , Linux ARM , Matthias Brugger Subject: Re: [PATCH 2/7] dt-bindigns: regulator: mtk: Drop unneeded compatible Message-ID: <20210324161643.GA3170381@robh.at.kernel.org> References: <20210312145545.26050-1-matthias.bgg@kernel.org> <20210312145545.26050-2-matthias.bgg@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Mar 18, 2021 at 03:11:56PM +0100, Enric Balletbo Serra wrote: > Hi Matthias, > > Thank you for your patch. There is a typo in the subject line > s/dt-bindigns/dt-bindings/ Rob might miss this patch as he filters the > patches by subject I guess. I should, then I'd have a lot less to review... > > Missatge de l'adre?a del dia dv., 12 de mar? > 2021 a les 15:57: > > > > From: Matthias Brugger > > > > The regulator does not need to have a device tree compatible, if it's > > part of an MFD. We leave the node name to the SoC specific name (e.g. > > mt6323regulator) to allow older kernels to work with the new binding. > > > > Signed-off-by: Matthias Brugger > > --- > > .../bindings/regulator/mt6323-regulator.txt | 2 +- > > .../bindings/regulator/mt6358-regulator.txt | 4 +--- > > .../bindings/regulator/mt6397-regulator.txt | 14 +++++--------- > > 3 files changed, 7 insertions(+), 13 deletions(-) > > > > diff --git a/Documentation/devicetree/bindings/regulator/mt6323-regulator.txt b/Documentation/devicetree/bindings/regulator/mt6323-regulator.txt > > index a48749db4df36..69f32e1a6702e 100644 > > --- a/Documentation/devicetree/bindings/regulator/mt6323-regulator.txt > > +++ b/Documentation/devicetree/bindings/regulator/mt6323-regulator.txt > > @@ -19,7 +19,7 @@ LDO: > > Example: > > > > pmic: mt6323 { This one is wrong... > > - mt6323regulator: regulators { > > + mt6323regulator { And this was right. > > If you convert this binding to YAML, you'll probably get a review that > the node name must be just 'regulators' here. And then, looking at the > other patches something will break I guess ... > > > mt6323_vproc_reg: buck_vproc{ > > regulator-name = "vproc"; > > regulator-min-microvolt = < 700000>; > > diff --git a/Documentation/devicetree/bindings/regulator/mt6358-regulator.txt b/Documentation/devicetree/bindings/regulator/mt6358-regulator.txt > > index 9a90a92f2d7e1..ba1214da5bf7c 100644 > > --- a/Documentation/devicetree/bindings/regulator/mt6358-regulator.txt > > +++ b/Documentation/devicetree/bindings/regulator/mt6358-regulator.txt > > @@ -23,9 +23,7 @@ Example: > > pmic { > > compatible = "mediatek,mt6358"; > > > > - mt6358regulator: mt6358regulator { > > - compatible = "mediatek,mt6358-regulator"; > > - > > + mt6358regulator { > > mt6358_vdram1_reg: buck_vdram1 { > > regulator-compatible = "buck_vdram1"; > > regulator-name = "vdram1"; > > diff --git a/Documentation/devicetree/bindings/regulator/mt6397-regulator.txt b/Documentation/devicetree/bindings/regulator/mt6397-regulator.txt > > index c080086d3e629..2b14362ac56e1 100644 > > --- a/Documentation/devicetree/bindings/regulator/mt6397-regulator.txt > > +++ b/Documentation/devicetree/bindings/regulator/mt6397-regulator.txt > > @@ -1,11 +1,9 @@ > > Mediatek MT6397 Regulator > > > > -Required properties: > > -- compatible: "mediatek,mt6397-regulator" > > -- mt6397regulator: List of regulators provided by this controller. It is named > > - according to its regulator type, buck_ and ldo_. > > - The definition for each of these nodes is defined using the standard binding > > - for regulators at Documentation/devicetree/bindings/regulator/regulator.txt. > > +List of regulators provided by this controller. It is named > > +according to its regulator type, buck_ and ldo_. > > +The definition for each of these nodes is defined using the standard binding > > +for regulators at Documentation/devicetree/bindings/regulator/regulator.txt. > > > > The valid names for regulators are:: > > BUCK: > > @@ -23,9 +21,7 @@ Example: > > pmic { > > compatible = "mediatek,mt6397"; > > > > - mt6397regulator: mt6397regulator { > > - compatible = "mediatek,mt6397-regulator"; > > - > > + mt6397regulator { > > mt6397_vpca15_reg: buck_vpca15 { > > regulator-compatible = "buck_vpca15"; > > regulator-name = "vpca15"; > > -- > > 2.30.1 > > > > > > _______________________________________________ > > Linux-mediatek mailing list > > Linux-mediatek@lists.infradead.org > > http://lists.infradead.org/mailman/listinfo/linux-mediatek