Commit Graph

174 Commits

Author SHA1 Message Date
Armando Visconti 36eceba7e4 drivers/sensor: lsm6dso: move int-pin in DTS binding
Take the int-pin information (i.e. what pin between INT1
and INT2 the drdy is attached to) directly from DT.

Signed-off-by: Armando Visconti <armando.visconti@st.com>
2021-04-06 15:34:01 +02:00
Maureen Helm 72595a334c boards: shields: Enable gpio by default on adafruit_2_8_tft_touch_v2
The display controller and SDMMC slot both define GPIOs for their chip
select signals, so enable GPIO drivers by default for this shield.

This missing default was discovered in CI when extending the fat_fs
sample to build with this shield. Many boards enable GPIO drivers by
default, but some boards like sam_v71_xult and sam_v71b_xult do not.

Signed-off-by: Maureen Helm <maureen.helm@nxp.com>
2021-04-02 18:44:48 -04:00
Maureen Helm 19f9619641 boards: shields: Enable SDMMC disk driver on adafruit_2_8_tft_touch_v2
Configures the adafruit_2_8_tft_touch_v2 shield board to enable SDMMC by
default when disk drivers are enabled.

Signed-off-by: Maureen Helm <maureen.helm@nxp.com>
2021-04-02 18:44:48 -04:00
Maureen Helm f818ba2a96 boards: shields: Fix adafruit_2_8_tft_touch_v2 Arduino D4 pin (SDMMC CS)
The device tree overlay for the adafruit_2_8_tft_touch_v2 shield board
was incorrectly mapping the Arduino D4 pin, used for SDMMC chip select.

Signed-off-by: Maureen Helm <maureen.helm@nxp.com>
2021-04-02 18:44:48 -04:00
Maureen Helm 4d9b9d90c5 boards: shields: Fix path to lvgl sample in board docs
The lvgl sample was moved in commit
6882b5d912

Signed-off-by: Maureen Helm <maureen.helm@nxp.com>
2021-03-26 08:25:30 -04:00
Johann Fischer 5070186f63 tests/boards/samples: fixup after sdmmc driver relocation
Fixup configuration.
Remove obsolete SDHC SPI configuration.

Signed-off-by: Johann Fischer <johann.fischer@nordicsemi.no>
2021-03-23 12:16:01 +01:00
Hubert Miś cb8a271b83 shields: FTDI VM800C
This patch introduces support for FTDI VM800C including FT800
Embedded Video Engine

Signed-off-by: Hubert Miś <hubert.mis@gmail.com>
2021-03-19 19:05:53 +01:00
Christian Taedcke 9023dd4633 boards: shields: Introduce Semtech SX1272 shield
The Semtech SX1272MB2DAS shield is populated with a SX1272 LoRa
transceiver. The base board must provide Arduino header pins
definitions.

Signed-off-by: Christian Taedcke <christian.taedcke@lemonbeat.com>
2021-03-04 06:25:56 -05:00
Armando Visconti 79c709bf02 drivers/sensor: ism330dhcx: Move INT_PIN Kconfig attr into DT
Convert ism330dhcx INT_PIN attribute from Kconfigs to Device
Tree binding properties. Here int-pin has been defined as
enum with two possible values: 1 and 2.

Signed-off-by: Armando Visconti <armando.visconti@st.com>
2021-02-28 16:47:15 -05:00
Henrik Brix Andersen 9003cc8a89 shields: waveshare_epaper: move common dtsi file to dts folder
Move the common devicetree include file for the waveshare_epaper shields
to the dts subfolder.

Signed-off-by: Henrik Brix Andersen <hebad@vestas.com>
2021-02-23 12:37:54 +01:00
Ryan Holleran fea20bcb88 shields: Add the frdm_stbc_agm01 shield.
The frdm_stbc_agm01 implements an fxos8700 and fxas21002 to provide
a 9-axis sensor solution.

Signed-off-by: Ryan Holleran <rhollerar@gmail.com>
2021-02-16 16:24:18 -06:00
Torsten Rasmussen cb1a6293ea shield: adding Kconfig.shield to boostxl_ulpsense shield folder
Aligning the boostxl_ulpsense shield with all other shield
descriptions by ensuring it has a Kconfig.shield file.

This also provides the Kconfig symbol SHIELD_BOOSTXL_ULPSENSE similar
to the Kconfig symbol available for other shields.

Signed-off-by: Torsten Rasmussen <Torsten.Rasmussen@nordicsemi.no>
2021-02-02 19:05:47 -05:00
Rohit Gujarathi e892e09ad1 shields: display: Added LS013B7DH03 display shield.
Added sharp memory display LS013B7DH03 shield

