mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Sascha Hauer <s.hauer@pengutronix.de>
To: Oleksij Rempel <linux@rempel-privat.de>
Cc: barebox@lists.infradead.org
Subject: Re: [PATCH v1 2/3] MIPS: dts: tl_wdr4300: add Atheros ART partition
Date: Tue, 26 Sep 2017 09:09:21 +0200	[thread overview]
Message-ID: <20170926070921.izgbsflie2ot22gy@pengutronix.de> (raw)
In-Reply-To: <20170920180557.22857-2-linux@rempel-privat.de>

Hi Oleksij,

On Wed, Sep 20, 2017 at 08:05:56PM +0200, Oleksij Rempel wrote:
> and define it as source of MAC address for ag71xx driver
> 
> Signed-off-by: Oleksij Rempel <linux@rempel-privat.de>
> ---
>  arch/mips/dts/ar9344-tl-wdr4300-v1.7.dts | 11 +++++++++++
>  1 file changed, 11 insertions(+)
> 
> diff --git a/arch/mips/dts/ar9344-tl-wdr4300-v1.7.dts b/arch/mips/dts/ar9344-tl-wdr4300-v1.7.dts
> index d16cab005..3733ad5b7 100644
> --- a/arch/mips/dts/ar9344-tl-wdr4300-v1.7.dts
> +++ b/arch/mips/dts/ar9344-tl-wdr4300-v1.7.dts
> @@ -26,6 +26,12 @@
>  			compatible = "barebox,environment";
>  			device-path = &spiflash, "partname:barebox-environment";
>  		};
> +
> +		art@0 {
> +			compatible = "qca,art", "qca,art-ar9344";
> +			device-path = &spiflash, "partname:art";
> +			barebox,provide-mac-address = <&mac0>;
> +		};
>  	};
>  };
>  
> @@ -59,6 +65,11 @@
>  			label = "barebox-environment";
>  			reg = <0x80000 0x10000>;
>  		};
> +
> +		partition@7f0000 {
> +			label = "art";
> +			reg = <0x7f0000 0x10000>;
> +		};
>  	};
>  };

There once was a proposal to add nvmem support to mtd
(https://lkml.org/lkml/2017/3/7/131). Apparently this didn't make it
mainline, although the comments to this series haven't been very
negative. Could you have a look if it's worth to pick this work up
or at least adopt it for barebox? I have the feeling that nvmem support
for mtd is something that we haven't come across for the last time.

Sascha


-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

  reply	other threads:[~2017-09-26  7:09 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-09-20 18:05 [PATCH v1 1/3] net: ag71xx: define parent devices Oleksij Rempel
2017-09-20 18:05 ` [PATCH v1 2/3] MIPS: dts: tl_wdr4300: add Atheros ART partition Oleksij Rempel
2017-09-26  7:09   ` Sascha Hauer [this message]
2017-09-29 22:03     ` Oleksij Rempel
2017-09-20 18:05 ` [PATCH v1 3/3] MIPS: ath79: provide driver for " Oleksij Rempel
2018-06-05 18:10 [PATCH v1 1/3] " Oleksij Rempel
2018-06-05 18:10 ` [PATCH v1 2/3] MIPS: dts: tl_wdr4300: add " Oleksij Rempel

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=20170926070921.izgbsflie2ot22gy@pengutronix.de \
    --to=s.hauer@pengutronix.de \
    --cc=barebox@lists.infradead.org \
    --cc=linux@rempel-privat.de \
    /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