All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] [PATCH v2] serial: sh: Add support for R7S72100 (RZ/A1)
@ 2018-01-17  1:52 Chris Brandt
  2018-01-19 17:48 ` Marek Vasut
  0 siblings, 1 reply; 10+ messages in thread
From: Chris Brandt @ 2018-01-17  1:52 UTC (permalink / raw)
  To: u-boot

Add support for RZ/A1 series SoCs.

Signed-off-by: Chris Brandt <chris.brandt@renesas.com>

---
v2:
 * Rebased against current tree
---
 drivers/serial/serial_sh.h | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/drivers/serial/serial_sh.h b/drivers/serial/serial_sh.h
index 1b8d742f1c..1ea95509d7 100644
--- a/drivers/serial/serial_sh.h
+++ b/drivers/serial/serial_sh.h
@@ -226,7 +226,8 @@ struct uart_port {
 # define SCSCR_INIT(port)	0x38	/* TIE=0,RIE=0,TE=1,RE=1,REIE=1 */
 #elif defined(CONFIG_R8A7790) || defined(CONFIG_R8A7791) || \
 	defined(CONFIG_R8A7792) || defined(CONFIG_R8A7793) || \
-	defined(CONFIG_R8A7794) || defined(CONFIG_RCAR_GEN3)
+	defined(CONFIG_R8A7794) || defined(CONFIG_RCAR_GEN3) || \
+	defined(CONFIG_R7S72100)
 # if defined(CONFIG_SCIF_A)
 #  define SCIF_ORER	0x0200
 # else
-- 
2.15.1

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

* [U-Boot] [PATCH v2] serial: sh: Add support for R7S72100 (RZ/A1)
  2018-01-17  1:52 [U-Boot] [PATCH v2] serial: sh: Add support for R7S72100 (RZ/A1) Chris Brandt
@ 2018-01-19 17:48 ` Marek Vasut
  2018-01-19 17:56   ` Chris Brandt
  0 siblings, 1 reply; 10+ messages in thread
From: Marek Vasut @ 2018-01-19 17:48 UTC (permalink / raw)
  To: u-boot

On 01/17/2018 02:52 AM, Chris Brandt wrote:
> Add support for RZ/A1 series SoCs.
> 
> Signed-off-by: Chris Brandt <chris.brandt@renesas.com>

Applied, thanks !

btw. are you planning to do DT/DM conversion of the RZ/A1 ?

> 
> ---
> v2:
>  * Rebased against current tree
> ---
>  drivers/serial/serial_sh.h | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
> 
> diff --git a/drivers/serial/serial_sh.h b/drivers/serial/serial_sh.h
> index 1b8d742f1c..1ea95509d7 100644
> --- a/drivers/serial/serial_sh.h
> +++ b/drivers/serial/serial_sh.h
> @@ -226,7 +226,8 @@ struct uart_port {
>  # define SCSCR_INIT(port)	0x38	/* TIE=0,RIE=0,TE=1,RE=1,REIE=1 */
>  #elif defined(CONFIG_R8A7790) || defined(CONFIG_R8A7791) || \
>  	defined(CONFIG_R8A7792) || defined(CONFIG_R8A7793) || \
> -	defined(CONFIG_R8A7794) || defined(CONFIG_RCAR_GEN3)
> +	defined(CONFIG_R8A7794) || defined(CONFIG_RCAR_GEN3) || \
> +	defined(CONFIG_R7S72100)
>  # if defined(CONFIG_SCIF_A)
>  #  define SCIF_ORER	0x0200
>  # else
> 


-- 
Best regards,
Marek Vasut

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

* [U-Boot] [PATCH v2] serial: sh: Add support for R7S72100 (RZ/A1)
  2018-01-19 17:48 ` Marek Vasut
@ 2018-01-19 17:56   ` Chris Brandt
  2018-01-19 18:11     ` Marek Vasut
  0 siblings, 1 reply; 10+ messages in thread
From: Chris Brandt @ 2018-01-19 17:56 UTC (permalink / raw)
  To: u-boot

On Friday, January 19, 2018 1, Marek Vasut wrote:
> Applied, thanks !