Signed-off-by: Rohit Gujarathi <gujju.rohit@gmail.com>
2021-01-21 17:26:37 +01:00
Armando Visconti d2e8b0cc6e drivers/sensor: iis2dlpc: Move drdy_int info into DT
The IIS2DLPC drdy interrupt can be routed to either INT1 or
INT2 pin. Currently the selection is done by Kconfig configuration.
This commit is instead moving it into Device Tree as 'drdy-int'.

Signed-off-by: Armando Visconti <armando.visconti@st.com>
2021-01-18 09:21:00 -06:00
Johann Fischer 2f6164e2e5 shields: enable SD card support on Waveshare Epaper shield
Enable SD card support on Waveshare Epaper shield.

Signed-off-by: Johann Fischer <johann.fischer@nordicsemi.no>
2020-12-07 12:56:13 +01:00
Johann Fischer c1fdf92172 shields: enable SD card support on adafruit_2_8_tft_touch_v2
Enable SD card support on Adafruit 2.8 TFT Touch v2 shield.

Signed-off-by: Johann Fischer <johann.fischer@nordicsemi.no>
2020-12-07 12:56:13 +01:00
Erwan Gouriou e452867e2f boards/shields: x_nucleo_iks01a3: No irq-gpio on stm32mp157c_dk2
On stm32mp157c_dk2, the pin mapped on arduino connector pin A3
could not be used as GPIO.
As a consequence, pin "irq-gpio" from x_nucleo_iks01a3 shield
should not be used.

Use board overlay to remove it from shield definition.

Signed-off-by: Erwan Gouriou <erwan.gouriou@linaro.org>
2020-12-02 13:17:30 -06:00
Gerard Marull-Paretas d79b003758 boards: shields: add support for buydisplay 3.5" TFT
Add support for the BuyDisplay 3.5" TFT + touch shield based on ILI9488
controller and FT6236 touch.

Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>
2020-11-10 15:52:12 -06:00
Gerard Marull-Paretas acb0cd65ca drivers: display: ili9xxx: generalize ILI display driver
Make driver generic for multiple ILI displays. The adopted strategy is
to share all driver code except register initialization, which has been
found to have some specific registers/values depending on the
controller.

The driver has been adjusted to support multiple compatibles.

Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>
2020-11-10 15:52:12 -06:00
Henrik Brix Andersen 4f8563364e boards: shields: ssd1306_128x64_spi: fix GPIO usage
Move the data/command GPIO from Arduino header 16 (D10), which collides
with Arduino SPI SS, to Arduino header 15 (D9).

Add commented example for specifying a reset GPIO on Arduino header 14
(D8).

Signed-off-by: Henrik Brix Andersen <henrik@brixandersen.dk>
2020-11-09 09:51:19 -06:00
Gerson Fernando Budke 76215339c2 boards: shields: Introduce inventek es-WIFI shield
Add Inventek es-WIFI modules shield.  This shield exposes es-WIFI driver
using Arduino Uno R3 header by UART or SPI interfaces.  It shows how
user can create their own overlay and expose es-WIFI driver.

The current Inventek's EVB doesn't have all pins necessary to control
the module by Arduino hearder.  This shows how to wire to get ISM43xx
EVB working.

Signed-off-by: Gerson Fernando Budke <gerson.budke@atl-electronics.com>
2020-11-03 11:05:43 +01:00
Armando Visconti 28390d71f6 board/shields: x-nucleo-iks01a2: Add support to shub mode
Add the overlay file for sensorhub mode and update the
shield documentation.

Signed-off-by: Armando Visconti <armando.visconti@st.com>
2020-10-14 08:41:41 -05:00
Marco Peter 03f256505c drivers: ssd1306: Add SPI support
This change allows to use SSD1306 based displays to be used on the
SPI bus as well.
Adding SPI shield.
Tested on SSD1306 and SSD1309 based displays using I2C.
Tested on SSD1309 based display using SPI.

