From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from inva020.nxp.com (inva020.nxp.com [92.121.34.13]) by mx.groups.io with SMTP id smtpd.web11.9848.1602236268779803366 for ; Fri, 09 Oct 2020 02:37:49 -0700 Authentication-Results: mx.groups.io; dkim=missing; spf=pass (domain: oss.nxp.com, ip: 92.121.34.13, mailfrom: meenakshi.aggarwal@oss.nxp.com) Received: from inva020.nxp.com (localhost [127.0.0.1]) by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id F30631A0D42; Fri, 9 Oct 2020 11:37:46 +0200 (CEST) Received: from inv0113.in-blr01.nxp.com (inv0113.in-blr01.nxp.com [165.114.116.118]) by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id BF1D51A04D5; Fri, 9 Oct 2020 11:37:46 +0200 (CEST) Received: from uefi-OptiPlex-790.ap.freescale.net (unknown [10.232.132.78]) by inv0113.in-blr01.nxp.com (Postfix) with ESMTP id 88A2E32A; Fri, 9 Oct 2020 15:07:45 +0530 (IST) From: Meenakshi Aggarwal To: ard.biesheuvel@arm.com, leif@nuviainc.com, michael.d.kinney@intel.com, devel@edk2.groups.io Cc: v.sethi@nxp.com, Meenakshi Aggarwal Subject: [edk2-platforms v3 0/6] Enable USB support on LS1046aFrwy board Date: Fri, 9 Oct 2020 20:49:01 +0530 Message-Id: <1602256744-12582-1-git-send-email-meenakshi.aggarwal@oss.nxp.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1602087041-8009-7-git-send-email-meenakshi.aggarwal@oss.nxp.com> References: <1602087041-8009-7-git-send-email-meenakshi.aggarwal@oss.nxp.com> X-Virus-Scanned: ClamAV using ClamSMTP This patch set adds GPIO Library. Gpio Library is required to set muxing to enable USB controller. Changes in v3: - Incorporated review comments Changes in v2: - Modified GpioLib as per review comments - Prepared separate patch for SCFG enablement - Prepared sepaarte patch for USB errata implementation Meenakshi Aggarwal (6): Silicon/NXP: Add GPIO Library support. Platform/NXP/LS1046aFrwyPkg: MUX changes for USB Silicon/NXP: Add SCFG support for Chassis2 Silicon/NXP: Implement USB Errata Workarounds Silicon/NXP/LS1046A: Apply USB errata workarounds LS1046aFrwy: Enable USB support for LS1046AFRWY board. Silicon/NXP/NxpQoriqLs.dec | 9 + Silicon/NXP/LS1046A/LS1046A.dsc.inc | 9 + Silicon/NXP/NxpQoriqLs.dsc.inc | 2 + Platform/NXP/LS1046aFrwyPkg/LS1046aFrwyPkg.dsc | 2 + Platform/NXP/LS1046aFrwyPkg/LS1046aFrwyPkg.fdf | 13 ++ .../Library/ArmPlatformLib/ArmPlatformLib.inf | 1 + .../NXP/Chassis2/Library/ChassisLib/ChassisLib.inf | 2 + Silicon/NXP/LS1046A/Library/SocLib/SocLib.inf | 1 + Silicon/NXP/Library/GpioLib/GpioLib.inf | 39 ++++ Silicon/NXP/Chassis2/Include/Chassis.h | 112 +++++++++++ Silicon/NXP/Chassis2/Library/ChassisLib/Erratum.h | 23 +++ Silicon/NXP/Include/Library/ChassisLib.h | 62 ++++++ Silicon/NXP/Include/Library/GpioLib.h | 110 +++++++++++ Silicon/NXP/LS1046A/Include/Soc.h | 2 + .../Library/ArmPlatformLib/ArmPlatformLib.c | 21 ++ .../NXP/Chassis2/Library/ChassisLib/ChassisLib.c | 63 ++++++ Silicon/NXP/Chassis2/Library/ChassisLib/Erratum.c | 165 ++++++++++++++++ Silicon/NXP/LS1046A/Library/SocLib/SocLib.c | 65 ++++++ Silicon/NXP/Library/GpioLib/GpioLib.c | 219 +++++++++++++++++++++ 19 files changed, 920 insertions(+) mode change 100644 => 100755 Platform/NXP/LS1046aFrwyPkg/LS1046aFrwyPkg.dsc mode change 100644 => 100755 Platform/NXP/LS1046aFrwyPkg/LS1046aFrwyPkg.fdf create mode 100644 Silicon/NXP/Library/GpioLib/GpioLib.inf create mode 100644 Silicon/NXP/Chassis2/Library/ChassisLib/Erratum.h create mode 100644 Silicon/NXP/Include/Library/GpioLib.h create mode 100644 Silicon/NXP/Chassis2/Library/ChassisLib/Erratum.c create mode 100644 Silicon/NXP/Library/GpioLib/GpioLib.c -- 1.9.1