[PATCH v2 1/9] ARM: dts: omap: dm816x: Add specific pinctrl config defines

Andreas Kemnade andreas at kemnade.info
Fri Oct 30 03:31:05 PDT 2026


On Wed, 28 Oct 2026 17:06:02 +0100
Ettore Chimenti <ettore.chimenti at linaro.org> wrote:

> Add pinctrl config defines for TI DM816x SoC pinctrl configuration.
> Using same definition as OMAP2/3 except pullup/down enable macros, which
> are inverted for this SoC.
> 
> Signed-off-by: Ettore Chimenti <ettore.chimenti at linaro.org>

Reviewed-by: Andreas Kemnade <andreas at kemnade.info>
> ---
>  arch/arm/boot/dts/ti/omap/dm816x-pinctrl.h | 20 ++++++++++++++++++++
>  1 file changed, 20 insertions(+)
> 
> diff --git a/arch/arm/boot/dts/ti/omap/dm816x-pinctrl.h b/arch/arm/boot/dts/ti/omap/dm816x-pinctrl.h
> new file mode 100644
> index 000000000000..b93f971cbe95
> --- /dev/null
> +++ b/arch/arm/boot/dts/ti/omap/dm816x-pinctrl.h
> @@ -0,0 +1,20 @@
> +/* SPDX-License-Identifier: GPL-2.0-only */
> +/*
> + * This header provides constants specific to DM816X pinctrl defines.
> + */
> +
> +#ifndef _PINCTRL_DM816X_H
> +#define _PINCTRL_DM816X_H
> +
> +#include <dt-bindings/pinctrl/omap.h>
> +
> +#undef PULL_UP
> +#undef PULL_ENA
> +
> +/* DM816x mux bit defines */
> +#define PULL_ENA		(0 << 3)
> +#define PULL_DIS		(1 << 3)
> +#define PULL_DN			(0 << 4)
> +#define PULL_UP			(1 << 4)
> +
> +#endif
> 




More information about the linux-arm-kernel mailing list