linux-spi.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/1] spi: nxp-fspi: Adjust LUT debug output alignment
@ 2024-01-18 12:10 Alexander Stein
  2024-01-18 15:43 ` Han Xu
  2024-01-22 16:49 ` Mark Brown
  0 siblings, 2 replies; 3+ messages in thread
From: Alexander Stein @ 2024-01-18 12:10 UTC (permalink / raw)
  To: Han Xu, Haibo Chen, Yogesh Gaur, Mark Brown; +Cc: Alexander Stein, linux-spi

Ensure the command value and LUT entry values have a fixed width. This
way consecutive output lines can be read much easier.

Signed-off-by: Alexander Stein <alexander.stein@ew.tq-group.com>
---
 drivers/spi/spi-nxp-fspi.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/spi/spi-nxp-fspi.c b/drivers/spi/spi-nxp-fspi.c
index e13f678f23952..88397f712a3b5 100644
--- a/drivers/spi/spi-nxp-fspi.c
+++ b/drivers/spi/spi-nxp-fspi.c
@@ -591,7 +591,7 @@ static void nxp_fspi_prepare_lut(struct nxp_fspi *f,
 	for (i = 0; i < ARRAY_SIZE(lutval); i++)
 		fspi_writel(f, lutval[i], base + FSPI_LUT_REG(i));
 
-	dev_dbg(f->dev, "CMD[%x] lutval[0:%x \t 1:%x \t 2:%x \t 3:%x], size: 0x%08x\n",
+	dev_dbg(f->dev, "CMD[%02x] lutval[0:%08x 1:%08x 2:%08x 3:%08x], size: 0x%08x\n",
 		op->cmd.opcode, lutval[0], lutval[1], lutval[2], lutval[3], op->data.nbytes);
 
 	/* lock LUT */
-- 
2.34.1


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

* Re: [PATCH 1/1] spi: nxp-fspi: Adjust LUT debug output alignment
  2024-01-18 12:10 [PATCH 1/1] spi: nxp-fspi: Adjust LUT debug output alignment Alexander Stein
@ 2024-01-18 15:43 ` Han Xu
  2024-01-22 16:49 ` Mark Brown
  1 sibling, 0 replies; 3+ messages in thread
From: Han Xu @ 2024-01-18 15:43 UTC (permalink / raw)
  To: Alexander Stein; +Cc: Haibo Chen, Yogesh Gaur, Mark Brown, linux-spi

On 24/01/18 01:10PM, Alexander Stein wrote:
> Ensure the command value and LUT entry values have a fixed width. This
> way consecutive output lines can be read much easier.
> 
> Signed-off-by: Alexander Stein <alexander.stein@ew.tq-group.com>

Acked-by: Han Xu <han.xu@nxp.com>

> ---
>  drivers/spi/spi-nxp-fspi.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/spi/spi-nxp-fspi.c b/drivers/spi/spi-nxp-fspi.c
> index e13f678f23952..88397f712a3b5 100644
> --- a/drivers/spi/spi-nxp-fspi.c
> +++ b/drivers/spi/spi-nxp-fspi.c
> @@ -591,7 +591,7 @@ static void nxp_fspi_prepare_lut(struct nxp_fspi *f,
>  	for (i = 0; i < ARRAY_SIZE(lutval); i++)
>  		fspi_writel(f, lutval[i], base + FSPI_LUT_REG(i));
>  
> -	dev_dbg(f->dev, "CMD[%x] lutval[0:%x \t 1:%x \t 2:%x \t 3:%x], size: 0x%08x\n",
> +	dev_dbg(f->dev, "CMD[%02x] lutval[0:%08x 1:%08x 2:%08x 3:%08x], size: 0x%08x\n",
>  		op->cmd.opcode, lutval[0], lutval[1], lutval[2], lutval[3], op->data.nbytes);
>  
>  	/* lock LUT */
> -- 
> 2.34.1
> 

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

* Re: [PATCH 1/1] spi: nxp-fspi: Adjust LUT debug output alignment
  2024-01-18 12:10 [PATCH 1/1] spi: nxp-fspi: Adjust LUT debug output alignment Alexander Stein
  2024-01-18 15:43 ` Han Xu
@ 2024-01-22 16:49 ` Mark Brown
  1 sibling, 0 replies; 3+ messages in thread
From: Mark Brown @ 2024-01-22 16:49 UTC (permalink / raw)
  To: Han Xu, Haibo Chen, Yogesh Gaur, Alexander Stein; +Cc: linux-spi

On Thu, 18 Jan 2024 13:10:16 +0100, Alexander Stein wrote:
> Ensure the command value and LUT entry values have a fixed width. This
> way consecutive output lines can be read much easier.
> 
> 

Applied to

   https://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git for-next

Thanks!

[1/1] spi: nxp-fspi: Adjust LUT debug output alignment
      commit: 50c4f8172dbf9fdf152eae5179e233879a72dd47

All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next 24 hours) and sent to Linus during
the next merge window (or sooner if it is a bug fix), however if
problems are discovered then the patch may be dropped or reverted.

You may get further e-mails resulting from automated or manual testing
and review of the tree, please engage with people reporting problems and
send followup patches addressing any issues that are reported if needed.

If any updates are required or you are submitting further changes they
should be sent as incremental updates against current git, existing
patches will not be replaced.

Please add any relevant lists and maintainers to the CCs when replying
to this mail.

Thanks,
Mark


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

end of thread, other threads:[~2024-01-22 16:49 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-01-18 12:10 [PATCH 1/1] spi: nxp-fspi: Adjust LUT debug output alignment Alexander Stein
2024-01-18 15:43 ` Han Xu
2024-01-22 16:49 ` Mark Brown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).