The NetBSD Project

CVS log for src/sys/arch/arm/sunxi/sun6i_dma.c

[BACK] Up to [cvs.NetBSD.org] / src / sys / arch / arm / sunxi

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.16: download - view: text, markup, annotated - select for diffs
Tue Aug 13 07:20:23 2024 UTC (3 months, 4 weeks ago) by skrll
Branches: MAIN
CVS tags: HEAD
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +14 -2 lines
risc-v: Allwinner D1 support

Add the Allwinnder D1 support provided by Rui-Xiang Guo and updated
but me.

    https://mail-index.netbsd.org/port-riscv/2024/08/04/msg000127.html

Only driver listed as attaching in

    https://github.com/picohive/netbsd-mangopi-mq-pro/blob/main/boot.log

have been added.

There is no need for the platform stuff as the board's u-boot is able
to load bootriscv64.efi and boot a generic kernel.

Revision 1.14.4.1: download - view: text, markup, annotated - select for diffs
Thu May 13 00:47:24 2021 UTC (3 years, 7 months ago) by thorpej
Branches: thorpej-i2c-spi-conf
Diff to: previous 1.14: preferred, colored; next MAIN 1.15: preferred, colored
Changes since revision 1.14: +14 -2 lines
Sync with HEAD.

Revision 1.15: download - view: text, markup, annotated - select for diffs
Wed May 5 10:24:04 2021 UTC (3 years, 7 months ago) by jmcneill
Branches: MAIN
CVS tags: thorpej-ifq-base, thorpej-ifq, thorpej-i2c-spi-conf2-base, thorpej-i2c-spi-conf2, thorpej-i2c-spi-conf-base, thorpej-futex2-base, thorpej-futex2, thorpej-cfargs2-base, thorpej-cfargs2, thorpej-altq-separation-base, thorpej-altq-separation, perseant-exfatfs-base-20240630, perseant-exfatfs-base, perseant-exfatfs, netbsd-10-base, netbsd-10-0-RELEASE, netbsd-10-0-RC6, netbsd-10-0-RC5, netbsd-10-0-RC4, netbsd-10-0-RC3, netbsd-10-0-RC2, netbsd-10-0-RC1, netbsd-10, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x, bouyer-sunxi-drm-base, bouyer-sunxi-drm
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +14 -2 lines
Add support for Allwinner V3s, from Rui-Xiang Guo.

Revision 1.9.12.1: download - view: text, markup, annotated - select for diffs
Sat Apr 3 22:28:18 2021 UTC (3 years, 8 months ago) by thorpej
Branches: thorpej-futex
Diff to: previous 1.9: preferred, colored; next MAIN 1.10: preferred, colored
Changes since revision 1.9: +17 -12 lines
Sync with HEAD.

Revision 1.14: download - view: text, markup, annotated - select for diffs
Wed Jan 27 03:10:20 2021 UTC (3 years, 10 months ago) by thorpej
Branches: MAIN
CVS tags: thorpej-futex-base, thorpej-cfargs-base, thorpej-cfargs
Branch point for: thorpej-i2c-spi-conf
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +4 -4 lines
Rename of_match_compat_data() to of_compatible_match().  Similarly,
rename of_search_compatible() to of_compatible_lookup().

Standardize on of_compatible_match() for driver matching, and adapt
all call sites.

Revision 1.13: download - view: text, markup, annotated - select for diffs
Wed Jan 27 02:09:39 2021 UTC (3 years, 10 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +3 -3 lines
Use DEVICE_COMPAT_EOL.

Revision 1.12: download - view: text, markup, annotated - select for diffs
Mon Jan 25 14:20:39 2021 UTC (3 years, 10 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +3 -3 lines
Since we're using designated initialisers for compat data, we should
use a completely empty initializer for the sentinel.

Revision 1.11: download - view: text, markup, annotated - select for diffs
Mon Jan 18 02:35:49 2021 UTC (3 years, 10 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +14 -9 lines
Remove "struct of_compat_data" and replace its usage with
"struct device_compatible_entry"; they are ABI-compatible.

Fix several "loses const qualifier" bugs encountered during
this conversion.

Revision 1.10: download - view: text, markup, annotated - select for diffs
Fri Jan 15 22:47:32 2021 UTC (3 years, 10 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +4 -4 lines
use fdtbus_intr_establish_xname

Revision 1.5.2.1: download - view: text, markup, annotated - select for diffs
Mon Jun 10 22:05:56 2019 UTC (5 years, 6 months ago) by christos
Branches: phil-wifi
Diff to: previous 1.5: preferred, colored; next MAIN 1.6: preferred, colored
Changes since revision 1.5: +122 -51 lines
Sync with HEAD

Revision 1.9: download - view: text, markup, annotated - select for diffs
Wed Mar 6 19:16:53 2019 UTC (5 years, 9 months ago) by jakllsch
Branches: MAIN
CVS tags: phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, phil-wifi-20191119, phil-wifi-20190609, netbsd-9-base, netbsd-9-4-RELEASE, netbsd-9-3-RELEASE, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1, netbsd-9, isaki-audio2-base, isaki-audio2, is-mlppp-base, is-mlppp, bouyer-xenpvh-base2, bouyer-xenpvh-base1, bouyer-xenpvh-base, bouyer-xenpvh, ad-namecache-base3, ad-namecache-base2, ad-namecache-base1, ad-namecache-base, ad-namecache
Branch point for: thorpej-futex
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +3 -3 lines
Hint more strongly that "#if maybenever" is also "#if notyet".

Revision 1.8: download - view: text, markup, annotated - select for diffs
Sat Mar 2 16:55:13 2019 UTC (5 years, 9 months ago) by jakllsch
Branches: MAIN
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +51 -2 lines
Validate burst and width arguments.

Also add some more register definitions, and a (disabled) example of
how to set the DMA flow control mode.

Revision 1.7: download - view: text, markup, annotated - select for diffs
Sat Mar 2 03:21:17 2019 UTC (5 years, 9 months ago) by jakllsch
Branches: MAIN
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +62 -46 lines
Implement support for multi-segment transfers.
Make more efficent use of DMA descriptor table memory.

Revision 1.3.2.2: download - view: text, markup, annotated - select for diffs
Mon Nov 26 01:52:20 2018 UTC (6 years ago) by pgoyette
Branches: pgoyette-compat
CVS tags: pgoyette-compat-merge-20190127
Diff to: previous 1.3.2.1: preferred, colored; branchpoint 1.3: preferred, colored; next MAIN 1.4: preferred, colored
Changes since revision 1.3.2.1: +13 -7 lines
Sync with HEAD, resolve a couple of conflicts

Revision 1.6: download - view: text, markup, annotated - select for diffs
Sat Nov 17 20:35:41 2018 UTC (6 years ago) by jmcneill
Branches: MAIN
CVS tags: pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +13 -7 lines
Handle different burst bits for h3/a64

Revision 1.3.2.1: download - view: text, markup, annotated - select for diffs
Mon May 21 04:35:59 2018 UTC (6 years, 6 months ago) by pgoyette
Branches: pgoyette-compat
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +45 -7 lines
Sync with HEAD

Revision 1.5: download - view: text, markup, annotated - select for diffs
Thu May 10 00:07:08 2018 UTC (6 years, 7 months ago) by jmcneill
Branches: MAIN
CVS tags: phil-wifi-base, pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906, pgoyette-compat-0728, pgoyette-compat-0625, pgoyette-compat-0521
Branch point for: phil-wifi
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +3 -3 lines
32-bit build fix

Revision 1.4: download - view: text, markup, annotated - select for diffs
Wed May 9 17:17:33 2018 UTC (6 years, 7 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +45 -7 lines
Set "DMA MCLK interface circuit auto gating bit" to 1 where required.

Revision 1.3: download - view: text, markup, annotated - select for diffs
Fri Dec 15 02:24:22 2017 UTC (6 years, 11 months ago) by jmcneill
Branches: MAIN
CVS tags: pgoyette-compat-base, pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315
Branch point for: pgoyette-compat
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +3 -2 lines
match allwinner,sun50i-a64-dma

Revision 1.2.6.2: download - view: text, markup, annotated - select for diffs
Sun Dec 3 11:35:56 2017 UTC (7 years ago) by jdolecek
Branches: tls-maxphys
Diff to: previous 1.2.6.1: preferred, colored; branchpoint 1.2: preferred, colored; next MAIN 1.3: preferred, colored
Changes since revision 1.2.6.1: +453 -0 lines
update from HEAD

Revision 1.2.4.2: download - view: text, markup, annotated - select for diffs
Mon Aug 28 17:51:32 2017 UTC (7 years, 3 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.2.4.1: preferred, colored; branchpoint 1.2: preferred, colored; next MAIN 1.3: preferred, colored
Changes since revision 1.2.4.1: +453 -0 lines
Sync with HEAD

Revision 1.2.2.2: download - view: text, markup, annotated - select for diffs
Wed Aug 9 05:49:50 2017 UTC (7 years, 4 months ago) by snj
Branches: netbsd-8
CVS tags: netbsd-8-3-RELEASE, netbsd-8-2-RELEASE, netbsd-8-1-RELEASE, netbsd-8-1-RC1, netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1, matt-nb8-mediatek-base, matt-nb8-mediatek
Diff to: previous 1.2.2.1: preferred, colored; branchpoint 1.2: preferred, colored; next MAIN 1.3: preferred, colored
Changes since revision 1.2.2.1: +453 -0 lines
Pull up following revision(s) (requested by jmcneill in ticket #200):
	sys/arch/arm/sunxi/files.sunxi: 1.15-1.16
	sys/arch/arm/sunxi/sun6i_dma.c: 1.1-1.2
	sys/arch/arm/sunxi/sun8i_h3_ccu.c: 1.9-1.10
	sys/arch/arm/sunxi/sun8i_h3_codec.c: 1.1-1.2
	sys/arch/arm/sunxi/sunxi_ccu.h: 1.8
	sys/arch/arm/sunxi/sunxi_ccu_nkmp.c: 1.5
	sys/arch/arm/sunxi/sunxi_codec.c: 1.1
	sys/arch/arm/sunxi/sunxi_codec.h: 1.1
	sys/arch/evbarm/conf/SUNXI: 1.20-1.21
Add DMA controller driver for sun6i and later family SoCs.
--
Enable sun6idma
--
add DMA gate
--
Fix burst field encoding, and add a helper function to dump registers
from ddb.
--
Add support for H3 audio PLL and digital audio part.
--
Add support for Allwinner H3 audio codec.
--
Enable H3 audio support
--
h3_codec_pr_write: clear write mode bit after setting it; fixes an issue with output being mutex when skipping tracks in mpg123

Revision 1.2.6.1
Sun Aug 6 17:13:15 2017 UTC (7 years, 4 months ago) by jdolecek
Branches: tls-maxphys
FILE REMOVED
Changes since revision 1.2: +0 -453 lines
file sun6i_dma.c was added on branch tls-maxphys on 2017-12-03 11:35:56 +0000

Revision 1.2.4.1
Sun Aug 6 17:13:15 2017 UTC (7 years, 4 months ago) by skrll
Branches: nick-nhusb
FILE REMOVED
Changes since revision 1.2: +0 -453 lines
file sun6i_dma.c was added on branch nick-nhusb on 2017-08-28 17:51:32 +0000

Revision 1.2.2.1
Sun Aug 6 17:13:15 2017 UTC (7 years, 4 months ago) by snj
Branches: netbsd-8
FILE REMOVED
Changes since revision 1.2: +0 -453 lines
file sun6i_dma.c was added on branch netbsd-8 on 2017-08-09 05:49:50 +0000

Revision 1.2: download - view: text, markup, annotated - select for diffs
Sun Aug 6 17:13:15 2017 UTC (7 years, 4 months ago) by jmcneill
Branches: MAIN
CVS tags: tls-maxphys-base-20171202, nick-nhusb-base-20170825
Branch point for: tls-maxphys, nick-nhusb, netbsd-8
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +49 -4 lines
Fix burst field encoding, and add a helper function to dump registers
from ddb.

Revision 1.1: download - view: text, markup, annotated - select for diffs
Sat Aug 5 17:51:49 2017 UTC (7 years, 4 months ago) by jmcneill
Branches: MAIN
Add DMA controller driver for sun6i and later family SoCs.

Diff request

This form allows you to request diffs between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.

Log view options

CVSweb <webmaster@jp.NetBSD.org>