Commit graph

4529 commits

Author SHA1 Message Date
Jun Lin e0975945be board: arm: npcx7/9 EVB: add PECI alias
This commit adds the PECI alias and set the PECI node's status to okay.
With this change, we can build the PECI sample with npcx7m6fb_evb and
npcx9m6f_evb to test the PECI driver.

Signed-off-by: Jun Lin <CHLin56@nuvoton.com>
2022-07-29 14:09:17 +02:00
Kumar Gala 722b529f64 boards: arm: ubx_evkninab{3,4}: Update docs to use DEVICE_DT_GET
Update docs for boards ubx_evkninab3_nrf52840 and ubx_evkninab4_nrf52833
to use DEVICE_DT_GET as we phase out "label" usage and thus the
device_get_binding() reference wouldn't work.

Signed-off-by: Kumar Gala <galak@kernel.org>
2022-07-28 08:54:24 -05:00
TOKITA Hiroshi 4450f0a0e0 boards: arm: nucleo_u575zi_q: Add watchdog0 alias to dts file
Add watchdog0 alias to dts file for correctly compiling
samples/drivers/watchdog sample.

Signed-off-by: TOKITA Hiroshi <tokita.hiroshi@fujitsu.com>
2022-07-28 04:53:22 -05:00
Dylan Hung 3462a2a591 boards: arm: ast1030_evb: enable clock driver
enable clock driver for ast1030_evb.

Signed-off-by: Dylan Hung <dylan_hung@aspeedtech.com>
2022-07-28 08:30:27 +02:00
Kumar Gala d88f647f9c boards: arm: silabs: Convert to use DEVICE_DT_GET
Convert board to use DEVICE_DT_GET so we don't need "label" prop
in devicetree.

Signed-off-by: Kumar Gala <galak@kernel.org>
2022-07-27 23:23:11 +02:00
Francois Ramu 5f951806dc boards: arm: stm32h7b3i disco kit board has octo SPI instance
This commit enables the octo SPI peripheral to the flash-nor
on the target board stm32h7b3i_dk from STMicroelectronics.
The octospi1 is connected to the NOR- octo-flash through
the OSPI IO Manager.
Note that JESD16 requires 9 dwords for the sdfp table.
The NOR octoflash is MX25LM51245 or compatible.

Signed-off-by: Francois Ramu <francois.ramu@st.com>
2022-07-27 18:46:25 +02:00
Francois Ramu 2f0338ca42 boards: arm: stm32h735g disco target board has octo SPI instance
This commit enables the octo SPI peripheral to the flash-nor
on the target board stm32h735g_disco from STMicroelectronics.
The octospi1 is connected to the NOR- octo-flash through
the OSPI IO Manager.
Note that JESD16 requires 9 dwords for the sdfp table.
The NOR octoflash is MX25LM51245 or compatible.

Signed-off-by: Francois Ramu <francois.ramu@st.com>
2022-07-27 18:46:25 +02:00
Kumar Gala 960f2f1a37 spi: remove Kconfig.defconfig setting of SPI drivers
Now that SPI drivers are enabled based on devicetree
we need to remove any cases of them getting enabled by
Kconfig.defconfig* files as this can lead to errors.

Typically the Kconfig.defconfig* will blindly enable a
sensor and not respect the devicetree state of the SPI.
Additionally we can get problems with prj.conf/defconfig
getting incorrectly overridden.

Signed-off-by: Kumar Gala <galak@kernel.org>
2022-07-27 09:49:00 +02:00
Martin Jäger fab85afc91 boards: arm: add olimex_lora_stm32wl_devkit
Add board definitions for Olimex LoRa STM32WL DevKit.

Signed-off-by: Martin Jäger <martin@libre.solar>
2022-07-26 17:57:49 +00:00
Kumar Gala 9a501e0922 serial: remove Kconfig.defconfig setting of serial drivers
Now that serial drivers are enabled based on devicetree
we need to remove any cases of them getting enabled by
Kconfig.defconfig* files as this can lead to errors.

Typically the Kconfig.defconfig* will blindly enable a
sensor and not respect the devicetree state of the serial.
Additionally we can get problems with prj.conf/defconfig
getting incorrectly overridden.

Signed-off-by: Kumar Gala <galak@kernel.org>
2022-07-26 09:29:24 -05:00
Kumar Gala 10329165be serial: remove defconfig/proj setting of serial drivers
Now that serial drivers are enabled based on devicetree we can remove
any cases of them getting enabled by *defconfig and proj.conf files.

Signed-off-by: Kumar Gala <galak@kernel.org>
2022-07-26 09:29:24 -05:00
Kumar Gala 1c1c57b31b gpio: remove defconfig/proj setting of GPIO drivers
Now that gpio drivers are enabled based on devicetree we can remove
any cases of them getting enabled by *defconfig and proj.conf files.

Signed-off-by: Kumar Gala <galak@kernel.org>
2022-07-26 08:49:38 +02:00
Kumar Gala 600d749cf3 gpio: remove Kconfig.defconfig setting of GPIO drivers
Now that gpio drivers are enabled based on devicetree
we need to remove any cases of them getting enabled by
Kconfig.defconfig* files as this can lead to errors.

Typically the Kconfig.defconfig* will blindly enable a
sensor and not respect the devicetree state of the GPIO.
Additionally we can get problems with prj.conf/defconfig
getting incorrectly overridden.

Signed-off-by: Kumar Gala <galak@kernel.org>
2022-07-26 08:49:38 +02:00
Andreas Sandberg 7819436bd9 boards: Add EPD driver chip type to compatible strings
EPD displays currently have two compatible strings, their specific
model number and the generic driver name. This isn't ideal since we
will need to match on the driver chip model number to work around
subtle chip differences in some cases. Add the specific chip model to
the list of compatibles.

Signed-off-by: Andreas Sandberg <andreas@sandberg.uk>
2022-07-25 15:16:43 +02:00
Andreas Sandberg c87badf595 boards: doc: Replace vendor-specific EPD driver names
GoodDisplay used to hide the real vendor of the driver chip in some of
their old data sheets. This is no longer the case and the actual chip
version can be found on their official site. Update the documentation
to show which chip is actually used.

Signed-off-by: Andreas Sandberg <andreas@sandberg.uk>
2022-07-25 15:16:43 +02:00
Kumar Gala df0c6d4c43 sensors: remove defconfig setting of sensor drivers
Now that sensor drivers are enabled based on devicetree
we need to remove any cases of them getting enabled by
Kconfig.defconfig* files as this can lead to errors.

Typically the Kconfig.defconfig* will blindly enable a
sensor and not respect the devicetree state of the sensor.
Additionally we can get problems with prj.conf/defconfig
as well getting incorrectly overridden.

Fixes #48198

Signed-off-by: Kumar Gala <galak@kernel.org>
2022-07-25 09:40:14 +02:00
Kumar Gala f2bcc794cd mgmt: osdp: Move to DTS for uart device
Move from using Kconfig OSDP_UART_DEV_NAME to a devicetree
chosen property ("zephyr,osdp-uart").  This is similar to a number
of other functions like "zephyr,shell-uart" or "zephyr,bt-uart".

Changed the integration platform for the osdp samples to
stm32_min_dev_black as it already has zephyr,osdp-uart set.

Signed-off-by: Kumar Gala <galak@kernel.org>
2022-07-23 09:25:23 -05:00
Benjamin Björnsson 64fbbd9a44 boards: Add alias to boards with spi-flash node
Add alias to boards with spi-flash to facilitate the
update of samples/drivers/spi_flash.

Signed-off-by: Benjamin Björnsson <benjamin.bjornsson@gmail.com>
2022-07-22 19:15:13 +00:00
Benjamin Björnsson 2764c277b9 boards: arm: arduino_nicla_sense_me: Add node-label to nor-flash node
Add node-label to nor-flash node to make it easier to reference elsewhere.

Signed-off-by: Benjamin Björnsson <benjamin.bjornsson@gmail.com>
2022-07-22 19:15:13 +00:00
Fabio Baltieri 18284ca35b boards: bl5340_dvk: drop the flash and partitions for the NS DTS
Change the non-secure dts file to disable the qspi device and drop the
flash node. This has the effects of excluding the QSPI driver from the
build (which is supposedly not being accessible from the non-secure
core) and dropping the partitions under the external flash, skipping
this config in DFU tests.

Signed-off-by: Fabio Baltieri <fabiobaltieri@google.com>
2022-07-22 14:02:11 +00:00
Kumar Gala 67da494b48 boards: arm: sensortile_box: Configure I2C if sensors
If a test or sample enables CONFIG_SENSOR=y than any sensor on the
I2C or SPI bus should be available.  We already handle this for
SPI on the board, add I2C as well.

Signed-off-by: Kumar Gala <galak@kernel.org>
2022-07-22 02:20:18 -05:00
Kumar Gala 2d88414c4e drivers: serial: pl011: Remove unused Kconfig symbols
The driver has be DT_INST based for a while so the Kconfig
symbols CONFIG_UART_PL011_PORT0<n> aren't used.  So lets
remove them.

Signed-off-by: Kumar Gala <galak@kernel.org>
2022-07-21 16:40:28 +00:00
Thomas Stranger 570ce2410e boards: nucleo_u575zi_q enable additional peripheral nodes
This commit enables additional nodes and specifies pinctrl for:
lpuart1, usart2, i2c1, i2c2, spi1, dac1, and iwdg

- nodes added in board dts file.
- nodes are also added to docs in alphabethical order.
- additionally arduino_spi, arduino_i2c, and arduino_serial
  node labels are added.
- enable support for these peripherals in the board.yaml file.

noteworthy:
- the slected spi1 nss pin does not mach the arduino header,
  because the pin connected does not support hardware nss.
  pa4 is chosen instead.
- For the dac the pin pa4 is chosen because the there are only two
  potential pins, and it seems preferable to have a conflict with
  SPI1_NSS(pa4) than with SPI1_SCK(pa5).

Signed-off-by: Thomas Stranger <thomas.stranger@outlook.com>
2022-07-20 11:08:42 +02:00
Thomas Stranger 0ce1d4b091 boards: nucleo_u575zi_q add pyocd and jlink support
This commit adds jlink and pyocd as debuggers to the
nucleo_u575zi_q.

Signed-off-by: Thomas Stranger <thomas.stranger@outlook.com>
2022-07-20 11:08:42 +02:00
Kumar Gala 6f5e75ba31 samples: usb: dfu: Fix building of sample on a few platforms
Fix building this sample on bl5340_dvk_cpuapp_ns and
pinnacle_100_dvk.  On these boards the NORDIC_QSPI_NOR
driver needs to be enabled for the sample to build.

Signed-off-by: Kumar Gala <galak@kernel.org>
2022-07-19 15:29:41 +00:00
Benjamin Björnsson ab4a926c27 boards: Add alias to boards with watchdog enabled
Add alias to boards with watchdog enabled to facilitate the
move of samples/drivers/watchdog to use DT_ALIAS.

Signed-off-by: Benjamin Björnsson <benjamin.bjornsson@gmail.com>
2022-07-19 09:28:43 -05:00
Benjamin Björnsson 42154a9dbd boards: arm: efm32pg_stk340xa: Move watchdog from chosen to alias
Move watchdog0 and watchdog1 nodes from choosen to aliases for
consistency with other boards.

