All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] [PATCH 2/4] dts: socfpga: Add trigger-address property to QSPI device
@ 2017-05-18 18:26 Rush, Jason A.
  2017-05-19  6:09 ` Marek Vasut
  0 siblings, 1 reply; 4+ messages in thread
From: Rush, Jason A. @ 2017-05-18 18:26 UTC (permalink / raw)
  To: u-boot

Add the 'cdns,trigger-address' property to the cadence QSPI device
node for Altera SoC devices.

Signed-off-by: Jason A. Rush <jason.rush@gd-ms.com>
---
 arch/arm/dts/socfpga.dtsi | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/arm/dts/socfpga.dtsi b/arch/arm/dts/socfpga.dtsi
index 8588221e57..abf0648a6f 100644
--- a/arch/arm/dts/socfpga.dtsi
+++ b/arch/arm/dts/socfpga.dtsi
@@ -646,6 +646,7 @@
 			num-cs = <4>;
 			fifo-depth = <128>;
 			sram-size = <128>;
+			cdns,trigger-address = <0x00000000>;
 			bus-num = <2>;
 			status = "disabled";
 		};
-- 
2.11.0

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

* [U-Boot] [PATCH 2/4] dts: socfpga: Add trigger-address property to QSPI device
  2017-05-18 18:26 [U-Boot] [PATCH 2/4] dts: socfpga: Add trigger-address property to QSPI device Rush, Jason A.
@ 2017-05-19  6:09 ` Marek Vasut
  2017-05-19 16:29   ` Rush, Jason A.
  0 siblings, 1 reply; 4+ messages in thread
From: Marek Vasut @ 2017-05-19  6:09 UTC (permalink / raw)
  To: u-boot

On 05/18/2017 08:26 PM, Rush, Jason A. wrote:
> Add the 'cdns,trigger-address' property to the cadence QSPI device
> node for Altera SoC devices.
> 
> Signed-off-by: Jason A. Rush <jason.rush@gd-ms.com>

+CC Dinh, is that address correct ? I think there was some discussion.

Jason, I'd rather prefer if you sent this as a series (with git
send-email) not as a set of separate patches. Also, I'd prefer if you
would just sync up the whole block with standard agreed-upon (linux)
DT bindings and then ev. tweak the driver.

> ---
>  arch/arm/dts/socfpga.dtsi | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/arch/arm/dts/socfpga.dtsi b/arch/arm/dts/socfpga.dtsi
> index 8588221e57..abf0648a6f 100644
> --- a/arch/arm/dts/socfpga.dtsi
> +++ b/arch/arm/dts/socfpga.dtsi
> @@ -646,6 +646,7 @@
>  			num-cs = <4>;
>  			fifo-depth = <128>;
>  			sram-size = <128>;
> +			cdns,trigger-address = <0x00000000>;
>  			bus-num = <2>;
>  			status = "disabled";
>  		};
> 


-- 
Best regards,
Marek Vasut

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

* [U-Boot] [PATCH 2/4] dts: socfpga: Add trigger-address property to QSPI device
  2017-05-19  6:09 ` Marek Vasut
@ 2017-05-19 16:29   ` Rush, Jason A.
  2017-05-20 16:12     ` Marek Vasut
  0 siblings, 1 reply; 4+ messages in thread
From: Rush, Jason A. @ 2017-05-19 16:29 UTC (permalink / raw)
  To: u-boot

On 5/19/2017 1:09 AM , Marek Vasut wrote:
> On 05/18/2017 08:26 PM, Rush, Jason A. wrote:
>> Add the 'cdns,trigger-address' property to the cadence QSPI device
>> node for Altera SoC devices.
>>
>> Signed-off-by: Jason A. Rush <jason.rush@gd-ms.com>
> 
> +CC Dinh, is that address correct ? I think there was some discussion.

There was some discussion on this before here:
https://lists.denx.de/pipermail/u-boot/2017-March/282882.html

> Jason, I'd rather prefer if you sent this as a series (with git
> send-email) not as a set of separate patches. Also, I'd prefer if you
> would just sync up the whole block with standard agreed-upon (linux)
> DT bindings and then ev. tweak the driver.
>

I can't use git send-email from this email account, but I can switch to my
personal gmail account which should work.  I'll CC my other account and
switch to using that from now on.

I can try and sync up the DT bindings with Linux, most of the parameters
should be easy enough to convert.  However, there are two bindings that
the u-boot driver defines but Linux looks them up from a table or from
querying the flash part ("page-size" and "block-size"), and one binding
Linux defines where u-boot calculates ("cdns,read-delay").

It would require significant changes to the u-boot driver to adopt these
3 bindings, would it be acceptable to align all the other DT bindings, with
the exception of those 3 bindings?
 
--
Regards,
Jason Rush

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

* [U-Boot] [PATCH 2/4] dts: socfpga: Add trigger-address property to QSPI device
  2017-05-19 16:29   ` Rush, Jason A.
@ 2017-05-20 16:12     ` Marek Vasut
  0 siblings, 0 replies; 4+ messages in thread
From: Marek Vasut @ 2017-05-20 16:12 UTC (permalink / raw)
  To: u-boot

On 05/19/2017 06:29 PM, Rush, Jason A. wrote:
> On 5/19/2017 1:09 AM , Marek Vasut wrote:
>> On 05/18/2017 08:26 PM, Rush, Jason A. wrote:
>>> Add the 'cdns,trigger-address' property to the cadence QSPI device
>>> node for Altera SoC devices.
>>>
>>> Signed-off-by: Jason A. Rush <jason.rush@gd-ms.com>
>>
>> +CC Dinh, is that address correct ? I think there was some discussion.
> 
> There was some discussion on this before here:
> https://lists.denx.de/pipermail/u-boot/2017-March/282882.html
> 
>> Jason, I'd rather prefer if you sent this as a series (with git
>> send-email) not as a set of separate patches. Also, I'd prefer if you
>> would just sync up the whole block with standard agreed-upon (linux)
>> DT bindings and then ev. tweak the driver.
>>
> 
> I can't use git send-email from this email account, but I can switch to my
> personal gmail account which should work.  I'll CC my other account and
> switch to using that from now on.
> 
> I can try and sync up the DT bindings with Linux, most of the parameters
> should be easy enough to convert.  However, there are two bindings that
> the u-boot driver defines but Linux looks them up from a table or from
> querying the flash part ("page-size" and "block-size"), and one binding
> Linux defines where u-boot calculates ("cdns,read-delay").

I guess you can keep those.

> It would require significant changes to the u-boot driver to adopt these
> 3 bindings, would it be acceptable to align all the other DT bindings, with
> the exception of those 3 bindings?
>  
> --
> Regards,
> Jason Rush
> 


-- 
Best regards,
Marek Vasut

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

end of thread, other threads:[~2017-05-20 16:12 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-05-18 18:26 [U-Boot] [PATCH 2/4] dts: socfpga: Add trigger-address property to QSPI device Rush, Jason A.
2017-05-19  6:09 ` Marek Vasut
2017-05-19 16:29   ` Rush, Jason A.
2017-05-20 16:12     ` 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.