From: Paul Cercueil <paul@crapouillou.net>
To: Kishon Vijay Abraham I <kishon@ti.com>,
Vinod Koul <vkoul@kernel.org>, Rob Herring <robh+dt@kernel.org>
Cc: 周琰杰 <zhouyanjie@wanyeetech.com>,
od@zcrc.me, linux-kernel@vger.kernel.org,
devicetree@vger.kernel.org,
"Paul Cercueil" <paul@crapouillou.net>
Subject: [PATCH v2 1/2] dt-bindings/phy: ingenic: Add compatibles for JZ4760(B) SoCs
Date: Sat, 23 Jan 2021 14:18:24 +0000 [thread overview]
Message-ID: <20210123141825.15481-1-paul@crapouillou.net> (raw)
Add the ingenic,jz4760-phy and ingenic,jz4760b-phy compatible strings,
and make the ingenic,jz4770-phy compatible string require
ingenic,jz4760-phy as a fallback, since both work the same, and the
JZ4760 SoC is older.
Signed-off-by: Paul Cercueil <paul@crapouillou.net>
---
Notes:
v2: Fix indentation
.../bindings/phy/ingenic,phy-usb.yaml | 22 ++++++++++++-------
1 file changed, 14 insertions(+), 8 deletions(-)
diff --git a/Documentation/devicetree/bindings/phy/ingenic,phy-usb.yaml b/Documentation/devicetree/bindings/phy/ingenic,phy-usb.yaml
index 0fd93d71fe5a..d59c697ed81e 100644
--- a/Documentation/devicetree/bindings/phy/ingenic,phy-usb.yaml
+++ b/Documentation/devicetree/bindings/phy/ingenic,phy-usb.yaml
@@ -15,13 +15,19 @@ properties:
pattern: '^usb-phy@.*'
compatible:
- enum:
- - ingenic,jz4770-phy
- - ingenic,jz4775-phy
- - ingenic,jz4780-phy
- - ingenic,x1000-phy
- - ingenic,x1830-phy
- - ingenic,x2000-phy
+ oneOf:
+ - enum:
+ - ingenic,jz4760-phy
+ - ingenic,jz4775-phy
+ - ingenic,jz4780-phy
+ - ingenic,x1000-phy
+ - ingenic,x1830-phy
+ - ingenic,x2000-phy
+ - items:
+ - enum:
+ - ingenic,jz4760b-phy
+ - ingenic,jz4770-phy
+ - const: ingenic,jz4760-phy
reg:
maxItems: 1
@@ -48,7 +54,7 @@ examples:
- |
#include <dt-bindings/clock/jz4770-cgu.h>
otg_phy: usb-phy@3c {
- compatible = "ingenic,jz4770-phy";
+ compatible = "ingenic,jz4770-phy", "ingenic,jz4760-phy";
reg = <0x3c 0x10>;
vcc-supply = <&vcc>;
--
2.29.2
next reply other threads:[~2021-01-23 14:19 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-01-23 14:18 Paul Cercueil [this message]
2021-01-23 14:18 ` [PATCH v2 2/2] phy: ingenic: Add support for the JZ4760(B) Paul Cercueil
2021-01-24 22:33 ` [PATCH v2 1/2] dt-bindings/phy: ingenic: Add compatibles for JZ4760(B) SoCs Rob Herring
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20210123141825.15481-1-paul@crapouillou.net \
--to=paul@crapouillou.net \
--cc=devicetree@vger.kernel.org \
--cc=kishon@ti.com \
--cc=linux-kernel@vger.kernel.org \
--cc=od@zcrc.me \
--cc=robh+dt@kernel.org \
--cc=vkoul@kernel.org \
--cc=zhouyanjie@wanyeetech.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).