From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?UTF-8?B?QW5kcmVhcyBGw6RyYmVy?= Subject: Re: [PATCH 3/4] Documentation: devicetree: Fix tps65090 typos Date: Wed, 25 Jun 2014 13:43:18 +0200 Message-ID: <53AAB5D6.50500@suse.de> References: <1403486483-4063-1-git-send-email-afaerber@suse.de> <1403486483-4063-4-git-send-email-afaerber@suse.de> <20140625104732.GE14495@leverpostej> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: QUOTED-PRINTABLE Return-path: In-Reply-To: <20140625104732.GE14495@leverpostej> Sender: linux-doc-owner@vger.kernel.org To: Mark Rutland , Doug Anderson Cc: linux-samsung-soc , Stephan van Schaik , Vincent Palatin , Rob Herring , Pawel Moll , Ian Campbell , Kumar Gala , Randy Dunlap , Mark Brown , Simon Glass , Michael Spang , "OPEN FIRMWARE AND..." , DOCUMENTATION , LKML List-Id: devicetree@vger.kernel.org Am 25.06.2014 12:47, schrieb Mark Rutland: > On Mon, Jun 23, 2014 at 06:27:04PM +0100, Doug Anderson wrote: >> Andreas, >> >> On Sun, Jun 22, 2014 at 6:21 PM, Andreas F=C3=A4rber wrote: >>> It's vsys-l{1,2}-supply, not vsys_l{1,2}-supply. >>> >>> Signed-off-by: Andreas F=C3=A4rber >>> --- >>> Documentation/devicetree/bindings/regulator/tps65090.txt | 4 ++-- >>> 1 file changed, 2 insertions(+), 2 deletions(-) >>> >>> diff --git a/Documentation/devicetree/bindings/regulator/tps65090.t= xt b/Documentation/devicetree/bindings/regulator/tps65090.txt >>> index 34098023..ca69f5e 100644 >>> --- a/Documentation/devicetree/bindings/regulator/tps65090.txt >>> +++ b/Documentation/devicetree/bindings/regulator/tps65090.txt >>> @@ -45,8 +45,8 @@ Example: >>> infet5-supply =3D <&some_reg>; >>> infet6-supply =3D <&some_reg>; >>> infet7-supply =3D <&some_reg>; >>> - vsys_l1-supply =3D <&some_reg>; >>> - vsys_l2-supply =3D <&some_reg>; >>> + vsys-l1-supply =3D <&some_reg>; >>> + vsys-l2-supply =3D <&some_reg>; >> >> Your change matches the code and all existing device trees in the >> Linux kernel. >=20 > Could this fact please be mentioned in the commit message? Yes, I admit the commit message could've been clearer in stating that only the example is modified, not the actual specification. What about: "Specification and existing device trees use vsys-l{1,2}-supply, not vsys_l{1,2}-supply. Fix the example to match the specification." Maybe also "... typos in example" in the subject. Let me know whether I should send a v2 or let maintainers fix it up. Regards, Andreas > Given that: >=20 > Acked-by: Mark Rutland >=20 >> I also see plenty of other bindings with dashes, so this seems >> reasonable. >=20 > Dashes rather than underscores are preferred/correct for property nam= es > and compatible strings. Given no-one can possibly be using the > bad/incorrect form with underscores, fixing the documentation to use > dashes makes sense. >=20 > Thanks, > Mark. --=20 SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 N=C3=BCrnberg, Germany GF: Jeff Hawn, Jennifer Guild, Felix Imend=C3=B6rffer; HRB 16746 AG N=C3= =BCrnberg