Commit Graph

76 Commits

Author SHA1 Message Date
Quy Tran 4793e00ae8 boards: renesas: Add configurations to support pwm on EK-RA8D1
Add support for PWM driver on EK-RA8D1

Signed-off-by: Quy Tran <quy.tran.pz@renesas.com>
2024-10-11 09:28:29 +02:00
Quy Tran 1391355ac4 boards: renesas: Add configurations to support pwm on MCK-RA8T1
Add support for PWM driver on MCK-RA8T1

Signed-off-by: Quy Tran <quy.tran.pz@renesas.com>
2024-10-11 09:28:29 +02:00
Duy Phuong Hoang. Nguyen 59dbbb347d drivers: pwm: Initial support for PWM driver on RA8
Add PWM driver code support for RA8. This support is using
GPT HW

Signed-off-by: Duy Phuong Hoang. Nguyen <duy.nguyen.xa@renesas.com>
2024-10-11 09:28:29 +02:00
Benjamin Cabé 05d59f7207 boards: Set full_name for all boards
Full name was set based on the information available either in board
documentation or in Twister files.
Whenever applicable, vendor name was dropped from the full name so that
all boards have a consistent naming scheme.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2024-10-10 20:22:21 -04:00
Dominik Lau b38a4ccbdb boards: added touch controller to the `/chosen` node
This adds zephyr,touch property to boards with touch controllers, analogous
to `zephyr,display`.

Signed-off-by: Dominik Lau <dlau@internships.antmicro.com>
Signed-off-by: Filip Kokosinski <fkokosinski@antmicro.com>
2024-10-09 18:11:21 +01:00
TOKITA Hiroshi d72a69488c dts: renesas_ra: Change to describe the division ratio in a numeric
Move the process of replacing numerical values with macros to
the header, and set the division ratio in a numeric without
using macros in the device tree.

Change `clk-div` defined in `renesas,ra-cgc-pclk.yaml` to `div`.

Signed-off-by: TOKITA Hiroshi <tokita.hiroshi@gmail.com>
2024-10-08 06:01:10 -04:00
TOKITA Hiroshi 7c615f95d2 dts: renesas_ra: Referencing clocks change to DeviceTree's standard.
DeviceTree typically references the clock source using the `clocks`
property defined in `base.yaml`, so we'll change it to this.

Also delete the custom clock source definitions in
`renesas,ra-cgc-pclk-block.yaml`, `renesas,ra-cgc-pclk.yaml`, and
`renesas,ra-cgc-pll.yaml`.

Signed-off-by: TOKITA Hiroshi <tokita.hiroshi@gmail.com>
2024-10-08 06:01:10 -04:00
Ioannis Damigos 1fdbd7e16a da1469x_dk_pro: Add user button
Add user button.

Signed-off-by: Ioannis Damigos <ioannis.damigos.uj@renesas.com>
2024-10-07 17:13:14 +01:00
Reto Schneider 47ea5e35ce boards: renesas: da14695: Fix unit and first address mismatch
This fixes the following warning:

> unit address and first address in 'reg' (0x82000) don't match for
> /soc/flash-controller@38000000/flash@16000000/partitions/partition@80000

Signed-off-by: Reto Schneider <reto.schneider@husqvarnagroup.com>
2024-09-25 12:59:21 +02:00
Reto Schneider 056b84add9 boards: renesas: da1469x: Fix unit and first address mismatch
This fixes the following warning:

> unit address and first address in 'reg' (0x82000) don't match for
> /soc/flash-controller@38000000/flash@16000000/partitions/partition@80000

Signed-off-by: Reto Schneider <reto.schneider@husqvarnagroup.com>
2024-09-25 12:59:21 +02:00
Quy Tran 5abacb2323 dts: renesas: change interrupt number of flash node
Change the interrupt number of flash in device tree due to duplication
And disable CONFIG_FLASH as default

Signed-off-by: Quy Tran <quy.tran.pz@renesas.com>
2024-09-25 04:05:23 -04:00
Benjamin Cabé 9a16b93868 samples: hello_world: use zephyr:code-sample directive
Adds missing code-sample directive to the Hello World sample in
preparation for upcoming changes to the Zephyr documentation that will
be leveraging the provided description and metadata.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2024-09-16 10:05:18 +02:00
TOKITA Hiroshi 8b066bcfe7 dts: bindings: clock: renesas_ra: Change `_` to `-` in property name
`-` is preferred over `_` in devicetree property names.
Since, change `clk_src`, `clk_div`, and `clk_out_div` to
`clk-src`, `clk-div`, and `clk-out-div`.

