All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] PINE64 Rock64 board: Add SPI Flash support
@ 2020-07-08 22:50 Johannes Krottmayer
  2020-07-08 22:50 ` [PATCH 1/2] ARM: dts: rk3328-rock64: " Johannes Krottmayer
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Johannes Krottmayer @ 2020-07-08 22:50 UTC (permalink / raw)
  To: u-boot

This patch series adds SPI Flash support for the PINE64 Rock64
board.

Tested with the version 2.0 of the board.

Johannes Krottmayer (2):
  ARM: dts: rk3328-rock64: Add SPI Flash support
  configs: rock64-rk3328_defconfig: Add SPI Flash support

 arch/arm/dts/rk3328-rock64-u-boot.dtsi | 6 ++++++
 configs/rock64-rk3328_defconfig        | 2 ++
 2 files changed, 8 insertions(+)

-- 
2.26.2

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

* [PATCH 1/2] ARM: dts: rk3328-rock64: Add SPI Flash support
  2020-07-08 22:50 [PATCH 0/2] PINE64 Rock64 board: Add SPI Flash support Johannes Krottmayer
@ 2020-07-08 22:50 ` Johannes Krottmayer
  2020-07-18  3:07   ` Kever Yang
  2020-07-08 22:50 ` [PATCH 2/2] configs: rock64-rk3328_defconfig: " Johannes Krottmayer
  2020-07-18 14:27 ` [PATCH 0/2] PINE64 Rock64 board: " Kever Yang
  2 siblings, 1 reply; 6+ messages in thread
From: Johannes Krottmayer @ 2020-07-08 22:50 UTC (permalink / raw)
  To: u-boot

Add U-Boot SPI Flash support for the PINE64 Rock64 board

Signed-off-by: Johannes Krottmayer <krjdev@gmail.com>
Cc: Matwey V. Kornilov <matwey.kornilov@gmail.com>
---
 arch/arm/dts/rk3328-rock64-u-boot.dtsi | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/arch/arm/dts/rk3328-rock64-u-boot.dtsi b/arch/arm/dts/rk3328-rock64-u-boot.dtsi
index f076075076..7340ef95f1 100644
--- a/arch/arm/dts/rk3328-rock64-u-boot.dtsi
+++ b/arch/arm/dts/rk3328-rock64-u-boot.dtsi
@@ -46,3 +46,9 @@
 &vcc_sd {
 	u-boot,dm-spl;
 };
+
+&spi0 {
+	spi_flash: spiflash at 0 {
+		u-boot,dm-pre-reloc;
+	};
+};
-- 
2.26.2

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

* [PATCH 2/2] configs: rock64-rk3328_defconfig: Add SPI Flash support
  2020-07-08 22:50 [PATCH 0/2] PINE64 Rock64 board: Add SPI Flash support Johannes Krottmayer
  2020-07-08 22:50 ` [PATCH 1/2] ARM: dts: rk3328-rock64: " Johannes Krottmayer
@ 2020-07-08 22:50 ` Johannes Krottmayer
  2020-07-18  3:08   ` Kever Yang
  2020-07-18 14:27 ` [PATCH 0/2] PINE64 Rock64 board: " Kever Yang
  2 siblings, 1 reply; 6+ messages in thread
From: Johannes Krottmayer @ 2020-07-08 22:50 UTC (permalink / raw)
  To: u-boot

Add U-Boot SPI Flash support for the PINE64 Rock64 board

Signed-off-by: Johannes Krottmayer <krjdev@gmail.com>
Cc: Matwey V. Kornilov <matwey.kornilov@gmail.com>
---
 configs/rock64-rk3328_defconfig | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/configs/rock64-rk3328_defconfig b/configs/rock64-rk3328_defconfig
index f123826358..0a51e51a0c 100644
--- a/configs/rock64-rk3328_defconfig
+++ b/configs/rock64-rk3328_defconfig
@@ -97,3 +97,5 @@ CONFIG_SPL_TINY_MEMSET=y
 CONFIG_TPL_TINY_MEMSET=y
 CONFIG_ERRNO_STR=y
 CONFIG_SMBIOS_MANUFACTURER="pine64"
+CONFIG_ROCKCHIP_SPI=y
+CONFIG_SPI_FLASH_GIGADEVICE=y
-- 
2.26.2

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

* [PATCH 1/2] ARM: dts: rk3328-rock64: Add SPI Flash support
  2020-07-08 22:50 ` [PATCH 1/2] ARM: dts: rk3328-rock64: " Johannes Krottmayer
@ 2020-07-18  3:07   ` Kever Yang
  0 siblings, 0 replies; 6+ messages in thread
From: Kever Yang @ 2020-07-18  3:07 UTC (permalink / raw)
  To: u-boot


On 2020/7/9 ??6:50, Johannes Krottmayer wrote:
> Add U-Boot SPI Flash support for the PINE64 Rock64 board
>
> Signed-off-by: Johannes Krottmayer <krjdev@gmail.com>
> Cc: Matwey V. Kornilov <matwey.kornilov@gmail.com>
Reviewed-by: Kever Yang<kever.yang@rock-chips.com>

Thanks,
- Kever
> ---
>   arch/arm/dts/rk3328-rock64-u-boot.dtsi | 6 ++++++
>   1 file changed, 6 insertions(+)
>
> diff --git a/arch/arm/dts/rk3328-rock64-u-boot.dtsi b/arch/arm/dts/rk3328-rock64-u-boot.dtsi
> index f076075076..7340ef95f1 100644
> --- a/arch/arm/dts/rk3328-rock64-u-boot.dtsi
> +++ b/arch/arm/dts/rk3328-rock64-u-boot.dtsi
> @@ -46,3 +46,9 @@
>   &vcc_sd {
>   	u-boot,dm-spl;
>   };
> +
> +&spi0 {
> +	spi_flash: spiflash at 0 {
> +		u-boot,dm-pre-reloc;
> +	};
> +};

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

* [PATCH 2/2] configs: rock64-rk3328_defconfig: Add SPI Flash support
  2020-07-08 22:50 ` [PATCH 2/2] configs: rock64-rk3328_defconfig: " Johannes Krottmayer
@ 2020-07-18  3:08   ` Kever Yang
  0 siblings, 0 replies; 6+ messages in thread
From: Kever Yang @ 2020-07-18  3:08 UTC (permalink / raw)
  To: u-boot


On 2020/7/9 ??6:50, Johannes Krottmayer wrote:
> Add U-Boot SPI Flash support for the PINE64 Rock64 board
>
> Signed-off-by: Johannes Krottmayer <krjdev@gmail.com>
> Cc: Matwey V. Kornilov <matwey.kornilov@gmail.com>
Reviewed-by: Kever Yang<kever.yang@rock-chips.com>

Thanks,
- Kever
> ---
>   configs/rock64-rk3328_defconfig | 2 ++
>   1 file changed, 2 insertions(+)
>
> diff --git a/configs/rock64-rk3328_defconfig b/configs/rock64-rk3328_defconfig
> index f123826358..0a51e51a0c 100644
> --- a/configs/rock64-rk3328_defconfig
> +++ b/configs/rock64-rk3328_defconfig
> @@ -97,3 +97,5 @@ CONFIG_SPL_TINY_MEMSET=y
>   CONFIG_TPL_TINY_MEMSET=y
>   CONFIG_ERRNO_STR=y
>   CONFIG_SMBIOS_MANUFACTURER="pine64"
> +CONFIG_ROCKCHIP_SPI=y
> +CONFIG_SPI_FLASH_GIGADEVICE=y

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

* [PATCH 0/2] PINE64 Rock64 board: Add SPI Flash support
  2020-07-08 22:50 [PATCH 0/2] PINE64 Rock64 board: Add SPI Flash support Johannes Krottmayer
  2020-07-08 22:50 ` [PATCH 1/2] ARM: dts: rk3328-rock64: " Johannes Krottmayer
  2020-07-08 22:50 ` [PATCH 2/2] configs: rock64-rk3328_defconfig: " Johannes Krottmayer
@ 2020-07-18 14:27 ` Kever Yang
  2 siblings, 0 replies; 6+ messages in thread
From: Kever Yang @ 2020-07-18 14:27 UTC (permalink / raw)
  To: u-boot


On 2020/7/9 ??6:50, Johannes Krottmayer wrote:
> This patch series adds SPI Flash support for the PINE64 Rock64
> board.
>
> Tested with the version 2.0 of the board.
>
> Johannes Krottmayer (2):
>    ARM: dts: rk3328-rock64: Add SPI Flash support
>    configs: rock64-rk3328_defconfig: Add SPI Flash support
>
>   arch/arm/dts/rk3328-rock64-u-boot.dtsi | 6 ++++++
>   configs/rock64-rk3328_defconfig        | 2 ++
>   2 files changed, 8 insertions(+)
>
Applied to u-boot-rockchip master for this patch set, thanks.

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

end of thread, other threads:[~2020-07-18 14:27 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-08 22:50 [PATCH 0/2] PINE64 Rock64 board: Add SPI Flash support Johannes Krottmayer
2020-07-08 22:50 ` [PATCH 1/2] ARM: dts: rk3328-rock64: " Johannes Krottmayer
2020-07-18  3:07   ` Kever Yang
2020-07-08 22:50 ` [PATCH 2/2] configs: rock64-rk3328_defconfig: " Johannes Krottmayer
2020-07-18  3:08   ` Kever Yang
2020-07-18 14:27 ` [PATCH 0/2] PINE64 Rock64 board: " Kever Yang

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.