Here is small set of patches which enables I2C and SPI bus support
for Keystone SOCs. The relevant driver updates are already merged
in the last merge cycle.
v1-->v2
Only one patch is changed in the v2 from v1. Based on discussion [1],
dropped the SPI Kconfig patch which was disabling the EDMA. Since the
driver is smart enough to handle that runtime based on dma-engine DT
information, EDMA can be included in the build for Keystone SOCs.
Series is tested on Keystone 2 EVM.
Santosh Shilimkar (5):
ARM: dts: keystone: Add i2c device nodes
ARM: dts: keystone: Add the SPI nodes
dma: Allow TI_EDMA selectable for ARCH_KEYSTONE
ARM: keystone: Select TI_EDMA to be able to enable SPI driver
ARM: keystone: Enable I2C and SPI bus support
arch/arm/boot/dts/keystone.dts | 57 +++++++++++++++++++++++++++++++++++
arch/arm/configs/keystone_defconfig | 2 ++
arch/arm/mach-keystone/Kconfig | 2 ++
drivers/dma/Kconfig | 2 +-
4 files changed, 62 insertions(+), 1 deletion(-)
Regards,
Santosh
[1] http://www.spinics.net/lists/arm-kernel/msg276324.html
--
1.7.9.5
Keystone2 based SOCs supports 3 instances of i2c controllers. Add
the device nodes for them. The i2c0 child device AT24C1024 EEPROM node
is also added. When different board variants are added in future, it
can be moved to the supported boards from common SOC file.
Signed-off-by: Santosh Shilimkar <redacted>
---
arch/arm/boot/dts/keystone.dts | 30 ++++++++++++++++++++++++++++++
1 file changed, 30 insertions(+)
Allow the TI_EDMA to be built for ARCH_KEYSTONE which also supports
the EDMA IP.
Cc: Vinod Koul <redacted>
Signed-off-by: Santosh Shilimkar <redacted>
---
Vinod,
I need your ack on this patch to carry $subject patch via arm-soc tree
to avoid the unmet dependency warnings.
drivers/dma/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Select the TI EDMA to be able to enable SPI driver on Keystone
SOCs. Keystone SOCs share the EDMA IP with other TI SOCs.
Note that EDMA support hasn't been added and tested yet for
Keystone SOC data(device tree), but building it, is harmless since
driver like SPI already takes care of supporting non-dma mode
in the absence of such data.
Signed-off-by: Santosh Shilimkar <redacted>
---
arch/arm/mach-keystone/Kconfig | 2 ++
1 file changed, 2 insertions(+)
@@ -123,7 +123,9 @@ CONFIG_SERIAL_OF_PLATFORM=y CONFIG_I2C=y # CONFIG_I2C_COMPAT is not set CONFIG_I2C_CHARDEV=y+CONFIG_I2C_DAVINCI=y CONFIG_SPI=y+CONFIG_SPI_DAVINCI=y CONFIG_SPI_SPIDEV=y # CONFIG_HWMON is not set CONFIG_WATCHDOG=y
On Mon, Sep 30, 2013 at 06:41:25PM -0400, Santosh Shilimkar wrote:
Allow the TI_EDMA to be built for ARCH_KEYSTONE which also supports
the EDMA IP.
Cc: Vinod Koul <redacted>
Signed-off-by: Santosh Shilimkar <redacted>
---
Vinod,
I need your ack on this patch to carry $subject patch via arm-soc tree
to avoid the unmet dependency warnings.
Sure, but too many dependency fixes have been popoing up for this part and this
IIRC is third patch! Something doesn't seem right, hopefully am wrong..
I have a patch in my -next from Josh which selects TI_PRIV_EDMA for this...
~Vinod
On Monday 30 September 2013 09:54 PM, Vinod Koul wrote:
On Mon, Sep 30, 2013 at 06:41:25PM -0400, Santosh Shilimkar wrote:
quoted
Allow the TI_EDMA to be built for ARCH_KEYSTONE which also supports
the EDMA IP.
Cc: Vinod Koul <redacted>
Signed-off-by: Santosh Shilimkar <redacted>
---
Vinod,
I need your ack on this patch to carry $subject patch via arm-soc tree
to avoid the unmet dependency warnings.
Sure, but too many dependency fixes have been popoing up for this part and this
IIRC is third patch! Something doesn't seem right, hopefully am wrong..
I think it mainly because EDMA support is just merged last cycle and few SOCs
which use the EDMA trying to enable them now.
I have a patch in my -next from Josh which selects TI_PRIV_EDMA for this...
I looked at your next patch which is fixing the TI_EDMA dependency.
If you prefer to merge $subject patch via your tree, thats fine as well.
Juts give me a stable branch targeted for 3.13 and I shall merge your branch
and apply other patches on top of it.
Since it was very trivial patch, I thought its easy to carry via arm-soc
with your ack.
On Tue, Oct 01, 2013 at 09:35:43AM -0400, Santosh Shilimkar wrote:
On Monday 30 September 2013 09:54 PM, Vinod Koul wrote:
quoted
On Mon, Sep 30, 2013 at 06:41:25PM -0400, Santosh Shilimkar wrote:
quoted
Allow the TI_EDMA to be built for ARCH_KEYSTONE which also supports
the EDMA IP.
Cc: Vinod Koul <redacted>
Signed-off-by: Santosh Shilimkar <redacted>
---
Vinod,
I need your ack on this patch to carry $subject patch via arm-soc tree
to avoid the unmet dependency warnings.
Sure, but too many dependency fixes have been popoing up for this part and this
IIRC is third patch! Something doesn't seem right, hopefully am wrong..
I think it mainly because EDMA support is just merged last cycle and few SOCs
which use the EDMA trying to enable them now.
Okay btw is EDMA enabled in any of defconfigs. Having that will help us get
better test covergae in -next
quoted
I have a patch in my -next from Josh which selects TI_PRIV_EDMA for this...
I looked at your next patch which is fixing the TI_EDMA dependency.
If you prefer to merge $subject patch via your tree, thats fine as well.
Juts give me a stable branch targeted for 3.13 and I shall merge your branch
and apply other patches on top of it.
Pls merge my fixes branch. I will send that to Linus in day or two...
Since it was very trivial patch, I thought its easy to carry via arm-soc
with your ack.
Sure, looks good to me
Acked-by: Vinod Koul <redacted>
On Thu, Oct 03, 2013 at 11:57:59AM -0400, Santosh Shilimkar wrote:
quoted
quoted
I looked at your next patch which is fixing the TI_EDMA dependency.
If you prefer to merge $subject patch via your tree, thats fine as well.
Juts give me a stable branch targeted for 3.13 and I shall merge your branch
and apply other patches on top of it.
Pls merge my fixes branch. I will send that to Linus in day or two...
Will merge your next to avoid the merge conflict issue.
No pls. I usually rebase my -next so I wont advise that. Fixes wont be so pls
use that and this will be sent to Linus.
~Vinod
quoted
quoted
Since it was very trivial patch, I thought its easy to carry via arm-soc
with your ack.
Sure, looks good to me
Acked-by: Vinod Koul <redacted>
On Thursday 03 October 2013 11:03 AM, Vinod Koul wrote:
On Tue, Oct 01, 2013 at 09:35:43AM -0400, Santosh Shilimkar wrote:
quoted
On Monday 30 September 2013 09:54 PM, Vinod Koul wrote:
quoted
On Mon, Sep 30, 2013 at 06:41:25PM -0400, Santosh Shilimkar wrote:
quoted
Allow the TI_EDMA to be built for ARCH_KEYSTONE which also supports
the EDMA IP.
Cc: Vinod Koul <redacted>
Signed-off-by: Santosh Shilimkar <redacted>
---
Vinod,
I need your ack on this patch to carry $subject patch via arm-soc tree
to avoid the unmet dependency warnings.
Sure, but too many dependency fixes have been popoing up for this part and this
IIRC is third patch! Something doesn't seem right, hopefully am wrong..
I think it mainly because EDMA support is just merged last cycle and few SOCs
which use the EDMA trying to enable them now.
Okay btw is EDMA enabled in any of defconfigs. Having that will help us get
better test covergae in -next
yeah.. I do enable that as part of the series.
quoted
quoted
I have a patch in my -next from Josh which selects TI_PRIV_EDMA for this...
I looked at your next patch which is fixing the TI_EDMA dependency.
If you prefer to merge $subject patch via your tree, thats fine as well.
Juts give me a stable branch targeted for 3.13 and I shall merge your branch
and apply other patches on top of it.
Pls merge my fixes branch. I will send that to Linus in day or two...
Will merge your next to avoid the merge conflict issue.
quoted
Since it was very trivial patch, I thought its easy to carry via arm-soc
with your ack.
Sure, looks good to me
Acked-by: Vinod Koul <redacted>
On Thursday 03 October 2013 11:11 AM, Vinod Koul wrote:
On Thu, Oct 03, 2013 at 11:57:59AM -0400, Santosh Shilimkar wrote:
quoted
quoted
quoted
I looked at your next patch which is fixing the TI_EDMA dependency.
If you prefer to merge $subject patch via your tree, thats fine as well.
Juts give me a stable branch targeted for 3.13 and I shall merge your branch
and apply other patches on top of it.
Pls merge my fixes branch. I will send that to Linus in day or two...
Will merge your next to avoid the merge conflict issue.
No pls. I usually rebase my -next so I wont advise that. Fixes wont be so pls
use that and this will be sent to Linus.
opps.. typo ... I mean fixes branch.
Regards,
Santosh