Signed-off-by: Marco Peter <marco@peter-net.ch>
2020-10-02 11:33:26 +02:00
Gerard Marull-Paretas 6a76ae82c0 drivers: display: ili9340: move frame rate control register to DT
Move FRMCTR1 register settings to DT.

Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>
2020-09-29 14:18:05 -05:00
Gerard Marull-Paretas 4895620eb0 drivers: display: ili9340: move VCOM parameters to DT
Move VCOM control 1/2 register values to DT.

Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>
2020-09-29 14:18:05 -05:00
Gerard Marull-Paretas a1ce0c851d drivers: display: ili9340: move gamma parameters to DT
Move gamma curve and correction registers GAMSET, PGAMCTRL and NGAMCTRL
to DT.

Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>
2020-09-29 14:18:05 -05:00
Gerard Marull-Paretas c02e50a09d drivers: display: ili9340: add support for pwctrl in DT
Add support for setting PWRCTRL1/2 registers via DT.

Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>
2020-09-29 14:18:05 -05:00
Gerard Marull-Paretas 8593959ccf drivers: display: ili9340: add support for rotation
Add support for setting display rotation (0, 90, 180 and 270) using
DeviceTree.

Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>
2020-09-29 14:18:05 -05:00
Gerard Marull-Paretas 347e0f2bdc drivers: display: ili9340: add support for configuring pixel format
Move pixel format setting (RGB565/RGB888) to DeviceTree. Add support for
changing pixel format at runtime.

Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>
2020-09-29 14:18:05 -05:00
Gerard Marull-Paretas 8d363821a2 boards: shields: invert kscan X axis on Buydisplay 2.8" TFT
Invert kscan X axis on Arduino 2.8" TFT in order to match with phyisical
setup.

Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>
2020-09-16 12:02:52 +02:00
Gerard Marull-Paretas a3b1c7d254 boards: shields: invert kscan X axis on Arduino 2.8" TFT
Invert kscan X axis on Arduino 2.8" TFT in order to match with phyisical
setup.

Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>
2020-09-16 12:02:52 +02:00
Henrik Brix Andersen c29c1cceb8 boards: shields: add support for the ARM Ltd. V2C DAPLink shield
Add support for the ARM DesignStart DAPLink board for Digilent Arty
S7/A7 (V2C DAPLink) shield.

This shield is designed to be used along with the ARM Cortex-M1/M3
DesignStart FPGA reference designs running on the Digilent Arty.

Signed-off-by: Henrik Brix Andersen <henrik@brixandersen.dk>
2020-09-04 17:37:22 +02:00
Gerard Marull-Paretas 0b2cb96516 boards: shields: add support for buydisplay 2.8" TFT touch display
Add support for the Buydisplay 2.8" TFT touch display shield for
Arduino.

Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>
2020-09-03 16:36:50 -05:00
Kim Bøndergaard 7b64985fa5 shields: Adafruit WINC1500 Wifi Shield
Add support for the Adafruit WINC1500 Wifi Shield

Signed-off-by: Kim Bøndergaard <kibo@prevas.dk>
2020-08-26 15:44:22 -05:00
Gerard Marull-Paretas 4f86a9a2d5 lib: gui: lvgl: align all Kconfig object names
Align all Kconfig option names with LVGL names. The followed rule:
LV_(.*) -> CONFIG_LVGL_(.*).

Also replaced LVGL boolean configuration entries using if/else/endif
with direct IS_ENABLED macro.

Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>
2020-08-26 15:32:59 -05:00
Kwon Tae-young 59808445df boards: shields: dac80508_evm: add TI DAC80508 EVM shield
Add shield definition for the Texas Instruments DAC80508
Evaluation Module(EVM).

Signed-off-by: Kwon Tae-young <tykwon@m2i.co.kr>
2020-08-26 12:24:43 +02:00
Gerson Fernando Budke 36f2d64f73 boards: shields: atmel_rf2xx: Improve documentation
Removes redundancy on atmel_rf2xx.overlay message. Clarifies supported
variations section and notes about network on index.rst.

Signed-off-by: Gerson Fernando Budke <nandojve@gmail.com>
2020-08-17 13:36:29 -04:00
Gerard Marull-Paretas a07d66a1a8 shields: adafruit_2_8_tft_touch_v2: add note about touch IRQ
Add note about the availability of touch panel IRQ linei when a jumper
in the board is soldered. A Device Tree commented entry has also been
added to ease testing it.

Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>
2020-08-12 12:35:04 +02:00
Johann Fischer eacffdb511 shields: adafruit_2_8_tft_touch_v2: enable touch input support
Enable FT6x06 controller driver and touch input support.

Signed-off-by: Johann Fischer <j.fischer@phytec.de>
2020-08-12 12:35:04 +02:00
Jukka Rissanen 1e9ae21084 doc: shields: H1 heading was missing for mikroe_eth_click
Because the H1 heading was not set in mikroe_eth_click index.rst
file, the shields listing page was listing H2 headings for this
shield.

Signed-off-by: Jukka Rissanen <jukka.rissanen@linux.intel.com>
2020-08-10 09:07:05 -05:00
Johann Fischer 4a492bb55e shields: st7789v: explicitly set RGB565 byte-swap
Explicitly set RGB565 byte-swap for st7789v_waveshare_240x240.

