Message ID | 20230817085711.45339-1-t.remmet@phytec.de |
---|---|
Headers | show |
Series | PHYTEC SoM detection for phyCORE-i.MX8MP | expand |
Hi Yannic, On Thu, Aug 17, 2023 at 5:57 AM Teresa Remmet <t.remmet@phytec.de> wrote: > > second version of the series to add support for EEPROM SoM detection used > by different PHYTEC SoMs. The EEPROM data consist of 32 bytes containing > information like PCB revision, RAM size and other SoM specific > configuration. > > For SoMs of the i.MX8M family the data is written to two areas of the > used i2c EEPROM. > > We initally add the detection support for phyCORE-i.MX8MP. Due to layout > constraints phyCORE-i.MX8MP SoMs with PCB revision 2 and older can only > make use of a lower RAM frequency. This changes with the use of newer PCB > revisions. We make use of the factory flashed EEPROM data to detect the > PCB revision and select the fitting RAM settings. > > Changes in v2: > - fix wrong RAM Timing values as pointed out by Yannic > - removed superfluous goto > - removed blank line at EOF > - fix string conversion to integer > - fix typo s/revsions/revisions Could you please help review v2? Thanks
Hi Fabio On Thu, 2023-08-24 at 08:52 -0300, Fabio Estevam wrote: > Hi Yannic, > > On Thu, Aug 17, 2023 at 5:57 AM Teresa Remmet <t.remmet@phytec.de> > wrote: > > > > second version of the series to add support for EEPROM SoM > > detection used > > by different PHYTEC SoMs. The EEPROM data consist of 32 bytes > > containing > > information like PCB revision, RAM size and other SoM specific > > configuration. > > > > For SoMs of the i.MX8M family the data is written to two areas of > > the > > used i2c EEPROM. > > > > We initally add the detection support for phyCORE-i.MX8MP. Due to > > layout > > constraints phyCORE-i.MX8MP SoMs with PCB revision 2 and older can > > only > > make use of a lower RAM frequency. This changes with the use of > > newer PCB > > revisions. We make use of the factory flashed EEPROM data to detect > > the > > PCB revision and select the fitting RAM settings. > > > > Changes in v2: > > - fix wrong RAM Timing values as pointed out by Yannic > > - removed superfluous goto > > - removed blank line at EOF > > - fix string conversion to integer > > - fix typo s/revsions/revisions > > Could you please help review v2? Yes, I will do it early next week. > > Thanks