lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:   Wed, 16 Sep 2020 02:01:35 +0300
From:   Laurent Pinchart <laurent.pinchart@...asonboard.com>
To:     Swapnil Jakhade <sjakhade@...ence.com>
Cc:     vkoul@...nel.org, kishon@...com, linux-kernel@...r.kernel.org,
        maxime@...no.tech, mparab@...ence.com, yamonkar@...ence.com,
        nsekhar@...com, tomi.valkeinen@...com, jsarha@...com,
        praneeth@...com
Subject: Re: [PATCH v6 2/2] phy: cadence-torrent: Set Torrent PHY attributes

Hi Swapnil,

Thank you for the patch.

On Fri, Sep 11, 2020 at 08:18:34AM +0200, Swapnil Jakhade wrote:
> Set Torrent PHY attributes bus_width, max_link_rate and mode
> for DisplayPort.
> 
> Signed-off-by: Swapnil Jakhade <sjakhade@...ence.com>
> Acked-by: Kishon Vijay Abraham I <kishon@...com>

Reviewed-by: Laurent Pinchart <laurent.pinchart@...asonboard.com>

> ---
>  drivers/phy/cadence/phy-cadence-torrent.c | 4 ++++
>  1 file changed, 4 insertions(+)
> 
> diff --git a/drivers/phy/cadence/phy-cadence-torrent.c b/drivers/phy/cadence/phy-cadence-torrent.c
> index 7116127358ee..116aca36f7dd 100644
> --- a/drivers/phy/cadence/phy-cadence-torrent.c
> +++ b/drivers/phy/cadence/phy-cadence-torrent.c
> @@ -1852,6 +1852,10 @@ static int cdns_torrent_phy_probe(struct platform_device *pdev)
>  				 cdns_phy->phys[node].num_lanes,
>  				 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;
>  		} else {
>  			dev_err(dev, "Driver supports only PHY_TYPE_DP\n");
>  			ret = -ENOTSUPP;

-- 
Regards,

Laurent Pinchart

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