devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next v4 00/10] Support for the Broadcom GENET driver
@ 2014-02-13 23:30 Florian Fainelli
  2014-02-13 23:38 ` David Miller
  0 siblings, 1 reply; 7+ messages in thread
From: Florian Fainelli @ 2014-02-13 23:30 UTC (permalink / raw)
  To: netdev-u79uwXL29TY76Z2rM5mHXA
  Cc: davem-fT/PcQaiUtIeIZ0/mPfg9Q, devicetree-u79uwXL29TY76Z2rM5mHXA,
	cernekee-Re5JQEeQqe8AvxtiuMwx3w, mark.rutland-5wv7dgnIgG8,
	romieu-W8zweXLXuWQS+FvcfC7Uqw, Florian Fainelli

This patchset adds support for the Broadcom GENET Gigabit Ethernet MAC
controller. This controller is found on the Broadcom BCM7xxx Set Top Box
System-on-a-chips.

Changes since v3:
- fixed Kconfig dependency on FIXED_PHY

Changes since v2:
- dropped the patch that adds an "internal" phy-mode

Florian Fainelli (10):
  net: phy: add MoCA PHY type
  net: phy: update port type for MoCA PHYs
  net: phy: broadcom: extract register definitions
  net: phy: add Broadcom BCM7xxx internal PHY driver
  net: bcmgenet: add driver definitions and private structure
  net: bcmgenet: add main driver file
  net: bcmgenet: add MDIO routines
  net: bcmgenet: hook into the build system
  Documentation: add Device tree bindings for Broadcom GENET
  MAINTAINERS: add entry for the Broadcom GENET driver

 .../devicetree/bindings/net/broadcom-bcmgenet.txt  |  121 +
 MAINTAINERS                                        |    6 +
 drivers/net/ethernet/broadcom/Kconfig              |   10 +
 drivers/net/ethernet/broadcom/Makefile             |    1 +
 drivers/net/ethernet/broadcom/genet/Makefile       |    2 +
 drivers/net/ethernet/broadcom/genet/bcmgenet.c     | 2595 ++++++++++++++++++++
 drivers/net/ethernet/broadcom/genet/bcmgenet.h     |  630 +++++
 drivers/net/ethernet/broadcom/genet/bcmmii.c       |  470 ++++
 drivers/net/phy/Kconfig                            |    6 +
 drivers/net/phy/Makefile                           |    1 +
 drivers/net/phy/bcm7xxx.c                          |  343 +++
 drivers/net/phy/broadcom.c                         |   52 -
 drivers/net/phy/phy.c                              |    5 +-
 include/linux/brcmphy.h                            |   60 +
 include/linux/phy.h                                |    3 +
 15 files changed, 4252 insertions(+), 53 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/net/broadcom-bcmgenet.txt
 create mode 100644 drivers/net/ethernet/broadcom/genet/Makefile
 create mode 100644 drivers/net/ethernet/broadcom/genet/bcmgenet.c
 create mode 100644 drivers/net/ethernet/broadcom/genet/bcmgenet.h
 create mode 100644 drivers/net/ethernet/broadcom/genet/bcmmii.c
 create mode 100644 drivers/net/phy/bcm7xxx.c

-- 
1.8.3.2

--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [PATCH net-next v4 00/10] Support for the Broadcom GENET driver
@ 2014-02-13 23:30 Florian Fainelli
  0 siblings, 0 replies; 7+ messages in thread
From: Florian Fainelli @ 2014-02-13 23:30 UTC (permalink / raw)
  To: netdev; +Cc: davem, devicetree, cernekee, mark.rutland, romieu,
	Florian Fainelli

This patchset adds support for the Broadcom GENET Gigabit Ethernet MAC
controller. This controller is found on the Broadcom BCM7xxx Set Top Box
System-on-a-chips.

Changes since v3:
- fixed Kconfig dependency on FIXED_PHY

Changes since v2:
- dropped the patch that adds an "internal" phy-mode

Florian Fainelli (10):
  net: phy: add MoCA PHY type
  net: phy: update port type for MoCA PHYs
  net: phy: broadcom: extract register definitions
  net: phy: add Broadcom BCM7xxx internal PHY driver
  net: bcmgenet: add driver definitions and private structure
  net: bcmgenet: add main driver file
  net: bcmgenet: add MDIO routines
  net: bcmgenet: hook into the build system
  Documentation: add Device tree bindings for Broadcom GENET
  MAINTAINERS: add entry for the Broadcom GENET driver

 .../devicetree/bindings/net/broadcom-bcmgenet.txt  |  121 +
 MAINTAINERS                                        |    6 +
 drivers/net/ethernet/broadcom/Kconfig              |   10 +
 drivers/net/ethernet/broadcom/Makefile             |    1 +
 drivers/net/ethernet/broadcom/genet/Makefile       |    2 +
 drivers/net/ethernet/broadcom/genet/bcmgenet.c     | 2595 ++++++++++++++++++++
 drivers/net/ethernet/broadcom/genet/bcmgenet.h     |  630 +++++
 drivers/net/ethernet/broadcom/genet/bcmmii.c       |  470 ++++
 drivers/net/phy/Kconfig                            |    6 +
 drivers/net/phy/Makefile                           |    1 +
 drivers/net/phy/bcm7xxx.c                          |  343 +++
 drivers/net/phy/broadcom.c                         |   52 -
 drivers/net/phy/phy.c                              |    5 +-
 include/linux/brcmphy.h                            |   60 +
 include/linux/phy.h                                |    3 +
 15 files changed, 4252 insertions(+), 53 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/net/broadcom-bcmgenet.txt
 create mode 100644 drivers/net/ethernet/broadcom/genet/Makefile
 create mode 100644 drivers/net/ethernet/broadcom/genet/bcmgenet.c
 create mode 100644 drivers/net/ethernet/broadcom/genet/bcmgenet.h
 create mode 100644 drivers/net/ethernet/broadcom/genet/bcmmii.c
 create mode 100644 drivers/net/phy/bcm7xxx.c

-- 
1.8.3.2

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PATCH net-next v4 00/10] Support for the Broadcom GENET driver
  2014-02-13 23:30 [PATCH net-next v4 00/10] Support for the Broadcom GENET driver Florian Fainelli
@ 2014-02-13 23:38 ` David Miller
  2014-02-13 23:39   ` David Miller
  0 siblings, 1 reply; 7+ messages in thread
From: David Miller @ 2014-02-13 23:38 UTC (permalink / raw)
  To: f.fainelli; +Cc: netdev, devicetree, cernekee, mark.rutland, romieu

From: Florian Fainelli <f.fainelli@gmail.com>
Date: Thu, 13 Feb 2014 15:30:12 -0800

> This patchset adds support for the Broadcom GENET Gigabit Ethernet MAC
> controller. This controller is found on the Broadcom BCM7xxx Set Top Box
> System-on-a-chips.
> 
> Changes since v3:
> - fixed Kconfig dependency on FIXED_PHY
> 
> Changes since v2:
> - dropped the patch that adds an "internal" phy-mode

Looks better, series applied, thanks.

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PATCH net-next v4 00/10] Support for the Broadcom GENET driver
  2014-02-13 23:38 ` David Miller
@ 2014-02-13 23:39   ` David Miller
  2014-02-13 23:41     ` Florian Fainelli
  0 siblings, 1 reply; 7+ messages in thread
From: David Miller @ 2014-02-13 23:39 UTC (permalink / raw)
  To: f.fainelli; +Cc: netdev, devicetree, cernekee, mark.rutland, romieu

From: David Miller <davem@davemloft.net>
Date: Thu, 13 Feb 2014 18:38:06 -0500 (EST)

> From: Florian Fainelli <f.fainelli@gmail.com>
> Date: Thu, 13 Feb 2014 15:30:12 -0800
> 
>> This patchset adds support for the Broadcom GENET Gigabit Ethernet MAC
>> controller. This controller is found on the Broadcom BCM7xxx Set Top Box
>> System-on-a-chips.
>> 
>> Changes since v3:
>> - fixed Kconfig dependency on FIXED_PHY
>> 
>> Changes since v2:
>> - dropped the patch that adds an "internal" phy-mode
> 
> Looks better, series applied, thanks.

Actually, I have to revert, this breaks the allmodconfig build on x86_64:

drivers/net/ethernet/broadcom/genet/bcmmii.c: In function ‘bcmgenet_mii_of_init’:
drivers/net/ethernet/broadcom/genet/bcmmii.c:404:2: error: implicit declaration of function ‘of_get_next_child’ [-Werror=implicit-function-declaration]
drivers/net/ethernet/broadcom/genet/bcmmii.c:404:10: warning: assignment makes pointer from integer without a cast [enabled by default]
cc1: some warnings being treated as errors

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PATCH net-next v4 00/10] Support for the Broadcom GENET driver
  2014-02-13 23:39   ` David Miller
@ 2014-02-13 23:41     ` Florian Fainelli
  2014-02-13 23:42       ` Florian Fainelli
       [not found]       ` <CAGVrzcaJJBspF6o_0+kWHwh4hs7Q3YCknqZdFzS-ouyfBUecbQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
  0 siblings, 2 replies; 7+ messages in thread
From: Florian Fainelli @ 2014-02-13 23:41 UTC (permalink / raw)
  To: David Miller
  Cc: netdev, devicetree@vger.kernel.org, Kevin Cernekee, Mark Rutland,
	Francois Romieu

2014-02-13 15:39 GMT-08:00 David Miller <davem@davemloft.net>:
> From: David Miller <davem@davemloft.net>
> Date: Thu, 13 Feb 2014 18:38:06 -0500 (EST)
>
>> From: Florian Fainelli <f.fainelli@gmail.com>
>> Date: Thu, 13 Feb 2014 15:30:12 -0800
>>
>>> This patchset adds support for the Broadcom GENET Gigabit Ethernet MAC
>>> controller. This controller is found on the Broadcom BCM7xxx Set Top Box
>>> System-on-a-chips.
>>>
>>> Changes since v3:
>>> - fixed Kconfig dependency on FIXED_PHY
>>>
>>> Changes since v2:
>>> - dropped the patch that adds an "internal" phy-mode
>>
>> Looks better, series applied, thanks.
>
> Actually, I have to revert, this breaks the allmodconfig build on x86_64:
>
> drivers/net/ethernet/broadcom/genet/bcmmii.c: In function ‘bcmgenet_mii_of_init’:
> drivers/net/ethernet/broadcom/genet/bcmmii.c:404:2: error: implicit declaration of function ‘of_get_next_child’ [-Werror=implicit-function-declaration]
> drivers/net/ethernet/broadcom/genet/bcmmii.c:404:10: warning: assignment makes pointer from integer without a cast [enabled by default]
> cc1: some warnings being treated as errors

Ok, would you agree in having a big fat "depends on OF" for now until
I can get an empty stub going with the DT people?
-- 
Florian

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PATCH net-next v4 00/10] Support for the Broadcom GENET driver
  2014-02-13 23:41     ` Florian Fainelli
@ 2014-02-13 23:42       ` Florian Fainelli
       [not found]       ` <CAGVrzcaJJBspF6o_0+kWHwh4hs7Q3YCknqZdFzS-ouyfBUecbQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
  1 sibling, 0 replies; 7+ messages in thread
From: Florian Fainelli @ 2014-02-13 23:42 UTC (permalink / raw)
  To: David Miller
  Cc: netdev, devicetree@vger.kernel.org, Kevin Cernekee, Mark Rutland,
	Francois Romieu

2014-02-13 15:41 GMT-08:00 Florian Fainelli <f.fainelli@gmail.com>:
> 2014-02-13 15:39 GMT-08:00 David Miller <davem@davemloft.net>:
>> From: David Miller <davem@davemloft.net>
>> Date: Thu, 13 Feb 2014 18:38:06 -0500 (EST)
>>
>>> From: Florian Fainelli <f.fainelli@gmail.com>
>>> Date: Thu, 13 Feb 2014 15:30:12 -0800
>>>
>>>> This patchset adds support for the Broadcom GENET Gigabit Ethernet MAC
>>>> controller. This controller is found on the Broadcom BCM7xxx Set Top Box
>>>> System-on-a-chips.
>>>>
>>>> Changes since v3:
>>>> - fixed Kconfig dependency on FIXED_PHY
>>>>
>>>> Changes since v2:
>>>> - dropped the patch that adds an "internal" phy-mode
>>>
>>> Looks better, series applied, thanks.
>>
>> Actually, I have to revert, this breaks the allmodconfig build on x86_64:
>>
>> drivers/net/ethernet/broadcom/genet/bcmmii.c: In function ‘bcmgenet_mii_of_init’:
>> drivers/net/ethernet/broadcom/genet/bcmmii.c:404:2: error: implicit declaration of function ‘of_get_next_child’ [-Werror=implicit-function-declaration]
>> drivers/net/ethernet/broadcom/genet/bcmmii.c:404:10: warning: assignment makes pointer from integer without a cast [enabled by default]
>> cc1: some warnings being treated as errors
>
> Ok, would you agree in having a big fat "depends on OF" for now until
> I can get an empty stub going with the DT people?

There is an alternate solution which will not require such a big
hammer Kconfig dependency.
-- 
Florian

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PATCH net-next v4 00/10] Support for the Broadcom GENET driver
       [not found]       ` <CAGVrzcaJJBspF6o_0+kWHwh4hs7Q3YCknqZdFzS-ouyfBUecbQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
@ 2014-02-13 23:53         ` David Miller
  0 siblings, 0 replies; 7+ messages in thread
From: David Miller @ 2014-02-13 23:53 UTC (permalink / raw)
  To: f.fainelli-Re5JQEeQqe8AvxtiuMwx3w
  Cc: netdev-u79uwXL29TY76Z2rM5mHXA, devicetree-u79uwXL29TY76Z2rM5mHXA,
	cernekee-Re5JQEeQqe8AvxtiuMwx3w, mark.rutland-5wv7dgnIgG8,
	romieu-W8zweXLXuWQS+FvcfC7Uqw

From: Florian Fainelli <f.fainelli-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
Date: Thu, 13 Feb 2014 15:41:03 -0800

> Ok, would you agree in having a big fat "depends on OF" for now until
> I can get an empty stub going with the DT people?

Yes.
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2014-02-13 23:53 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-02-13 23:30 [PATCH net-next v4 00/10] Support for the Broadcom GENET driver Florian Fainelli
2014-02-13 23:38 ` David Miller
2014-02-13 23:39   ` David Miller
2014-02-13 23:41     ` Florian Fainelli
2014-02-13 23:42       ` Florian Fainelli
     [not found]       ` <CAGVrzcaJJBspF6o_0+kWHwh4hs7Q3YCknqZdFzS-ouyfBUecbQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2014-02-13 23:53         ` David Miller
  -- strict thread matches above, loose matches on Subject: below --
2014-02-13 23:30 Florian Fainelli

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