spi: imx: Implement set_speed
Subsystems (2)
PATCH 1/1 spi: imx: Implement set_speed
The set_speed() callback should configure the bus speed, make it so.
--- drivers/spi/mxc_spi.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-)
drivers/spi/mxc_spi.c +4 -1
@@ -662,7 +662,10 @@ static int mxc_spi_release_bus(struct udevice *dev)static int mxc_spi_set_speed (struct udevice *bus,uint speed) { -/* Nothing to do */ +struct mxc_spi_slave *mxcs =dev_get_platdata (bus); + + mxcs->max_hz = speed; +return 0 ; }
Signature · 1 line
2.30.0
PATCH 1/1 spi: imx: Implement set_speed
Hi Marek,
Quoted 3 lines · Marek Vasut
The
set_speed()callback should configure the bus speed, make it so.
This patch is not flagged as v3 since previously there were 2 versions already on the ML. Did you mistakenly send this?
Quoted 12 lines
Signed-off-by Marek Vasut <[email protected]>Cc Jagan Teki <[email protected]>Cc Stefano Babic <[email protected]>--- drivers/spi/mxc_spi.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-)drivers/spi/mxc_spi.c +0
-0
drivers/spi/mxc_spi.c static int mxc_spi_release_bus(struct udevice *dev) · line 665
Quoted 5 lines
drivers/spi/mxc_spi.c +1
-1@@ -662,7 +662,10 @@ static int mxc_spi_release_bus(struct udevice *dev)static int mxc_spi_set_speed (struct udevice *bus,uint speed) { -/* Nothing to do */ +struct mxc_spi_slave *mxcs =dev_get_platdata (bus);
This patch is the same as the previous v1 patch here:
https://lists.denx.de/pipermail/u-boot/2021-February/439840.html
And you already sent a v2 that was reviewed.
https://lists.denx.de/pipermail/u-boot/2021-February/439863.html
drivers/spi/mxc_spi.c static int mxc_spi_release_bus(struct udevice *dev) · line 670
Quoted 5 lines
drivers/spi/mxc_spi.c +3
-0+ + mxcs->max_hz = speed; +return 0 ; }
Regards,
Bin
PATCH 1/1 spi: imx: Implement set_speed
Quoted 1 line · Bin Meng
Hi Marek,
Hello Bin,
Quoted 7 lines · Marek Vasut
Quoted 3 lines
The
set_speed()callback should configure the bus speed, make it so.This patch is not flagged as v3 since previously there were 2 versions already on the ML. Did you mistakenly send this?
No, I sent it yet again because I still do not see this patch upstream.
[...]
PATCH 1/1 spi: imx: Implement set_speed
Hi Marek,
Quoted 8 lines · Marek Vasut
Quoted 1 line · Bin Meng
Hi Marek,
Hello Bin,
Quoted 2 lines · Marek Vasut
Quoted 1 line
Quoted 8 lines
Quoted 5 lines
Quoted 2 lines
The
set_speed()callback should configure the bus speed, make it so.This patch is not flagged as v3 since previously there were 2 versions already on the ML. Did you mistakenly send this?
No, I sent it yet again because I still do not see this patch upstream.
Okay, but you ended up sending a wrong version :) Better to tag the patch as [RESEND] to avoid misunderstanding.
Quoted 1 line
[...]
Regards,
Bin
PATCH 1/1 spi: imx: Implement set_speed
Quoted 1 line · Bin Meng
Hi Marek,
Hello Bin,
Quoted 12 lines · Marek Vasut
Quoted 11 lines · Bin Meng
Quoted 1 line
Hi Marek,
Hello Bin,
Quoted 5 lines · Marek Vasut
Quoted 3 lines
The
set_speed()callback should configure the bus speed, make it so.
Quoted 7 lines
Quoted 5 lines
Quoted 2 lines
This patch is not flagged as v3 since previously there were 2 versions already on the ML. Did you mistakenly send this?
No, I sent it yet again because I still do not see this patch upstream.
Okay, but you ended up sending a wrong version :)
Okay :)
Quoted 2 lines
Better to tag the
patch as [RESEND] to avoid misunderstanding.
Thank you for your feedback.