summaryrefslogtreecommitdiff
path: root/drivers/net/dsa/vitesse-vsc73xx-platform.c
AgeCommit message (Collapse)AuthorFilesLines
2020-05-09net: dsa: vsc73xx: convert to devm_platform_ioremap_resourceWei Yongjun1-9/+1
Use the helper function that wraps the calls to platform_get_resource() and devm_ioremap_resource() together. Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com> Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2019-07-08net: dsa: vsc73xx: add support for parallel modePawel Dembicki1-0/+164
This patch add platform part of vsc73xx driver. It allows to use chip connected to a parallel memory bus and work in memory-mapped I/O mode. (aka PI bus in chip manual) By default device is working in big endian mode. Signed-off-by: Pawel Dembicki <paweldembicki@gmail.com> Reviewed-by: Linus Walleij <linus.walleij@linaro.org> Reviewed-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>