Commit graph

4021 commits

Author SHA1 Message Date
Ryan Armstrong
c96f08466c boards: arduino_due: Add arduino_i2c to support list
Correcting pull request review finding to add `arduino_i2c` to the list
of supported items in the .yaml file.

Signed-off-by: Ryan Armstrong <git@zerker.ca>
2022-03-08 09:41:29 -06:00
Ryan Armstrong
5ce17a9617 boards: arduino_due: Add arduino_i2c alias
The arduino_i2c alias is needed to use the Arduino Due with some of the
examples. This is assigned to the twi1 interface, which is labelled as
SDA and SCL (20 and 21) on the board silkscreen and is the default
interface using the Arduino IDE.

Resolves #42881.

Signed-off-by: Ryan Armstrong <git@zerker.ca>
2022-03-08 09:41:29 -06:00
Sam Hurst
ffec52c0cc boards: arm: Add "tcpc" feature to yaml supported
Add "tcpc" feature to yaml supported property for boards
stm32g071b_disco and stm32g081b_eval

Signed-off-by: Sam Hurst <sbh1187@gmail.com>
2022-03-08 11:08:43 +01:00
Sam Hurst
aff81e7513 boards: arm stm32g081b_eval: Add Voltage-Divider device tree node
Add Voltage-Divider node for VBUS to board level device tree

Signed-off-by: Sam Hurst <sbh1187@gmail.com>
2022-03-08 11:08:43 +01:00
Sam Hurst
303e8adfd8 boards: arm: stm32g081b_eval: Add VBUS2 Discharge configuration
Add VBUS2 Discharge configuration node to device tree

Signed-off-by: Sam Hurst <sbh1187@gmail.com>
2022-03-08 11:08:43 +01:00
Sam Hurst
71abad3cd2 boards: arm: stm32g081b_eval: Add UCPD2 device tree node
Add UCPD2 node to board level device tree

Signed-off-by: Sam Hurst <sbh1187@gmail.com>
2022-03-08 11:08:43 +01:00
Sam Hurst
46b3cf18c3 boards: arm: stm32g081b_eval: Add ADC1 device tree node
Add ADC1 node to board level device tree

Signed-off-by: Sam Hurst <sbh1187@gmail.com>
2022-03-08 11:08:43 +01:00
Sam Hurst
2fd5c4f5c1 boards: arm: stm32g071b_disco: Add CC Confiuration lines
Add CC configuration lines to board level device tree

Signed-off-by: Sam Hurst <sbh1187@gmail.com>
2022-03-08 11:08:43 +01:00
Sam Hurst
ed03883ea8 boards: arm: stm32g071b_disco: Add UCPD1 device tree node
Add UCPD1 node to board level device tree

Signed-off-by: Sam Hurst <sbh1187@gmail.com>
2022-03-08 11:08:43 +01:00
Sam Hurst
99d24db0fe boards: arm: stm32g071b_disco: Add I2C device tree node
Add I2C node to board level device tree and ina230 I2C device

Signed-off-by: Sam Hurst <sbh1187@gmail.com>
2022-03-08 11:08:43 +01:00
Bartosz Golaszewski
134f56dd2d lvgl: bump supported version to v8.2.0
In upstream the LV_COLOR_DEPTH_BITS option is called LV_COLOR_DEPTH, this
needs changing if we want to support v8.2.0.

Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl>
2022-03-07 16:20:27 -06:00
Daniel DeGrasse
08d98c247a boards: mimxrt1064: Document debugger issue when entering LPM
Add documentation warning user that entering low power modes can cause
debugger to fail to connect.

Signed-off-by: Daniel DeGrasse <daniel.degrasse@nxp.com>
2022-03-07 13:53:14 -06:00
Daniel DeGrasse
cbb52e8c50 soc: mimxrt1064: Enable low power clocking for mimxrt1064
Enables low power clocks for mimxrt1064. This allows the soc to
transition into very low power states during idle, as most PLLs can be
disabled. Power states need to be enabled and selected at the board
level.

