Searched hist:"004 c8a8bc569c8b18fca6fc90ffe3223daaf17b7" (Results 1 – 4 of 4) sorted by relevance
/openbmc/qemu/tests/qtest/ |
H A D | bcm2835-dma-test.c | 004c8a8bc569c8b18fca6fc90ffe3223daaf17b7 Sat Jul 16 06:32:10 CDT 2022 Andrey Makarov <ph.makarov@gmail.com> Align Raspberry Pi DMA interrupts with Linux DTS
There is nothing in the specs on DMA engine interrupt lines: it should have been in the "BCM2835 ARM Peripherals" datasheet but the appropriate "ARM peripherals interrupt table" (p.113) is nearly empty.
All Raspberry Pi models 1-3 (based on bcm2835) have Linux device tree (arch/arm/boot/dts/bcm2835-common.dtsi +25):
/* dma channel 11-14 share one irq */
This information is repeated in the driver code (drivers/dma/bcm2835-dma.c +1344):
/* * in case of channel >= 11 * use the 11th interrupt and that is shared */
In this patch channels 0--10 and 11--14 are handled separately.
Signed-off-by: Andrey Makarov <andrey.makarov@auriga.com> Message-id: 20220716113210.349153-1-andrey.makarov@auriga.com [PMM: fixed checkpatch nits] Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
|
H A D | meson.build | diff 004c8a8bc569c8b18fca6fc90ffe3223daaf17b7 Sat Jul 16 06:32:10 CDT 2022 Andrey Makarov <ph.makarov@gmail.com> Align Raspberry Pi DMA interrupts with Linux DTS
There is nothing in the specs on DMA engine interrupt lines: it should have been in the "BCM2835 ARM Peripherals" datasheet but the appropriate "ARM peripherals interrupt table" (p.113) is nearly empty.
All Raspberry Pi models 1-3 (based on bcm2835) have Linux device tree (arch/arm/boot/dts/bcm2835-common.dtsi +25):
/* dma channel 11-14 share one irq */
This information is repeated in the driver code (drivers/dma/bcm2835-dma.c +1344):
/* * in case of channel >= 11 * use the 11th interrupt and that is shared */
In this patch channels 0--10 and 11--14 are handled separately.
Signed-off-by: Andrey Makarov <andrey.makarov@auriga.com> Message-id: 20220716113210.349153-1-andrey.makarov@auriga.com [PMM: fixed checkpatch nits] Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
|
/openbmc/qemu/include/hw/arm/ |
H A D | bcm2835_peripherals.h | diff 004c8a8bc569c8b18fca6fc90ffe3223daaf17b7 Sat Jul 16 06:32:10 CDT 2022 Andrey Makarov <ph.makarov@gmail.com> Align Raspberry Pi DMA interrupts with Linux DTS
There is nothing in the specs on DMA engine interrupt lines: it should have been in the "BCM2835 ARM Peripherals" datasheet but the appropriate "ARM peripherals interrupt table" (p.113) is nearly empty.
All Raspberry Pi models 1-3 (based on bcm2835) have Linux device tree (arch/arm/boot/dts/bcm2835-common.dtsi +25):
/* dma channel 11-14 share one irq */
This information is repeated in the driver code (drivers/dma/bcm2835-dma.c +1344):
/* * in case of channel >= 11 * use the 11th interrupt and that is shared */
In this patch channels 0--10 and 11--14 are handled separately.
Signed-off-by: Andrey Makarov <andrey.makarov@auriga.com> Message-id: 20220716113210.349153-1-andrey.makarov@auriga.com [PMM: fixed checkpatch nits] Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
|
/openbmc/qemu/hw/arm/ |
H A D | bcm2835_peripherals.c | diff 004c8a8bc569c8b18fca6fc90ffe3223daaf17b7 Sat Jul 16 06:32:10 CDT 2022 Andrey Makarov <ph.makarov@gmail.com> Align Raspberry Pi DMA interrupts with Linux DTS
There is nothing in the specs on DMA engine interrupt lines: it should have been in the "BCM2835 ARM Peripherals" datasheet but the appropriate "ARM peripherals interrupt table" (p.113) is nearly empty.
All Raspberry Pi models 1-3 (based on bcm2835) have Linux device tree (arch/arm/boot/dts/bcm2835-common.dtsi +25):
/* dma channel 11-14 share one irq */
This information is repeated in the driver code (drivers/dma/bcm2835-dma.c +1344):
/* * in case of channel >= 11 * use the 11th interrupt and that is shared */
In this patch channels 0--10 and 11--14 are handled separately.
Signed-off-by: Andrey Makarov <andrey.makarov@auriga.com> Message-id: 20220716113210.349153-1-andrey.makarov@auriga.com [PMM: fixed checkpatch nits] Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
|