* [PATCH v3 00/13] Add CMU/RMU/DMA/MMC/I2C support for Actions Semi
@ 2020-12-29 21:17 Cristian Ciocaltea
2020-12-29 21:17 ` [PATCH v3 08/13] arm: dts: owl-s500: Add MMC support Cristian Ciocaltea
2020-12-31 7:54 ` [PATCH v3 00/13] Add CMU/RMU/DMA/MMC/I2C support for Actions Semi Manivannan Sadhasivam
0 siblings, 2 replies; 5+ messages in thread
From: Cristian Ciocaltea @ 2020-12-29 21:17 UTC (permalink / raw)
To: Manivannan Sadhasivam, Rob Herring, Andreas Färber,
Vinod Koul, Dan Williams
Cc: Wolfram Sang, Ulf Hansson, Peter Korsgaard, devicetree,
linux-arm-kernel, linux-actions, linux-kernel, dmaengine,
linux-i2c, linux-mmc
Hi,
This patchset brings a series of improvements for the Actions Semi S500
SoCs family, by adding support for Clock & Reset Management Units, DMA,
MMC, I2C & SIRQ controllers.
Please note the patches consist mostly of DTS and bindings/compatibles
changes, since all the work they depend on has been already merged,
i.e. clock fixes/additions, pinctrl driver, sirq driver.
For the moment, I have only enabled the features I could test on
RoseapplePi SBC.
Thanks,
Cristi
Changes in v3:
- Squashed 'arm: dts: owl-s500-roseapplepi: Use UART clock from CMU' with
'arm: dts: owl-s500: Set CMU clocks for UARTs', according to Mani's review
- Rebased series on v5.11-rc1 and dropped the already merged patches:
* dt-bindings: mmc: owl: Add compatible string for Actions Semi S500 SoC
* dt-bindings: i2c: owl: Convert Actions Semi Owl binding to a schema
* MAINTAINERS: Update entry for Actions Semi Owl I2C binding
* i2c: owl: Add compatible for the Actions Semi S500 I2C controller
Changes in v2:
- Added new bindings/compatibles for S500 DMA, MMC & I2C controllers
- Added support for the SIRQ controller
- Added new entries in MAINTAINERS
- Updated naming of some patches in v1
Cristian Ciocaltea (13):
arm: dts: owl-s500: Add Clock Management Unit
arm: dts: owl-s500: Set CMU clocks for UARTs
arm: dts: owl-s500: Add Reset controller
dt-bindings: dma: owl: Add compatible string for Actions Semi S500 SoC
dmaengine: owl: Add compatible for the Actions Semi S500 DMA
controller
arm: dts: owl-s500: Add DMA controller
arm: dts: owl-s500: Add pinctrl & GPIO support
arm: dts: owl-s500: Add MMC support
arm: dts: owl-s500: Add I2C support
arm: dts: owl-s500: Add SIRQ controller
arm: dts: owl-s500-roseapplepi: Add uSD support
arm: dts: owl-s500-roseapplepi: Add I2C pinctrl configuration
MAINTAINERS: Add linux-actions ML for Actions Semi Arch
.../devicetree/bindings/dma/owl-dma.yaml | 7 +-
MAINTAINERS | 1 +
arch/arm/boot/dts/owl-s500-cubieboard6.dts | 7 -
.../arm/boot/dts/owl-s500-guitar-bb-rev-b.dts | 7 -
.../arm/boot/dts/owl-s500-labrador-base-m.dts | 7 -
arch/arm/boot/dts/owl-s500-roseapplepi.dts | 97 +++++++++++-
arch/arm/boot/dts/owl-s500-sparky.dts | 7 -
arch/arm/boot/dts/owl-s500.dtsi | 140 ++++++++++++++++++
drivers/dma/owl-dma.c | 3 +-
9 files changed, 239 insertions(+), 37 deletions(-)
--
2.30.0
^ permalink raw reply [flat|nested] 5+ messages in thread
* [PATCH v3 08/13] arm: dts: owl-s500: Add MMC support
2020-12-29 21:17 [PATCH v3 00/13] Add CMU/RMU/DMA/MMC/I2C support for Actions Semi Cristian Ciocaltea
@ 2020-12-29 21:17 ` Cristian Ciocaltea
2020-12-31 7:54 ` [PATCH v3 00/13] Add CMU/RMU/DMA/MMC/I2C support for Actions Semi Manivannan Sadhasivam
1 sibling, 0 replies; 5+ messages in thread
From: Cristian Ciocaltea @ 2020-12-29 21:17 UTC (permalink / raw)
To: Rob Herring, Andreas Färber, Manivannan Sadhasivam,
Ulf Hansson
Cc: devicetree, linux-arm-kernel, linux-actions, linux-kernel,
linux-mmc
Add MMC controller nodes for Actions Semi S500 SoC, in order to
facilitate access to SD/EMMC/SDIO cards.
Signed-off-by: Cristian Ciocaltea <cristian.ciocaltea@gmail.com>
Reviewed-by: Ulf Hansson <ulf.hansson@linaro.org>
Reviewed-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
---
Changes in v3:
- Added Reviewed-by tags from Ulf and Mani
arch/arm/boot/dts/owl-s500.dtsi | 33 +++++++++++++++++++++++++++++++++
1 file changed, 33 insertions(+)
diff --git a/arch/arm/boot/dts/owl-s500.dtsi b/arch/arm/boot/dts/owl-s500.dtsi
index b16172615db0..7af7c9e1119d 100644
--- a/arch/arm/boot/dts/owl-s500.dtsi
+++ b/arch/arm/boot/dts/owl-s500.dtsi
@@ -241,5 +241,38 @@ dma: dma-controller@b0260000 {
clocks = <&cmu CLK_DMAC>;
power-domains = <&sps S500_PD_DMA>;
};
+
+ mmc0: mmc@b0230000 {
+ compatible = "actions,s500-mmc", "actions,owl-mmc";
+ reg = <0xb0230000 0x38>;
+ interrupts = <GIC_SPI 42 IRQ_TYPE_LEVEL_HIGH>;
+ clocks = <&cmu CLK_SD0>;
+ resets = <&cmu RESET_SD0>;
+ dmas = <&dma 2>;
+ dma-names = "mmc";
+ status = "disabled";
+ };
+
+ mmc1: mmc@b0234000 {
+ compatible = "actions,s500-mmc", "actions,owl-mmc";
+ reg = <0xb0234000 0x38>;
+ interrupts = <GIC_SPI 43 IRQ_TYPE_LEVEL_HIGH>;
+ clocks = <&cmu CLK_SD1>;
+ resets = <&cmu RESET_SD1>;
+ dmas = <&dma 3>;
+ dma-names = "mmc";
+ status = "disabled";
+ };
+
+ mmc2: mmc@b0238000 {
+ compatible = "actions,s500-mmc", "actions,owl-mmc";
+ reg = <0xb0238000 0x38>;
+ interrupts = <GIC_SPI 44 IRQ_TYPE_LEVEL_HIGH>;
+ clocks = <&cmu CLK_SD2>;
+ resets = <&cmu RESET_SD2>;
+ dmas = <&dma 4>;
+ dma-names = "mmc";
+ status = "disabled";
+ };
};
};
--
2.30.0
^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: [PATCH v3 00/13] Add CMU/RMU/DMA/MMC/I2C support for Actions Semi
2020-12-29 21:17 [PATCH v3 00/13] Add CMU/RMU/DMA/MMC/I2C support for Actions Semi Cristian Ciocaltea
2020-12-29 21:17 ` [PATCH v3 08/13] arm: dts: owl-s500: Add MMC support Cristian Ciocaltea
@ 2020-12-31 7:54 ` Manivannan Sadhasivam
2020-12-31 9:12 ` Cristian Ciocaltea
1 sibling, 1 reply; 5+ messages in thread
From: Manivannan Sadhasivam @ 2020-12-31 7:54 UTC (permalink / raw)
To: Cristian Ciocaltea
Cc: Rob Herring, Andreas Färber, Vinod Koul, Dan Williams,
Wolfram Sang, Ulf Hansson, Peter Korsgaard, devicetree,
linux-arm-kernel, linux-actions, linux-kernel, dmaengine,
linux-i2c, linux-mmc
On Tue, Dec 29, 2020 at 11:17:15PM +0200, Cristian Ciocaltea wrote:
> Hi,
>
> This patchset brings a series of improvements for the Actions Semi S500
> SoCs family, by adding support for Clock & Reset Management Units, DMA,
> MMC, I2C & SIRQ controllers.
>
> Please note the patches consist mostly of DTS and bindings/compatibles
> changes, since all the work they depend on has been already merged,
> i.e. clock fixes/additions, pinctrl driver, sirq driver.
>
> For the moment, I have only enabled the features I could test on
> RoseapplePi SBC.
>
Applied all patches except the 2 dmaengine patches for v5.12. Andreas, please
let me know if you want to do the PR this time. Else I'll proceed.
Thanks,
Mani
> Thanks,
> Cristi
>
> Changes in v3:
> - Squashed 'arm: dts: owl-s500-roseapplepi: Use UART clock from CMU' with
> 'arm: dts: owl-s500: Set CMU clocks for UARTs', according to Mani's review
> - Rebased series on v5.11-rc1 and dropped the already merged patches:
> * dt-bindings: mmc: owl: Add compatible string for Actions Semi S500 SoC
> * dt-bindings: i2c: owl: Convert Actions Semi Owl binding to a schema
> * MAINTAINERS: Update entry for Actions Semi Owl I2C binding
> * i2c: owl: Add compatible for the Actions Semi S500 I2C controller
>
> Changes in v2:
> - Added new bindings/compatibles for S500 DMA, MMC & I2C controllers
> - Added support for the SIRQ controller
> - Added new entries in MAINTAINERS
> - Updated naming of some patches in v1
>
> Cristian Ciocaltea (13):
> arm: dts: owl-s500: Add Clock Management Unit
> arm: dts: owl-s500: Set CMU clocks for UARTs
> arm: dts: owl-s500: Add Reset controller
> dt-bindings: dma: owl: Add compatible string for Actions Semi S500 SoC
> dmaengine: owl: Add compatible for the Actions Semi S500 DMA
> controller
> arm: dts: owl-s500: Add DMA controller
> arm: dts: owl-s500: Add pinctrl & GPIO support
> arm: dts: owl-s500: Add MMC support
> arm: dts: owl-s500: Add I2C support
> arm: dts: owl-s500: Add SIRQ controller
> arm: dts: owl-s500-roseapplepi: Add uSD support
> arm: dts: owl-s500-roseapplepi: Add I2C pinctrl configuration
> MAINTAINERS: Add linux-actions ML for Actions Semi Arch
>
> .../devicetree/bindings/dma/owl-dma.yaml | 7 +-
> MAINTAINERS | 1 +
> arch/arm/boot/dts/owl-s500-cubieboard6.dts | 7 -
> .../arm/boot/dts/owl-s500-guitar-bb-rev-b.dts | 7 -
> .../arm/boot/dts/owl-s500-labrador-base-m.dts | 7 -
> arch/arm/boot/dts/owl-s500-roseapplepi.dts | 97 +++++++++++-
> arch/arm/boot/dts/owl-s500-sparky.dts | 7 -
> arch/arm/boot/dts/owl-s500.dtsi | 140 ++++++++++++++++++
> drivers/dma/owl-dma.c | 3 +-
> 9 files changed, 239 insertions(+), 37 deletions(-)
>
> --
> 2.30.0
>
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH v3 00/13] Add CMU/RMU/DMA/MMC/I2C support for Actions Semi
2020-12-31 7:54 ` [PATCH v3 00/13] Add CMU/RMU/DMA/MMC/I2C support for Actions Semi Manivannan Sadhasivam
@ 2020-12-31 9:12 ` Cristian Ciocaltea
2020-12-31 17:12 ` Manivannan Sadhasivam
0 siblings, 1 reply; 5+ messages in thread
From: Cristian Ciocaltea @ 2020-12-31 9:12 UTC (permalink / raw)
To: Manivannan Sadhasivam
Cc: Rob Herring, Andreas Färber, Vinod Koul, Dan Williams,
Wolfram Sang, Ulf Hansson, Peter Korsgaard, devicetree,
linux-arm-kernel, linux-actions, linux-kernel, dmaengine,
linux-i2c, linux-mmc
On Thu, Dec 31, 2020 at 01:24:35PM +0530, Manivannan Sadhasivam wrote:
> On Tue, Dec 29, 2020 at 11:17:15PM +0200, Cristian Ciocaltea wrote:
> > Hi,
> >
> > This patchset brings a series of improvements for the Actions Semi S500
> > SoCs family, by adding support for Clock & Reset Management Units, DMA,
> > MMC, I2C & SIRQ controllers.
> >
> > Please note the patches consist mostly of DTS and bindings/compatibles
> > changes, since all the work they depend on has been already merged,
> > i.e. clock fixes/additions, pinctrl driver, sirq driver.
> >
> > For the moment, I have only enabled the features I could test on
> > RoseapplePi SBC.
> >
>
> Applied all patches except the 2 dmaengine patches for v5.12. Andreas, please
> let me know if you want to do the PR this time. Else I'll proceed.
Thank you, Mani!
The dmaengine patches should be picked up by Vinod, right?
> Thanks,
> Mani
>
> > Thanks,
> > Cristi
> >
> > Changes in v3:
> > - Squashed 'arm: dts: owl-s500-roseapplepi: Use UART clock from CMU' with
> > 'arm: dts: owl-s500: Set CMU clocks for UARTs', according to Mani's review
> > - Rebased series on v5.11-rc1 and dropped the already merged patches:
> > * dt-bindings: mmc: owl: Add compatible string for Actions Semi S500 SoC
> > * dt-bindings: i2c: owl: Convert Actions Semi Owl binding to a schema
> > * MAINTAINERS: Update entry for Actions Semi Owl I2C binding
> > * i2c: owl: Add compatible for the Actions Semi S500 I2C controller
> >
> > Changes in v2:
> > - Added new bindings/compatibles for S500 DMA, MMC & I2C controllers
> > - Added support for the SIRQ controller
> > - Added new entries in MAINTAINERS
> > - Updated naming of some patches in v1
> >
> > Cristian Ciocaltea (13):
> > arm: dts: owl-s500: Add Clock Management Unit
> > arm: dts: owl-s500: Set CMU clocks for UARTs
> > arm: dts: owl-s500: Add Reset controller
> > dt-bindings: dma: owl: Add compatible string for Actions Semi S500 SoC
> > dmaengine: owl: Add compatible for the Actions Semi S500 DMA
> > controller
> > arm: dts: owl-s500: Add DMA controller
> > arm: dts: owl-s500: Add pinctrl & GPIO support
> > arm: dts: owl-s500: Add MMC support
> > arm: dts: owl-s500: Add I2C support
> > arm: dts: owl-s500: Add SIRQ controller
> > arm: dts: owl-s500-roseapplepi: Add uSD support
> > arm: dts: owl-s500-roseapplepi: Add I2C pinctrl configuration
> > MAINTAINERS: Add linux-actions ML for Actions Semi Arch
> >
> > .../devicetree/bindings/dma/owl-dma.yaml | 7 +-
> > MAINTAINERS | 1 +
> > arch/arm/boot/dts/owl-s500-cubieboard6.dts | 7 -
> > .../arm/boot/dts/owl-s500-guitar-bb-rev-b.dts | 7 -
> > .../arm/boot/dts/owl-s500-labrador-base-m.dts | 7 -
> > arch/arm/boot/dts/owl-s500-roseapplepi.dts | 97 +++++++++++-
> > arch/arm/boot/dts/owl-s500-sparky.dts | 7 -
> > arch/arm/boot/dts/owl-s500.dtsi | 140 ++++++++++++++++++
> > drivers/dma/owl-dma.c | 3 +-
> > 9 files changed, 239 insertions(+), 37 deletions(-)
> >
> > --
> > 2.30.0
> >
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH v3 00/13] Add CMU/RMU/DMA/MMC/I2C support for Actions Semi
2020-12-31 9:12 ` Cristian Ciocaltea
@ 2020-12-31 17:12 ` Manivannan Sadhasivam
0 siblings, 0 replies; 5+ messages in thread
From: Manivannan Sadhasivam @ 2020-12-31 17:12 UTC (permalink / raw)
To: Cristian Ciocaltea
Cc: Rob Herring, Andreas Färber, Vinod Koul, Dan Williams,
Wolfram Sang, Ulf Hansson, Peter Korsgaard, devicetree,
linux-arm-kernel, linux-actions, linux-kernel, dmaengine,
linux-i2c, linux-mmc
On 31 December 2020 2:42:02 PM IST, Cristian Ciocaltea <cristian.ciocaltea@gmail.com> wrote:
>On Thu, Dec 31, 2020 at 01:24:35PM +0530, Manivannan Sadhasivam wrote:
>> On Tue, Dec 29, 2020 at 11:17:15PM +0200, Cristian Ciocaltea wrote:
>> > Hi,
>> >
>> > This patchset brings a series of improvements for the Actions Semi
>S500
>> > SoCs family, by adding support for Clock & Reset Management Units,
>DMA,
>> > MMC, I2C & SIRQ controllers.
>> >
>> > Please note the patches consist mostly of DTS and
>bindings/compatibles
>> > changes, since all the work they depend on has been already merged,
>> > i.e. clock fixes/additions, pinctrl driver, sirq driver.
>> >
>> > For the moment, I have only enabled the features I could test on
>> > RoseapplePi SBC.
>> >
>>
>> Applied all patches except the 2 dmaengine patches for v5.12.
>Andreas, please
>> let me know if you want to do the PR this time. Else I'll proceed.
>
>Thank you, Mani!
>The dmaengine patches should be picked up by Vinod, right?
>
Yes! Vinod is just back from vacation, so he will :)
Thanks,
Mani
>> Thanks,
>> Mani
>>
>> > Thanks,
>> > Cristi
>> >
>> > Changes in v3:
>> > - Squashed 'arm: dts: owl-s500-roseapplepi: Use UART clock from
>CMU' with
>> > 'arm: dts: owl-s500: Set CMU clocks for UARTs', according to
>Mani's review
>> > - Rebased series on v5.11-rc1 and dropped the already merged
>patches:
>> > * dt-bindings: mmc: owl: Add compatible string for Actions Semi
>S500 SoC
>> > * dt-bindings: i2c: owl: Convert Actions Semi Owl binding to a
>schema
>> > * MAINTAINERS: Update entry for Actions Semi Owl I2C binding
>> > * i2c: owl: Add compatible for the Actions Semi S500 I2C
>controller
>> >
>> > Changes in v2:
>> > - Added new bindings/compatibles for S500 DMA, MMC & I2C
>controllers
>> > - Added support for the SIRQ controller
>> > - Added new entries in MAINTAINERS
>> > - Updated naming of some patches in v1
>> >
>> > Cristian Ciocaltea (13):
>> > arm: dts: owl-s500: Add Clock Management Unit
>> > arm: dts: owl-s500: Set CMU clocks for UARTs
>> > arm: dts: owl-s500: Add Reset controller
>> > dt-bindings: dma: owl: Add compatible string for Actions Semi
>S500 SoC
>> > dmaengine: owl: Add compatible for the Actions Semi S500 DMA
>> > controller
>> > arm: dts: owl-s500: Add DMA controller
>> > arm: dts: owl-s500: Add pinctrl & GPIO support
>> > arm: dts: owl-s500: Add MMC support
>> > arm: dts: owl-s500: Add I2C support
>> > arm: dts: owl-s500: Add SIRQ controller
>> > arm: dts: owl-s500-roseapplepi: Add uSD support
>> > arm: dts: owl-s500-roseapplepi: Add I2C pinctrl configuration
>> > MAINTAINERS: Add linux-actions ML for Actions Semi Arch
>> >
>> > .../devicetree/bindings/dma/owl-dma.yaml | 7 +-
>> > MAINTAINERS | 1 +
>> > arch/arm/boot/dts/owl-s500-cubieboard6.dts | 7 -
>> > .../arm/boot/dts/owl-s500-guitar-bb-rev-b.dts | 7 -
>> > .../arm/boot/dts/owl-s500-labrador-base-m.dts | 7 -
>> > arch/arm/boot/dts/owl-s500-roseapplepi.dts | 97 +++++++++++-
>> > arch/arm/boot/dts/owl-s500-sparky.dts | 7 -
>> > arch/arm/boot/dts/owl-s500.dtsi | 140
>++++++++++++++++++
>> > drivers/dma/owl-dma.c | 3 +-
>> > 9 files changed, 239 insertions(+), 37 deletions(-)
>> >
>> > --
>> > 2.30.0
>> >
--
Sent from my Android device with K-9 Mail. Please excuse my brevity.
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2020-12-31 17:13 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-12-29 21:17 [PATCH v3 00/13] Add CMU/RMU/DMA/MMC/I2C support for Actions Semi Cristian Ciocaltea
2020-12-29 21:17 ` [PATCH v3 08/13] arm: dts: owl-s500: Add MMC support Cristian Ciocaltea
2020-12-31 7:54 ` [PATCH v3 00/13] Add CMU/RMU/DMA/MMC/I2C support for Actions Semi Manivannan Sadhasivam
2020-12-31 9:12 ` Cristian Ciocaltea
2020-12-31 17:12 ` Manivannan Sadhasivam
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox