Skip to content

Instantly share code, notes, and snippets.

@vaishnavachath
Created June 29, 2019 08:09
Show Gist options
  • Save vaishnavachath/592ee185e30e0d11e29a3bb456eeeaf7 to your computer and use it in GitHub Desktop.
Save vaishnavachath/592ee185e30e0d11e29a3bb456eeeaf7 to your computer and use it in GitHub Desktop.
/dts-v1/;
/plugin/;
/ {
compatible = "ti,am335x-pocketbeagle", "ti,am335x-bone", "ti,am33xx";
fragment@0 {
target = <&mmc>;
__overlay__ {
status = "disabled";
};
};
};
@vaishnavachath
Copy link
Author

You have to specify the MMC controller for which to disable the driver.

Maybe I'm thinking of this wrong. An MMC driver is being loaded against the new SPI controller, yes or no?

Yes a new mmc driver is being loaded against the new SPI controller, I observed that the new ones attached begin from mmc1,mmc2 ... etc , will providing mmc1/2/3 instead of target = <&mmc> in the dts file work?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment