netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Florian Fainelli <f.fainelli@gmail.com>
To: Andrew Lunn <andrew@lunn.ch>, David Miller <davem@davemloft.net>
Cc: Heiner Kallweit <hkallweit1@gmail.com>, netdev <netdev@vger.kernel.org>
Subject: Re: [PATCH net-next 0/2] platform data controls for mdio-gpio
Date: Thu, 6 Dec 2018 09:22:27 -0800	[thread overview]
Message-ID: <2f976fc3-7691-3190-3e66-729cfadb86a4@gmail.com> (raw)
In-Reply-To: <1544104723-17857-1-git-send-email-andrew@lunn.ch>

Hi Andrew,

On 12/6/18 5:58 AM, Andrew Lunn wrote:
> 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.

This looks good, I would just make one/two changes which is to match the
internal phy_mask and phy_ignore_ta_mask types from the struct mii_bus
and use u32 instead of int.

> 
> 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
> 

-- 
Florian

  parent reply	other threads:[~2018-12-06 17:22 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-12-06 13:58 [PATCH net-next 0/2] platform data controls for mdio-gpio Andrew Lunn
2018-12-06 13:58 ` [PATCH net-next 1/2] net: phy: mdio-gpio: Add platform_data support for phy_mask Andrew Lunn
2018-12-06 13:58 ` [PATCH net-next 2/2] net: phy: mdio-gpio: Add phy_ignore_ta_mask to platform data Andrew Lunn
2018-12-06 17:22 ` Florian Fainelli [this message]
2018-12-06 19:54   ` [PATCH net-next 0/2] platform data controls for mdio-gpio Andrew Lunn

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=2f976fc3-7691-3190-3e66-729cfadb86a4@gmail.com \
    --to=f.fainelli@gmail.com \
    --cc=andrew@lunn.ch \
    --cc=davem@davemloft.net \
    --cc=hkallweit1@gmail.com \
    --cc=netdev@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).