From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andrew Lunn Subject: [PATCH net-next 0/2] platform data controls for mdio-gpio Date: Thu, 6 Dec 2018 14:58:41 +0100 Message-ID: <1544104723-17857-1-git-send-email-andrew@lunn.ch> Cc: Florian Fainelli , Heiner Kallweit , netdev , Andrew Lunn To: David Miller Return-path: Received: from vps0.lunn.ch ([185.16.172.187]:36134 "EHLO vps0.lunn.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727704AbeLFOAn (ORCPT ); Thu, 6 Dec 2018 09:00:43 -0500 Sender: netdev-owner@vger.kernel.org List-ID: Soon to be mainlined is an x86 platform with a Marvell switch, and a bit-banging MDIO bus. In order to make this work, the phy_mask of the MDIO bus needs to be set to prevent scanning for PHYs, and the phy_ignore_ta_mask needs to be set because the switch has broken turnaround. Add a platform_data structure with these parameters. Andrew Lunn (2): net: phy: mdio-gpio: Add platform_data support for phy_mask net: phy: mdio-gpio: Add phy_ignore_ta_mask to platform data MAINTAINERS | 1 + drivers/net/phy/mdio-gpio.c | 7 +++++++ include/linux/platform_data/mdio-gpio.h | 14 ++++++++++++++ 3 files changed, 22 insertions(+) create mode 100644 include/linux/platform_data/mdio-gpio.h -- 2.19.1