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

spi: Add the NVRAM spi controller and flash partitions. #62

Conversation

WhatAmISupposedToPutHere

Add the device tree bindings for the spi controller used for the spi-nor chip, the chip itself and the nvram partition. Additionally add the m2 spi controller compatible to the device tree yamls.

@nicolas17
Copy link

(as said on IRC, but for the sake of documentation...)

I tried this patch on M2 MBP (J493), including updating the devicetrees on m1n1, and I still didn't get a /dev/mtd0 device to show up. dmesg shows "spi-nor spi0.0: unrecognized JEDEC id bytes: c2 2b 27 c2 2b 27".

There's too much ad-hoc stuff there that other modules are going to want
to be able to snoop into under rare circumstances.

Signed-off-by: Asahi Lina <lina@asahilina.net>
Signed-off-by: Asahi Lina <lina@asahilina.net>
Sasha Finkelstein added 3 commits December 8, 2022 12:58
Add the SPI controller and the nvram partition bindings
for M1 Pro/Max/Ultra Macs

Signed-off-by: Sasha Finkelstein <fnkl.kernel@gmail.com>
Add the SPI controller and the nvram partition bindings for M2 Macs

Signed-off-by: Sasha Finkelstein <fnkl.kernel@gmail.com>
Add the SPI controller and the nvram partition bindings for M1 Macs

Signed-off-by: Sasha Finkelstein <fnkl.kernel@gmail.com>
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.

None yet

4 participants