From: Andreas Herrmann <andreas.herrmann@caviumnetworks.com>
To: David Daney <ddaney.cavm@gmail.com>
Cc: James Cowgill <James.Cowgill@imgtec.com>,
<linux-mips@linux-mips.org>, Ralf Baechle <ralf@linux-mips.org>,
Aaro Koskinen <aaro.koskinen@iki.fi>,
David Daney <david.daney@cavium.com>,
Markos Chandras <markos.chandras@imgtec.com>
Subject: Re: [PATCH] MIPS: octeon: Add support for the UBNT E200 board
Date: Mon, 24 Nov 2014 19:54:54 +0100 [thread overview]
Message-ID: <20141124185454.GA12164@alberich> (raw)
In-Reply-To: <54736A06.9070206@gmail.com>
On Mon, Nov 24, 2014 at 09:25:26AM -0800, David Daney wrote:
> On 11/24/2014 05:51 AM, James Cowgill wrote:
> >From: Markos Chandras <markos.chandras@imgtec.com>
> >
> >Add support for the UBNT E200 board (EdgeRouter/EdgeRouter Pro 8 port).
> >
> >Signed-off-by: Markos Chandras <markos.chandras@imgtec.com>
> >Signed-off-by: James Cowgill <James.Cowgill@imgtec.com>
>
> NACK.
>
> As far as I know, these boards have a boot loader that supplies a
> correct device tree, there should be no need to hack up the kernel
> like this.
>
> As far as I know, Andreas is running a kernel.org kernel on these
> boards without anything like this.
>
> Andreas, can you confirm this?
Yes, a device tree is supported and most stuff works with mainline and
the USB patches posted recently.
Andreas
> Thanks,
> David Daney
>
> >---
> > arch/mips/cavium-octeon/executive/cvmx-helper-board.c | 3 +++
> > arch/mips/include/asm/octeon/cvmx-bootinfo.h | 2 ++
> > 2 files changed, 5 insertions(+)
> >
> >diff --git a/arch/mips/cavium-octeon/executive/cvmx-helper-board.c b/arch/mips/cavium-octeon/executive/cvmx-helper-board.c
> >index 5dfef84..69ba6fb 100644
> >--- a/arch/mips/cavium-octeon/executive/cvmx-helper-board.c
> >+++ b/arch/mips/cavium-octeon/executive/cvmx-helper-board.c
> >@@ -186,6 +186,8 @@ int cvmx_helper_board_get_mii_address(int ipd_port)
> > return 7 - ipd_port;
> > else
> > return -1;
> >+ case CVMX_BOARD_TYPE_UBNT_E200:
> >+ return -1;
> > case CVMX_BOARD_TYPE_CUST_DSR1000N:
> > /*
> > * Port 2 connects to Broadcom PHY (B5081). Other ports (0-1)
> >@@ -759,6 +761,7 @@ enum cvmx_helper_board_usb_clock_types __cvmx_helper_board_usb_get_clock_type(vo
> > case CVMX_BOARD_TYPE_LANAI2_G:
> > case CVMX_BOARD_TYPE_NIC10E_66:
> > case CVMX_BOARD_TYPE_UBNT_E100:
> >+ case CVMX_BOARD_TYPE_UBNT_E200:
> > case CVMX_BOARD_TYPE_CUST_DSR1000N:
> > return USB_CLOCK_TYPE_CRYSTAL_12;
> > case CVMX_BOARD_TYPE_NIC10E:
> >diff --git a/arch/mips/include/asm/octeon/cvmx-bootinfo.h b/arch/mips/include/asm/octeon/cvmx-bootinfo.h
> >index 2298199..0567847 100644
> >--- a/arch/mips/include/asm/octeon/cvmx-bootinfo.h
> >+++ b/arch/mips/include/asm/octeon/cvmx-bootinfo.h
> >@@ -228,6 +228,7 @@ enum cvmx_board_types_enum {
> > */
> > CVMX_BOARD_TYPE_CUST_PRIVATE_MIN = 20001,
> > CVMX_BOARD_TYPE_UBNT_E100 = 20002,
> >+ CVMX_BOARD_TYPE_UBNT_E200 = 20003,
> > CVMX_BOARD_TYPE_CUST_DSR1000N = 20006,
> > CVMX_BOARD_TYPE_CUST_PRIVATE_MAX = 30000,
> >
> >@@ -328,6 +329,7 @@ static inline const char *cvmx_board_type_to_string(enum
> > /* Customer private range */
> > ENUM_BRD_TYPE_CASE(CVMX_BOARD_TYPE_CUST_PRIVATE_MIN)
> > ENUM_BRD_TYPE_CASE(CVMX_BOARD_TYPE_UBNT_E100)
> >+ ENUM_BRD_TYPE_CASE(CVMX_BOARD_TYPE_UBNT_E200)
> > ENUM_BRD_TYPE_CASE(CVMX_BOARD_TYPE_CUST_DSR1000N)
> > ENUM_BRD_TYPE_CASE(CVMX_BOARD_TYPE_CUST_PRIVATE_MAX)
> > }
> >
>
WARNING: multiple messages have this Message-ID (diff)
From: Andreas Herrmann <andreas.herrmann@caviumnetworks.com>
To: David Daney <ddaney.cavm@gmail.com>
Cc: James Cowgill <James.Cowgill@imgtec.com>,
linux-mips@linux-mips.org, Ralf Baechle <ralf@linux-mips.org>,
Aaro Koskinen <aaro.koskinen@iki.fi>,
David Daney <david.daney@cavium.com>,
Markos Chandras <markos.chandras@imgtec.com>
Subject: Re: [PATCH] MIPS: octeon: Add support for the UBNT E200 board
Date: Mon, 24 Nov 2014 19:54:54 +0100 [thread overview]
Message-ID: <20141124185454.GA12164@alberich> (raw)
Message-ID: <20141124185454.9wDRIOJdSkHCxjwl8zmoxAREMAL-8CJES2R4BcttAb4@z> (raw)
In-Reply-To: <54736A06.9070206@gmail.com>
On Mon, Nov 24, 2014 at 09:25:26AM -0800, David Daney wrote:
> On 11/24/2014 05:51 AM, James Cowgill wrote:
> >From: Markos Chandras <markos.chandras@imgtec.com>
> >
> >Add support for the UBNT E200 board (EdgeRouter/EdgeRouter Pro 8 port).
> >
> >Signed-off-by: Markos Chandras <markos.chandras@imgtec.com>
> >Signed-off-by: James Cowgill <James.Cowgill@imgtec.com>
>
> NACK.
>
> As far as I know, these boards have a boot loader that supplies a
> correct device tree, there should be no need to hack up the kernel
> like this.
>
> As far as I know, Andreas is running a kernel.org kernel on these
> boards without anything like this.
>
> Andreas, can you confirm this?
Yes, a device tree is supported and most stuff works with mainline and
the USB patches posted recently.
Andreas
> Thanks,
> David Daney
>
> >---
> > arch/mips/cavium-octeon/executive/cvmx-helper-board.c | 3 +++
> > arch/mips/include/asm/octeon/cvmx-bootinfo.h | 2 ++
> > 2 files changed, 5 insertions(+)
> >
> >diff --git a/arch/mips/cavium-octeon/executive/cvmx-helper-board.c b/arch/mips/cavium-octeon/executive/cvmx-helper-board.c
> >index 5dfef84..69ba6fb 100644
> >--- a/arch/mips/cavium-octeon/executive/cvmx-helper-board.c
> >+++ b/arch/mips/cavium-octeon/executive/cvmx-helper-board.c
> >@@ -186,6 +186,8 @@ int cvmx_helper_board_get_mii_address(int ipd_port)
> > return 7 - ipd_port;
> > else
> > return -1;
> >+ case CVMX_BOARD_TYPE_UBNT_E200:
> >+ return -1;
> > case CVMX_BOARD_TYPE_CUST_DSR1000N:
> > /*
> > * Port 2 connects to Broadcom PHY (B5081). Other ports (0-1)
> >@@ -759,6 +761,7 @@ enum cvmx_helper_board_usb_clock_types __cvmx_helper_board_usb_get_clock_type(vo
> > case CVMX_BOARD_TYPE_LANAI2_G:
> > case CVMX_BOARD_TYPE_NIC10E_66:
> > case CVMX_BOARD_TYPE_UBNT_E100:
> >+ case CVMX_BOARD_TYPE_UBNT_E200:
> > case CVMX_BOARD_TYPE_CUST_DSR1000N:
> > return USB_CLOCK_TYPE_CRYSTAL_12;
> > case CVMX_BOARD_TYPE_NIC10E:
> >diff --git a/arch/mips/include/asm/octeon/cvmx-bootinfo.h b/arch/mips/include/asm/octeon/cvmx-bootinfo.h
> >index 2298199..0567847 100644
> >--- a/arch/mips/include/asm/octeon/cvmx-bootinfo.h
> >+++ b/arch/mips/include/asm/octeon/cvmx-bootinfo.h
> >@@ -228,6 +228,7 @@ enum cvmx_board_types_enum {
> > */
> > CVMX_BOARD_TYPE_CUST_PRIVATE_MIN = 20001,
> > CVMX_BOARD_TYPE_UBNT_E100 = 20002,
> >+ CVMX_BOARD_TYPE_UBNT_E200 = 20003,
> > CVMX_BOARD_TYPE_CUST_DSR1000N = 20006,
> > CVMX_BOARD_TYPE_CUST_PRIVATE_MAX = 30000,
> >
> >@@ -328,6 +329,7 @@ static inline const char *cvmx_board_type_to_string(enum
> > /* Customer private range */
> > ENUM_BRD_TYPE_CASE(CVMX_BOARD_TYPE_CUST_PRIVATE_MIN)
> > ENUM_BRD_TYPE_CASE(CVMX_BOARD_TYPE_UBNT_E100)
> >+ ENUM_BRD_TYPE_CASE(CVMX_BOARD_TYPE_UBNT_E200)
> > ENUM_BRD_TYPE_CASE(CVMX_BOARD_TYPE_CUST_DSR1000N)
> > ENUM_BRD_TYPE_CASE(CVMX_BOARD_TYPE_CUST_PRIVATE_MAX)
> > }
> >
>
next prev parent reply other threads:[~2014-11-24 18:55 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-11-24 13:51 [PATCH] MIPS: octeon: Add support for the UBNT E200 board James Cowgill
2014-11-24 13:51 ` James Cowgill
2014-11-24 17:25 ` David Daney
2014-11-24 17:37 ` James Cowgill
2014-11-24 18:54 ` Andreas Herrmann [this message]
2014-11-24 18:54 ` Andreas Herrmann
2014-11-24 19:13 ` Aaro Koskinen
2014-11-24 19:46 ` Aaro Koskinen
2014-11-24 19:53 ` David Daney
2014-11-25 11:58 ` James Cowgill
2014-11-25 12:09 ` Ralf Baechle
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=20141124185454.GA12164@alberich \
--to=andreas.herrmann@caviumnetworks.com \
--cc=James.Cowgill@imgtec.com \
--cc=aaro.koskinen@iki.fi \
--cc=david.daney@cavium.com \
--cc=ddaney.cavm@gmail.com \
--cc=linux-mips@linux-mips.org \
--cc=markos.chandras@imgtec.com \
--cc=ralf@linux-mips.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.