U-Boot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: R, Vignesh <vigneshr@ti.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] spi: cadence_qspi_apb: Add trigger-base DT bindings from Linux
Date: Tue, 28 Feb 2017 22:08:18 +0530	[thread overview]
Message-ID: <acd08ef8-f08d-eab6-a76e-6d09caa46083@ti.com> (raw)
In-Reply-To: <F1518C073E9A0747B7EF185F3C3140B73E5237EE@eadc-w-mabprd02.ad.gd-ais.com>



On 2/28/2017 8:38 PM, Rush, Jason A. wrote:
[...]
> 
> This also works.
> 
> Marek - how do you feel about a patch series with the following:
> 
> 1. revert commit 57897c13de03ac0136d64641a3eab526c6810387
>      spi: cadence_qspi_apb: Use 32 bit indirect write transaction when possible
> 2. revert commit b63b46313ed29e9b0c36b3d6b9407f6eade40c8f
>      spi: cadence_qspi_apb: Use 32 bit indirect read transaction when possible
> 3. Apply my slightly modified version of https://patchwork.ozlabs.org/patch/693069/
>      (should I keep Vignesh as the signed-off?)

Depends on how much you have changed the code. If the change is
significant then change the authorship to you and drop my signed-off.
Else, keep the authorship and signed-off.
If you are adding something new to the patch like adding code to make
sure that only 32bit data reads are issued, then I suggest you to submit
that change as separate patch.

> 4. Clean-up loading the reg variables to use fdtdec_get_addr_xxx(...) and mark
>      them all as __iomem
> 5. Load the indirect-trigger property from the DT as a u32.  I think this still
>      needs to be a u32 because it's used in a writel(...) 32-bit write call in
>      cadence_qspi_apb.c
> 6. Add indirect-trigger to dts files that use cadence driver
> 
> I think that captures all the changes needed.
> 
> Also, for the naming of the DT property, Linux has uses a 'cdns,' prefix
> (e.g. cdns,trigger-address) for a number of their properties (cdns,tshsl-ns,
> cdns,tsd2d-ns, etc.), but u-boot does not currently use the 'cdns,' prefix for
> the same properties.  Do you want the 'cdns,' prefix on trigger-address? 
> If so, do you want me to rename all the other properties to align them with
> the Linux DT as an additional patch?
> 
> --
> Regards,
> Jason
> 

-- 
Regards
Vignesh

  reply	other threads:[~2017-02-28 16:38 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-02-21 16:50 [U-Boot] [PATCH] spi: cadence_qspi_apb: Add trigger-base DT bindings from Linux Rush, Jason A.
2017-02-22  4:30 ` Vignesh R
2017-02-22 15:56 ` Marek Vasut
2017-02-22 17:37   ` Rush, Jason A.
2017-02-22 19:58     ` Marek Vasut
2017-02-23 19:22       ` Rush, Jason A.
2017-02-23 19:25         ` Marek Vasut
2017-02-24 10:26           ` R, Vignesh
2017-02-24 19:55             ` Rush, Jason A.
2017-02-25  7:46               ` R, Vignesh
     [not found]                 ` <F1518C073E9A0747B7EF185F3C3140B73E515D25@eadc-w-mabprd02.ad.gd-ais.com>
2017-02-28 15:08                   ` Rush, Jason A.
2017-02-28 16:38                     ` R, Vignesh [this message]
2017-02-28 17:06                       ` Rush, Jason A.
2017-03-01 12:24                         ` Vignesh R

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=acd08ef8-f08d-eab6-a76e-6d09caa46083@ti.com \
    --to=vigneshr@ti.com \
    --cc=u-boot@lists.denx.de \
    /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