Commit Graph

9 Commits

Author SHA1 Message Date
Gabriel Valcazar 441459b6d2 libdigiapix: change default PWM for the ccimx8x-sbc-pro
The indexes of the MCA PWM controllers are different in Linux v5.4, so the
default value used by libdigiapix results in an error. Reflect this change and,
while at it, replace the default PWM with an IO connected to a user LED to make
the example more visual.

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2020-10-20 10:16:18 +02:00
Francisco Gil Martinez f8e6bf523e libdigiapix: spi: fix wrong index in configuration files
Since kernel 5.4 the index was set to 0 instead of 32766

Signed-off-by: Francisco Gil Martinez <francisco.gilmartinez@digi.com>
2020-07-24 09:07:31 +02:00
Hector Bujanda 2e30987a7e libdigiapix: make use of libgpiod
Added libgpiod dependence.

The configuration file entries change to following format:
   - USER_LED = mca-gpio,12
   - USER_BUTTON = mca-gpio,10

https://jira.digi.com/browse/DEL-6425

Signed-off-by: Hector Bujanda <hector.bujanda@digi.com>
2020-03-19 02:57:59 -07:00
Mike Engel 6b5cd9465b libdigiapix: Update CCIMX8X conf file with new PWM and GPIO settings
Signed-off-by: Mike Engel <Mike.Engel@digi.com>

https://jira.digi.com/browse/DEL-6807
2019-11-08 09:59:45 +01:00
Hector Palacios d50f82b121 libdigiapix: rename config files from board.conf to libdigiapix.conf
Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2019-04-15 13:07:47 +02:00
Gonzalo Ruiz b81da5f6d0 libdigiapix: add ADC_IN0 as default DEFAULT_ADC for ccimx8x boards
ADC_IN0 is the channel 0 of iio:device0.

Signed-off-by: Gonzalo Ruiz <Gonzalo.Ruiz@digi.com>
2019-04-12 17:17:51 +02:00
Hector Palacios 86104b4ffa libdigiapix: add and fix GPIO aliases
For CC6/CC6Plus
 - Add USER_LED0 alias (same as default USER_LED)
 - Change aliases of the other LEDs to USER_LED1 and
   USER_LED2 (without additional underscore and fixed
   indexes, to match the board schematics)

For CC8X SBC Pro
 - Add USER_LED0 alias (same as default USER_LED)
 - Add USER_LED1 which was missing
 - Increase indexes (due to removed MCA_IO19 on SOM v3)

Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2019-04-02 09:23:18 +02:00
Hector Palacios 74e346262e libdigiapix: set MCA PWM1 (MCA_IO5) by default on CC8X
This PWM signal is available on the expansion connector
of both the SBC Express and SBC Pro.

Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2019-01-25 10:38:20 +01:00
Arturo Buzarra d44d97dc1b libdigiapix: add board.conf file for the ConnectCore 8X SBC Pro platform
The PWM and ADC values are still to be determined, since their BSP support is
currently unavailable.

https://jira.digi.com/browse/DEL-6205

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2018-10-15 09:10:04 +02:00