CVS commit: src/sys/arch/arm/sunxi

2019-10-21 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Mon Oct 21 08:00:59 UTC 2019 Modified Files: src/sys/arch/arm/sunxi: sunxi_can.c Log Message: if_ipackets is incremented in can_input(), so don't increment it in sunxi_can_rx_intr to prevent double count. OK'd by bouyer@. To g

CVS commit: src/sys/arch/arm/sunxi

2019-10-12 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Sun Oct 13 06:03:56 UTC 2019 Modified Files: src/sys/arch/arm/sunxi: sunxi_pwm.c Log Message: Use PRIxBUSADDR To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 src/sys/arch/arm/sunxi/sunxi_pwm.c Please note that diffs

CVS commit: src/sys/arch/arm/sunxi

2019-10-12 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Sun Oct 13 06:03:56 UTC 2019 Modified Files: src/sys/arch/arm/sunxi: sunxi_pwm.c Log Message: Use PRIxBUSADDR To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 src/sys/arch/arm/sunxi/sunxi_pwm.c Please note that diffs

CVS commit: src/sys/arch/arm/sunxi

2019-10-05 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Sat Oct 5 12:09:01 UTC 2019 Modified Files: src/sys/arch/arm/sunxi: sunxi_mmc.c Log Message: Remove SMC_CAPS_POLLING cap To generate a diff of this commit: cvs rdiff -u -r1.39 -r1.40 src/sys/arch/arm/sunxi/sunxi_mmc.c Please

CVS commit: src/sys/arch/arm/sunxi

2019-10-05 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Sat Oct 5 12:09:01 UTC 2019 Modified Files: src/sys/arch/arm/sunxi: sunxi_mmc.c Log Message: Remove SMC_CAPS_POLLING cap To generate a diff of this commit: cvs rdiff -u -r1.39 -r1.40 src/sys/arch/arm/sunxi/sunxi_mmc.c Please

CVS commit: src/sys/arch/arm/sunxi

2019-10-03 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Thu Oct 3 15:10:32 UTC 2019 Modified Files: src/sys/arch/arm/sunxi: sunxi_mmc.c Log Message: Do not print timeout message when SCF_TOUT_OK flag is set To generate a diff of this commit: cvs rdiff -u -r1.38 -r1.39 src/sys/arch

CVS commit: src/sys/arch/arm/sunxi

2019-10-03 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Thu Oct 3 15:10:32 UTC 2019 Modified Files: src/sys/arch/arm/sunxi: sunxi_mmc.c Log Message: Do not print timeout message when SCF_TOUT_OK flag is set To generate a diff of this commit: cvs rdiff -u -r1.38 -r1.39 src/sys/arch

CVS commit: src/sys/arch/arm/sunxi

2019-10-03 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Thu Oct 3 13:49:33 UTC 2019 Modified Files: src/sys/arch/arm/sunxi: sunxi_mmc.c Log Message: Rework interrupt handling to reduce the number of wakeups required for each command. Fix SDIO interrupt handling while here. To gene

CVS commit: src/sys/arch/arm/sunxi

2019-10-03 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Thu Oct 3 13:49:33 UTC 2019 Modified Files: src/sys/arch/arm/sunxi: sunxi_mmc.c Log Message: Rework interrupt handling to reduce the number of wakeups required for each command. Fix SDIO interrupt handling while here. To gene

CVS commit: src/sys/arch/arm/sunxi

2019-09-11 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Wed Sep 11 15:03:53 UTC 2019 Modified Files: src/sys/arch/arm/sunxi: sun4i_spi.c Log Message: Switch to fdtbus_attach_spibus(), so spi slaves defined in the device tree have a chance to be found. To generate a diff of this commi

CVS commit: src/sys/arch/arm/sunxi

2019-09-11 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Wed Sep 11 15:03:53 UTC 2019 Modified Files: src/sys/arch/arm/sunxi: sun4i_spi.c Log Message: Switch to fdtbus_attach_spibus(), so spi slaves defined in the device tree have a chance to be found. To generate a diff of this commi

CVS commit: src/sys/arch/arm/sunxi

2019-09-05 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Thu Sep 5 23:42:27 UTC 2019 Modified Files: src/sys/arch/arm/sunxi: sunxi_rtc.c Log Message: Catch up with RTC-related DTS changes for the H3, H5, and A64 SoCs. mujo AT SDF.ORG, and verified on Pinebook by Jun Ebihara. XXX pul

CVS commit: src/sys/arch/arm/sunxi

2019-09-05 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Thu Sep 5 23:42:27 UTC 2019 Modified Files: src/sys/arch/arm/sunxi: sunxi_rtc.c Log Message: Catch up with RTC-related DTS changes for the H3, H5, and A64 SoCs. mujo AT SDF.ORG, and verified on Pinebook by Jun Ebihara. XXX pul

CVS commit: src/sys/arch/arm/sunxi

2019-09-05 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Thu Sep 5 17:25:24 UTC 2019 Modified Files: src/sys/arch/arm/sunxi: sunxi_mmc.c Log Message: The mmc module clock needs to be doubled only for 8bits DDR mode on old timing hardware. This makes the lime2-eemc works in 4bits DDR52

CVS commit: src/sys/arch/arm/sunxi

2019-09-05 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Thu Sep 5 17:25:24 UTC 2019 Modified Files: src/sys/arch/arm/sunxi: sunxi_mmc.c Log Message: The mmc module clock needs to be doubled only for 8bits DDR mode on old timing hardware. This makes the lime2-eemc works in 4bits DDR52

CVS commit: src/sys/arch/arm/sunxi

2019-09-01 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Sun Sep 1 15:02:17 UTC 2019 Modified Files: src/sys/arch/arm/sunxi: sunxi_mmc.c Log Message: sunxi_mmc_wait_rint: protect against spurious wakeups To generate a diff of this commit: cvs rdiff -u -r1.35 -r1.36 src/sys/arch/arm

CVS commit: src/sys/arch/arm/sunxi

2019-09-01 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Sun Sep 1 15:02:17 UTC 2019 Modified Files: src/sys/arch/arm/sunxi: sunxi_mmc.c Log Message: sunxi_mmc_wait_rint: protect against spurious wakeups To generate a diff of this commit: cvs rdiff -u -r1.35 -r1.36 src/sys/arch/arm

CVS commit: src/sys/arch/arm/sunxi

2019-09-01 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Sun Sep 1 14:14:57 UTC 2019 Modified Files: src/sys/arch/arm/sunxi: sunxi_mmc.c Log Message: Instead of delaying ack of sdio card interrupts, ack them immediately and disable card interrupts until the sdio layer acks them later

CVS commit: src/sys/arch/arm/sunxi

2019-09-01 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Sun Sep 1 14:14:57 UTC 2019 Modified Files: src/sys/arch/arm/sunxi: sunxi_mmc.c Log Message: Instead of delaying ack of sdio card interrupts, ack them immediately and disable card interrupts until the sdio layer acks them later

CVS commit: src/sys/arch/arm/sunxi

2019-09-01 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Sun Sep 1 11:44:23 UTC 2019 Modified Files: src/sys/arch/arm/sunxi: sunxi_mmc.c Log Message: Keep SDIO interrupt enable state when masking other interrupts To generate a diff of this commit: cvs rdiff -u -r1.33 -r1.34 src/sys

CVS commit: src/sys/arch/arm/sunxi

2019-09-01 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Sun Sep 1 11:44:23 UTC 2019 Modified Files: src/sys/arch/arm/sunxi: sunxi_mmc.c Log Message: Keep SDIO interrupt enable state when masking other interrupts To generate a diff of this commit: cvs rdiff -u -r1.33 -r1.34 src/sys

CVS commit: src/sys/arch/arm/sunxi

2019-08-04 Thread Tobias Nygren
Module Name:src Committed By: tnn Date: Sun Aug 4 22:26:40 UTC 2019 Modified Files: src/sys/arch/arm/sunxi: sun4i_spi.c sun6i_spi.c Log Message: remove useless splbio() in sunxispi_start We raised spl already in sunxispi_transfer. XXX spi(4) should be made MPSAFE To ge

CVS commit: src/sys/arch/arm/sunxi

2019-08-04 Thread Tobias Nygren
Module Name:src Committed By: tnn Date: Sun Aug 4 22:26:40 UTC 2019 Modified Files: src/sys/arch/arm/sunxi: sun4i_spi.c sun6i_spi.c Log Message: remove useless splbio() in sunxispi_start We raised spl already in sunxispi_transfer. XXX spi(4) should be made MPSAFE To ge

CVS commit: src/sys/arch/arm/sunxi

2019-08-03 Thread Tobias Nygren
Module Name:src Committed By: tnn Date: Sat Aug 3 19:56:42 UTC 2019 Modified Files: src/sys/arch/arm/sunxi: sun4i_spi.c Log Message: make function prototype consistent To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 src/sys/arch/arm/sunxi/sun4i_spi.c Please

CVS commit: src/sys/arch/arm/sunxi

2019-08-03 Thread Tobias Nygren
Module Name:src Committed By: tnn Date: Sat Aug 3 19:56:42 UTC 2019 Modified Files: src/sys/arch/arm/sunxi: sun4i_spi.c Log Message: make function prototype consistent To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 src/sys/arch/arm/sunxi/sun4i_spi.c Please

CVS commit: src/sys/arch/arm/sunxi

2019-08-03 Thread Tobias Nygren
Module Name:src Committed By: tnn Date: Sat Aug 3 14:42:24 UTC 2019 Modified Files: src/sys/arch/arm/sunxi: sun6i_spi.c Log Message: sun6i_spi: bring over non-intrusive improvements from sun4i_spi - simplify attach error handling - calculate minfreq & maxfreq instead of

CVS commit: src/sys/arch/arm/sunxi

2019-08-03 Thread Tobias Nygren
Module Name:src Committed By: tnn Date: Sat Aug 3 14:42:24 UTC 2019 Modified Files: src/sys/arch/arm/sunxi: sun6i_spi.c Log Message: sun6i_spi: bring over non-intrusive improvements from sun4i_spi - simplify attach error handling - calculate minfreq & maxfreq instead of

CVS commit: src/sys/arch/arm/sunxi

2019-08-03 Thread Tobias Nygren
Module Name:src Committed By: tnn Date: Sat Aug 3 13:28:43 UTC 2019 Modified Files: src/sys/arch/arm/sunxi: files.sunxi Added Files: src/sys/arch/arm/sunxi: sun4i_spi.c sun4i_spireg.h Log Message: sun4i_spi: spi(4) driver for Allwinner A10/A20 platform To genera

CVS commit: src/sys/arch/arm/sunxi

2019-08-03 Thread Tobias Nygren
Module Name:src Committed By: tnn Date: Sat Aug 3 13:28:43 UTC 2019 Modified Files: src/sys/arch/arm/sunxi: files.sunxi Added Files: src/sys/arch/arm/sunxi: sun4i_spi.c sun4i_spireg.h Log Message: sun4i_spi: spi(4) driver for Allwinner A10/A20 platform To genera

CVS commit: src/sys/arch/arm/sunxi

2019-08-01 Thread Tobias Nygren
Module Name:src Committed By: tnn Date: Thu Aug 1 22:23:16 UTC 2019 Modified Files: src/sys/arch/arm/sunxi: sun4i_a10_ccu.c Log Message: sun4i: enable clocks for SPI[0-3], needed by sun4i_spi To generate a diff of this commit: cvs rdiff -u -r1.10 -r1.11 src/sys/arch/arm

CVS commit: src/sys/arch/arm/sunxi

2019-08-01 Thread Tobias Nygren
Module Name:src Committed By: tnn Date: Thu Aug 1 22:23:16 UTC 2019 Modified Files: src/sys/arch/arm/sunxi: sun4i_a10_ccu.c Log Message: sun4i: enable clocks for SPI[0-3], needed by sun4i_spi To generate a diff of this commit: cvs rdiff -u -r1.10 -r1.11 src/sys/arch/arm

CVS commit: src/sys/arch/arm/sunxi

2019-07-19 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Fri Jul 19 10:54:26 UTC 2019 Modified Files: src/sys/arch/arm/sunxi: sunxi_hdmi.c Log Message: Don't allocate edid informations on stack, it's too large (struct edid_info is near 3KB), and causes a stack overflow, corrupting proc0

CVS commit: src/sys/arch/arm/sunxi

2019-07-19 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Fri Jul 19 10:54:26 UTC 2019 Modified Files: src/sys/arch/arm/sunxi: sunxi_hdmi.c Log Message: Don't allocate edid informations on stack, it's too large (struct edid_info is near 3KB), and causes a stack overflow, corrupting proc0

CVS commit: src/sys/arch/arm/sunxi

2019-07-13 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Sat Jul 13 21:56:23 UTC 2019 Modified Files: src/sys/arch/arm/sunxi: sunxi_emac.c Log Message: Make failure-to-attach errors a little more informative. To generate a diff of this commit: cvs rdiff -u -r1.27 -r1.28 src/sys/arch/

CVS commit: src/sys/arch/arm/sunxi

2019-07-13 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Sat Jul 13 21:56:23 UTC 2019 Modified Files: src/sys/arch/arm/sunxi: sunxi_emac.c Log Message: Make failure-to-attach errors a little more informative. To generate a diff of this commit: cvs rdiff -u -r1.27 -r1.28 src/sys/arch/

CVS commit: src/sys/arch/arm/sunxi

2019-07-11 Thread Michael Lorenz
Module Name:src Committed By: macallan Date: Thu Jul 11 18:22:14 UTC 2019 Modified Files: src/sys/arch/arm/sunxi: sunxi_sramc.c Log Message: add compat string for H5 ok jmcneill@ To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5 src/sys/arch/arm/sunxi/sunxi_sr

CVS commit: src/sys/arch/arm/sunxi

2019-07-11 Thread Michael Lorenz
Module Name:src Committed By: macallan Date: Thu Jul 11 18:22:14 UTC 2019 Modified Files: src/sys/arch/arm/sunxi: sunxi_sramc.c Log Message: add compat string for H5 ok jmcneill@ To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5 src/sys/arch/arm/sunxi/sunxi_sr

CVS commit: src/sys/arch/arm/sunxi

2019-07-05 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Sat Jul 6 00:23:38 UTC 2019 Modified Files: src/sys/arch/arm/sunxi: sunxi_lcdc.c Log Message: Fix start_delay calculation for tcon0. port-arm/54342 To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6 src/sys/arch/arm/

CVS commit: src/sys/arch/arm/sunxi

2019-07-05 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Sat Jul 6 00:23:38 UTC 2019 Modified Files: src/sys/arch/arm/sunxi: sunxi_lcdc.c Log Message: Fix start_delay calculation for tcon0. port-arm/54342 To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6 src/sys/arch/arm/

CVS commit: src/sys/arch/arm/sunxi

2019-07-01 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Mon Jul 1 21:06:47 UTC 2019 Modified Files: src/sys/arch/arm/sunxi: sun50i_a64_ccu.c Log Message: Fix gpu clock parent To generate a diff of this commit: cvs rdiff -u -r1.12 -r1.13 src/sys/arch/arm/sunxi/sun50i_a64_ccu.c Ple

CVS commit: src/sys/arch/arm/sunxi

2019-07-01 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Mon Jul 1 21:06:47 UTC 2019 Modified Files: src/sys/arch/arm/sunxi: sun50i_a64_ccu.c Log Message: Fix gpu clock parent To generate a diff of this commit: cvs rdiff -u -r1.12 -r1.13 src/sys/arch/arm/sunxi/sun50i_a64_ccu.c Ple

CVS commit: src/sys/arch/arm/sunxi

2019-06-27 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Thu Jun 27 14:51:33 UTC 2019 Modified Files: src/sys/arch/arm/sunxi: sun50i_a64_ccu.c Log Message: Add GPU clocks To generate a diff of this commit: cvs rdiff -u -r1.11 -r1.12 src/sys/arch/arm/sunxi/sun50i_a64_ccu.c Please no

CVS commit: src/sys/arch/arm/sunxi

2019-06-27 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Thu Jun 27 14:51:33 UTC 2019 Modified Files: src/sys/arch/arm/sunxi: sun50i_a64_ccu.c Log Message: Add GPU clocks To generate a diff of this commit: cvs rdiff -u -r1.11 -r1.12 src/sys/arch/arm/sunxi/sun50i_a64_ccu.c Please no

CVS commit: src/sys/arch/arm/sunxi

2019-06-16 Thread matthew green
Module Name:src Committed By: mrg Date: Mon Jun 17 05:27:01 UTC 2019 Modified Files: src/sys/arch/arm/sunxi: sunxi_platform.c Log Message: avoid allocations in the reboot (maybe crash) path and map the reset registers in new *platform_bootstrap() functions that merely move

CVS commit: src/sys/arch/arm/sunxi

2019-06-16 Thread matthew green
Module Name:src Committed By: mrg Date: Mon Jun 17 05:27:01 UTC 2019 Modified Files: src/sys/arch/arm/sunxi: sunxi_platform.c Log Message: avoid allocations in the reboot (maybe crash) path and map the reset registers in new *platform_bootstrap() functions that merely move

CVS commit: src/sys/arch/arm/sunxi

2019-06-14 Thread Tobias Nygren
Module Name:src Committed By: tnn Date: Fri Jun 14 21:48:43 UTC 2019 Modified Files: src/sys/arch/arm/sunxi: sunxi_hstimer.c sunxi_timer.c Log Message: fix typo To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 src/sys/arch/arm/sunxi/sunxi_hstimer.c cvs rdiff -

CVS commit: src/sys/arch/arm/sunxi

2019-06-14 Thread Tobias Nygren
Module Name:src Committed By: tnn Date: Fri Jun 14 21:48:43 UTC 2019 Modified Files: src/sys/arch/arm/sunxi: sunxi_hstimer.c sunxi_timer.c Log Message: fix typo To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 src/sys/arch/arm/sunxi/sunxi_hstimer.c cvs rdiff -

CVS commit: src/sys/arch/arm/sunxi

2019-06-14 Thread Tobias Nygren
Module Name:src Committed By: tnn Date: Fri Jun 14 21:26:36 UTC 2019 Modified Files: src/sys/arch/arm/sunxi: files.sunxi Added Files: src/sys/arch/arm/sunxi: sunxi_hstimer.c Log Message: sunxihstimer: add support for Allwinner High-Speed Timer To generate a diff

CVS commit: src/sys/arch/arm/sunxi

2019-06-14 Thread Tobias Nygren
Module Name:src Committed By: tnn Date: Fri Jun 14 21:26:36 UTC 2019 Modified Files: src/sys/arch/arm/sunxi: files.sunxi Added Files: src/sys/arch/arm/sunxi: sunxi_hstimer.c Log Message: sunxihstimer: add support for Allwinner High-Speed Timer To generate a diff

CVS commit: src/sys/arch/arm/sunxi

2019-06-06 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Thu Jun 6 23:19:07 UTC 2019 Modified Files: src/sys/arch/arm/sunxi: sun8i_codec.c sunxi_i2s.c Log Message: Update compatible strings for mainline To generate a diff of this commit: cvs rdiff -u -r1.6 -r1.7 src/sys/arch/arm/su

CVS commit: src/sys/arch/arm/sunxi

2019-06-06 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Thu Jun 6 23:19:07 UTC 2019 Modified Files: src/sys/arch/arm/sunxi: sun8i_codec.c sunxi_i2s.c Log Message: Update compatible strings for mainline To generate a diff of this commit: cvs rdiff -u -r1.6 -r1.7 src/sys/arch/arm/su

CVS commit: src/sys/arch/arm/sunxi

2019-06-04 Thread Tobias Nygren
Module Name:src Committed By: tnn Date: Tue Jun 4 19:49:43 UTC 2019 Modified Files: src/sys/arch/arm/sunxi: sunxi_gpio.c Log Message: sunxi_gpio: set interrupt debounce filter to HOSC instead of LOSC This improves gpio ISR response time from ~1.5ms to ~5us. The hardware

CVS commit: src/sys/arch/arm/sunxi

2019-06-04 Thread Tobias Nygren
Module Name:src Committed By: tnn Date: Tue Jun 4 19:49:43 UTC 2019 Modified Files: src/sys/arch/arm/sunxi: sunxi_gpio.c Log Message: sunxi_gpio: set interrupt debounce filter to HOSC instead of LOSC This improves gpio ISR response time from ~1.5ms to ~5us. The hardware

CVS commit: src/sys/arch/arm/sunxi

2019-06-03 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Tue Jun 4 03:03:34 UTC 2019 Modified Files: src/sys/arch/arm/sunxi: sunxi_ts.c Log Message: Only call wsmouse_input() if we have a wsmousedev attached (which only happens if the DT tells us to connect one). Fixes a panic on my

CVS commit: src/sys/arch/arm/sunxi

2019-06-03 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Tue Jun 4 03:03:34 UTC 2019 Modified Files: src/sys/arch/arm/sunxi: sunxi_ts.c Log Message: Only call wsmouse_input() if we have a wsmousedev attached (which only happens if the DT tells us to connect one). Fixes a panic on my

CVS commit: src/sys/arch/arm/sunxi

2019-05-30 Thread Tobias Nygren
Module Name:src Committed By: tnn Date: Thu May 30 18:19:36 UTC 2019 Modified Files: src/sys/arch/arm/sunxi: sunxi_gpio.c Log Message: sunxi_gpio: implement the interrupt API in gpio_chipset_tag - advertise GPIO pins as interrupt capable via pin_intrcaps - split establish

CVS commit: src/sys/arch/arm/sunxi

2019-05-30 Thread Tobias Nygren
Module Name:src Committed By: tnn Date: Thu May 30 18:19:36 UTC 2019 Modified Files: src/sys/arch/arm/sunxi: sunxi_gpio.c Log Message: sunxi_gpio: implement the interrupt API in gpio_chipset_tag - advertise GPIO pins as interrupt capable via pin_intrcaps - split establish

CVS commit: src/sys/arch/arm/sunxi

2019-05-28 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Tue May 28 21:56:04 UTC 2019 Modified Files: src/sys/arch/arm/sunxi: files.sunxi Added Files: src/sys/arch/arm/sunxi: sun9i_a80_usbclk.c sun9i_a80_usbphy.c Log Message: Add A80 USB support. To generate a diff of this c

CVS commit: src/sys/arch/arm/sunxi

2019-05-28 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Tue May 28 21:56:04 UTC 2019 Modified Files: src/sys/arch/arm/sunxi: files.sunxi Added Files: src/sys/arch/arm/sunxi: sun9i_a80_usbclk.c sun9i_a80_usbphy.c Log Message: Add A80 USB support. To generate a diff of this c

CVS commit: src/sys/arch/arm/sunxi

2019-05-27 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Tue May 28 00:02:32 UTC 2019 Modified Files: src/sys/arch/arm/sunxi: sun9i_a80_mmcclk.c Log Message: Enable parent clocks To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 src/sys/arch/arm/sunxi/sun9i_a80_mmcclk.c P

CVS commit: src/sys/arch/arm/sunxi

2019-05-27 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Tue May 28 00:02:32 UTC 2019 Modified Files: src/sys/arch/arm/sunxi: sun9i_a80_mmcclk.c Log Message: Enable parent clocks To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 src/sys/arch/arm/sunxi/sun9i_a80_mmcclk.c P

CVS commit: src/sys/arch/arm/sunxi

2019-05-27 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Mon May 27 23:27:26 UTC 2019 Modified Files: src/sys/arch/arm/sunxi: sunxi_gmac.c Log Message: Enable phy-supply if present To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 src/sys/arch/arm/sunxi/sunxi_gmac.c Pleas

CVS commit: src/sys/arch/arm/sunxi

2019-05-27 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Mon May 27 23:27:26 UTC 2019 Modified Files: src/sys/arch/arm/sunxi: sunxi_gmac.c Log Message: Enable phy-supply if present To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 src/sys/arch/arm/sunxi/sunxi_gmac.c Pleas

CVS commit: src/sys/arch/arm/sunxi

2019-05-27 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Mon May 27 23:27:14 UTC 2019 Modified Files: src/sys/arch/arm/sunxi: sunxi_gpio.h Log Message: Add has_io_bias_config property to sunxi_gpio_padconf To generate a diff of this commit: cvs rdiff -u -r1.8 -r1.9 src/sys/arch/arm/

CVS commit: src/sys/arch/arm/sunxi

2019-05-27 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Mon May 27 23:27:14 UTC 2019 Modified Files: src/sys/arch/arm/sunxi: sunxi_gpio.h Log Message: Add has_io_bias_config property to sunxi_gpio_padconf To generate a diff of this commit: cvs rdiff -u -r1.8 -r1.9 src/sys/arch/arm/

CVS commit: src/sys/arch/arm/sunxi

2019-05-27 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Mon May 27 23:26:42 UTC 2019 Modified Files: src/sys/arch/arm/sunxi: sun9i_a80_gpio.c Log Message: Set has_io_bias_config flag To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 src/sys/arch/arm/sunxi/sun9i_a80_gpio.c

CVS commit: src/sys/arch/arm/sunxi

2019-05-27 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Mon May 27 23:27:01 UTC 2019 Modified Files: src/sys/arch/arm/sunxi: sunxi_mmc.c Log Message: Enable vmmc-supply if present To generate a diff of this commit: cvs rdiff -u -r1.32 -r1.33 src/sys/arch/arm/sunxi/sunxi_mmc.c Plea

CVS commit: src/sys/arch/arm/sunxi

2019-05-27 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Mon May 27 23:26:20 UTC 2019 Modified Files: src/sys/arch/arm/sunxi: sunxi_gpio.c Log Message: Fix support for Allwinner-specific pin bindings and add support for pink bank regulators To generate a diff of this commit: cvs rd

CVS commit: src/sys/arch/arm/sunxi

2019-05-27 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Mon May 27 23:27:01 UTC 2019 Modified Files: src/sys/arch/arm/sunxi: sunxi_mmc.c Log Message: Enable vmmc-supply if present To generate a diff of this commit: cvs rdiff -u -r1.32 -r1.33 src/sys/arch/arm/sunxi/sunxi_mmc.c Plea

CVS commit: src/sys/arch/arm/sunxi

2019-05-27 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Mon May 27 23:26:42 UTC 2019 Modified Files: src/sys/arch/arm/sunxi: sun9i_a80_gpio.c Log Message: Set has_io_bias_config flag To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 src/sys/arch/arm/sunxi/sun9i_a80_gpio.c

CVS commit: src/sys/arch/arm/sunxi

2019-05-27 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Mon May 27 23:26:20 UTC 2019 Modified Files: src/sys/arch/arm/sunxi: sunxi_gpio.c Log Message: Fix support for Allwinner-specific pin bindings and add support for pink bank regulators To generate a diff of this commit: cvs rd

CVS commit: src/sys/arch/arm/sunxi

2019-05-27 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Mon May 27 21:12:54 UTC 2019 Modified Files: src/sys/arch/arm/sunxi: files.sunxi Added Files: src/sys/arch/arm/sunxi: sun8i_a23_apbclk.c sun9i_a80_cpusclk.c Log Message: Add apb0 and cpus clock drivers for A80 To gener

CVS commit: src/sys/arch/arm/sunxi

2019-05-27 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Mon May 27 21:12:54 UTC 2019 Modified Files: src/sys/arch/arm/sunxi: files.sunxi Added Files: src/sys/arch/arm/sunxi: sun8i_a23_apbclk.c sun9i_a80_cpusclk.c Log Message: Add apb0 and cpus clock drivers for A80 To gener

CVS commit: src/sys/arch/arm/sunxi

2019-05-27 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Mon May 27 21:11:51 UTC 2019 Modified Files: src/sys/arch/arm/sunxi: sunxi_nmi.c Log Message: Add A80 support To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 src/sys/arch/arm/sunxi/sunxi_nmi.c Please note that dif

CVS commit: src/sys/arch/arm/sunxi

2019-05-27 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Mon May 27 21:11:51 UTC 2019 Modified Files: src/sys/arch/arm/sunxi: sunxi_nmi.c Log Message: Add A80 support To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 src/sys/arch/arm/sunxi/sunxi_nmi.c Please note that dif

CVS commit: src/sys/arch/arm/sunxi

2019-05-26 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Sun May 26 14:49:18 UTC 2019 Modified Files: src/sys/arch/arm/sunxi: sunxi_rsb.c Log Message: Rename cv from old driver name "awinp2wi" to new "sunxirsb" To generate a diff of this commit: cvs rdiff -u -r1.6 -r1.7 src/sys/arch

CVS commit: src/sys/arch/arm/sunxi

2019-05-26 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Sun May 26 14:49:18 UTC 2019 Modified Files: src/sys/arch/arm/sunxi: sunxi_rsb.c Log Message: Rename cv from old driver name "awinp2wi" to new "sunxirsb" To generate a diff of this commit: cvs rdiff -u -r1.6 -r1.7 src/sys/arch

CVS commit: src/sys/arch/arm/sunxi