Thank you!


> btw. are you planning to do DT/DM conversion of the RZ/A1 ?

DM, yes.
DT, no

We're working on adding DM to RZ/A's I2C and timer drivers now. Then 
we'll try submitting it.

But as for DT, I think that's still a bit overkill for RZ/A series.


Chris

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

* [U-Boot] [PATCH v2] serial: sh: Add support for R7S72100 (RZ/A1)
  2018-01-19 17:56   ` Chris Brandt
@ 2018-01-19 18:11     ` Marek Vasut
  2018-01-19 18:26       ` Chris Brandt
  0 siblings, 1 reply; 10+ messages in thread
From: Marek Vasut @ 2018-01-19 18:11 UTC (permalink / raw)
  To: u-boot

On 01/19/2018 06:56 PM, Chris Brandt wrote:
> On Friday, January 19, 2018 1, Marek Vasut wrote:
>> Applied, thanks !
> 
> Thank you!
> 
> 
>> btw. are you planning to do DT/DM conversion of the RZ/A1 ?
> 
> DM, yes.
> DT, no
> 
> We're working on adding DM to RZ/A's I2C and timer drivers now. Then 
> we'll try submitting it.

Cool!

> But as for DT, I think that's still a bit overkill for RZ/A series.

Why so?

-- 
Best regards,
Marek Vasut

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

* [U-Boot] [PATCH v2] serial: sh: Add support for R7S72100 (RZ/A1)
  2018-01-19 18:11     ` Marek Vasut
@ 2018-01-19 18:26       ` Chris Brandt
  2018-01-20  2:31         ` Marek Vasut
  0 siblings, 1 reply; 10+ messages in thread
From: Chris Brandt @ 2018-01-19 18:26 UTC (permalink / raw)
  To: u-boot

On Friday, January 19, 2018, Marek Vasut wrote:
> > But as for DT, I think that's still a bit overkill for RZ/A series.
> 
> Why so?

Honestly, I don't see the value in it for small embedded systems.

u-boot has a specific job and is compiled for a specific board. There is
no need for multi board booting.

I think moving things DM is OK, but that's because it's all done in the 
same code that gets compiled today (no separate build steps).

And...then you have 3 things to customize:
1. config file (legacy .h file)  because not everything is moved into 
   Kconfig
2. menuconfig (for the stuff that has been moved)
3. DT (for a few things)


Chris

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

* [U-Boot] [PATCH v2] serial: sh: Add support for R7S72100 (RZ/A1)
  2018-01-19 18:26       ` Chris Brandt
@ 2018-01-20  2:31         ` Marek Vasut
  2018-01-20  2:46           ` Chris Brandt
  0 siblings, 1 reply; 10+ messages in thread
From: Marek Vasut @ 2018-01-20  2:31 UTC (permalink / raw)
  To: u-boot

On 01/19/2018 07:26 PM, Chris Brandt wrote:
> On Friday, January 19, 2018, Marek Vasut wrote:
>>> But as for DT, I think that's still a bit overkill for RZ/A series.
>>
>> Why so?
> 
> Honestly, I don't see the value in it for small embedded systems.
> 
> u-boot has a specific job and is compiled for a specific board. There is
> no need for multi board booting.

For now at least, it'd be real neat to have one u-boot build for generic
rz/a1 , concatenate DT to it and be done with a board port.

> I think moving things DM is OK, but that's because it's all done in the 
> same code that gets compiled today (no separate build steps).
> 
> And...then you have 3 things to customize:
> 1. config file (legacy .h file)  because not everything is moved into 
>    Kconfig
> 2. menuconfig (for the stuff that has been moved)
> 3. DT (for a few things)
> 
> 
> Chris
> 


-- 
Best regards,
Marek Vasut

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

* [U-Boot] [PATCH v2] serial: sh: Add support for R7S72100 (RZ/A1)
  2018-01-20  2:31         ` Marek Vasut
@ 2018-01-20  2:46           ` Chris Brandt
  2018-01-20  3:23             ` Marek Vasut
  0 siblings, 1 reply; 10+ messages in thread
From: Chris Brandt @ 2018-01-20  2:46 UTC (permalink / raw)
  To: u-boot

