Received: by 2002:a05:7412:3784:b0:e2:908c:2ebd with SMTP id jk4csp1376392rdb; Mon, 2 Oct 2023 07:48:47 -0700 (PDT) X-Google-Smtp-Source: AGHT+IG6db1uoZQ+UzRU2f4LwFtSPvxF1fO/eMU01V02aExMlpWscqkoA0Ortj7KAAL1jh7hvQbA X-Received: by 2002:a17:903:4284:b0:1c3:2423:8e24 with SMTP id ju4-20020a170903428400b001c324238e24mr9687398plb.8.1696258126827; Mon, 02 Oct 2023 07:48:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696258126; cv=none; d=google.com; s=arc-20160816; b=raAMopY1Ht6YJChkt0O7/ICxHICNB98HuoG71LXqKzVdlDLHPNIX50aN2B+lYzsnsQ 6Wo/fBwLskZQIuDrLYfMBepBXBFy17p9U+bvRzS4tsIQZssPRBwqL4rXOJwj5VN2ncdd AfTEY07f5HuBo1Tp7RcqybFBgS4FMcjorEQ9wOXzMEKfGC7qyUxmGK+d5YjWLv4qhIek HmVl8JRMpgW0XGRh58I3KqBALO7zFbxKapkXLioUw1g1UOv9yY52NG2EkEA8v6W8OMr7 pN30UYO/2jQ8vD44wHuh1jwAa0ILXL7OqxY757BRBiu9jlQLQnszmZK875afL7np0vM9 iugw== 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=bE+dqDqJX9n0dYg/FSJVDaH3tiUbgLthbmY1wW8tZs8=; fh=Edh7V2sScQTVvyylvrpC6zgQMCpnW7xFLC4QmZ/f4jM=; b=olrSK11U+1QBEKSV5vrw/s3jQJpZ+Ec19mf+o8dr8VXB0kmEhy7T94ZTIa3BkkmMB3 zL+P7lnZLYvoUBQ1soALe4d4PVti15bJ7jWS61wcb84HAS74havGBSwRNRw733zUcd8Q E+Jif/w9efwdC1poqlNt47G/GwSV6/4tybhfQRqvrV4OPbHqhhudfc4MWMAMnKsSlJ1Y +SANuQSTfohHtOiVsjMbe/pwKT+QMpFUq3qUyrFgbvMFUK26gr+tHtPn+N0ZN0zTX0L8 AJ958Hpd6ZmZHOaCbVIZ9H/C1lYrL1pq1rW2TMEVeWL3eznzTzfJZEFMtw7hHQmlqONj 3fEA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=rXmIWfER; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 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 lipwig.vger.email (lipwig.vger.email. [2620:137:e000::3:3]) by mx.google.com with ESMTPS id u17-20020a170902e5d100b001bf0916b665si8060364plf.393.2023.10.02.07.48.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 02 Oct 2023 07:48:46 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) client-ip=2620:137:e000::3:3; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=rXmIWfER; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 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 lipwig.vger.email (Postfix) with ESMTP id 1F9EB80926B9; Mon, 2 Oct 2023 07:37:05 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237832AbjJBOgd (ORCPT + 99 others); Mon, 2 Oct 2023 10:36:33 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37660 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237799AbjJBOg0 (ORCPT ); Mon, 2 Oct 2023 10:36:26 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E86B2AD for ; Mon, 2 Oct 2023 07:36:21 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 114F3C433C7; Mon, 2 Oct 2023 14:36:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1696257381; bh=N0bjWFh/ivsmoCYQtXEL5H33a73c76bfBhkj9oFwP9U=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=rXmIWfER8Fxc/ipUxtpCtDviSFoTG9oiaZjA5WmwM+EiknGI/Gq9SUqummvXw0G0X QqAgoHdb2pHvwo8MbTxAF3ag2DJyW8fnZtXjV9hlYuZJ9BmW735ny3ngZLhgkdBj4L wqdytAXfpe9d1KfWejOaN1xrhs2cO3mhRH2TGI65AaYp6caL0Gu653xFHj0IOvJzG6 2JdIwBgWlumVgcSXJZZYFfl6i/WXeQSdGkZsf+SnAwZ3S6xYIRnAMAGQeMxkReWO1X 9qgj2HstuQpxJniKTVrZnBaU3F8FnkNLyxwd9UBD9TGQC/JX5HWSmmdoFMgjTZK7V7 UeGSe4NGjC8/A== Received: (nullmailer pid 1674615 invoked by uid 1000); Mon, 02 Oct 2023 14:36:19 -0000 Date: Mon, 2 Oct 2023 09:36:19 -0500 From: Rob Herring To: Duje =?utf-8?Q?Mihanovi=C4=87?= Cc: Vinod Koul , Kishon Vijay Abraham I , Krzysztof Kozlowski , Conor Dooley , devicetree@vger.kernel.org, linux-phy@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] dt-bindings: phy: Convert PXA1928 USB/HSIC PHY to DT schema Message-ID: <20231002143619.GA1651295-robh@kernel.org> References: <20231001-pxa1928-usb-yaml-v1-1-9309a8c0c03f@skole.hr> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20231001-pxa1928-usb-yaml-v1-1-9309a8c0c03f@skole.hr> 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 lipwig.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 (lipwig.vger.email [0.0.0.0]); Mon, 02 Oct 2023 07:37:05 -0700 (PDT) On Sun, Oct 01, 2023 at 03:05:43PM +0200, Duje Mihanović wrote: > Convert the binding for the Marvell PXA1928 USB and HSIC PHYs from TXT > to DT schema. > > Signed-off-by: Duje Mihanović > --- > .../bindings/phy/marvell,pxa1928-hsic-phy.yaml | 37 +++++++++++++++++ > .../bindings/phy/marvell,pxa1928-usb-phy.yaml | 46 ++++++++++++++++++++++ > .../devicetree/bindings/phy/pxa1928-usb-phy.txt | 18 --------- > 3 files changed, 83 insertions(+), 18 deletions(-) > > diff --git a/Documentation/devicetree/bindings/phy/marvell,pxa1928-hsic-phy.yaml b/Documentation/devicetree/bindings/phy/marvell,pxa1928-hsic-phy.yaml > new file mode 100644 > index 000000000000..a477afd11329 > --- /dev/null > +++ b/Documentation/devicetree/bindings/phy/marvell,pxa1928-hsic-phy.yaml > @@ -0,0 +1,37 @@ > +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/phy/marvell,pxa1928-hsic-phy.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: Marvell PXA1928 HSIC PHY > + > +maintainers: > + - devicetree@vger.kernel.org No, should be someone with hardware or familar with it. I added this, but no longer have h/w or documentation. IMO, it should probably be removed. The schemas are the same, so they could just be 1 document. > + > +properties: > + $nodename: > + pattern: '^phy@[a-f0-9]+$' > + > + compatible: > + const: "marvell,pxa1928-hsic-phy" Don't need quotes. > + > + reg: > + maxItems: 1 > + > + clocks: > + maxItems: 1 > + > + '#phy-cells': > + const: 0 > + > + resets: > + maxItems: 1 > + > +required: > + - compatible > + - reg > + - clocks > + - '#phy-cells' > + > +additionalProperties: false > diff --git a/Documentation/devicetree/bindings/phy/marvell,pxa1928-usb-phy.yaml b/Documentation/devicetree/bindings/phy/marvell,pxa1928-usb-phy.yaml > new file mode 100644 > index 000000000000..4ae9201767ed > --- /dev/null > +++ b/Documentation/devicetree/bindings/phy/marvell,pxa1928-usb-phy.yaml > @@ -0,0 +1,46 @@ > +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/phy/marvell,pxa1928-usb-phy.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: Marvell PXA1928 USB PHY > + > +maintainers: > + - devicetree@vger.kernel.org > + > +properties: > + $nodename: > + pattern: '^phy@[a-f0-9]+$' > + > + compatible: > + const: "marvell,pxa1928-usb-phy" > + > + reg: > + maxItems: 1 > + > + clocks: > + maxItems: 1 > + > + '#phy-cells': > + const: 0 > + > + resets: > + maxItems: 1 > + > +required: > + - compatible > + - reg > + - clocks > + - '#phy-cells' > + > +additionalProperties: false > + > +examples: > + - | > + phy@7000 { > + compatible = "marvell,pxa1928-usb-phy"; > + reg = <0x7000 0xe0>; > + clocks = <&apmu_clocks PXA1928_CLK_USB>; > + #phy-cells = <0>; > + }; > diff --git a/Documentation/devicetree/bindings/phy/pxa1928-usb-phy.txt b/Documentation/devicetree/bindings/phy/pxa1928-usb-phy.txt > deleted file mode 100644 > index da94426aa694..000000000000 > --- a/Documentation/devicetree/bindings/phy/pxa1928-usb-phy.txt > +++ /dev/null > @@ -1,18 +0,0 @@ > -* Marvell PXA1928 USB and HSIC PHYs > - > -Required properties: > -- compatible: "marvell,pxa1928-usb-phy" or "marvell,pxa1928-hsic-phy" > -- reg: base address and length of the registers > -- clocks - A single clock. From common clock binding. > -- #phys-cells: should be 0. From common phy binding. > -- resets: reference to the reset controller > - > -Example: > - > - usbphy: phy@7000 { > - compatible = "marvell,pxa1928-usb-phy"; > - reg = <0x7000 0xe0>; > - clocks = <&apmu_clocks PXA1928_CLK_USB>; > - #phy-cells = <0>; > - }; > - > > --- > base-commit: 6465e260f48790807eef06b583b38ca9789b6072 > change-id: 20231001-pxa1928-usb-yaml-809564082241 > > Best regards, > -- > Duje Mihanović > >