aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include/linux/clk/ssh:/git@git.zx2c4.com/git:
diff options
context:
space:
mode:
authorLinus Walleij <linusw@kernel.org>2026-01-12 11:20:32 +0100
committerLinus Walleij <linusw@kernel.org>2026-01-13 11:22:21 +0100
commit881238a8525a35484e768347de1442581d6bf309 (patch)
tree385207de40be80ec53c1745d77c94bfa4d37fff9 /include/linux/clk/ssh:/git@git.zx2c4.com/git:
parentpinctrl: apple: Use unsigned int instead of unsigned (diff)
pinctrl: apple: Implement GPIO func check callback
This function will check if the indicated function enumerator i.e. the value set into bits 5 and 6 of the pin configuration register, is zero and thus corresponds to the GPIO mode of the pin. This may be necessary to know since the pin controller is flagged as "strict": once you set a pin *explicitly* to GPIO mode using function 0, the core is unaware that this is actually the GPIO mode, and clients may be denied to retrieve the pin as a GPIO. Currently none of the in-kernel device trees sets any pin to GPIO mode, but this may happen any day. Reviewed-by: Sven Peter <sven@kernel.org> Reviewed-by: Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com> Signed-off-by: Linus Walleij <linusw@kernel.org>
Diffstat (limited to 'include/linux/clk/ssh:/git@git.zx2c4.com/git:')
0 files changed, 0 insertions, 0 deletions