On Friday, January 19, 2018, Marek Vasut wrote:
> > u-boot has a specific job and is compiled for a specific board. There is
> > no need for multi board booting.
> 
> For now at least, it'd be real neat to have one u-boot build for generic
> rz/a1 , concatenate DT to it and be done with a board port.

I think there is always going to be 'low level weird stuff' specific for
each board, so you'll never be able to do it all with a DT (for an 
actual product that is).

Even in our Linux BSP, I still always have a board-xxx.c file for 
anything not easily handled in DT.


Chris

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

* [U-Boot] [PATCH v2] serial: sh: Add support for R7S72100 (RZ/A1)
  2018-01-20  2:46           ` Chris Brandt
@ 2018-01-20  3:23             ` Marek Vasut
  2018-01-20 15:15               ` Chris Brandt
  0 siblings, 1 reply; 10+ messages in thread
From: Marek Vasut @ 2018-01-20  3:23 UTC (permalink / raw)
  To: u-boot

On 01/20/2018 03:46 AM, Chris Brandt wrote:
> On Friday, January 19, 2018, Marek Vasut wrote:
>>> u-boot has a specific job and is compiled for a specific board. There is
>>> no need for multi board booting.
>>
>> For now at least, it'd be real neat to have one u-boot build for generic
>> rz/a1 , concatenate DT to it and be done with a board port.
> 
> I think there is always going to be 'low level weird stuff' specific for
> each board, so you'll never be able to do it all with a DT (for an 
> actual product that is).
> 
> Even in our Linux BSP, I still always have a board-xxx.c file for 
> anything not easily handled in DT.

I wonder if we really cannot get to the point where we can have a
universal build, add DT to it and be done with a board port. That'd be
real cool and it'd make things easy for people using the chip ... :)

-- 
Best regards,
Marek Vasut

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

* [U-Boot] [PATCH v2] serial: sh: Add support for R7S72100 (RZ/A1)
  2018-01-20  3:23             ` Marek Vasut
@ 2018-01-20 15:15               ` Chris Brandt
  2018-01-20 15:45                 ` Marek Vasut
  0 siblings, 1 reply; 10+ messages in thread
From: Chris Brandt @ 2018-01-20 15:15 UTC (permalink / raw)
  To: u-boot

On Friday, January 19, 2018 1, Marek Vasut wrote:
> I wonder if we really cannot get to the point where we can have a
> universal build, add DT to it and be done with a board port. That'd be
> real cool and it'd make things easy for people using the chip ... :)

Then I'd be out of a job!

;)

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

* [U-Boot] [PATCH v2] serial: sh: Add support for R7S72100 (RZ/A1)
  2018-01-20 15:15               ` Chris Brandt
@ 2018-01-20 15:45                 ` Marek Vasut
  0 siblings, 0 replies; 10+ messages in thread
From: Marek Vasut @ 2018-01-20 15:45 UTC (permalink / raw)
  To: u-boot

On 01/20/2018 04:15 PM, Chris Brandt wrote:
> On Friday, January 19, 2018 1, Marek Vasut wrote:
>> I wonder if we really cannot get to the point where we can have a
>> universal build, add DT to it and be done with a board port. That'd be
>> real cool and it'd make things easy for people using the chip ... :)
> 
> Then I'd be out of a job!
> 
> ;)
> 

You can still write the DTs ;-)

-- 
Best regards,
Marek Vasut

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

end of thread, other threads:[~2018-01-20 15:45 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-01-17  1:52 [U-Boot] [PATCH v2] serial: sh: Add support for R7S72100 (RZ/A1) Chris Brandt
2018-01-19 17:48 ` Marek Vasut
2018-01-19 17:56   ` Chris Brandt
2018-01-19 18:11     ` Marek Vasut
2018-01-19 18:26       ` Chris Brandt
2018-01-20  2:31         ` Marek Vasut
2018-01-20  2:46           ` Chris Brandt
2018-01-20  3:23             ` Marek Vasut
2018-01-20 15:15               ` Chris Brandt
2018-01-20 15:45                 ` Marek Vasut

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.