All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/2] rpi: Update the Raspberry Pi doucmentation URL
@ 2021-11-21 17:03 Peter Robinson
  2021-11-21 17:03 ` [PATCH 2/2] rpi: Add identifier for the new RPi Zero 2 W Peter Robinson
  2021-11-30 15:03 ` [PATCH 1/2] rpi: Update the Raspberry Pi doucmentation URL Matthias Brugger
  0 siblings, 2 replies; 4+ messages in thread
From: Peter Robinson @ 2021-11-21 17:03 UTC (permalink / raw)
  To: Matthias Brugger, u-boot; +Cc: Peter Robinson

The Raspberry Pi Foundation has updated their documentation so update
the URL to the latest place to find the HW device revision codes.

Signed-off-by: Peter Robinson <pbrobinson@gmail.com>
---
 board/raspberrypi/rpi/rpi.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/board/raspberrypi/rpi/rpi.c b/board/raspberrypi/rpi/rpi.c
index 55afaa54d9..e7bcee3746 100644
--- a/board/raspberrypi/rpi/rpi.c
+++ b/board/raspberrypi/rpi/rpi.c
@@ -72,7 +72,7 @@ struct msg_get_clock_rate {
 #endif
 
 /*
- * https://www.raspberrypi.org/documentation/hardware/raspberrypi/revision-codes/README.md
+ * https://www.raspberrypi.com/documentation/computers/raspberry-pi.html#raspberry-pi-revision-codes
  */
 struct rpi_model {
 	const char *name;
-- 
2.33.1


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

* [PATCH 2/2] rpi: Add identifier for the new RPi Zero 2 W
  2021-11-21 17:03 [PATCH 1/2] rpi: Update the Raspberry Pi doucmentation URL Peter Robinson
@ 2021-11-21 17:03 ` Peter Robinson
  2021-11-30 15:04   ` Matthias Brugger
  2021-11-30 15:03 ` [PATCH 1/2] rpi: Update the Raspberry Pi doucmentation URL Matthias Brugger
  1 sibling, 1 reply; 4+ messages in thread
From: Peter Robinson @ 2021-11-21 17:03 UTC (permalink / raw)
  To: Matthias Brugger, u-boot; +Cc: Peter Robinson

The Raspberry Pi Foundation released the new Zero 2 W which we
want to detect, so we can detect the correct device tree file name.

Signed-off-by: Peter Robinson <pbrobinson@gmail.com>
---
 board/raspberrypi/rpi/rpi.c | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/board/raspberrypi/rpi/rpi.c b/board/raspberrypi/rpi/rpi.c
index e7bcee3746..ff69607d3c 100644
--- a/board/raspberrypi/rpi/rpi.c
+++ b/board/raspberrypi/rpi/rpi.c
@@ -157,6 +157,11 @@ static const struct rpi_model rpi_models_new_scheme[] = {
 		DTB_DIR "bcm2711-rpi-4-b.dtb",
 		true,
 	},
+	[0x12] = {
+		"Zero 2 W",
+		DTB_DIR "bcm2837-rpi-zero-2.dtb",
+		false,
+	},
 	[0x13] = {
 		"400",
 		DTB_DIR "bcm2711-rpi-400.dtb",
-- 
2.33.1


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

* Re: [PATCH 1/2] rpi: Update the Raspberry Pi doucmentation URL
  2021-11-21 17:03 [PATCH 1/2] rpi: Update the Raspberry Pi doucmentation URL Peter Robinson
  2021-11-21 17:03 ` [PATCH 2/2] rpi: Add identifier for the new RPi Zero 2 W Peter Robinson
@ 2021-11-30 15:03 ` Matthias Brugger
  1 sibling, 0 replies; 4+ messages in thread
From: Matthias Brugger @ 2021-11-30 15:03 UTC (permalink / raw)
  To: Peter Robinson; +Cc: Matthias Brugger, u-boot

On Sun, Nov 21, 2021 at 05:03:45PM +0000, Peter Robinson wrote:
> The Raspberry Pi Foundation has updated their documentation so update
> the URL to the latest place to find the HW device revision codes.
> 
> Signed-off-by: Peter Robinson <pbrobinson@gmail.com>

Applied to rpi-next

Thanks!

> ---
>  board/raspberrypi/rpi/rpi.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/board/raspberrypi/rpi/rpi.c b/board/raspberrypi/rpi/rpi.c
> index 55afaa54d9..e7bcee3746 100644
> --- a/board/raspberrypi/rpi/rpi.c
> +++ b/board/raspberrypi/rpi/rpi.c
> @@ -72,7 +72,7 @@ struct msg_get_clock_rate {
>  #endif
>  
>  /*
> - * https://www.raspberrypi.org/documentation/hardware/raspberrypi/revision-codes/README.md
> + * https://www.raspberrypi.com/documentation/computers/raspberry-pi.html#raspberry-pi-revision-codes
>   */
>  struct rpi_model {
>  	const char *name;
> -- 
> 2.33.1

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

* Re: [PATCH 2/2] rpi: Add identifier for the new RPi Zero 2 W
  2021-11-21 17:03 ` [PATCH 2/2] rpi: Add identifier for the new RPi Zero 2 W Peter Robinson
@ 2021-11-30 15:04   ` Matthias Brugger
  0 siblings, 0 replies; 4+ messages in thread
From: Matthias Brugger @ 2021-11-30 15:04 UTC (permalink / raw)
  To: Peter Robinson; +Cc: Matthias Brugger, u-boot

On Sun, Nov 21, 2021 at 05:03:46PM +0000, Peter Robinson wrote:
> The Raspberry Pi Foundation released the new Zero 2 W which we
> want to detect, so we can detect the correct device tree file name.
> 
> Signed-off-by: Peter Robinson <pbrobinson@gmail.com>

Applied to rpi-next

Thanks!

> ---
>  board/raspberrypi/rpi/rpi.c | 5 +++++
>  1 file changed, 5 insertions(+)
> 
> diff --git a/board/raspberrypi/rpi/rpi.c b/board/raspberrypi/rpi/rpi.c
> index e7bcee3746..ff69607d3c 100644
> --- a/board/raspberrypi/rpi/rpi.c
> +++ b/board/raspberrypi/rpi/rpi.c
> @@ -157,6 +157,11 @@ static const struct rpi_model rpi_models_new_scheme[] = {
>  		DTB_DIR "bcm2711-rpi-4-b.dtb",
>  		true,
>  	},
> +	[0x12] = {
> +		"Zero 2 W",
> +		DTB_DIR "bcm2837-rpi-zero-2.dtb",
> +		false,
> +	},
>  	[0x13] = {
>  		"400",
>  		DTB_DIR "bcm2711-rpi-400.dtb",
> -- 
> 2.33.1

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

end of thread, other threads:[~2021-11-30 15:04 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-21 17:03 [PATCH 1/2] rpi: Update the Raspberry Pi doucmentation URL Peter Robinson
2021-11-21 17:03 ` [PATCH 2/2] rpi: Add identifier for the new RPi Zero 2 W Peter Robinson
2021-11-30 15:04   ` Matthias Brugger
2021-11-30 15:03 ` [PATCH 1/2] rpi: Update the Raspberry Pi doucmentation URL Matthias Brugger

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.