Signed-off-by: Benjamin Björnsson <benjamin.bjornsson@gmail.com>
2022-07-19 09:28:43 -05:00
Benjamin Björnsson 4b2af3480d boards: arm: cc32xxsf_launchxl: Enable watchdog in devicetree.
Enable watchdog in device tree in order to remove overlays
from samples/drivers/watchdog.

Signed-off-by: Benjamin Björnsson <benjamin.bjornsson@gmail.com>
2022-07-19 09:28:43 -05:00
Tomislav Milkovic 0fe2c1fe90 everywhere: Fix legacy include paths
Any project with Kconfig option CONFIG_LEGACY_INCLUDE_PATH set to n
couldn't be built because some files were missing zephyr/ prefix in
includes
Re-run the migrate_includes.py script to fix all legacy include paths

Signed-off-by: Tomislav Milkovic <milkovic@byte-lab.com>
2022-07-18 16:16:47 +00:00
Kumar Gala cbc848f328 dts: bindings: device labels are now optional
All in tree device drivers use some form of DEVICE_DT_GET
so we no longer need to require label properties.

Signed-off-by: Kumar Gala <galak@kernel.org>
2022-07-18 10:39:14 +00:00
Attie Grande adeb181a72 boards: arm: atsamr34: Add SAMR34 Xplained board
Implement support for SAMR34 Xplained Pro dev board.

Signed-off-by: Attie Grande <attie.grande@argentum-systems.co.uk>
2022-07-18 10:35:46 +00:00
Attie Grande 876dc19d27 boards: arm: atsaml21: Add SAML21 Xplained board
Implement support for SAML21 Xplained Pro dev board.

Signed-off-by: Attie Grande <attie.grande@argentum-systems.co.uk>
2022-07-18 10:35:46 +00:00
Mr. Green's Workshop 0af66ad99a doc: Raspberry Pi Pico board page document fix for pwm
There was problem a format mistake on Supported Features table last
element pwm. Fixed by removing spaces and adding option

Signed-off-by: Mr. Green's Workshop <info@mrgreensworkshop.com>
Co-authored-by: Carles Cufí <carles.cufi@nordicsemi.no>
2022-07-17 14:15:13 +02:00
Kumar Gala 2f49bec7b7 sdhc: dts: remove label property from SDHC nodes
Remove 'label' property from SDHC nodes.  We can use variants of
DEVICE_DT_GET to get access to a device pointer for use in an
application.

Signed-off-by: Kumar Gala <galak@kernel.org>
2022-07-15 16:04:12 -05:00
Mulin Chao 24fb705cdd npcx: scfg: psl: cleanup unused functions and DT files
Clean up unused psl functions in scfg.c, unused DT macros, unused psl DT
nodes and related yaml files. Currently, PSL pad configurations are made
by pinctrl mechanism. Please refer
https://issuetracker.google.com/234861079 for more detail.

Signed-off-by: Mulin Chao <mlchao@nuvoton.com>
2022-07-15 10:00:15 +02:00
Fabio Baltieri df9c0d8efa boards: bl5340_dvk: always enable NORDIC_QSPI_NOR
Change the NORDIC_QSPI_NOR default override to always be active on the
board. The current setup is breaking CI on USB DFU samples as those are
looking for some flash partitions on the external flash (see
bl5340_dvk_cpuapp_common.dts).

Signed-off-by: Fabio Baltieri <fabiobaltieri@google.com>
2022-07-14 08:48:02 -04:00
Fabio Baltieri 63a3ae36f7 boards: bl5340_dvk: add missing sdhc0 nodelabel
bl5340_dvk_cpuapp_common.dts is missing a label for the sdhc@0 node,
making the board failing to build on main since:

a5d16f32fc boards: Add sdhc0 alias for testing purposes

Signed-off-by: Fabio Baltieri <fabiobaltieri@google.com>
2022-07-14 08:48:02 -04:00
Alexandre Bourdiol ff9e6f2661 sample: subsys: nvs: support stm32l562e_dk board
Add stm32l562e_dk support to sample nvs

Signed-off-by: Alexandre Bourdiol <alexandre.bourdiol@st.com>
2022-07-14 10:43:53 +02:00
Alexandre Bourdiol 7222288396 boards: arm: nucleo_wl55jc add nvs support
Add nvs support to nucleo_wb55rj board

Signed-off-by: Alexandre Bourdiol <alexandre.bourdiol@st.com>
2022-07-14 10:43:53 +02:00
Alexandre Bourdiol f73873b9e2 sample: subsys: nvs: support nucleo_wb55rg board
Add nucleo_wb55rj support to sample nvs

Signed-off-by: Alexandre Bourdiol <alexandre.bourdiol@st.com>
2022-07-14 10:43:53 +02:00
Alexandre Bourdiol 88140089f0 sample: subsys: nvs: support nucleo_l152re board
Add nucleo_l152re support to sample nvs

Signed-off-by: Alexandre Bourdiol <alexandre.bourdiol@st.com>
2022-07-14 10:43:53 +02:00
Alexandre Bourdiol 75f8685bd1 sample: subsys: nvs: support nucleo_g071rb board
Add nucleo_g071rb support to sample nvs

Signed-off-by: Alexandre Bourdiol <alexandre.bourdiol@st.com>
2022-07-14 10:43:53 +02:00
Alexandre Bourdiol e0f7ed09fe sample: subsys: nvs: support nucleo_f429zi board
Add nucleo_f429zi support to sample nvs

Signed-off-by: Alexandre Bourdiol <alexandre.bourdiol@st.com>
2022-07-14 10:43:53 +02:00
Alexandre Bourdiol e9014130f8 sample: subsys: nvs: support nucleo_f103rb board
Add nucleo_f103rb support to sample nvs

Signed-off-by: Alexandre Bourdiol <alexandre.bourdiol@st.com>
2022-07-14 10:43:53 +02:00
Alexandre Bourdiol 7782b26eff boards: arm: b_u585i_iot02a: add nvs support
Add nvs support to b_u585i_iot02a board.

Signed-off-by: Alexandre Bourdiol <alexandre.bourdiol@st.com>
2022-07-14 10:43:53 +02:00
Kumar Gala 5cdfd12726 drivers: clock_control: beetle: Use devicetree for clock control
Add simple clock control node in devicetree for beetle to handle
relationship between drivers (uart, timers, gpio) and clock controller
device.

Signed-off-by: Kumar Gala <galak@kernel.org>
2022-07-14 10:31:50 +02:00
Kumar Gala 8a97bbd1f5 drivers: gpio: dw: determine instances from devicetree
Remove Kconfig symbols that determine which instances and just use
the number of enabled instance in the devicetree to determine which
instances to build.

Signed-off-by: Kumar Gala <galak@kernel.org>
2022-07-14 10:31:42 +02:00
Kumar Gala 0b5b74da82 drivers: video: video_mcux_csi: Use phandle for devicetree sensor ref
Replace sensor_label property in devicetree with just a sensor phandle
property.  This is more generic and allows driver to use DEVICE_DT_GET
instead of device_get_binding.

Signed-off-by: Kumar Gala <galak@kernel.org>
2022-07-14 10:31:27 +02:00
Kumar Gala a5d16f32fc boards: Add sdhc0 alias for testing purposes
Add 'sdhc0' alias that points to SDHC controller to use for testing
purposes.

Signed-off-by: Kumar Gala <galak@kernel.org>
2022-07-14 10:29:14 +02:00
Pieter De Gendt bdf3322de8 drivers: display: display_mcux_elcdif: Rework double framebuffer
Improved the eLCDIF driver implementation:
* Optional (working) double framebuffers
* Statically allocated framebuffer(s)
* Removed obsolete Kconfig entries

Also modified the mimxrt1170 EVK default config.

Signed-off-by: Pieter De Gendt <pieter.degendt@basalte.be>
2022-07-13 07:58:58 -05:00