Signed-off-by: Daniel DeGrasse <daniel.degrasse@nxp.com>
2022-03-07 13:53:14 -06:00
Jay Vasanth
3034693509 drivers: i2c: MEC15xx: Improved error handling
1. Check I2C Clock and Data is high through GPIO driver instead
of the I2C bitbang registers
2. i2c_xec_poll_write() and i2c_xec_poll_read() will poll to
check I2C clock and data lines are high before initiating the
transaction. The polling will be every 25us for a cumulative
max of 2.5ms
3. wait_completion() will not call recover_from_error() to reset
the controller. Instead will poll for 10ms for the PIN bit to
clear before returning error.
4. wait_completion() will send STOP if the 9th bit is NACK
5. If any errors with current transaction:
(a) Set error_seen flag.
(b) In the next transaction do the recovery process (reset the
i2c controller) if the clk and data lines are high.
Note: error_seen flag is set for Address NACK with Repeated
Start as well.
6. If timeout error occurs in wait_completion():
(a) Set timeout_seen flag;
(b) Wait till the slave will release the clock.
(c) Once slave releases clock send STOP on the bus. If the
timeout occurred while master read, read the I2C DATA register
for the hardware to proceed.

Signed-off-by: Jay Vasanth <jay.vasanth@microchip.com>
2022-03-07 14:13:34 -05:00
Jay Vasanth
73f24056d5 kscan: update mchp keyscan module to use pinctrl
Changes to keyscan module to support pinctrl

Signed-off-by: Jay Vasanth <jay.vasanth@microchip.com>
2022-03-07 11:03:06 +01:00
Jay Vasanth
cfe9a960f0 pinmux: Remove pinmux.c source file
Since we are moving to pinctrl, removing pinmux.c
from mec172x board folder and removing pinmux from dts

Signed-off-by: Jay Vasanth <jay.vasanth@microchip.com>
2022-03-07 11:03:06 +01:00
Jay Vasanth
5917ab9009 dts: Update MEC172x pinctrl dts
Update dtsi and dts bindings for pinctrl driver

Signed-off-by: Jay Vasanth <jay.vasanth@microchip.com>
2022-03-07 11:03:06 +01:00
Jay Vasanth
2cd02bd826 drivers: pinctrl: Microchip MEC172x pinctrl driver
Add core files for Microchip MEC172x pinctrl driver

Signed-off-by: Jay Vasanth <jay.vasanth@microchip.com>
2022-03-07 11:03:06 +01:00
YuLong Yao
3aaa4b8ff5 board: gd32e103v_eval: add a prescaler for timer
add a prescaler for timer to have long time period

Signed-off-by: YuLong Yao <feilongphone@gmail.com>
2022-03-07 10:57:09 +01:00
Guy Morand
b9c345b1a5 boards: arm: Update i.MX8M board documentation
GPIO is now supported, we should advertise it.

Signed-off-by: Guy Morand <guy.morand@bytesatwork.ch>
2022-03-04 13:23:28 -06:00
Francois Ramu
d91bdc0f51 tests: drivers: dma test running on the nucleo_wl55 board
enable the dma and dmamux to the nucleo_wl55jc
so that dma testcases can run on that target

Signed-off-by: Francois Ramu <francois.ramu@st.com>
2022-03-04 09:11:38 -06:00
Francois Ramu
b9ef7918ac boards: arm: nucleo_wl55 board embeds a timer node
enable the timer2 to the nucleo_wl55jc with pwm
so that pwm test can run on that target

Signed-off-by: Francois Ramu <francois.ramu@st.com>
2022-03-04 09:11:38 -06:00
Gerard Marull-Paretas
7746abdc39 soc: arm: microchip_mec: mec1501: remove SOC_POWER_MANAGEMENT
Remove a redundant symbol that was used as a proxy to enable CONFIG_PM.
If an application needs to enable PM, it should just enable PM subsystem
Kconfig options. Furthermore, there's no clue "SOC_POWER_MANAGEMENT" is
a Microchip specific option.

Signed-off-by: Gerard Marull-Paretas <gerard.marull@nordicsemi.no>
2022-03-04 09:05:45 -06:00
Gerard Marull-Paretas
57f0316785 soc: arm: nuvoton_npcx: remove SOC_POWER_MANAGEMENT
Remove a redundant symbol that was used as a proxy to enable CONFIG_PM
and CONFIG_PM_DEVICE. If an application needs to enable PM, it should
just enable PM subsystem Kconfig options. Furthermore, there's no clue
"SOC_POWER_MANAGEMENT" is a NPCX specific option.

