Skip to content
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

Add 1-bit SDIO with the minimum pins required for that mode: GPIOs 22… #1301

Merged
merged 1 commit into from
Feb 24, 2016

Conversation

campag
Copy link
Contributor

@campag campag commented Feb 24, 2016

…-25.

For increased compatibility with other hardware, it's useful to force SDIO into 1 bit mode & free up GPIOs 26, 27 (SD_D2, SD_D3). Variable pin numbers isn't possible, so an overlay separate from the existing 4-bit/1-bit dual mode overlay is proposed.

@pelwell
Copy link
Contributor

pelwell commented Feb 24, 2016

Can you explain why this requires 4 pins and not the expected 3 (CLK, CMD + DAT0)?

@campag
Copy link
Contributor Author

campag commented Feb 24, 2016

I believe DAT1 pin is specified/used as INT in one bit mode. Whether that is used in practice on the Pi's mmc peripheral when in one bit mode I have not checked. All the better if we can spare another pin - I'll take a look.

@campag
Copy link
Contributor Author

campag commented Feb 24, 2016

Attempting to run 1-bit mode with just three wires caused lock-ups. It seems the fourth D1/INT is essential.

pelwell added a commit that referenced this pull request Feb 24, 2016
Add 1-bit SDIO with the minimum pins required for that mode: GPIOs 22…
@pelwell pelwell merged commit 2917226 into raspberrypi:rpi-4.1.y Feb 24, 2016
@pelwell
Copy link
Contributor

pelwell commented Feb 24, 2016

Thanks for the clarification.

popcornmix added a commit to raspberrypi/firmware that referenced this pull request Feb 29, 2016
See: raspberrypi/linux#1294

kernel: config: Enable HCI over UARTs

kernel: Add 1-bit SDIO with the minimum pins required for that mode: GPIOs 22-25
See: raspberrypi/linux#1301

kernel: ASoC: bcm: add missing .owner fields in sound card drivers
See: raspberrypi/linux#1300

kernel: Add overlay and enable support for QCA7000 board
See: raspberrypi/linux#1308

kernel: bcm2835-virtgpio: Virtual GPIO driver

kernel: BCM270X_DT: Add Pi3 support

firmware: arm_ldconfig: Use arm_loader API for determining clock frequencies
popcornmix added a commit to Hexxeh/rpi-firmware that referenced this pull request Feb 29, 2016
See: raspberrypi/linux#1294

kernel: config: Enable HCI over UARTs

kernel: Add 1-bit SDIO with the minimum pins required for that mode: GPIOs 22-25
See: raspberrypi/linux#1301

kernel: ASoC: bcm: add missing .owner fields in sound card drivers
See: raspberrypi/linux#1300

kernel: Add overlay and enable support for QCA7000 board
See: raspberrypi/linux#1308

kernel: bcm2835-virtgpio: Virtual GPIO driver

kernel: BCM270X_DT: Add Pi3 support

firmware: arm_ldconfig: Use arm_loader API for determining clock frequencies
@campag
Copy link
Contributor Author

campag commented Apr 23, 2016

@pelwell looks like I forgot to add the overlay to the Makefile in the PR, so the .dtbo is not being compiled.

pelwell pushed a commit that referenced this pull request Apr 25, 2016
See: #1301

Signed-off-by: Phil Elwell <phil@raspberrypi.org>
@pelwell
Copy link
Contributor

pelwell commented Apr 25, 2016

Fixed in 4.4. 4.1 is closed now.

popcornmix pushed a commit that referenced this pull request May 31, 2016
See: #1301

Signed-off-by: Phil Elwell <phil@raspberrypi.org>
popcornmix pushed a commit that referenced this pull request Jun 21, 2016
See: #1301

Signed-off-by: Phil Elwell <phil@raspberrypi.org>
popcornmix pushed a commit that referenced this pull request Jun 26, 2016
See: #1301

Signed-off-by: Phil Elwell <phil@raspberrypi.org>
ColinIanKing pushed a commit to ColinIanKing/ubuntu-xenial that referenced this pull request Oct 28, 2016
See: raspberrypi/linux#1301

