Skip to content

MCP23S17 bias pull-up not working #6763

Open
@KawaiiNahida

Description

@KawaiiNahida

Describe the bug

pinctrl-mcp23s08 driver unable to enable pull-up resister on MCP23S17(dtoverlay=mcp23s17)

Steps to reproduce the behaviour

using the following command to read pin 0 on gpiochip2 (MCP23S17 on SPI0.0)

gpioget --bias=pull-up gpiochip2 0
# got 0, expect 1

Device (s)

Raspberry Pi 4 Mod. B

System

Linux dev 6.12.20+rpt-rpi-v8 #1 SMP PREEMPT Debian 1:6.12.20-1+rpt1~bpo12+1 (2025-03-19) aarch64 GNU/Linux

Logs

No response

Additional context

reading GPPUA directly from device return 0b00000000, which indicate that pull-up is not enabled

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions