Am 03.01.24 um 13:12 schrieb Stefan Wahren:
Hi, i recently noticed that the BCM2711 (used on Raspberry Pi 4) doesn't implement pin_config_get, but this SOC is able to read back the bias settings of the pins. After looking deeper into the pinconf_ops i had some questions: 1. Are there any other benefits from implementing pin_config_get except of a proper debugfs output? 2. Since the pin direction of BCM2835/2711 (input/output) is already handled by pinmux_ops via gpio_set_direction, how should pin_config_set handle PIN_CONFIG_OUTPUT_ENABLE? 3. In case pin_config_get is implemented should the parameter PIN_CONFIG_OUTPUT_ENABLE and PIN_CONFIG_OUTPUT be handled? Best regards
gentle ping