Signed-off-by: TOKITA Hiroshi <tokita.hiroshi@gmail.com>
2024-09-16 09:59:55 +02:00
Benjamin Cabé df294e34e1 doc: sphinx-lint: fix bad usage of "default role"
Fixes bad usage of single backticks in lieu of double backticks for
rendering inline literals, or simple '*' for italics.

When appropriate, a better construct than double backticks has been
selected (ex. :file:, :kconfig:option:, :c:func:, ...), or proper :ref:
have been used if the original intention was to have a link.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2024-09-13 11:42:51 -05:00
Quy Tran 79fb5a391a drivers: flash: Add support for flash driver on MCK-RA8T1
Initial commit to support flash driver on MCK-RA8T1 board

Signed-off-by: Quy Tran <quy.tran.pz@renesas.com>
2024-09-06 11:28:04 -04:00
Quy Tran beba6685af drivers: flash: Add support for flash driver on EK-RA8D1
Initial commit to support flash driver on EK-RA8D1

Signed-off-by: Quy Tran <quy.tran.pz@renesas.com>
2024-09-06 11:28:04 -04:00
Duy Phuong Hoang. Nguyen e1f990c176 drivers: flash: Initial support flash driver on EK-RA8M1
Initial commit for flash driver support on board using RA8 MCUs
* drivers: flash: implementation for flash driver on EK-RA8M1
* dts: arm: add device node for flash of EK-RA8M1
* boards: arm: enable support flash driver for ek_ra8m1, update
board documentation

Signed-off-by: Quy Tran <quy.tran.pz@renesas.com>
Signed-off-by: Duy Phuong Hoang. Nguyen <duy.nguyen.xa@renesas.com>
2024-09-06 11:28:04 -04:00
Duy Phuong Hoang. Nguyen bec9952ce8 driver: spi: Add initial support for spi driver on ra8
Add initial SPI driver support for RA8 MCUs

Signed-off-by: Duy Phuong Hoang. Nguyen <duy.nguyen.xa@renesas.com>
2024-09-04 21:28:19 +02:00
Quy Tran b461a3fd53 boards: renesas: update xtal clock frequency on Renesas RA boards
- Update the wrong value of xtal frequency on EK-RA6M1
- Update documentation of EK-RA6M2 regarding to clock description

Signed-off-by: Quy Tran <quy.tran.pz@renesas.com>
2024-09-02 09:06:37 +02:00
The Nguyen 71e3a98b77 boards: renesas: add entropy support for Renesas RA8 boards
Enable support of entropy driver for ek_ra8d1 and mck_ra8t1 boards

Signed-off-by: The Nguyen <the.nguyen.yf@renesas.com>
2024-08-28 06:49:46 -04:00
Quy Tran d1d42ec7f3 dts: bindings: clock: Change clock control binding for Renesas RA
Background of this modification is to make clock control
driver code provided by Renesas vendor to support for Renesas MCU
on Zephyr.

Signed-off-by: Quy Tran <quy.tran.pz@renesas.com>
2024-08-27 07:08:19 -04:00
Quy Tran 2bafb83771 boards: renesas: Add initial support for EK-RA4W1 board
Initial commit to support Renesas EK-RA4W1 board

Signed-off-by: Quy Tran <quy.tran.pz@renesas.com>
Signed-off-by: Duy Phuong Hoang. Nguyen <duy.nguyen.xa@renesas.com>
2024-08-27 07:08:19 -04:00
Quy Tran d95ebf90b9 boards: renesas: Add initial support for EK-RA4M3 board
Initial commit to support Renesas EK-RA4M3 board

Signed-off-by: Quy Tran <quy.tran.pz@renesas.com>
Signed-off-by: Duy Phuong Hoang. Nguyen <duy.nguyen.xa@renesas.com>
2024-08-27 07:08:19 -04:00
Quy Tran 7638952f03 boards: renesas: Add initial support for EK-RA4M2
Initial commit to support Renesas EK-RA4M2 board

Signed-off-by: Quy Tran <quy.tran.pz@renesas.com>
Signed-off-by: Duy Phuong Hoang. Nguyen <duy.nguyen.xa@renesas.com>
2024-08-27 07:08:19 -04:00
Quy Tran 5663c885e7 boards: renesas: Add initial support for EK-RA4E2 board
Initial commit to support Renesas EK-RA4E2 board

Signed-off-by: Quy Tran <quy.tran.pz@renesas.com>
Signed-off-by: Duy Phuong Hoang. Nguyen <duy.nguyen.xa@renesas.com>
2024-08-27 07:08:19 -04:00
Duy Phuong Hoang. Nguyen b9f31c0e40 drivers: entropy: Initial support for trng driver of RA8
Initial commit for entropy support on RA8
- drivers: entropy: implementation for TRNG driver of RA8x1
- dts: arm: add device node for trng of RA8x1
- boards: arm: enable support zephyr_entropy for ek_ra8m1 and
update board documentation

