merged.

Bruce

In message: [linux-yocto][linux-yocto v5.10/standard/ti-sdk-5.4/ti-j72xx][PATCH 
1/2]  phy: ti: j721e-wiz: correct the subnode torrent_phy_dp's name
on 28/04/2021 Xulin Sun wrote:

> The subnode of torrent_phy_dp is "phy" instead of the "link"
> currently in use. Otherwise this will lead to connect the mhdp
> bridge failed.
> 
> Signed-off-by: Xulin Sun <[email protected]>
> ---
>  drivers/phy/ti/phy-j721e-wiz.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>  mode change 100644 => 100755 drivers/phy/ti/phy-j721e-wiz.c
> 
> diff --git a/drivers/phy/ti/phy-j721e-wiz.c b/drivers/phy/ti/phy-j721e-wiz.c
> old mode 100644
> new mode 100755
> index 29785f80abc1..bf91506b6af6
> --- a/drivers/phy/ti/phy-j721e-wiz.c
> +++ b/drivers/phy/ti/phy-j721e-wiz.c
> @@ -936,7 +936,7 @@ static int wiz_get_lane_phy_types(struct device *dev, 
> struct wiz *wiz)
>               u32 reg, num_lanes = 1, phy_type = PHY_NONE;
>               int ret, i;
>  
> -             if (!(of_node_name_eq(subnode, "link")))
> +             if (!(of_node_name_eq(subnode, "phy")))
>                       continue;
>  
>               ret = of_property_read_u32(subnode, "reg", &reg);
> -- 
> 2.17.1
> 

In message: [linux-yocto][linux-yocto v5.10/standard/ti-sdk-5.4/ti-j72xx][PATCH 
2/2]  phy: cadence-torrent: modify the phy attrs assignment operation
on 28/04/2021 Xulin Sun wrote:

> The function phy_set_attrs() will finish the "gphy" setting from
> the struct "torrent_attr", and data protection is done in this function.
> Here it should set the "torrent_attr" instead of the "ghy".
> 
> Signed-off-by: Xulin Sun <[email protected]>
> ---
>  drivers/phy/cadence/phy-cadence-torrent.c | 7 ++++---
>  1 file changed, 4 insertions(+), 3 deletions(-)
>  mode change 100644 => 100755 drivers/phy/cadence/phy-cadence-torrent.c
> 
> diff --git a/drivers/phy/cadence/phy-cadence-torrent.c 
> b/drivers/phy/cadence/phy-cadence-torrent.c
> old mode 100644
> new mode 100755
> index 9d4eea2b73e2..23d25187bfb7
> --- a/drivers/phy/cadence/phy-cadence-torrent.c
> +++ b/drivers/phy/cadence/phy-cadence-torrent.c
> @@ -2489,9 +2489,10 @@ static int cdns_torrent_phy_probe(struct 
> platform_device *pdev)
>                                cdns_phy->max_bit_rate / 1000,
>                                cdns_phy->max_bit_rate % 1000);
>  
> -                     gphy->attrs.bus_width = cdns_phy->phys[node].num_lanes;
> -                     gphy->attrs.max_link_rate = cdns_phy->max_bit_rate;
> -                     gphy->attrs.mode = PHY_MODE_DP;
> +                     torrent_attr.bus_width = cdns_phy->phys[node].num_lanes;
> +                     torrent_attr.max_link_rate = cdns_phy->max_bit_rate;
> +                     torrent_attr.mode = PHY_MODE_DP;
> +
>                       phy_set_attrs(gphy, torrent_attr);
>               }
>  
> -- 
> 2.17.1
> 

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#9821): 
https://lists.yoctoproject.org/g/linux-yocto/message/9821
Mute This Topic: https://lists.yoctoproject.org/mt/82421492/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/linux-yocto/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to