dts: arm: renesas: ra4: Use renesas,ra-pinctrl-pfs driver
Switch the pinctrl driver to renesas,ra-pinctrl-pfs which can be used with FSP. Signed-off-by: TOKITA Hiroshi <tokita.hiroshi@gmail.com>
This commit is contained in:
parent
af2021ea4c
commit
397c48a13e
4 changed files with 31 additions and 14 deletions
|
@ -12,6 +12,8 @@
|
|||
|
||||
#include <zephyr/dt-bindings/pinctrl/renesas/pinctrl-ra.h>
|
||||
|
||||
#define RA_PINCTRL_PORT_NUM ARRAY_SIZE(((R_PFS_Type *)0)->PORT)
|
||||
#define RA_PINCTRL_PIN_NUM ARRAY_SIZE(((R_PFS_PORT_Type *)0)->PIN)
|
||||
/**
|
||||
* @brief Type to hold a renesas ra pin's pinctrl configuration.
|
||||
*/
|
||||
|
@ -26,6 +28,8 @@ struct ra_pinctrl_soc_pin {
|
|||
|
||||
typedef struct ra_pinctrl_soc_pin pinctrl_soc_pin_t;
|
||||
|
||||
int ra_pinctrl_query_config(uint32_t port, uint32_t pin, pinctrl_soc_pin_t *pincfg);
|
||||
|
||||
/**
|
||||
* @brief Utility macro to initialize each pin.
|
||||
*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue