From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from EUR02-VE1-obe.outbound.protection.outlook.com (EUR02-VE1-obe.outbound.protection.outlook.com [40.107.2.63]) by mx.groups.io with SMTP id smtpd.web11.462.1591736954670498602 for ; Tue, 09 Jun 2020 14:09:15 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="body hash did not verify" header.i=@nxp1.onmicrosoft.com header.s=selector2-nxp1-onmicrosoft-com header.b=F5zhohWu; spf=pass (domain: oss.nxp.com, ip: 40.107.2.63, mailfrom: wasim.khan@oss.nxp.com) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=PuJuY1+255OkMb2vPNzKwKKSqUDVNxh1UjZHFFceX8zIBj/Vuf5xnfXn1sGAKvAUFu/bBUM4hueN623sXwjxDgHeDFR8KoAr7hUmfZzdB+UpESIAe+yyGWTBGE3rnMU7zRRTtQlHry6KP637M4JUtPxSWepF9Pia4/FNlOx5oN6tUczEWYE6EJREpt2ClV1aS+hjvnIvYTx7xhj4G1A2KgiUHLWNOimiYxnihvD/Zb3t2+RmjUfd+5MMcSTSB3KV2wbh35/pL+Et9qxu4Gs3uNJVVsTb821FgwdN4nsf+VMIOoGJ6LvumLnJSzO19jO3zLTcBn8NcYrt9+feC/YYsA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=Bp+g56gVdQYBJdYWOdWL5ZKqrcOagaPOeax43d4Z1J0=; b=bAkI8I97r6CsW6dKvel1/jBuJbaKwemvJGK4p743Bnn3mP6Vi0GcIg8WbjzvcwIddhCAFT6j1YsTvILXK09ODVI0ZXx5hVmr8ZA273AmB3RPFCtsAtvqg+qhaGYcFXgypR8RH/vEgBfvT2f4pHWw9n/OVggjtBUPpY76S9S+9Ngze9ljBxQ3wT+0O8pb5UTC4b5DICbbzKOxyNa47dqXvTjrfxLYZS2889gvcTzl+rR8UZ2kUNveZ6HtRv5DaXtXGKvPny75a8pWRBfg1Y9NcOX+RkBJOY5YN+aVOmWs4LJLDVvMBeriVsjxxv0sQVTK46RbrUAbiVNZ5Eux9D7xww== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=oss.nxp.com; dmarc=pass action=none header.from=oss.nxp.com; dkim=pass header.d=oss.nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=NXP1.onmicrosoft.com; s=selector2-NXP1-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=Bp+g56gVdQYBJdYWOdWL5ZKqrcOagaPOeax43d4Z1J0=; b=F5zhohWuZZecUeTXvj5O5zgtQ2vnHrBt9rmEhaxodL+b9q7/V/Os0tWjX4LcwnIOCbKHtRG9xJ5Tld4N1pmOG0OtFPyvC4nO0JF55CKHSMcGMwL9V0HRafF/+qkEaAmUukJtOi7nl4Pma5tgoLPNgqU546IOyrbnL+e/0m0dDIc= Authentication-Results: edk2.groups.io; dkim=none (message not signed) header.d=none;edk2.groups.io; dmarc=none action=none header.from=oss.nxp.com; Received: from VE1PR04MB6702.eurprd04.prod.outlook.com (2603:10a6:803:123::13) by VE1PR04MB6736.eurprd04.prod.outlook.com (2603:10a6:803:128::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3066.18; Tue, 9 Jun 2020 21:09:12 +0000 Received: from VE1PR04MB6702.eurprd04.prod.outlook.com ([fe80::81c4:97a6:7592:f225]) by VE1PR04MB6702.eurprd04.prod.outlook.com ([fe80::81c4:97a6:7592:f225%7]) with mapi id 15.20.3088.018; Tue, 9 Jun 2020 21:09:12 +0000 From: Wasim Khan To: devel@edk2.groups.io, meenakshi.aggarwal@nxp.com, V.Sethi@nxp.com, ard.biesheuvel@arm.com, leif@nuviainc.com CC: Wasim Khan Subject: [PATCH edk2-platforms 0/1] Silicon/NXP: LX2160A: Add SerDes Support Date: Wed, 10 Jun 2020 02:38:53 +0530 Message-ID: <1591736934-7745-1-git-send-email-wasim.khan@oss.nxp.com> X-Mailer: git-send-email 2.7.4 X-ClientProxiedBy: BM1PR01CA0132.INDPRD01.PROD.OUTLOOK.COM (2603:1096:b00:40::26) To VE1PR04MB6702.eurprd04.prod.outlook.com (2603:10a6:803:123::13) Return-Path: wasim.khan@oss.nxp.com MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from wasimk-VirtualBox.nxp.com (157.37.179.16) by BM1PR01CA0132.INDPRD01.PROD.OUTLOOK.COM (2603:1096:b00:40::26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.20.3066.18 via Frontend Transport; Tue, 9 Jun 2020 21:09:09 +0000 X-Mailer: git-send-email 2.7.4 X-Originating-IP: [157.37.179.16] X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: f4db3690-7bcb-4ad9-4d5c-08d80cb95b70 X-MS-TrafficTypeDiagnostic: VE1PR04MB6736: X-MS-Exchange-SharedMailbox-RoutingAgent-Processed: True X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:3276; X-Forefront-PRVS: 042957ACD7 X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 32/WLzc3gizaB+kVt4DznudoL4aw0Cp+/cVHlIOgcphHHfmbP8Zz+zL0eVn4s4Ownzyu5jFlgITnjHmZg6olH7Hu7NdtEUH6yMnd/zOr2wmfplnSkppAmpteLY3ww5AEm5U6ZRvM/xLT+La4F8THEp/J/ncYmq+l/JjEn+sOtctOmAKkt+ggjFuzCMNLWjp/b8/yV7AMT6MxIHMM/XaZ2RBEZ+PbNXJTYFYCwPIrvRSxF5BMegwtL2Agd+K06Wtub4z7lP4foWAQbajrcmX6gRbAgUTk5nO4mum7PfbaGiHxndTdOJp69puZPD8qfSHw5gKhmX3WiIrpPNMBjQrzq+vqnl8W4Sdb8mQ4WbNl1IbWKYrgxrNL4R7tcb/xzDEWVjfBfztWr+Wha+kmTVn7yA== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:VE1PR04MB6702.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFTY:;SFS:(4636009)(136003)(39860400002)(366004)(346002)(396003)(376002)(4744005)(66556008)(2906002)(4326008)(966005)(66946007)(6512007)(66476007)(6486002)(186003)(478600001)(2616005)(956004)(86362001)(316002)(26005)(6506007)(5660300002)(8676002)(52116002)(83380400001)(16526019)(19627235002)(6666004)(44832011)(8936002);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData: S5FSrOasJuqhWiKDURzEbLE++4lLdIhWuJjEja62a/FGN3D3zJlZGXnw+iDFZA6eXX83umTTPrjZnn0r+QNhDetVlj9nmDtXNlvOLmhAXiuIlDt+nCwQFrBHucprqlwXV7H6S20zETgDK1QbosL9i1aqD/WogBCODt0WI4sWqLyH+P5vbPEGclNT4yLrfPApKDK3xbph2G98KoHyqCly67uEyP5O1i+1WxxRt73+4w99Mr6tq8u/ws0AGkd+Zu2328+Q00cZxI4WiAGd3Z2p9YHH2pc2ADFm0aALbe+/5vo67uRF7OrlQWGj2KnpZXv6tC0xk/IkaaA+LhJwqg73eGZREzfJK3DRltSmmC3Eg3ZCGbY6feryDsuzIswv1sWmLPtpVE64XvFExCdsvDfQ43JgCgFQDMZjVHnpn01Eg0sjS+9T4OpToncjOL3Ljc+UQKhNQP3j9SpIBgzVflaS2jRjhzXCrCZmC4Qzo5wCOHQ= X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: f4db3690-7bcb-4ad9-4d5c-08d80cb95b70 X-MS-Exchange-CrossTenant-OriginalArrivalTime: 09 Jun 2020 21:09:11.9172 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: ZdbQCGMgdx9zr5iQzOOeZpToHIozEjSH2uGZzKM42ywqSq7nrLhxRVNyc+Tv0009L2vDQOi7HkHecy+O4qTSsQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VE1PR04MB6736 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain From: Wasim Khan NXP SoCs supports different Serdes protocols using reset configuration word (RCW).=20 Based on Serdes protocol value in reset configuration word (RCW) different IP blocks gets enabled in HW. This patch add Serdes support for LX2160A, which has 3 Serdes.=20 This patch has dependency on below Patch series (for SerDesHelperLib). https://edk2.groups.io/g/devel/message/60907=20 Wasim Khan (1): Silicon/NXP: LX2160A: Add SerDes Support Silicon/NXP/LX2160A/LX2160A.dsc.inc | 2 + Silicon/NXP/LX2160A/Library/SocLib/SocLib.inf | 6 + Silicon/NXP/LX2160A/Include/SocSerDes.h | 74 +++++++ Silicon/NXP/LX2160A/Library/SocLib/SerDes.c | 211 ++++++++++++++++++++ 4 files changed, 293 insertions(+) create mode 100644 Silicon/NXP/LX2160A/Include/SocSerDes.h create mode 100644 Silicon/NXP/LX2160A/Library/SocLib/SerDes.c --=20 2.7.4