Received: by 2002:a05:7412:3784:b0:e2:908c:2ebd with SMTP id jk4csp797804rdb; Sun, 1 Oct 2023 06:07:24 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHUMhPdbR4wnq/5SRU58u3FS1+tqEn0Fw8bTptInmeLLYpGbuqC/Lrkzj1+aEsYGG7H4g8m X-Received: by 2002:a17:903:185:b0:1c5:f663:1722 with SMTP id z5-20020a170903018500b001c5f6631722mr8455886plg.6.1696165643882; Sun, 01 Oct 2023 06:07:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696165643; cv=none; d=google.com; s=arc-20160816; b=Y/pUnWHTtEZUEoQbRL5WJbsp17BW5sHJqP3/7a8ZYajUKLPb+hddFkRzWHICDc2cOs y9v+CNhx2dWWMrBdkjnFeqditDO1cpWVtaf0hbXQVEtNBIXrCX7YutCpwWJl500sgtWE aPAva0fVDdWvweRTWNjj4baI7ert+WJRiXPzWOIw1a4jRb06zrjGeruRHkX9EMTbXL+r G8HifcB7bnkejsfmd+V3ArgT0PHGFeCg/VSI9FrTCLeokn+iAzYlN322TGSSEhclj1J+ 18Zymu5MEeHCSyK2Dq4gO18lq+6vK4bJhgLx/HrzeBP6Z68pue3hvyvwKwqUkSPL1KVo skgQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:message-id:content-transfer-encoding :mime-version:subject:date:from; bh=6xICoPeitCsEm9xNYGAYCFMjWYbJEKyG+EDoK03+MjA=; fh=R4glWTU8h5DlXDp/u/kH8AsuEsNi/FYWsuKJ4MUpYsQ=; b=s3CG6q3ztLuKrU78H1/wcp32KUluo3Funm/lXXcL8SDQNQZnHXfNxqPd0Ab6n83wTo MVsWeUVakPBCtn9cECWRVK/gTwo4blmmJTWBrR9FJ4v02UjZiKIhJyTK7aW7VCGr8T6Y RZ431GsD2b7E0Cbk1znhvNQi6GSMbGml1Qxhv8M0w37lNencG9fW9IFvc2sRSZfkza6O j/mIq3a79SpA/CveaQFv5ZaAbGr+7K07ISeHDXcmNr3IsH2lW65JBDu97bKVNv4sxEcC a6CNBp/xokwiFMZjUSYx91UH8ECS9XDLnf2gIpcn1NLtbn/1/ygg7OvgfqD/g+Vq5x2q U7wA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from pete.vger.email (pete.vger.email. [2620:137:e000::3:6]) by mx.google.com with ESMTPS id b2-20020a170903228200b001c71eb782c0si14131802plh.464.2023.10.01.06.07.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 01 Oct 2023 06:07:23 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) client-ip=2620:137:e000::3:6; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by pete.vger.email (Postfix) with ESMTP id 1F83D8023714; Sun, 1 Oct 2023 06:07:21 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at pete.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234983AbjJANGQ (ORCPT + 99 others); Sun, 1 Oct 2023 09:06:16 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41774 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229716AbjJANGP (ORCPT ); Sun, 1 Oct 2023 09:06:15 -0400 Received: from mx.skole.hr (mx1.hosting.skole.hr [161.53.165.185]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 72C19AC; Sun, 1 Oct 2023 06:06:10 -0700 (PDT) Received: from mx1.hosting.skole.hr (localhost.localdomain [127.0.0.1]) by mx.skole.hr (mx.skole.hr) with ESMTP id 1B139836AB; Sun, 1 Oct 2023 15:06:08 +0200 (CEST) From: =?utf-8?q?Duje_Mihanovi=C4=87?= Date: Sun, 01 Oct 2023 15:05:43 +0200 Subject: [PATCH] dt-bindings: phy: Convert PXA1928 USB/HSIC PHY to DT schema MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Message-Id: <20231001-pxa1928-usb-yaml-v1-1-9309a8c0c03f@skole.hr> X-B4-Tracking: v=1; b=H4sIAKZuGWUC/6tWKk4tykwtVrJSqFYqSi3LLM7MzwNyDHUUlJIzE vPSU3UzU4B8JSMDI2NDAwND3YKKRENLIwvd0uIk3crE3BxdCwNLUzMTAwsjIxNDJaC2gqLUtMw KsJHRsbW1AK6be61iAAAA To: Vinod Koul , Kishon Vijay Abraham I , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: devicetree@vger.kernel.org, linux-phy@lists.infradead.org, linux-kernel@vger.kernel.org, =?utf-8?q?Duje_Mihanovi=C4=87?= X-Mailer: b4 0.12.3 X-Developer-Signature: v=1; a=openpgp-sha256; l=3570; i=duje.mihanovic@skole.hr; h=from:subject:message-id; bh=I+pbp2+i8AspnSOzhEB7DM4scts9Z1G4HFcpQJwppxo=; b=owEBbQKS/ZANAwAIAZoRnrBCLZbhAcsmYgBlGW66YEEOs7V4Nt7C6695WePETUl6I4sGxSPXM TO4kVoEI3yJAjMEAAEIAB0WIQRT351NnD/hEPs2LXiaEZ6wQi2W4QUCZRluugAKCRCaEZ6wQi2W 4fqPD/9CPGtH4kaj0opR4bH3hGO8NuQZ8lAdbJ5MGteS7xF63/cx2bfpGHEWvZOKTOAU16ktE25 fRuxELhRXSbKiilPyVJVZtgxXMcWVSVNQSbZuO7CTgmoCLRzTEC+HwcZPKPrRb2fNn2/fmGjfoB iA5c1wM8VOFXLoCRQ7HaqZmXIYiMydKuB2a0fUXWhlHCs5jRQ3BqzGFST7QNvza04e5IlSAxjGd MfOnaSmtVO2Rbdo7QoysK7VPCeYs9XPEO2/iKHjg8fndpL7Npwnxx7KXrAVpOLRo/tJ+ToMUitG M1tmJ9TJJ2M536h0JFIRah/77CUy+XXVqHAOZ4dMtKycQBGHKAOKeB0X6EXdwEd8eVVpr1lowO6 Sg2Ad7nzPqBGt5qB4wUfSmyhU0yKk+KxbIBeXH/Ynv1jCMFmOmO7GBTS08Ck0ypHfP1cQkdfQQW +gNG1YySskfQlvhc5XugyZAWooe0paQed6V7eW4/EIbPtkQ3HgR1zfYwbiBm5Q/ghl/wmdmBg2N GUC9poYcjfH84jqaeI14D3V4qXtBmlPhcoNPWMpMz4FkytVihpLry0TJcneDAMUNhO3Jg1SPxGK u4eczvMIoB5qck1fUzEaMIih1ZvgsHPHOfeF+6sNsIqA+iUiQku9sTRae4lZesvcSWn7Iy6pux9 DcPB0K/qohQWpJw== X-Developer-Key: i=duje.mihanovic@skole.hr; a=openpgp; fpr=53DF9D4D9C3FE110FB362D789A119EB0422D96E1 X-Spam-Status: No, score=-0.8 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, 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 pete.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 (pete.vger.email [0.0.0.0]); Sun, 01 Oct 2023 06:07:21 -0700 (PDT) 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 + +properties: + $nodename: + pattern: '^phy@[a-f0-9]+$' + + compatible: + const: "marvell,pxa1928-hsic-phy" + + 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ć