blob: e06dc962178e64abcd7245974493588bea02ef9b [file] [log] [blame]
/*
* Copyright (c) 2022 Vestas Wind Systems A/S
*
* SPDX-License-Identifier: Apache-2.0
*/
#ifndef ZEPHYR_INCLUDE_DT_BINDINGS_GPIO_SNPS_DESIGNWARE_GPIO_H_
#define ZEPHYR_INCLUDE_DT_BINDINGS_GPIO_SNPS_DESIGNWARE_GPIO_H_
/**
* @brief Enable GPIO pin debounce.
*
* The debounce flag is a Zephyr specific extension of the standard GPIO flags
* specified by the Linux GPIO binding. Only applicable for SNPS DesignWare GPIO
* controllers.
*/
#define DW_GPIO_DEBOUNCE (1U << 8)
#endif /* ZEPHYR_INCLUDE_DT_BINDINGS_GPIO_SNPS_DESIGNWARE_GPIO_H_ */