public inbox for linux-arm-kernel@lists.infradead.org
 help / color / mirror / Atom feed
From: maxime.ripard@bootlin.com (Maxime Ripard)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] arm64: activate spi flash on pine64 LTS board
Date: Tue, 24 Jul 2018 14:51:51 +0200	[thread overview]
Message-ID: <20180724125151.plhn5g3x37ah62xu@flea> (raw)
In-Reply-To: <1532274409-9921-1-git-send-email-Akash_Gajjar@mentor.com>

Hi!

On Sun, Jul 22, 2018 at 09:16:49PM +0530, Akash Gajjar wrote:
> This board has a 128M SPI flash. add spi flash support in device tree.
> 
> Tested on pine64 LTS.
> 
> Signed-off-by: Akash Gajjar <Akash_Gajjar@mentor.com>

The author email should match the one in the SoB, and the prefix of
your commit title should be "arm64: dts: allwinner: ..."

> ---
>  .../dts/allwinner/sun50i-a64-sopine-baseboard.dts  | 23 ++++++++++++++++++++++
>  1 file changed, 23 insertions(+)
> 
> diff --git a/arch/arm64/boot/dts/allwinner/sun50i-a64-sopine-baseboard.dts b/arch/arm64/boot/dts/allwinner/sun50i-a64-sopine-baseboard.dts
> index abe179d..d54637d 100644
> --- a/arch/arm64/boot/dts/allwinner/sun50i-a64-sopine-baseboard.dts
> +++ b/arch/arm64/boot/dts/allwinner/sun50i-a64-sopine-baseboard.dts
> @@ -134,6 +134,29 @@
>  	regulator-name = "vcc-wifi";
>  };
>  
> +&spi0  {
> +	status = "okay";
> +
> +	m25p80 at 0 {

The node-name should be the device class, not the device model

> +		#address-cells = <1>;
> +		#size-cells = <1>;
> +		compatible = "w25q128";

According to the binding, this should have "jedec,spi-nor", and you
should put the vendor name before the model name as well.

> +		reg = <0x0>;
> +		linux,modalias = "m25p80", "w25q128";

This property isn

> +		spi-max-frequency = <40000000>;
> +
> +		uboot at 0 {
> +			label = "uboot";
> +			reg = <0x0 0x100000>;
> +		};
> +
> +		rootfs at 0 {
> +			label = "rootfs";
> +			reg = <0x100000 0x7F00000>;
> +		};

This forces a partition scheme on users that might feel
differently. This should be removed.

maxime

-- 
Maxime Ripard, Bootlin (formerly Free Electrons)
Embedded Linux and Kernel engineering
https://bootlin.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20180724/4a70fe4c/attachment.sig>

  reply	other threads:[~2018-07-24 12:51 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <Akash_Gajjar@mentor.com>
2018-07-22 15:46 ` [PATCH] arm64: activate spi flash on pine64 LTS board Akash Gajjar
2018-07-24 12:51   ` Maxime Ripard [this message]
2018-07-26  6:51 ` [PATCH] arm64: dts: allwinner: " Akash Gajjar
2018-07-26  7:29   ` Maxime Ripard
2018-07-26  7:31     ` Maxime Ripard
2018-07-26  8:00       ` Emmanuel Vadot
2018-08-01  7:43 ` [PATCH] arm64: dts: allwinner: a64: add csi regulator to sopine dts Akash Gajjar
2018-08-07  2:52   ` Chen-Yu Tsai
2018-09-14 12:09 ` [PATCH] arm64: dts: rockchip: add initial dts support for Rockpro64 board Akash Gajjar
2018-09-14 17:53   ` Heiko Stuebner
2018-09-15  9:03     ` agajjar
2018-09-15 18:47       ` Heiko Stuebner
2018-09-17  5:44   ` Rob Herring
2018-09-19 14:43 ` Akash Gajjar
2018-09-20  6:25   ` Deepak Das
2018-09-24 13:05   ` Heiko Stuebner
2018-09-25 11:24   ` Rob Herring
2018-09-19 14:45 ` [PATCH] arm64: dts: rockchip: update pinmux setting in rk3399.dtsi Akash Gajjar
2018-09-24 12:58   ` Heiko Stuebner
2018-09-26  6:24 ` [PATCH v3] arm64: dts: rockchip: add initial dts support for Rockpro64 Akash Gajjar
2018-09-26  9:44   ` Deepak Das
2018-09-26 11:35   ` Heiko Stuebner
2018-09-27 20:02   ` Rob Herring

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=20180724125151.plhn5g3x37ah62xu@flea \
    --to=maxime.ripard@bootlin.com \
    --cc=linux-arm-kernel@lists.infradead.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