All of lore.kernel.org
 help / color / mirror / Atom feed
From: Mark Brown <broonie@kernel.org>
To: Sergiu Moga <sergiu.moga@microchip.com>
Cc: tudor.ambarus@microchip.com, pratyush@kernel.org,
	michael@walle.cc, miquel.raynal@bootlin.com, richard@nod.at,
	vigneshr@ti.com, nicolas.ferre@microchip.com,
	alexandre.belloni@bootlin.com, claudiu.beznea@microchip.com,
	chin-ting_kuo@aspeedtech.com, clg@kaod.org, joel@jms.id.au,
	andrew@aj.id.au, kdasu.kdev@gmail.com, fancer.lancer@gmail.com,
	han.xu@nxp.com, john.garry@huawei.com, matthias.bgg@gmail.com,
	avifishman70@gmail.com, tmaimon77@gmail.com,
	tali.perry1@gmail.com, venture@google.com, yuenn@google.com,
	benjaminfair@google.com, haibo.chen@nxp.com,
	yogeshgaur.83@gmail.com, heiko@sntech.de,
	mcoquelin.stm32@gmail.com, alexandre.torgue@foss.st.com,
	michal.simek@xilinx.com, bcm-kernel-feedback-list@broadcom.com,
	linux-mtd@lists.infradead.org, linux-kernel@vger.kernel.org,
	linux-spi@vger.kernel.org, linux-arm-kernel@lists.infradead.org,
	linux-aspeed@lists.ozlabs.org, openbmc@lists.ozlabs.org,
	linux-mediatek@lists.infradead.org,
	linux-rockchip@lists.infradead.org,
	linux-stm32@st-md-mailman.stormreply.com
Subject: Re: [PATCH] spi: Replace `dummy.nbytes` with `dummy.ncycles`
Date: Mon, 12 Sep 2022 12:52:41 +0100	[thread overview]
Message-ID: <Yx8didL1aFc4XxGa@sirena.org.uk> (raw)
In-Reply-To: <20220911174551.653599-1-sergiu.moga@microchip.com>

[-- Attachment #1: Type: text/plain, Size: 450 bytes --]

On Sun, Sep 11, 2022 at 08:45:53PM +0300, Sergiu Moga wrote:
> In order to properly represent the hardware functionality
> in the core, avoid reconverting the number of dummy cycles
> to the number of bytes and only work with the former.
> Instead, let the drivers that do need this conversion do
> it themselves.

Acked-by: Mark Brown <broonie@kernel.org>

If this gets applied it might be good to have a tag in case we
need it for any SPI updates.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

WARNING: multiple messages have this Message-ID (diff)
From: Mark Brown <broonie@kernel.org>
To: Sergiu Moga <sergiu.moga@microchip.com>
Cc: tudor.ambarus@microchip.com, pratyush@kernel.org,
	michael@walle.cc, miquel.raynal@bootlin.com, richard@nod.at,
	vigneshr@ti.com, nicolas.ferre@microchip.com,
	alexandre.belloni@bootlin.com, claudiu.beznea@microchip.com,
	chin-ting_kuo@aspeedtech.com, clg@kaod.org, joel@jms.id.au,
	andrew@aj.id.au, kdasu.kdev@gmail.com, fancer.lancer@gmail.com,
	han.xu@nxp.com, john.garry@huawei.com, matthias.bgg@gmail.com,
	avifishman70@gmail.com, tmaimon77@gmail.com,
	tali.perry1@gmail.com, venture@google.com, yuenn@google.com,
	benjaminfair@google.com, haibo.chen@nxp.com,
	yogeshgaur.83@gmail.com, heiko@sntech.de,
	mcoquelin.stm32@gmail.com, alexandre.torgue@foss.st.com,
	michal.simek@xilinx.com, bcm-kernel-feedback-list@broadcom.com,
	linux-mtd@lists.infradead.org, linux-kernel@vger.kernel.org,
	linux-spi@vger.kernel.org, linux-arm-kernel@lists.infradead.org,
	linux-aspeed@lists.ozlabs.org, openbmc@lists.ozlabs.org,
	linux-mediatek@lists.infradead.org,
	linux-rockchip@lists.infradead.org,
	linux-stm32@st-md-mailman.stormreply.com
Subject: Re: [PATCH] spi: Replace `dummy.nbytes` with `dummy.ncycles`
Date: Mon, 12 Sep 2022 12:52:41 +0100	[thread overview]
Message-ID: <Yx8didL1aFc4XxGa@sirena.org.uk> (raw)
In-Reply-To: <20220911174551.653599-1-sergiu.moga@microchip.com>


[-- Attachment #1.1: Type: text/plain, Size: 450 bytes --]

On Sun, Sep 11, 2022 at 08:45:53PM +0300, Sergiu Moga wrote:
> In order to properly represent the hardware functionality
> in the core, avoid reconverting the number of dummy cycles
> to the number of bytes and only work with the former.
> Instead, let the drivers that do need this conversion do
> it themselves.

Acked-by: Mark Brown <broonie@kernel.org>

If this gets applied it might be good to have a tag in case we
need it for any SPI updates.

[-- Attachment #1.2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

[-- Attachment #2: Type: text/plain, Size: 144 bytes --]

______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/

WARNING: multiple messages have this Message-ID (diff)
From: Mark Brown <broonie@kernel.org>
To: Sergiu Moga <sergiu.moga@microchip.com>
Cc: tudor.ambarus@microchip.com, pratyush@kernel.org,
	michael@walle.cc, miquel.raynal@bootlin.com, richard@nod.at,
	vigneshr@ti.com, nicolas.ferre@microchip.com,
	alexandre.belloni@bootlin.com, claudiu.beznea@microchip.com,
	chin-ting_kuo@aspeedtech.com, clg@kaod.org, joel@jms.id.au,
	andrew@aj.id.au, kdasu.kdev@gmail.com, fancer.lancer@gmail.com,
	han.xu@nxp.com, john.garry@huawei.com, matthias.bgg@gmail.com,
	avifishman70@gmail.com, tmaimon77@gmail.com,
	tali.perry1@gmail.com, venture@google.com, yuenn@google.com,
	benjaminfair@google.com, haibo.chen@nxp.com,
	yogeshgaur.83@gmail.com, heiko@sntech.de,
	mcoquelin.stm32@gmail.com, alexandre.torgue@foss.st.com,
	michal.simek@xilinx.com, bcm-kernel-feedback-list@broadcom.com,
	linux-mtd@lists.infradead.org, linux-kernel@vger.kernel.org,
	linux-spi@vger.kernel.org, linux-arm-kernel@lists.infradead.org,
	linux-aspeed@lists.ozlabs.org, openbmc@lists.ozlabs.org,
	linux-mediatek@lists.infradead.org,
	linux-rockchip@lists.infradead.org,
	linux-stm32@st-md-mailman.stormreply.com
Subject: Re: [PATCH] spi: Replace `dummy.nbytes` with `dummy.ncycles`
Date: Mon, 12 Sep 2022 12:52:41 +0100	[thread overview]
Message-ID: <Yx8didL1aFc4XxGa@sirena.org.uk> (raw)
In-Reply-To: <20220911174551.653599-1-sergiu.moga@microchip.com>


[-- Attachment #1.1: Type: text/plain, Size: 450 bytes --]

On Sun, Sep 11, 2022 at 08:45:53PM +0300, Sergiu Moga wrote:
> In order to properly represent the hardware functionality
> in the core, avoid reconverting the number of dummy cycles
> to the number of bytes and only work with the former.
> Instead, let the drivers that do need this conversion do
> it themselves.

Acked-by: Mark Brown <broonie@kernel.org>

If this gets applied it might be good to have a tag in case we
need it for any SPI updates.

[-- Attachment #1.2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

[-- Attachment #2: Type: text/plain, Size: 170 bytes --]

_______________________________________________
Linux-rockchip mailing list
Linux-rockchip@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-rockchip

WARNING: multiple messages have this Message-ID (diff)
From: Mark Brown <broonie@kernel.org>
To: Sergiu Moga <sergiu.moga@microchip.com>
Cc: alexandre.belloni@bootlin.com, vigneshr@ti.com,
	linux-aspeed@lists.ozlabs.org, alexandre.torgue@foss.st.com,
	tali.perry1@gmail.com, linux-mtd@lists.infradead.org,
	miquel.raynal@bootlin.com, linux-spi@vger.kernel.org,
	linux-stm32@st-md-mailman.stormreply.com, tmaimon77@gmail.com,
	benjaminfair@google.com, kdasu.kdev@gmail.com, richard@nod.at,
	chin-ting_kuo@aspeedtech.com, michal.simek@xilinx.com,
	haibo.chen@nxp.com, openbmc@lists.ozlabs.org, yuenn@google.com,
	bcm-kernel-feedback-list@broadcom.com, joel@jms.id.au,
	yogeshgaur.83@gmail.com, linux-rockchip@lists.infradead.org,
	tudor.ambarus@microchip.com, john.garry@huawei.com,
	linux-mediatek@lists.infradead.org, clg@kaod.org,
	matthias.bgg@gmail.com, han.xu@nxp.com,
	linux-arm-kernel@lists.infradead.org, andrew@aj.id.au,
	venture@google.com, heiko@sntech.de, fancer.lancer@gmail.com,
	linux-kernel@vger.kernel.org, avifishman70@gmail.com,
	michael@walle.cc, mcoquelin.stm32@gmail.com,
	claudiu.beznea@microchip.com, pratyush@kernel.org
Subject: Re: [PATCH] spi: Replace `dummy.nbytes` with `dummy.ncycles`
Date: Mon, 12 Sep 2022 12:52:41 +0100	[thread overview]
Message-ID: <Yx8didL1aFc4XxGa@sirena.org.uk> (raw)
In-Reply-To: <20220911174551.653599-1-sergiu.moga@microchip.com>


[-- Attachment #1.1: Type: text/plain, Size: 450 bytes --]

On Sun, Sep 11, 2022 at 08:45:53PM +0300, Sergiu Moga wrote:
> In order to properly represent the hardware functionality
> in the core, avoid reconverting the number of dummy cycles
> to the number of bytes and only work with the former.
> Instead, let the drivers that do need this conversion do
> it themselves.

Acked-by: Mark Brown <broonie@kernel.org>

If this gets applied it might be good to have a tag in case we
need it for any SPI updates.

[-- Attachment #1.2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

[-- Attachment #2: Type: text/plain, Size: 176 bytes --]

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

WARNING: multiple messages have this Message-ID (diff)
From: Mark Brown <broonie@kernel.org>
To: Sergiu Moga <sergiu.moga@microchip.com>
Cc: alexandre.belloni@bootlin.com, vigneshr@ti.com,
	linux-aspeed@lists.ozlabs.org, alexandre.torgue@foss.st.com,
	tali.perry1@gmail.com, linux-mtd@lists.infradead.org,
	miquel.raynal@bootlin.com, linux-spi@vger.kernel.org,
	linux-stm32@st-md-mailman.stormreply.com, tmaimon77@gmail.com,
	benjaminfair@google.com, kdasu.kdev@gmail.com, richard@nod.at,
	chin-ting_kuo@aspeedtech.com, michal.simek@xilinx.com,
	haibo.chen@nxp.com, openbmc@lists.ozlabs.org,
	bcm-kernel-feedback-list@broadcom.com, joel@jms.id.au,
	yogeshgaur.83@gmail.com, linux-rockchip@lists.infradead.org,
	tudor.ambarus@microchip.com, john.garry@huawei.com,
	linux-mediatek@lists.infradead.org, clg@kaod.org,
	matthias.bgg@gmail.com, han.xu@nxp.com,
	linux-arm-kernel@lists.infradead.org, andrew@aj.id.au,
	venture@google.com, heiko@sntech.de, nicolas.ferre@microchip.com,
	fancer.lancer@gmail.com, linux-kernel@vger.kernel.org,
	avifishman70@gmail.com, michael@walle.cc,
	mcoquelin.stm32@gmail.com, claudiu.beznea@microchip.com,
	pratyush@kernel.o rg
Subject: Re: [PATCH] spi: Replace `dummy.nbytes` with `dummy.ncycles`
Date: Mon, 12 Sep 2022 12:52:41 +0100	[thread overview]
Message-ID: <Yx8didL1aFc4XxGa@sirena.org.uk> (raw)
In-Reply-To: <20220911174551.653599-1-sergiu.moga@microchip.com>

[-- Attachment #1: Type: text/plain, Size: 450 bytes --]

On Sun, Sep 11, 2022 at 08:45:53PM +0300, Sergiu Moga wrote:
> In order to properly represent the hardware functionality
> in the core, avoid reconverting the number of dummy cycles
> to the number of bytes and only work with the former.
> Instead, let the drivers that do need this conversion do
> it themselves.

Acked-by: Mark Brown <broonie@kernel.org>

If this gets applied it might be good to have a tag in case we
need it for any SPI updates.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

  parent reply	other threads:[~2022-09-12 11:52 UTC|newest]

Thread overview: 97+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-09-11 17:45 [PATCH] spi: Replace `dummy.nbytes` with `dummy.ncycles` Sergiu Moga
2022-09-11 17:45 ` Sergiu Moga
2022-09-11 17:45 ` Sergiu Moga
2022-09-11 17:45 ` Sergiu Moga
2022-09-11 17:45 ` Sergiu Moga
2022-09-12  9:44 ` Patrice CHOTARD
2022-09-12  9:44   ` Patrice CHOTARD
2022-09-12  9:44   ` Patrice CHOTARD
2022-09-12  9:44   ` Patrice CHOTARD
2022-09-12  9:44   ` Patrice CHOTARD
2022-09-12 10:58   ` Tudor.Ambarus
2022-09-12 10:58     ` Tudor.Ambarus
2022-09-12 10:58     ` Tudor.Ambarus
2022-09-12 10:58     ` Tudor.Ambarus
2022-09-12 10:58     ` Tudor.Ambarus
2022-09-12 11:52 ` Mark Brown [this message]
2022-09-12 11:52   ` Mark Brown
2022-09-12 11:52   ` Mark Brown
2022-09-12 11:52   ` Mark Brown
2022-09-12 11:52   ` Mark Brown
2022-09-25 22:03 ` Serge Semin
2022-09-25 22:03   ` Serge Semin
2022-09-25 22:03   ` Serge Semin
2022-09-25 22:03   ` Serge Semin
2022-09-25 22:03   ` Serge Semin
2022-09-26  9:05   ` Sergiu.Moga
2022-09-26  9:05     ` Sergiu.Moga
2022-09-26  9:05     ` Sergiu.Moga
2022-09-26  9:05     ` Sergiu.Moga
2022-09-26  9:05     ` Sergiu.Moga
2022-09-26  9:51     ` Vanessa Page
2022-09-26 17:24     ` Serge Semin
2022-09-26 17:24       ` Serge Semin
2022-09-26 17:24       ` Serge Semin
2022-09-26 17:24       ` Serge Semin
2022-09-26 17:24       ` Serge Semin
2022-09-27  8:21       ` Sergiu.Moga
2022-09-27  8:21         ` Sergiu.Moga
2022-09-27  8:21         ` Sergiu.Moga
2022-09-27  8:21         ` Sergiu.Moga
2022-09-27  8:21         ` Sergiu.Moga
2023-03-08  9:04       ` Tudor Ambarus
2023-03-08  9:04         ` Tudor Ambarus
2023-03-08  9:04         ` Tudor Ambarus
2023-03-08  9:04         ` Tudor Ambarus
2023-03-09  8:38         ` Michael Walle
2023-03-09  8:38           ` Michael Walle
2023-03-09  8:38           ` Michael Walle
2023-03-09  8:38           ` Michael Walle
2023-03-09 10:42           ` Tudor Ambarus
2023-03-09 10:42             ` Tudor Ambarus
2023-03-09 10:42             ` Tudor Ambarus
2023-03-09 10:42             ` Tudor Ambarus
2023-03-09 10:56             ` Michael Walle
2023-03-09 10:56               ` Michael Walle
2023-03-09 10:56               ` Michael Walle
2023-03-09 10:56               ` Michael Walle
2023-03-09 12:09               ` Tudor Ambarus
2023-03-09 12:09                 ` Tudor Ambarus
2023-03-09 12:09                 ` Tudor Ambarus
2023-03-09 12:09                 ` Tudor Ambarus
2023-03-09 12:35                 ` Michael Walle
2023-03-09 12:35                   ` Michael Walle
2023-03-09 12:35                   ` Michael Walle
2023-03-09 12:35                   ` Michael Walle
2023-03-09 13:23                   ` Tudor Ambarus
2023-03-09 13:23                     ` Tudor Ambarus
2023-03-09 13:23                     ` Tudor Ambarus
2023-03-09 13:23                     ` Tudor Ambarus
2023-03-09 13:33                     ` Michael Walle
2023-03-09 13:33                       ` Michael Walle
2023-03-09 13:33                       ` Michael Walle
2023-03-09 13:33                       ` Michael Walle
2023-03-09 13:54                       ` Tudor Ambarus
2023-03-09 13:54                         ` Tudor Ambarus
2023-03-09 13:54                         ` Tudor Ambarus
2023-03-09 13:54                         ` Tudor Ambarus
2023-03-09 14:01                         ` Michael Walle
2023-03-09 14:01                           ` Michael Walle
2023-03-09 14:01                           ` Michael Walle
2023-03-09 14:01                           ` Michael Walle
2023-03-09 14:19                           ` Chuanhong Guo
2023-03-09 14:19                             ` Chuanhong Guo
2023-03-09 14:19                             ` Chuanhong Guo
2023-03-09 14:19                             ` Chuanhong Guo
2023-03-09 15:41                             ` Michael Walle
2023-03-09 15:41                               ` Michael Walle
2023-03-09 15:41                               ` Michael Walle
2023-03-09 15:41                               ` Michael Walle
2023-03-09 15:41                           ` Tudor Ambarus
2023-03-09 15:41                             ` Tudor Ambarus
2023-03-09 15:41                             ` Tudor Ambarus
2023-03-09 15:41                             ` Tudor Ambarus
2023-03-04  5:59 ` Tudor Ambarus
2023-03-04  5:59   ` Tudor Ambarus
2023-03-04  5:59   ` Tudor Ambarus
2023-03-04  5:59   ` Tudor Ambarus

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=Yx8didL1aFc4XxGa@sirena.org.uk \
    --to=broonie@kernel.org \
    --cc=alexandre.belloni@bootlin.com \
    --cc=alexandre.torgue@foss.st.com \
    --cc=andrew@aj.id.au \
    --cc=avifishman70@gmail.com \
    --cc=bcm-kernel-feedback-list@broadcom.com \
    --cc=benjaminfair@google.com \
    --cc=chin-ting_kuo@aspeedtech.com \
    --cc=claudiu.beznea@microchip.com \
    --cc=clg@kaod.org \
    --cc=fancer.lancer@gmail.com \
    --cc=haibo.chen@nxp.com \
    --cc=han.xu@nxp.com \
    --cc=heiko@sntech.de \
    --cc=joel@jms.id.au \
    --cc=john.garry@huawei.com \
    --cc=kdasu.kdev@gmail.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-aspeed@lists.ozlabs.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mediatek@lists.infradead.org \
    --cc=linux-mtd@lists.infradead.org \
    --cc=linux-rockchip@lists.infradead.org \
    --cc=linux-spi@vger.kernel.org \
    --cc=linux-stm32@st-md-mailman.stormreply.com \
    --cc=matthias.bgg@gmail.com \
    --cc=mcoquelin.stm32@gmail.com \
    --cc=michael@walle.cc \
    --cc=michal.simek@xilinx.com \
    --cc=miquel.raynal@bootlin.com \
    --cc=nicolas.ferre@microchip.com \
    --cc=openbmc@lists.ozlabs.org \
    --cc=pratyush@kernel.org \
    --cc=richard@nod.at \
    --cc=sergiu.moga@microchip.com \
    --cc=tali.perry1@gmail.com \
    --cc=tmaimon77@gmail.com \
    --cc=tudor.ambarus@microchip.com \
    --cc=venture@google.com \
    --cc=vigneshr@ti.com \
    --cc=yogeshgaur.83@gmail.com \
    --cc=yuenn@google.com \
    /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 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.