* [PATCH] phy: phy-rockchip-inno-usb2: add phy description for px30
@ 2019-09-17 8:25 Heiko Stuebner
2019-09-30 22:49 ` Rob Herring
2019-10-31 12:08 ` Heiko Stuebner
0 siblings, 2 replies; 4+ messages in thread
From: Heiko Stuebner @ 2019-09-17 8:25 UTC (permalink / raw)
To: kishon
Cc: linux-kernel, devicetree, robh+dt, mark.rutland, linux-rockchip,
christoph.muellner, Heiko Stuebner
The px30 soc from Rockchip shares the same register description as
the rk3328, so can re-use its definitions.
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
---
Documentation/devicetree/bindings/phy/phy-rockchip-inno-usb2.txt | 1 +
drivers/phy/rockchip/phy-rockchip-inno-usb2.c | 1 +
2 files changed, 2 insertions(+)
diff --git a/Documentation/devicetree/bindings/phy/phy-rockchip-inno-usb2.txt b/Documentation/devicetree/bindings/phy/phy-rockchip-inno-usb2.txt
index 00639baae74a..541f5298827c 100644
--- a/Documentation/devicetree/bindings/phy/phy-rockchip-inno-usb2.txt
+++ b/Documentation/devicetree/bindings/phy/phy-rockchip-inno-usb2.txt
@@ -2,6 +2,7 @@ ROCKCHIP USB2.0 PHY WITH INNO IP BLOCK
Required properties (phy (parent) node):
- compatible : should be one of the listed compatibles:
+ * "rockchip,px30-usb2phy"
* "rockchip,rk3228-usb2phy"
* "rockchip,rk3328-usb2phy"
* "rockchip,rk3366-usb2phy"
diff --git a/drivers/phy/rockchip/phy-rockchip-inno-usb2.c b/drivers/phy/rockchip/phy-rockchip-inno-usb2.c
index eae865ff312c..680cc0c8825c 100644
--- a/drivers/phy/rockchip/phy-rockchip-inno-usb2.c
+++ b/drivers/phy/rockchip/phy-rockchip-inno-usb2.c
@@ -1423,6 +1423,7 @@ static const struct rockchip_usb2phy_cfg rv1108_phy_cfgs[] = {
};
static const struct of_device_id rockchip_usb2phy_dt_match[] = {
+ { .compatible = "rockchip,px30-usb2phy", .data = &rk3328_phy_cfgs },
{ .compatible = "rockchip,rk3228-usb2phy", .data = &rk3228_phy_cfgs },
{ .compatible = "rockchip,rk3328-usb2phy", .data = &rk3328_phy_cfgs },
{ .compatible = "rockchip,rk3366-usb2phy", .data = &rk3366_phy_cfgs },
--
2.20.1
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH] phy: phy-rockchip-inno-usb2: add phy description for px30
2019-09-17 8:25 [PATCH] phy: phy-rockchip-inno-usb2: add phy description for px30 Heiko Stuebner
@ 2019-09-30 22:49 ` Rob Herring
2019-10-31 12:08 ` Heiko Stuebner
1 sibling, 0 replies; 4+ messages in thread
From: Rob Herring @ 2019-09-30 22:49 UTC (permalink / raw)
To: Heiko Stuebner
Cc: kishon, linux-kernel, devicetree, robh+dt, mark.rutland,
linux-rockchip, christoph.muellner, Heiko Stuebner
On Tue, 17 Sep 2019 10:25:32 +0200, Heiko Stuebner wrote:
> The px30 soc from Rockchip shares the same register description as
> the rk3328, so can re-use its definitions.
>
> Signed-off-by: Heiko Stuebner <heiko@sntech.de>
> ---
> Documentation/devicetree/bindings/phy/phy-rockchip-inno-usb2.txt | 1 +
> drivers/phy/rockchip/phy-rockchip-inno-usb2.c | 1 +
> 2 files changed, 2 insertions(+)
>
Acked-by: Rob Herring <robh@kernel.org>
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] phy: phy-rockchip-inno-usb2: add phy description for px30
2019-09-17 8:25 [PATCH] phy: phy-rockchip-inno-usb2: add phy description for px30 Heiko Stuebner
2019-09-30 22:49 ` Rob Herring
@ 2019-10-31 12:08 ` Heiko Stuebner
2019-10-31 13:02 ` Kishon Vijay Abraham I
1 sibling, 1 reply; 4+ messages in thread
From: Heiko Stuebner @ 2019-10-31 12:08 UTC (permalink / raw)
To: kishon
Cc: linux-kernel, devicetree, robh+dt, mark.rutland, linux-rockchip,
christoph.muellner
Hi Kishon,
Am Dienstag, 17. September 2019, 10:25:32 CET schrieb Heiko Stuebner:
> The px30 soc from Rockchip shares the same register description as
> the rk3328, so can re-use its definitions.
>
> Signed-off-by: Heiko Stuebner <heiko@sntech.de>
could you pick this up as well please?
Thanks
Heiko
> ---
> Documentation/devicetree/bindings/phy/phy-rockchip-inno-usb2.txt | 1 +
> drivers/phy/rockchip/phy-rockchip-inno-usb2.c | 1 +
> 2 files changed, 2 insertions(+)
>
> diff --git a/Documentation/devicetree/bindings/phy/phy-rockchip-inno-usb2.txt b/Documentation/devicetree/bindings/phy/phy-rockchip-inno-usb2.txt
> index 00639baae74a..541f5298827c 100644
> --- a/Documentation/devicetree/bindings/phy/phy-rockchip-inno-usb2.txt
> +++ b/Documentation/devicetree/bindings/phy/phy-rockchip-inno-usb2.txt
> @@ -2,6 +2,7 @@ ROCKCHIP USB2.0 PHY WITH INNO IP BLOCK
>
> Required properties (phy (parent) node):
> - compatible : should be one of the listed compatibles:
> + * "rockchip,px30-usb2phy"
> * "rockchip,rk3228-usb2phy"
> * "rockchip,rk3328-usb2phy"
> * "rockchip,rk3366-usb2phy"
> diff --git a/drivers/phy/rockchip/phy-rockchip-inno-usb2.c b/drivers/phy/rockchip/phy-rockchip-inno-usb2.c
> index eae865ff312c..680cc0c8825c 100644
> --- a/drivers/phy/rockchip/phy-rockchip-inno-usb2.c
> +++ b/drivers/phy/rockchip/phy-rockchip-inno-usb2.c
> @@ -1423,6 +1423,7 @@ static const struct rockchip_usb2phy_cfg rv1108_phy_cfgs[] = {
> };
>
> static const struct of_device_id rockchip_usb2phy_dt_match[] = {
> + { .compatible = "rockchip,px30-usb2phy", .data = &rk3328_phy_cfgs },
> { .compatible = "rockchip,rk3228-usb2phy", .data = &rk3228_phy_cfgs },
> { .compatible = "rockchip,rk3328-usb2phy", .data = &rk3328_phy_cfgs },
> { .compatible = "rockchip,rk3366-usb2phy", .data = &rk3366_phy_cfgs },
>
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] phy: phy-rockchip-inno-usb2: add phy description for px30
2019-10-31 12:08 ` Heiko Stuebner
@ 2019-10-31 13:02 ` Kishon Vijay Abraham I
0 siblings, 0 replies; 4+ messages in thread
From: Kishon Vijay Abraham I @ 2019-10-31 13:02 UTC (permalink / raw)
To: Heiko Stuebner
Cc: linux-kernel, devicetree, robh+dt, mark.rutland, linux-rockchip,
christoph.muellner
On 31/10/19 5:38 PM, Heiko Stuebner wrote:
> Hi Kishon,
>
> Am Dienstag, 17. September 2019, 10:25:32 CET schrieb Heiko Stuebner:
>> The px30 soc from Rockchip shares the same register description as
>> the rk3328, so can re-use its definitions.
>>
>> Signed-off-by: Heiko Stuebner <heiko@sntech.de>
>
> could you pick this up as well please?
merged now, thanks.
-Kishon
>
> Thanks
> Heiko
>
>> ---
>> Documentation/devicetree/bindings/phy/phy-rockchip-inno-usb2.txt | 1 +
>> drivers/phy/rockchip/phy-rockchip-inno-usb2.c | 1 +
>> 2 files changed, 2 insertions(+)
>>
>> diff --git a/Documentation/devicetree/bindings/phy/phy-rockchip-inno-usb2.txt b/Documentation/devicetree/bindings/phy/phy-rockchip-inno-usb2.txt
>> index 00639baae74a..541f5298827c 100644
>> --- a/Documentation/devicetree/bindings/phy/phy-rockchip-inno-usb2.txt
>> +++ b/Documentation/devicetree/bindings/phy/phy-rockchip-inno-usb2.txt
>> @@ -2,6 +2,7 @@ ROCKCHIP USB2.0 PHY WITH INNO IP BLOCK
>>
>> Required properties (phy (parent) node):
>> - compatible : should be one of the listed compatibles:
>> + * "rockchip,px30-usb2phy"
>> * "rockchip,rk3228-usb2phy"
>> * "rockchip,rk3328-usb2phy"
>> * "rockchip,rk3366-usb2phy"
>> diff --git a/drivers/phy/rockchip/phy-rockchip-inno-usb2.c b/drivers/phy/rockchip/phy-rockchip-inno-usb2.c
>> index eae865ff312c..680cc0c8825c 100644
>> --- a/drivers/phy/rockchip/phy-rockchip-inno-usb2.c
>> +++ b/drivers/phy/rockchip/phy-rockchip-inno-usb2.c
>> @@ -1423,6 +1423,7 @@ static const struct rockchip_usb2phy_cfg rv1108_phy_cfgs[] = {
>> };
>>
>> static const struct of_device_id rockchip_usb2phy_dt_match[] = {
>> + { .compatible = "rockchip,px30-usb2phy", .data = &rk3328_phy_cfgs },
>> { .compatible = "rockchip,rk3228-usb2phy", .data = &rk3228_phy_cfgs },
>> { .compatible = "rockchip,rk3328-usb2phy", .data = &rk3328_phy_cfgs },
>> { .compatible = "rockchip,rk3366-usb2phy", .data = &rk3366_phy_cfgs },
>>
>
>
>
>
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2019-10-31 13:03 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-09-17 8:25 [PATCH] phy: phy-rockchip-inno-usb2: add phy description for px30 Heiko Stuebner
2019-09-30 22:49 ` Rob Herring
2019-10-31 12:08 ` Heiko Stuebner
2019-10-31 13:02 ` Kishon Vijay Abraham I
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).