ACK: [PATCH][Unstable][SRU Disco][SRU Cosmic] net: phy: marvell: add new default led configure for m88e151x

Seth Forshee seth.forshee at canonical.com
Wed May 29 18:47:07 UTC 2019


On Thu, May 16, 2019 at 02:35:00PM -0600, dann frazier wrote:
> From: Jian Shen <shenjian15 at huawei.com>
> 
> BugLink: https://bugs.launchpad.net/bugs/1829306
> 
> The default m88e151x LED configuration is 0x1177, used LED[0]
> for 1000M link, LED[1] for 100M link, and LED[2] for active.
> But for some boards, which use LED[0] for link, and LED[1] for
> active, prefer to be 0x1040. To be compatible with this case,
> this patch defines a new dev_flag, and set it before connect
> phy in HNS3 driver. When phy initializing, using the new
> LED configuration if this dev_flag is set.
> 
> Signed-off-by: Jian Shen <shenjian15 at huawei.com>
> Signed-off-by: Huazhong Tan <tanhuazhong at huawei.com>
> Signed-off-by: David S. Miller <davem at davemloft.net>
> (cherry picked from commit a93f7fe134543649cf2e2d8fc2c50a8f4d742915)
> Signed-off-by: dann frazier <dann.frazier at canonical.com>

Upstream cherry pick, limited scope, positive testing.

Acked-by: Seth Forshee <seth.forshee at canonical.com>

unstable/master already has this commit, which was in 5.2-rc1. Thanks!



More information about the kernel-team mailing list