Signed-off-by: Johann Fischer <j.fischer@phytec.de>
2020-07-23 17:34:59 -05:00
Andrei Gansari 5224481e82 boards: shields: mikroe_eth_click: add lpcxpresso55s69 support
Add devicetree overlay for connecting an Mikroe ETH click shield to an
NXP LPCXpresso55S69 development board.

The LPCXpresso55S69 uses SSEL1 (CS1) for mikroBUS SPI, whereas the
generic Mikroe ETH click board definition assumes SPI CS0.

Signed-off-by: Andrei Gansari <andrei.gansari@nxp.com>
2020-07-17 11:59:41 -05:00
Andrei Gansari aaee2864f8 boards: mikroe_eth_click conditional configuration
Replaces .conf type configuration with .defconfig.
Makes configuration conditional, it depends on shield definition and
networking.

Signed-off-by: Andrei Gansari <andrei.gansari@nxp.com>
2020-07-17 11:59:41 -05:00
Gerson Fernando Budke 0dbef20149 boards: shields: esp_8266: Add std headers overlay
The current shield version shows different configuration, including
disabling default ethernet and wifi interfaces.  To allow easy
connection from standard headers, this add two new shield designations.
The existing boards overlays and defconfig were updated.

The documentation was update to reflect changes. A new supported
variations section helps to understand what shield variation user need
select to build their own system.

This changes requires changes on esp32 offload tests to reflect new
esp_8266 shield designations. Sam4e_xpro was keeped as the only one
with dedicated overlay and both frdm_k64f and disco_l475_iot1 were
moved to use standard arduino r3 header using extra args.

Signed-off-by: Gerson Fernando Budke <nandojve@gmail.com>
2020-07-17 11:38:28 +02:00
Gerson Fernando Budke 9e45fefce3 boards: shields: Introduce atmel_rf2xx module shield
The Atmel RF2xx module shield is a generic solution to enable any Atmel
AT86RF2xx IEEE 802.15.4 transceiver. This module enables IEEE 802.15.4
RF2xx Zephyr driver.

The Atmel RF2xx module shield enables any board with an Atmel Xplained,
Xplained-Pro, Arduino or MikroBus expansion header to connect to
networks operation with IEEE 802.15.4, OpenThread or any other stack
based on this media type.

The Atmel RF2xx module is configured to allow interoperate with other
medias like Ethernet. User need configure network stack properlly.

Fixes #26259.

Signed-off-by: Gerson Fernando Budke <nandojve@gmail.com>
2020-07-13 11:54:29 +02:00
Peter Bigot 9dc7640ede spi-device: set CS gpio flags for all devices that had none
The generic SPI GPIO chip select support now respects devicetree flags
for signal active level.  Update all cs-gpios properties to specify
active low.

Signed-off-by: Peter Bigot <peter.bigot@nordicsemi.no>
2020-07-09 06:07:07 -05:00
Johann Fischer cfe0a688b2 boards: fix SPI GPIO CS, display and link_board_eth
Since commit 5963ebaf33
("drivers: spi: CS configuration through devicetree")
the SPI GPIO CS flags are obtained from DT,
but the patch series has missed the necessary changes
in the device trees for displays and link_board_eth.

Signed-off-by: Johann Fischer <j.fischer@phytec.de>
2020-07-07 15:08:16 +02:00
Henrik Brix Andersen e1b0bda5b5 boards: shields: mikroe_adc_click: add lpcxpresso55s16_ns support
Add devicetree overlay for connecting an Mikroe ADC click shield to an
NXP LPCXpresso55S16 development board.

The LPCXpresso55S16 uses SSEL1 (CS1) for mikroBUS SPI, whereas the
generic Mikroe ADC click board definition assumes SPI CS0.

Signed-off-by: Henrik Brix Andersen <henrik@brixandersen.dk>
2020-07-01 08:23:39 -05:00
Henrik Brix Andersen 1b8b65dba7 boards: shields: mikroe_adc_click: use mikrobus_spi bus as parent
Use the recently introduced mikrobus_spi devicetree node as parent node
instead of relying on mapping for arduino_spi.

Signed-off-by: Henrik Brix Andersen <henrik@brixandersen.dk>
2020-07-01 08:23:39 -05:00
Maureen Helm 992993cba1 boards: shields: Fix frdm_kw41z shield doc formatting
Fixes whitespace in the frdm_kw41z shield document to allow continuation
in the numbered list of Bluetooth controller instructions and to format
the jumper configuration sublist correctly.

Signed-off-by: Maureen Helm <maureen.helm@nxp.com>
2020-07-01 08:13:41 -05:00