Signed-off-by: Gerard Marull-Paretas <gerard.marull@nordicsemi.no>
2022-03-04 09:05:45 -06:00
Qingsong Gou
b30248af3f boards: pinetime_devkit0: add compatible for generic spi nor flash
using the correct datasheet download from
official site: http://www.xtxtech.com/download/?AId=154

tested with samples/drivers/spi_flash

Signed-off-by: Qingsong Gou <gouqs@hotmail.com>
2022-03-03 15:03:24 -06:00
Daniel DeGrasse
7b887fb6a9 boards: usb_kw24d512: Add pinctrl groups for usb_kw24d512
Add pinctrl groups for usb_kw24d512

Signed-off-by: Daniel DeGrasse <daniel.degrasse@nxp.com>
2022-03-03 13:00:20 -06:00
Daniel DeGrasse
b15d5a95fd boards: twr_kv58f220m: Add pinctrl groups for twr_kv58f220m
Add pinctrl groups for twr_kv58f220m

Signed-off-by: Daniel DeGrasse <daniel.degrasse@nxp.com>
2022-03-03 13:00:20 -06:00
Daniel DeGrasse
954dcbd754 boards: twr_ke18f: Add pinctrl groups for twr_ke18f
Add pinctrl groups for twr_ke18f

Signed-off-by: Daniel DeGrasse <daniel.degrasse@nxp.com>
2022-03-03 13:00:20 -06:00
Daniel DeGrasse
f64dc30908 boards: rddrone_fmuk66: Add pinctrl groups for rddrone_fmuk66
Add pinctrl groups for rddrone_fmuk66

Signed-off-by: Daniel DeGrasse <daniel.degrasse@nxp.com>
2022-03-03 13:00:20 -06:00
Daniel DeGrasse
b1c244a505 boards: frdm_kl25z: Add pinctrl groups for frdm_kl25z
Add pinctrl groups for frdm_kl25z

Signed-off-by: Daniel DeGrasse <daniel.degrasse@nxp.com>
2022-03-03 13:00:20 -06:00
Daniel DeGrasse
dd94da5bc1 boards: frdm_k82f: Add pinctrl groups for frdm_k82f
Add pinctrl groups for frdm_k82f

Signed-off-by: Daniel DeGrasse <daniel.degrasse@nxp.com>
2022-03-03 13:00:20 -06:00
Daniel DeGrasse
3708936cc1 boards: frdm_k22f: Add pinctrl nodes for frdm_k22f
Add pinctrl nodes for frdm_k22f

Signed-off-by: Daniel DeGrasse <daniel.degrasse@nxp.com>
2022-03-03 13:00:20 -06:00
Daniel DeGrasse
6b9741d676 boards: ip_k66f: Add pinctrl groups for ip_k66f
Add pinctrl groups for ip_k66f

Signed-off-by: Daniel DeGrasse <daniel.degrasse@nxp.com>
2022-03-03 13:00:20 -06:00
Daniel DeGrasse
0981345c8b boards: hexiwear_kw40z: Enable pinctrl for kw40z
Enable pinctrl for hexiwear kw40z target

Signed-off-by: Daniel DeGrasse <daniel.degrasse@nxp.com>
2022-03-03 13:00:20 -06:00
Daniel DeGrasse
d0352f4921 boards: hexiwear_k64: add pinctrl groups for hexiwear_k64
Add pinctrl groups for hexiwear_k64, and enable pinctrl

Signed-off-by: Daniel DeGrasse <daniel.degrasse@nxp.com>
2022-03-03 13:00:20 -06:00
Daniel DeGrasse
f969efcaa1 boards: frdm_kw41z: Add pinctrl nodes for frdm_kw41z
Add pinctrl nodes for frdm_kw41z

Signed-off-by: Daniel DeGrasse <daniel.degrasse@nxp.com>
2022-03-03 13:00:20 -06:00
Daniel DeGrasse
5133709332 boards: frdm_k64f: Enable pinctrl
Add board level pin group definitions, and remove uart pinmux
driver calls.

pinctrl is enabled for uart driver

Signed-off-by: Daniel DeGrasse <daniel.degrasse@nxp.com>
2022-03-03 13:00:20 -06:00
Kamil Piszczek
cf6a58d3f6 bluetooth: hci: rpmsg: use ipc service library
The Bluetooth HCI driver based on the RPMsg transport now uses the IPC
service module. The compatible Bluetooth sample - HCI RPMsg - has also
been migrated to the new IPC solution.

Signed-off-by: Kamil Piszczek <Kamil.Piszczek@nordicsemi.no>
2022-03-02 17:03:01 +01:00
Jason Martin
50dfb4fbf7 boards: arm: Fix led active state on the lpcxpresso55s69
Happily corrected the incorrect active state of the on-board LEDs.

Signed-off-by: Jason Martin <jason.martin1@nxp.com>
2022-03-02 09:19:59 -06:00
Gerard Marull-Paretas
656beff50a boards: arm: gd32e103v_eval: fix Kconfig reference
`CONFIG_SERIAL` reference was not updated to the new Kconfig role.

Signed-off-by: Gerard Marull-Paretas <gerard.marull@nordicsemi.no>
2022-03-02 11:21:40 +01:00
Gerard Marull-Paretas
260deccb6e doc: use :kconfig:option: domain role
Kconfig options now belong to the Kconfig domain, therefore, the
:kconfig:option: role needs to be used.

Signed-off-by: Gerard Marull-Paretas <gerard.marull@nordicsemi.no>
2022-03-02 09:28:37 +01:00
Qingsong Gou
b0eb3207a9 drivers: kscan: add support for cst816s touch panel driver
Add touch panel driver support for pinetime

Signed-off-by: Qingsong Gou <gouqs@hotmail.com>
2022-03-01 14:24:27 -06:00
YuLong Yao
86f460cd30 boards: gd323103_eval: add dac support.
add dac support.

Signed-off-by: YuLong Yao <feilongphone@gmail.com>
2022-03-01 18:06:14 +01:00
YuLong Yao
adfc82206b board: gd32e103v_eval: add at24 eeprom.
add support for at24 eeprom.

Signed-off-by: YuLong Yao <feilongphone@gmail.com>
2022-03-01 18:06:14 +01:00
YuLong Yao
c3ca7264ad boards: gd32e103v_eval: add pwmled
add 1x pwmled.

Signed-off-by: YuLong Yao <feilongphone@gmail.com>
2022-03-01 18:06:14 +01:00
YuLong Yao
401a2ff22a boards: gd32e103_eval: add leds and buttons.
add 4x leds and 3x button for eval board.

Signed-off-by: YuLong Yao <feilongphone@gmail.com>
2022-03-01 18:06:14 +01:00
YuLong Yao
4ff6639ba9 boards: arm: Introduce gd32e103v_eval board
Add gigadevice gd32e103v_eval board initial version.

Signed-off-by: YuLong Yao <feilongphone@gmail.com>
2022-03-01 18:06:14 +01:00
Qingsong Gou
db12728efc boards: arm: pinetime_devkit0: fix yaml file name mismatch
rename pinetime-devkit0.yaml to pinetime_devkit0.yaml

Signed-off-by: Qingsong Gou <gouqs@hotmail.com>
2022-02-28 11:07:46 -05:00
Immo Birnbaum
e7569d6a2d boards: arm: qemu_cortex_r5: add chosen entry for OCM
Add the 'chosen' entry for the OCM whose declaration is being added to the
SoC's device tree. This enables the linker command file to properly place
data explicitly assigned ocm_bss/ocm_data sections.

Signed-off-by: Immo Birnbaum <Immo.Birnbaum@weidmueller.com>
2022-02-28 11:04:57 +01:00
Pieter De Gendt
04ea1ee1af boards: arm: sam: Enable hwinfo on supported boards
Add hwinfo to the feature list of several SAM series boards.

Signed-off-by: Pieter De Gendt <pieter.degendt@basalte.be>
2022-02-28 10:53:57 +01:00