Signed-off-by: The Nguyen <the.nguyen.yf@renesas.com>
Signed-off-by: Duy Phuong Hoang. Nguyen <duy.nguyen.xa@renesas.com>
2024-08-22 14:24:57 -04:00
TOKITA Hiroshi e0c892fb07 boards: arm: Add initial support for EKRA2A1
Add support for the EK-RA2A1 board.

Signed-off-by: TOKITA Hiroshi <tokita.hiroshi@gmail.com>
2024-08-21 08:58:17 +02:00
Thao Luong 4cebe5354f drivers: adc: initialize to add ADC driver
Add minimal ADC driver code for EK-RA8M1 board

Signed-off-by: Duy Phuong Hoang. Nguyen <duy.nguyen.xa@renesas.com>
Signed-off-by: Tri Nguyen <tri.nguyen.wj@bp.renesas.com>
Signed-off-by: Thao Luong <thao.luong.uw@renesas.com>
2024-08-20 10:31:43 +02:00
Quy Tran 370bd31d2a dts: bindings: clock: Change clock control binding for Renesas RA
Background of this modification is to make clock control
driver code provided by Renesas vendor to support for Renesas MCU
on Zephyr.

Signed-off-by: Quy Tran <quy.tran.pz@renesas.com>
2024-08-19 09:59:27 -04:00
Quy Tran 516794843d boards: renesas: Add initial support for FPB-RA6E2 board
Add initial support for Renesas FPB-RA6E2 board

Signed-off-by: Quy Tran <quy.tran.pz@renesas.com>
2024-08-19 09:59:27 -04:00
Duy Phuong Hoang. Nguyen f80e5dc0fd boards: renesas: Initial support Renesas EK-RA6M4 board
- Initial support for EK-RA6M4 board

Signed-off-by: Duy Phuong Hoang. Nguyen <duy.nguyen.xa@renesas.com>
2024-08-19 09:59:27 -04:00
Duy Phuong Hoang. Nguyen 7c67fa131f boards: renesas: Initial support Renesas EK-RA6M2 board
- Initial support for EK-RA6M2 board

Signed-off-by: Duy Phuong Hoang. Nguyen <duy.nguyen.xa@renesas.com>
2024-08-19 09:59:27 -04:00
Duy Phuong Hoang. Nguyen 1e20f0cc22 boards: renesas: Initial support Renesas EK-RA6M1 board
- Initial commit to support EK-RA6M1 board

Signed-off-by: Duy Phuong Hoang. Nguyen <duy.nguyen.xa@renesas.com>
2024-08-19 09:59:27 -04:00
Duy Phuong Hoang. Nguyen 7118473d72 boards: renesas: Add initial support for EK-RA6E2 board
Initial support for Renesas EK-RA6E2 board

Signed-off-by: Duy Phuong Hoang. Nguyen <duy.nguyen.xa@renesas.com>
Signed-off-by: Quy Tran <quy.tran.pz@renesas.com>
2024-08-19 09:59:27 -04:00
Duy Phuong Hoang. Nguyen 3c2909af24 board: renesas: Add initial support for RA6E1 SoC
Initial commit to support FPB-RA6E1 SoC

Signed-off-by: Duy Phuong Hoang. Nguyen <duy.nguyen.xa@renesas.com>
Signed-off-by: Quy Tran <quy.tran.pz@renesas.com>
2024-08-19 09:59:27 -04:00
Duy Phuong Hoang. Nguyen b257bdec63 boards: renesas: Add initial support Renesas EK-RA6M3 board
Initial commit to support EK-RA6M3 board

Signed-off-by: Duy Phuong Hoang. Nguyen <duy.nguyen.xa@renesas.com>
Signed-off-by: default avatarQuy Tran <quy.tran.pz@renesas.com>
2024-08-19 09:59:27 -04:00
Duy Phuong Hoang. Nguyen 6d316d0cc9 boards: renesas: Add initial support for EK-RA6M5 board
Initial commit to support Renesas EK-RA6M5 board

Signed-off-by: Duy Phuong Hoang. Nguyen <duy.nguyen.xa@renesas.com>
Signed-off-by: Quy Tran <quy.tran.pz@renesas.com>
2024-08-19 09:59:27 -04:00
Thao Luong 8bcfbf4d80 drivers: i2c: Add I2C driver support for Renesas RA8 devices
Add implemetation of I2C driver use IIC Master for Renesas RA8 devices

Signed-off-by: Ha Nguyen <ha.nguyen.fz@bp.renesas.com>
Signed-off-by: Thao Luong <thao.luong.uw@renesas.com>
Signed-off-by: Duy Phuong Hoang. Nguyen <duy.nguyen.xa@renesas.com>
2024-08-14 15:53:50 -05:00
Duy Phuong Hoang. Nguyen 93f69cd8bc boards: renesas: add support for mck_ra8t1 board
Initial commit for MCK-RA8T1 board

Signed-off-by: The Nguyen <the.nguyen.yf@renesas.com>
Signed-off-by: Duy Phuong Hoang. Nguyen <duy.nguyen.xa@renesas.com>
2024-08-14 10:46:27 +01:00
Duy Phuong Hoang. Nguyen f75c7ae24c boards: renesas: Support Renesas EK-RA8D1 board
Initial support for EK-RA8D1 board this commit
only support basic GPIO and Serial driver for
RA8D1 board

Signed-off-by: Duy Phuong Hoang. Nguyen <duy.nguyen.xa@renesas.com>
2024-08-14 10:46:27 +01:00
Duy Phuong Hoang. Nguyen 0c93268e52 driver: clock: Update clock control driver for RA8
This update is to support clock API for RA8
Move the clock initialize function into clock driver
Peripheral clock now has 2 more property in clock cell for enable
and disable clock to peripheral module

Signed-off-by: Duy Phuong Hoang. Nguyen <duy.nguyen.xa@renesas.com>
2024-08-07 07:16:45 -04:00
Ian Morris 33ce6845a9 boards: renesas: ek_ra8m1: added mikrobus node labels
Added mikrobus_serial and mikrobus_header node labels to EK-RA8M1 device
tree board definition, allowing compatible shield boards to be used.

Signed-off-by: Ian Morris <ian.d.morris@outlook.com>
2024-07-27 20:48:46 +03:00
Mateusz Holenko bea06ae846 drivers: i2c: configure sleep pins for Smartbond I2C
Adds missing i2c_sleep pins configuration definition required
to properly support power management operations for
Smartbond I2C controller on da14695_dk_usb board.

Signed-off-by: Mateusz Hołenko <mholenko@antmicro.com>
2024-07-08 14:56:14 -04:00
The Thanh. Nguyen f93f801c65 driver: serial: Add serial driver support for Renesas RA8 devices
Add implementation of sci_b_uart for Renesas RA device

Signed-off-by: The Thanh. Nguyen <the.nguyen.yf@renesas.com>
2024-06-26 13:36:14 -04:00
Duy Nguyen ee4613a3a6 boards: arm: Add initial support for EKRA8M1
Add support for the EK RA8M1 board
This board is using Renesas RA8M1 MCU.

Signed-off-by: Duy Nguyen <duy.nguyen.xa@renesas.com>
Signed-off-by: The Nguyen <the.nguyen.yf@renesas.com>
2024-06-26 13:36:14 -04:00
Jordan Yates 243eb36b18 everywhere: reindent `.overlay` files with tabs
`checkpatch.pl` requires that dts sources are indented with tabs,
fix all the spaces that slipped in while checkpatch wasn't watching.

Signed-off-by: Jordan Yates <jordan@embeint.com>
2024-06-26 15:59:44 +02:00
Ioannis Karachalios edd779dbed boards: renesas: dts: Various fixes
This commit should deal with fixing
various issues on the board's dts
overlay files:

1. PSRAM node was not enabled when
   display buffers were stored in
   psram and thus, raising linker
    error (overflow memory section).

2. Remove MIPI DBI read operations
   for the MIPI DBI driver. This is
   because not all drivers support
   read and most of the cases it does
   not have any practical usage.
   In addition, this might trigger
   conflicts with SPI sensors.
   If needed, users should explicitly
   enable read operations by defining
   an SPI device taking into consideration
   conflicts with SPI devices connected
   to the SPI bus.

3. Remove enabling the DMA driver.
   It should be enabled by default.

Signed-off-by: Ioannis Karachalios <ioannis.karachalios.px@renesas.com>
2024-06-24 12:43:12 -04:00
Ioannis Damigos 082e2b706a da1469x: Move enabling PM from board to SoC level
Move enabling PM from board to SoC level

Signed-off-by: Ioannis Damigos <ioannis.damigos.uj@renesas.com>
2024-06-18 14:36:38 -04:00
Mykola Kvach 10363eb898 boards: rcar_h3ulcb_r8a77951_a57: add SD node to dts and describe SD pins
Add SD node to dts and describe SD pins.

Signed-off-by: Mykola Kvach <xakep.amatop@gmail.com>
2024-06-12 21:14:49 -04:00
Mykola Kvach 701c278eeb boards: rcar_spider_s4: add MMC node to dts and describe MMC pins
Add MMC node to dts and describe MMC pins.

Signed-off-by: Mykola Kvach <xakep.amatop@gmail.com>
2024-06-12 21:14:49 -04:00