Signed-off-by: Phil Elwell <phil@raspberrypi.org>
angyalp pushed a commit to angyalp/kernel_rpi that referenced this pull request Dec 19, 2016
See: raspberrypi#1301

Signed-off-by: Phil Elwell <phil@raspberrypi.org>
tabp0le pushed a commit to tabp0le/ubuntu_xenial_kernel that referenced this pull request Dec 22, 2016
See: raspberrypi/linux#1301

Signed-off-by: Phil Elwell <phil@raspberrypi.org>
perfecto-devops pushed a commit to perfecto-devops/ubuntu-xenial that referenced this pull request Feb 2, 2017
See: raspberrypi/linux#1301

Signed-off-by: Phil Elwell <phil@raspberrypi.org>
Noltari pushed a commit to Noltari/linux that referenced this pull request Feb 6, 2017
See: raspberrypi/linux#1301

Signed-off-by: Phil Elwell <phil@raspberrypi.org>
neuschaefer pushed a commit to neuschaefer/raspi-binary-firmware that referenced this pull request Feb 27, 2017
See: raspberrypi/linux#1294

kernel: config: Enable HCI over UARTs

kernel: Add 1-bit SDIO with the minimum pins required for that mode: GPIOs 22-25
See: raspberrypi/linux#1301

kernel: ASoC: bcm: add missing .owner fields in sound card drivers
See: raspberrypi/linux#1300

kernel: Add overlay and enable support for QCA7000 board
See: raspberrypi/linux#1308

kernel: bcm2835-virtgpio: Virtual GPIO driver

kernel: BCM270X_DT: Add Pi3 support

firmware: arm_ldconfig: Use arm_loader API for determining clock frequencies
JackieLiu1 pushed a commit to JackieLiu1/kernel that referenced this pull request Mar 23, 2017
See: raspberrypi/linux#1301

Signed-off-by: Phil Elwell <phil@raspberrypi.org>
woshihuangzhijie pushed a commit to woshihuangzhijie/linuxcode that referenced this pull request Sep 20, 2017
See: raspberrypi/linux#1301

Signed-off-by: Phil Elwell <phil@raspberrypi.org>
amichelotti pushed a commit to amichelotti/ubuntu-vme-xenial that referenced this pull request Oct 19, 2017
See: raspberrypi/linux#1301

Signed-off-by: Phil Elwell <phil@raspberrypi.org>
lianhaidong pushed a commit to lianhaidong/ubuntu-xenial that referenced this pull request Nov 6, 2017
See: raspberrypi/linux#1301

Signed-off-by: Phil Elwell <phil@raspberrypi.org>
liuqun pushed a commit to liuqun/linux-raspi2 that referenced this pull request Dec 14, 2017
See: raspberrypi/linux#1301

Signed-off-by: Phil Elwell <phil@raspberrypi.org>
liuqun pushed a commit to liuqun/linux-raspi2 that referenced this pull request Dec 20, 2017
See: raspberrypi/linux#1301

Signed-off-by: Phil Elwell <phil@raspberrypi.org>
liuqun pushed a commit to liuqun/linux-raspi2 that referenced this pull request Dec 20, 2017
See: raspberrypi/linux#1301

Signed-off-by: Phil Elwell <phil@raspberrypi.org>
polceanum pushed a commit to polceanum/ubuntu-xenial that referenced this pull request Feb 6, 2018
See: raspberrypi/linux#1301

Signed-off-by: Phil Elwell <phil@raspberrypi.org>
APokorny pushed a commit to ubports/ubuntu_kernel_xenial that referenced this pull request Oct 11, 2018
See: raspberrypi/linux#1301

Signed-off-by: Phil Elwell <phil@raspberrypi.org>
hisenyiu2015 pushed a commit to hisenyiu2015/msm-4.14 that referenced this pull request May 20, 2021
See: raspberrypi/linux#1301

Signed-off-by: Phil Elwell <phil@raspberrypi.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants