From 916f7c2a13bc3dc73ac05a0a27e66673760b94e5 Mon Sep 17 00:00:00 2001 From: Nikhil Devshatwar Date: Tue, 31 Jan 2017 15:34:53 +0530 Subject: [PATCH 1/1] DRA72x: Update guidelines for new modes in Data manual SR2.0 vB Added new modes DSS_VIRTUAL1 and MMC2_VIRTUAL2 Fixed XML correctness check errors in the script Bumped version to 2.8 Signed-off-by: Nikhil Devshatwar --- XMLFiles/DRA72x/guidelines_SR2.0.txt | 4 +++- iodelay-autogen.py | 12 +++++++++++- 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/XMLFiles/DRA72x/guidelines_SR2.0.txt b/XMLFiles/DRA72x/guidelines_SR2.0.txt index 0df4a52..a936c3b 100644 --- a/XMLFiles/DRA72x/guidelines_SR2.0.txt +++ b/XMLFiles/DRA72x/guidelines_SR2.0.txt @@ -1,9 +1,10 @@ ========================== Guildelines for selecting mode ========================== Following are the guidelines for selecting a specific virtual/manual mode DO NOT CHANGE ANYTHING HERE. USE ONLY THE CORRECT MODE NAME IN THE ABOVE LIST -This file is derived from DRA72x_SR2.0_DM +This file is derived from DRA72x_SR2.0_DM_vB ========================== DPI Video Output ========================== +DSS_VIRTUAL1 DPI1/3 Video Output Default Timings - Falling-edge Clock Reference VOUT1_MANUAL1 DPI1 Video Output Alternate Timings VOUT2_IOSET1_MANUAL1 DPI2 Video Output IOSET1 Alternate Timings VOUT2_IOSET1_MANUAL2 DPI2 Video Output IOSET1 Default Timings - Rising-edge Clock Reference @@ -34,6 +35,7 @@ MMC1_VIRTUAL5 MMC1 SDR50 (Internal Loopback) Timings MMC1_VIRTUAL6 MMC1 DDR50 (Internal Loopback) Timings MMC1_MANUAL1 MMC1 DDR50 (Pad Loopback) Timings MMC1_MANUAL2 MMC1 SDR104 Timings +MMC2_VIRTUAL2 MMC2 Standard (Internal Loopback), High Speed (Internal Loopback) Timings MMC2_MANUAL1 MMC2 DDR (Pad Loopback) Timings MMC2_MANUAL2 MMC2 DDR (Internal Loopback Manual) Timings MMC2_MANUAL3 MMC2 HS200 Timings diff --git a/iodelay-autogen.py b/iodelay-autogen.py index 57d6286..db39fdb 100755 --- a/iodelay-autogen.py +++ b/iodelay-autogen.py @@ -70,7 +70,7 @@ args.resetslew = True # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # -VERSION = "2.7" +VERSION = "2.8" if (args.part == "dra74x" or args.part == "dra75x"): if (args.revision == "1.0" or args.revision == "1.1"): @@ -369,11 +369,21 @@ def xml_check_correctness(modehelp): # Find all the manual modes manmode_list = model_xml.findall("padDB/clockNode/type/pad/muxmode/manualmode/cfgreg/mode") + for i in manmode_list: + man_name = i.findtext("name") + modes[man_name] = "manual" + # Find all the additional manual modes + manmode_list = model_xml.findall("padDB/clockNode/type/pad/muxmode/additionalMux/confregisters/value/manualmode/cfgreg/mode") for i in manmode_list: man_name = i.findtext("name") modes[man_name] = "manual" # Find all the virtual modes virtmode_list = model_xml.findall("padDB/clockNode/type/pad/muxmode/virtualmode/mode") + for i in virtmode_list: + virt_name = i.findtext("name") + modes[virt_name] = "virtual" + # Find all the additional virtual modes + virtmode_list = model_xml.findall("padDB/clockNode/type/pad/muxmode/additionalMux/confregisters/value/virtualmode/mode") for i in virtmode_list: virt_name = i.findtext("name") modes[virt_name] = "virtual" -- 2.39.2