-
Notifications
You must be signed in to change notification settings - Fork 5.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Please add MCP23008 I2C I/O extender overlay #2818
Comments
This modified mcp23017 overlay accepts an extra parameter -
That can become the new mcp23017 overlay if it works for you. |
Thank you for quick response! My /boot/config.txt entry:
The result:
I tested some gpios to toggle relays and it worked for me. |
Add an 'mcp23008' parameter to enable support for the MCP23008 device. See: #2818 Signed-off-by: Phil Elwell <[email protected]>
Thanks - that's now merged, and will be in future releases. |
kernel: overlays: Add ssd1306 overlay for OLED display See: #1098 kernel: overlays: mcp23017: Support the MCP23008 See: raspberrypi/linux#2818 kernel: overlays: Add mcp342x overlay See: raspberrypi/linux#2819 kernel: configs: Add CONFIG_USB_UAS=m See: raspberrypi/linux#2813 firmware: interface: Drop vcfiled See: raspberrypi/userland#525 firmware: Add reference counting to the local audio players See: #547 firmware: arm_loader: Add reporting the firmware git hash via the mailbox firmware: vcos: Add reporting of which variant was built See: raspberrypi/linux#2806 firmware: Update vcdbg help See: #594
kernel: overlays: Add ssd1306 overlay for OLED display See: raspberrypi/firmware#1098 kernel: overlays: mcp23017: Support the MCP23008 See: raspberrypi/linux#2818 kernel: overlays: Add mcp342x overlay See: raspberrypi/linux#2819 kernel: configs: Add CONFIG_USB_UAS=m See: raspberrypi/linux#2813 firmware: interface: Drop vcfiled See: raspberrypi/userland#525 firmware: Add reference counting to the local audio players See: raspberrypi/firmware#547 firmware: arm_loader: Add reporting the firmware git hash via the mailbox firmware: vcos: Add reporting of which variant was built See: raspberrypi/linux#2806 firmware: Update vcdbg help See: raspberrypi/firmware#594
Add an 'mcp23008' parameter to enable support for the MCP23008 device. See: #2818 Signed-off-by: Phil Elwell <[email protected]>
Add an 'mcp23008' parameter to enable support for the MCP23008 device. See: #2818 Signed-off-by: Phil Elwell <[email protected]>
Add an 'mcp23008' parameter to enable support for the MCP23008 device. See: #2818 Signed-off-by: Phil Elwell <[email protected]>
Add an 'mcp23008' parameter to enable support for the MCP23008 device. See: #2818 Signed-off-by: Phil Elwell <[email protected]>
Add an 'mcp23008' parameter to enable support for the MCP23008 device. See: raspberrypi/linux#2818 Signed-off-by: Phil Elwell <[email protected]> Signed-off-by: ahmedradaideh <[email protected]>
Add an 'mcp23008' parameter to enable support for the MCP23008 device. See: #2818 Signed-off-by: Phil Elwell <[email protected]>
Add an 'mcp23008' parameter to enable support for the MCP23008 device. See: #2818 Signed-off-by: Phil Elwell <[email protected]>
Add an 'mcp23008' parameter to enable support for the MCP23008 device. See: #2818 Signed-off-by: Phil Elwell <[email protected]>
Add an 'mcp23008' parameter to enable support for the MCP23008 device. See: #2818 Signed-off-by: Phil Elwell <[email protected]>
Add an 'mcp23008' parameter to enable support for the MCP23008 device. See: #2818 Signed-off-by: Phil Elwell <[email protected]>
Add an 'mcp23008' parameter to enable support for the MCP23008 device. See: #2818 Signed-off-by: Phil Elwell <[email protected]>
Add an 'mcp23008' parameter to enable support for the MCP23008 device. See: #2818 Signed-off-by: Phil Elwell <[email protected]>
Add an 'mcp23008' parameter to enable support for the MCP23008 device. See: #2818 Signed-off-by: Phil Elwell <[email protected]>
Add an 'mcp23008' parameter to enable support for the MCP23008 device. See: #2818 Signed-off-by: Phil Elwell <[email protected]>
Add an 'mcp23008' parameter to enable support for the MCP23008 device. See: #2818 Signed-off-by: Phil Elwell <[email protected]>
Add an 'mcp23008' parameter to enable support for the MCP23008 device. See: #2818 Signed-off-by: Phil Elwell <[email protected]>
Add an 'mcp23008' parameter to enable support for the MCP23008 device. See: #2818 Signed-off-by: Phil Elwell <[email protected]>
Add an 'mcp23008' parameter to enable support for the MCP23008 device. See: #2818 Signed-off-by: Phil Elwell <[email protected]>
Add an 'mcp23008' parameter to enable support for the MCP23008 device. See: #2818 Signed-off-by: Phil Elwell <[email protected]>
Add an 'mcp23008' parameter to enable support for the MCP23008 device. See: #2818 Signed-off-by: Phil Elwell <[email protected]>
Add an 'mcp23008' parameter to enable support for the MCP23008 device. See: #2818 Signed-off-by: Phil Elwell <[email protected]>
Add an 'mcp23008' parameter to enable support for the MCP23008 device. See: #2818 Signed-off-by: Phil Elwell <[email protected]>
Add an 'mcp23008' parameter to enable support for the MCP23008 device. See: #2818 Signed-off-by: Phil Elwell <[email protected]>
Add an 'mcp23008' parameter to enable support for the MCP23008 device. See: #2818 Signed-off-by: Phil Elwell <[email protected]>
Add an 'mcp23008' parameter to enable support for the MCP23008 device. See: #2818 Signed-off-by: Phil Elwell <[email protected]>
Add an 'mcp23008' parameter to enable support for the MCP23008 device. See: #2818 Signed-off-by: Phil Elwell <[email protected]>
Add an 'mcp23008' parameter to enable support for the MCP23008 device. See: #2818 Signed-off-by: Phil Elwell <[email protected]>
Add an 'mcp23008' parameter to enable support for the MCP23008 device. See: #2818 Signed-off-by: Phil Elwell <[email protected]>
Add an 'mcp23008' parameter to enable support for the MCP23008 device. See: #2818 Signed-off-by: Phil Elwell <[email protected]>
Add an 'mcp23008' parameter to enable support for the MCP23008 device. See: #2818 Signed-off-by: Phil Elwell <[email protected]>
Add an 'mcp23008' parameter to enable support for the MCP23008 device. See: #2818 Signed-off-by: Phil Elwell <[email protected]>
Add an 'mcp23008' parameter to enable support for the MCP23008 device. See: raspberrypi#2818 Signed-off-by: Phil Elwell <[email protected]>
Add an 'mcp23008' parameter to enable support for the MCP23008 device. See: #2818 Signed-off-by: Phil Elwell <[email protected]>
Add an 'mcp23008' parameter to enable support for the MCP23008 device. See: #2818 Signed-off-by: Phil Elwell <[email protected]>
Add an 'mcp23008' parameter to enable support for the MCP23008 device. See: raspberrypi#2818 Signed-off-by: Phil Elwell <[email protected]>
Add an 'mcp23008' parameter to enable support for the MCP23008 device. See: #2818 Signed-off-by: Phil Elwell <[email protected]>
Add an 'mcp23008' parameter to enable support for the MCP23008 device. See: #2818 Signed-off-by: Phil Elwell <[email protected]>
Add an 'mcp23008' parameter to enable support for the MCP23008 device. See: #2818 Signed-off-by: Phil Elwell <[email protected]>
Add an 'mcp23008' parameter to enable support for the MCP23008 device. See: #2818 Signed-off-by: Phil Elwell <[email protected]>
Add an 'mcp23008' parameter to enable support for the MCP23008 device. See: #2818 Signed-off-by: Phil Elwell <[email protected]>
Add an 'mcp23008' parameter to enable support for the MCP23008 device. See: #2818 Signed-off-by: Phil Elwell <[email protected]>
Add an 'mcp23008' parameter to enable support for the MCP23008 device. See: #2818 Signed-off-by: Phil Elwell <[email protected]>
Add an 'mcp23008' parameter to enable support for the MCP23008 device. See: #2818 Signed-off-by: Phil Elwell <[email protected]>
Add an 'mcp23008' parameter to enable support for the MCP23008 device. See: #2818 Signed-off-by: Phil Elwell <[email protected]>
Add an 'mcp23008' parameter to enable support for the MCP23008 device. See: raspberrypi/linux#2818 Signed-off-by: Phil Elwell <[email protected]>
Add an 'mcp23008' parameter to enable support for the MCP23008 device. See: raspberrypi/linux#2818 Signed-off-by: Phil Elwell <[email protected]>
Describe the bug
There is an overlay for MCP23017 but there is no one for MCP23008
The kernel driver (pinctrl_mcp23s08) is present and properly loaded by the following command:
echo mcp23008 0x20 > /sys/class/i2c-adapter/i2c-1/new_device
To reproduce
ls /boot/overlays/mcp23*
/boot/overlays/mcp23017.dtbo /boot/overlays/mcp23s17.dtbo
Expected behaviour
The prsence of the overlay.
Actual behaviour
Missing overlay
System
Which model of Raspberry Pi?
Raspberry Pi 3 model B
Which OS and version (
cat /etc/rpi-issue
)?Raspberry Pi reference 2018-11-13
Generated using pi-gen, https://github.com/RPi-Distro/pi-gen, 7e0c786c641ba15990b5662f092c106beed40c9f, stage2
Which firmware version (
vcgencmd version
)?Nov 4 2018 16:31:07
Copyright (c) 2012 Broadcom
version ed5baf9520a3c4ca82ba38594b898f0c0446da66 (clean) (release)
Which kernel version (
uname -a
)?Linux pi3 4.14.79-v7+ USB-Harddrive gets fully powered down #1159 SMP Sun Nov 4 17:50:20 GMT 2018 armv7l GNU/Linux
Logs
If applicable, add the relevant output from
dmesg
or similar.Additional context
Add any other relevant context for the problem.
The text was updated successfully, but these errors were encountered: