[PATCH 1/3] ARM: dts: suniv: f1c100s: Add support for DMA

Chen-Yu Tsai wens at csie.org
Mon Dec 9 10:03:08 PST 2024


On Tue, Dec 10, 2024 at 1:56 AM Andre Przywara <andre.przywara at arm.com> wrote:
>
> On Thu, 5 Dec 2024 01:01:36 +0100
> "Csókás, Bence" <csokas.bence at prolan.hu> wrote:
>
> > From: Mesih Kilinc <mesihkilinc at gmail.com>
> >
> > Allwinner suniv F1C100s now has DMA support. Enable it under device
> > tree.
> >
> > Signed-off-by: Mesih Kilinc <mesihkilinc at gmail.com>
> > [ csokas.bence: Rebased on current master ]
> > Signed-off-by: Csókás, Bence <csokas.bence at prolan.hu>
>
> Compared against the manual:
>
> Reviewed-by: Andre Przywara <andre.przywara at arm.com>

These have already been merged. I picked them from their original
series.

ChenYu

> Cheers,
> Andre
>
> > ---
> >  arch/arm/boot/dts/allwinner/suniv-f1c100s.dtsi | 10 ++++++++++
> >  1 file changed, 10 insertions(+)
> >
> > diff --git a/arch/arm/boot/dts/allwinner/suniv-f1c100s.dtsi b/arch/arm/boot/dts/allwinner/suniv-f1c100s.dtsi
> > index 3c61d59ab5f8..290efe026ceb 100644
> > --- a/arch/arm/boot/dts/allwinner/suniv-f1c100s.dtsi
> > +++ b/arch/arm/boot/dts/allwinner/suniv-f1c100s.dtsi
> > @@ -6,6 +6,7 @@
> >
> >  #include <dt-bindings/clock/suniv-ccu-f1c100s.h>
> >  #include <dt-bindings/reset/suniv-ccu-f1c100s.h>
> > +#include <dt-bindings/dma/sun4i-a10.h>
> >
> >  / {
> >       #address-cells = <1>;
> > @@ -159,6 +160,15 @@ usbphy: phy at 1c13400 {
> >                       status = "disabled";
> >               };
> >
> > +             dma: dma-controller at 1c02000 {
> > +                     compatible = "allwinner,suniv-f1c100s-dma";
> > +                     reg = <0x01c02000 0x1000>;
> > +                     interrupts = <18>;
> > +                     clocks = <&ccu CLK_BUS_DMA>;
> > +                     resets = <&ccu RST_BUS_DMA>;
> > +                     #dma-cells = <2>;
> > +             };
> > +
> >               ccu: clock at 1c20000 {
> >                       compatible = "allwinner,suniv-f1c100s-ccu";
> >                       reg = <0x01c20000 0x400>;
>
>



More information about the linux-arm-kernel mailing list