2019-05-26 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Sun May 26 14:14:27 UTC 2019 Modified Files: src/sys/arch/arm/sunxi: sunxi_gates.c Log Message: Match allwinner,sun9i-a80-apbs-gates-clk To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 src/sys/arch/arm/sunxi/sunxi_

CVS commit: src/sys/arch/arm/sunxi

2019-05-26 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Sun May 26 14:14:27 UTC 2019 Modified Files: src/sys/arch/arm/sunxi: sunxi_gates.c Log Message: Match allwinner,sun9i-a80-apbs-gates-clk To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 src/sys/arch/arm/sunxi/sunxi_

CVS commit: src/sys/arch/arm/sunxi

2019-05-26 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Sun May 26 13:56:46 UTC 2019 Modified Files: src/sys/arch/arm/sunxi: sun9i_a80_ccu.c Log Message: Add gmac clocks To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 src/sys/arch/arm/sunxi/sun9i_a80_ccu.c Please note

CVS commit: src/sys/arch/arm/sunxi

2019-05-26 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Sun May 26 13:56:46 UTC 2019 Modified Files: src/sys/arch/arm/sunxi: sun9i_a80_ccu.c Log Message: Add gmac clocks To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 src/sys/arch/arm/sunxi/sun9i_a80_ccu.c Please note

Re: CVS commit: src/sys/arch/arm/sunxi

2019-05-13 Thread Manuel Bouyer
On Mon, May 13, 2019 at 04:55:17PM +, Manuel Bouyer wrote: > Module Name: src > Committed By: bouyer > Date: Mon May 13 16:55:17 UTC 2019 > > Modified Files: > src/sys/arch/arm/sunxi: sunxi_sata.c > > Log Message: > Use new magic values from linux for DMACR. While I couldn't me

CVS commit: src/sys/arch/arm/sunxi

2019-05-13 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Mon May 13 16:55:17 UTC 2019 Modified Files: src/sys/arch/arm/sunxi: sunxi_sata.c Log Message: Use new magic values from linux for DMACR. While I couldn't measure any significant difference with my old, slow laptop drive, linux co

CVS commit: src/sys/arch/arm/sunxi

2019-05-13 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Mon May 13 16:55:17 UTC 2019 Modified Files: src/sys/arch/arm/sunxi: sunxi_sata.c Log Message: Use new magic values from linux for DMACR. While I couldn't measure any significant difference with my old, slow laptop drive, linux co

Re: CVS commit: src/sys/arch/arm/sunxi

2018-04-03 Thread Manuel Bouyer
On Tue, Apr 03, 2018 at 11:49:51AM -0300, Jared McNeill wrote: > There was mention of using pinctrl entries for it here: > http://linux-sunxi.org/External_interrupts#Device_Tree_Entries > > I was thinking it would be handy to define the functions this way if we ever > wanted to use an interrupt pi

Re: CVS commit: src/sys/arch/arm/sunxi

2018-04-03 Thread Jared McNeill
On Tue, 3 Apr 2018, Manuel Bouyer wrote: On Tue, Apr 03, 2018 at 09:55:40AM -0300, Jared McNeill wrote: Hi Manuel -- On Tue, 3 Apr 2018, Manuel Bouyer wrote: Log Message: external interrupt functions are named "eint" in the sunxi_gpio_pins[] arrays, while sunxi_gpio_establish() looks for "ei

Re: CVS commit: src/sys/arch/arm/sunxi

2018-04-03 Thread Manuel Bouyer
On Tue, Apr 03, 2018 at 09:55:40AM -0300, Jared McNeill wrote: > Hi Manuel -- > > On Tue, 3 Apr 2018, Manuel Bouyer wrote: > > > Log Message: > > external interrupt functions are named "eint" in the sunxi_gpio_pins[] > > arrays, while sunxi_gpio_establish() looks for "eint". > > Rename eint to ei

Re: CVS commit: src/sys/arch/arm/sunxi

2018-04-03 Thread Jared McNeill
Hi Manuel -- On Tue, 3 Apr 2018, Manuel Bouyer wrote: Log Message: external interrupt functions are named "eint" in the sunxi_gpio_pins[] arrays, while sunxi_gpio_establish() looks for "eint". Rename eint to eint in sunxi_gpio_pins[]. Tested with an external interrupt on PH0 on an A20. I chec

<    1   2