[PATCH 2/2] Subject: Update PWM driver imported from BBBIO

2016-06-25 Thread Punit Vara
This patch performs following things: - adds registers to appropriate header file - Changes APIs to build RTEMS successful I have tested PWM driver with RGB LED https://youtu.be/jhjZO9amdSA This code generate more accurate frequency compare to TI SW

[PATCH 1/2] Subject: Add original BBBIO PWM driver to BBB BSP

2016-06-25 Thread Punit Vara
This patch perform following things: - adds original BBBIO PWM code as it is. - not added to Makefile otherwise it will break build - adds required registers - adds declarations to BSP_HEADERS This code is added from https://github.com/Veget

Re: [PATCH] arm: ensure that cache manager operations are implemented for CPUs using cache.

2016-06-25 Thread Pavel Pisa
Hello all, I have tested that changes do not break build of next BSPs altcycv_devkitc/src/lib/libbsp/arm/altera-cyclone-v altcycv_devkit_smpc/src/lib/libbsp/arm/altera-cyclone-v atsamvc/src/lib/libbsp/arm/atsam beagleboneblack

[PATCH] rtems: ensure that rtems_cache_aligned_malloc do not align less than to CPU_CACHE_LINE_BYTES.

2016-06-25 Thread Pavel Pisa
There are architectures (for example some/many ARM Cortex-A) which have different cache line sizes for data and instruction caches. CPU kit and even BSP can be build for group of CPUs which differs in cache line sizes as well and there are situations when maximum alignment is not reported by rtems_

[PATCH] arm: ensure that cache manager operations are implemented for CPUs using cache.

2016-06-25 Thread Pavel Pisa
RTEMS CPU kit cache manager API and directives are implemented by BSP library in shared cache_manager.c file. If CPU_DATA_CACHE_ALIGNMENT is not defined by architecture/BSP provided cache_.h file then most of these directives are mapped to the dummy function. The concerned directives are for examp

Re: Code review for Raspberry Pi USB driver

2016-06-25 Thread Pavel Pisa
Hello Deval Shah, On Saturday 25 of June 2016 07:13:40 Deval Shah wrote: > On Friday 24 June 2016, Pavel Pisa wrote: > > Hello Deval Shah and others, > > > > On Friday 24 of June 2016 10:45:34 Deval Shah wrote: > > > Hello all, > > > > > > I have successfully ported the bcm283x_dwcotg driver for