1 /* SPDX-License-Identifier: GPL-2.0-only */
4 * Configure GPIO Power Management bits
6 * Arg0: GPIO community index
7 * Arg1: PM bits in MISCCFG
9 Method (CGPM, 2, Serialized)
13 /* Mask off current PM bits */
14 PCRA (Local0, GPIO_MISCCFG, ~MISCCFG_GPIO_PM_CONFIG_BITS)
15 /* Mask in requested bits */
16 PCRO (Local0, GPIO_MISCCFG, Arg1 & MISCCFG_GPIO_PM_CONFIG_BITS)