Zephyr API Documentation 4.4.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
pinctrl_bcm2712_common.h
Go to the documentation of this file.
1/*
2 * Copyright (c) 2025 TOKITA Hiroshi
3 *
4 * SPDX-License-Identifier: Apache-2.0
5 */
6
11
12#ifndef ZEPHYR_INCLUDE_DRIVERS_PINCTRL_PINCTRL_BCM2712_COMMON_H_
13#define ZEPHYR_INCLUDE_DRIVERS_PINCTRL_PINCTRL_BCM2712_COMMON_H_
14
15#include <stdint.h>
17
21
22/* Initialize one BCM2712 pinctrl entry from a devicetree property item. */
23#define BRCM_BCM2712_PINCTRL_STATE_PIN_INIT(node_id, prop, idx) \
24 { \
25 .unused = 0, \
26 }
27
28/* Per-pin configuration container for BCM2712 pinctrl state data. */
29struct brcm_bcm2712_pinctrl_pinconfig {
30 uint8_t unused;
31};
32
33/* Apply one BCM2712 pin configuration entry. */
34int brcm_bcm2712_pinctrl_configure_pin(const struct brcm_bcm2712_pinctrl_pinconfig *pin);
35
39
40#endif /* ZEPHYR_INCLUDE_DRIVERS_PINCTRL_PINCTRL_BCM2712_COMMON_H_ */
Devicetree pin control helpers for Broadcom BCM2712.
__UINT8_TYPE__ uint8_t
Definition stdint.h:88