Wangjialin 6e9c59bfc3 feature(psram): add support for 64MBit psram of 1.8v and 3.3v.
1. Add reading psram EID.
2. Configure different clock mode for different EID.
3. add API to get psram size and voltage.
4. Remove unnecessary VSPI claim.

For 32MBit@1.8V and 64MBit@3.3V psram, there should be 2 extra clock cycles after CS get high level.
For 64MBit@1.8 psram, we can just use standard SPI protocol to drive the psram. We also need to increase the HOLD time for CS in this case.

EID for psram:
32MBit 1.8v: 0x20
64MBit 1.8v: 0x26
64MBit 3.3v: 0x46
2018-07-10 14:24:59 +08:00
..
2018-05-14 17:54:57 +05:00
2018-07-04 14:01:57 +08:00
2017-10-18 14:19:19 +08:00
2018-04-04 22:57:45 +08:00
2017-10-18 14:19:19 +08:00
2018-07-02 09:05:00 +00:00
2016-08-17 23:08:22 +08:00
2018-06-15 15:49:23 +08:00
2017-10-18 14:19:16 +08:00