linux-mips.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
To: Bert Vermeulen <bert@biot.com>
Cc: Rob Herring <robh+dt@kernel.org>,
	linux-mips@vger.kernel.org, devicetree@vger.kernel.org,
	linux-kernel@vger.kernel.org,
	Sander Vanheule <sander@svanheule.net>,
	John Crispin <john@phrozen.org>,
	Birger Koblitz <mail@birger-koblitz.de>
Subject: Re: [PATCH v4 5/5] mips: dts: Add support for Cisco SG220-26 switch
Date: Thu, 4 Feb 2021 21:59:13 +0100	[thread overview]
Message-ID: <20210204205913.GB19460@alpha.franken.de> (raw)
In-Reply-To: <20210119092109.185282-6-bert@biot.com>

On Tue, Jan 19, 2021 at 10:21:09AM +0100, Bert Vermeulen wrote:
> Signed-off-by: Bert Vermeulen <bert@biot.com>
> ---
>  arch/mips/Kconfig                             | 10 ++++++++
>  arch/mips/boot/dts/realtek/Makefile           |  2 ++
>  arch/mips/boot/dts/realtek/cisco_sg220-26.dts | 25 +++++++++++++++++++
>  3 files changed, 37 insertions(+)
>  create mode 100644 arch/mips/boot/dts/realtek/Makefile
>  create mode 100644 arch/mips/boot/dts/realtek/cisco_sg220-26.dts
> 
> diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig
> index 0986d0c4405f..a398416842ca 100644
> --- a/arch/mips/Kconfig
> +++ b/arch/mips/Kconfig
> @@ -1055,6 +1055,16 @@ config NLM_XLP_BOARD
>  
>  endchoice
>  
> +if MACH_REALTEK_RTL
> +choice
> +	prompt "Realtek RTL838x/RTL839x-based switch"
> +	optional
> +
> +	config DT_CISCO_SG220_26
> +		bool "Cisco SG220-26"
> +endchoice
> +endif
> +

I've dropped that while applying, because it's just one DT so far and if
there are more of them, please move to arch/mips/realtek/Kconfig

Thomas.

-- 
Crap can work. Given enough thrust pigs will fly, but it's not necessarily a
good idea.                                                [ RFC1925, 2.3 ]

  reply	other threads:[~2021-02-04 21:01 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-01-19  9:21 [PATCH v4 0/5] Add support for Realtek RTL838x/RTL839x switch SoCs Bert Vermeulen
2021-01-19  9:21 ` [PATCH v4 1/5] dt-bindings: mips: Add support for RTL83xx SoC series Bert Vermeulen
2021-01-19  9:21 ` [PATCH v4 2/5] Add support for Realtek RTL838x/RTL839x switch SoCs Bert Vermeulen
2021-01-19  9:21 ` [PATCH v4 3/5] MIPS: Add Realtek RTL838x/RTL839x support as generic MIPS system Bert Vermeulen
2021-01-19  9:21 ` [PATCH v4 4/5] dt-bindings: Add Cisco prefix to vendor list Bert Vermeulen
2021-01-20 15:50   ` Rob Herring
2021-01-19  9:21 ` [PATCH v4 5/5] mips: dts: Add support for Cisco SG220-26 switch Bert Vermeulen
2021-02-04 20:59   ` Thomas Bogendoerfer [this message]
2021-02-04 20:57 ` [PATCH v4 0/5] Add support for Realtek RTL838x/RTL839x switch SoCs Thomas Bogendoerfer

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=20210204205913.GB19460@alpha.franken.de \
    --to=tsbogend@alpha.franken.de \
    --cc=bert@biot.com \
    --cc=devicetree@vger.kernel.org \
    --cc=john@phrozen.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mips@vger.kernel.org \
    --cc=mail@birger-koblitz.de \
    --cc=robh+dt@kernel.org \
    --cc=sander@svanheule.net \
    /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).