From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-13.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH, MAILING_LIST_MULTI,MSGID_FROM_MTA_HEADER,SPF_HELO_NONE,SPF_PASS, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 2BDECC2B9F4 for ; Thu, 17 Jun 2021 14:36:20 +0000 (UTC) Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 257C661405 for ; Thu, 17 Jun 2021 14:36:19 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 257C661405 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=nxp.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id B7DB682A17; Thu, 17 Jun 2021 16:36:16 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=nxp.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=nxp.com header.i=@nxp.com header.b="DR0IlsU3"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id AD85182A15; Thu, 17 Jun 2021 16:36:14 +0200 (CEST) Received: from EUR01-HE1-obe.outbound.protection.outlook.com (mail-he1eur01on060a.outbound.protection.outlook.com [IPv6:2a01:111:f400:fe1e::60a]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id B3A7A82A15 for ; Thu, 17 Jun 2021 16:36:11 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=nxp.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=vladimir.oltean@nxp.com ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=KyDhVYtVTvrFh3TblLF/YDs4mhdmCquPJ8NPu+zVhaLBP+V8sFTvRukdVx8USUVvyJ39hj4F4bXIsOlbS4QMu8ADuGdwUpIe7F0ZU6WYhiB8JqINaT9RdQEWVsr4AWr41bN8XDZk0wa+mm0faDkXV4hh2PV7zGsSYGqGruxq1rXYha3aN9xs6mNeLVK0QzTaa8nmCfBlaMJ/4oXLIwgUN97pEJqfcv/0maN7EgPe0RmShTj+c8+dEpepKuQDF1wo06K7NsheCtzMCl2VVaZwZLRRppJtNPq+jwaa5gDa7nVmlVJkVq+vAelwLnxcJmmz5S/WLT92azUtyDzeLs9pbA== 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=5Lj70NT/fzT3KhIvGdWOjek225bntLPv/TKbO1t2Qns=; b=OB8YIoC4cMLGSjt93JqTgF7u+hH092S58I1X3aFauPiph+dMD24MyfmC9l69NYlNjFmG2MBzTsvt6pBQ/YSntHxDV76TcX84KxsNvmtzJqDflxbqk/hBU7DBOMTInTN3Jsdx338+y6NF7y3S/LbTC0iV6yxp/MamPCN2rp+EFKSpF3ADw21RWehxO6UoPTXkcup1wvtZW/WxW5c4NfutB/y1BgTq2CAl//zQEzQaKn96Bkl4T4+yjxkGUgFtExC18xJldchpOonUqYoMcl30ov7SoJpck0NsprECjf1eb1gklMCaV91kI530D/040MkJcFRRpzPQN4TZ6g1hu+T25w== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nxp.com; dmarc=pass action=none header.from=nxp.com; dkim=pass header.d=nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=5Lj70NT/fzT3KhIvGdWOjek225bntLPv/TKbO1t2Qns=; b=DR0IlsU3Wc54PyGw8gHRi574mP2nVqYh3p5yuyqDGLDDcMHnwL1aE1v6NJc5GLc74Pj5jZ8JpESP+LHOQer+0ySbpIFB9HC3gICFP6d7gZECsAZbBcix/BpIS9f0sVQMs1kzV+lYcVgIRLCO16Dy3uM4Vm6hVu3JIGMuiXVxUbI= Authentication-Results: ni.com; dkim=none (message not signed) header.d=none;ni.com; dmarc=none action=none header.from=nxp.com; Received: from VI1PR04MB5136.eurprd04.prod.outlook.com (2603:10a6:803:55::19) by VE1PR04MB7328.eurprd04.prod.outlook.com (2603:10a6:800:1a5::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4242.19; Thu, 17 Jun 2021 14:36:10 +0000 Received: from VI1PR04MB5136.eurprd04.prod.outlook.com ([fe80::b1a0:d654:a578:53ab]) by VI1PR04MB5136.eurprd04.prod.outlook.com ([fe80::b1a0:d654:a578:53ab%7]) with mapi id 15.20.4219.025; Thu, 17 Jun 2021 14:36:10 +0000 From: Vladimir Oltean To: Joe Hershberger , Ramon Fried , u-boot@lists.denx.de Cc: Claudiu Manoil , Priyanka Jain , Bin Meng Subject: [PATCH 0/6] Fixes for the NXP LS1028A-QDS boards Date: Thu, 17 Jun 2021 17:35:48 +0300 Message-Id: <20210617143554.2104712-1-vladimir.oltean@nxp.com> X-Mailer: git-send-email 2.25.1 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Originating-IP: [188.26.224.68] X-ClientProxiedBy: AM0PR02CA0004.eurprd02.prod.outlook.com (2603:10a6:208:3e::17) To VI1PR04MB5136.eurprd04.prod.outlook.com (2603:10a6:803:55::19) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from localhost.localdomain (188.26.224.68) by AM0PR02CA0004.eurprd02.prod.outlook.com (2603:10a6:208:3e::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4219.20 via Frontend Transport; Thu, 17 Jun 2021 14:36:09 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 5370ba33-830a-4cbc-c360-08d9319d4001 X-MS-TrafficTypeDiagnostic: VE1PR04MB7328: X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:8273; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: DYM0spMpAJ0x2XJK5SUCb8Rkm5UYHkgmDKUTX9ZbgzQZ9NjdWhT/Ht/2Ldv2KA0lomYODhWieGd3/0/SMOzo15tuyeLWgB60jO99NYMRa+QmZqDi7mytQULnpspZc+FwfOM3283L4iJCtHbN614cmDFS7bhf8aV/NNfjPVg059o3rAQSkPXY4azp0yeAF4lLMsHZRWIAnTMR7P1arbEikn+wKsSwk+diqIFGqbL34yyamN7Aul7b8uTKWMkGzfFAKYM/tPMmfkQjna+aihqO8DaJj4jY6ciVk2+Blj5sd2YCaqU4i8I0Tmv1IeisCBsywBIioisash6EK5TtDO0/MQQJyJ53bvrVVESq12VtBgsPH+vbAQxPLtMW9gIDkaylEeDlONowuHu8iPgnbSAsaXfOXhcyAiEU1iWc+7Aw/JSmgK/X7EbOspCvpTSw91Ksb7LKAneDfntjiADIyUQUWpPeTCDgkMS5oK1StaCde+a4Rst0RQFHEZp+dKQ8GYD32FL5cTc9a5Oes5P8X49rstCGq7bu5ca9cBh1AUdut8sRq80UXYIyK4ekdfDVNvZQDbZ73+T43juOij+v0myr8TUvKOb7tKEJftIdaW4rnYLvngWMj32rkxlnO2PstTLPzNBVzyuuXhRADb9QWMPmLrcsK5nHg/ch8QMQlEToZIXfUwT4Sgd7KbPdjSPH7S88 X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:VI1PR04MB5136.eurprd04.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(376002)(366004)(136003)(346002)(396003)(39860400002)(6506007)(66476007)(4326008)(26005)(66556008)(478600001)(66946007)(52116002)(44832011)(186003)(6666004)(6486002)(38350700002)(38100700002)(16526019)(86362001)(2616005)(956004)(110136005)(316002)(5660300002)(6512007)(54906003)(8936002)(1076003)(36756003)(2906002)(83380400001)(8676002)(69590400013); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?OjSwwkkx67YDz/4UkNHZpukyjELPUL7c2gcGy0xfPfX8hc9i1FOldTgG4r5Z?= =?us-ascii?Q?Kb8KV7FBta7ZSEZJii6OpjNSW6inzhsz06uj4YhlB156r0kp2AQv9E+wWdwi?= =?us-ascii?Q?PByqIIKbon2wXA1uk1eTolGQ0FvZRBJkFeHmVuDOK+zeVYob5EbimdhsRLPy?= =?us-ascii?Q?7MEbvIxBJo//WqwG7Cn8QL5Wa/t+PKLBLlSCdFg/3iFDU/KdDWP350UeS0Iq?= =?us-ascii?Q?Ks6TO/cfwpjm8aE2dfmaXpHfyFwyAIE8irvm2luWWV+PlRYAheinFzSsLTFe?= =?us-ascii?Q?dFrp6rVGAfO3WBGF3ydcJQrR5nyVST4UUfSTJ+meOHmmBX4zPMGgn1QYBMUv?= =?us-ascii?Q?ZrSQBh/KP5Yi56Oij0POWMb6oUoRjjudH48c6oLUk4m+cTF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DjQevmMCdHUEzcudbIEDdFcS+m205xks8bFAR?= =?us-ascii?Q?7lJaGwyXYOCpKCjSyAafXver?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 5370ba33-830a-4cbc-c360-08d9319d4001 X-MS-Exchange-CrossTenant-AuthSource: VI1PR04MB5136.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 17 Jun 2021 14:36:10.5548 (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: LYt2zLms1EfhsxYyo7HVf0BYZfg0L8zEdTCXPR4MDRHLvmW7Q+tYdN1UeNzTiPyRS0NtkftgE4OnM9wg3Ppa3w== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VE1PR04MB7328 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.2 at phobos.denx.de X-Virus-Status: Clean This series fixes through patches 1, 2 and 6 networking issues seen on the LS1028A-QDS boards: - Traffic through the RGMII port enetc-1 does not work - The switch ports are not probed - RGMII fixed-link connections do not work Patches 3 and 4 are dependencies for patch 6, as follows: - Forcing the MAC speed to equal the RGMII PHY requires having a PHY unconditionally in the enetc driver - Having a PHY unconditionally requires updating the device tree to declare fixed PHYs for the internal enetc ports Finally, patch 5 is a cleanup change, which disables the DSA master port enetc-2 on LS1028A-QDS boards where the switch is not enabled. Vladimir Oltean (6): arm: dts: ls1028a: enable the switch CPU port for the LS1028A-QDS arm: dts: ls1028a: enable internal RGMII delays for the LS1028A-QDS AR8035 PHY arm: dts: ls1028a: declare the fixed-link speeds for the internal ENETC ports arm: dts: ls1028a: disable enetc-2 by default drivers: net: fsl_enetc: require a PHY device when probing drivers: net: fsl_enetc: force the RGMII MAC speed/duplex instead of using in-band signaling .../dts/fsl-ls1028a-qds-7777-sch-30841.dtsi | 9 +++ .../dts/fsl-ls1028a-qds-7xx7-sch-30841R.dtsi | 9 +++ .../fsl-ls1028a-qds-9999-sch-24801-LBRW.dtsi | 9 +++ .../dts/fsl-ls1028a-qds-9999-sch-24801.dtsi | 9 +++ .../fsl-ls1028a-qds-x3xx-sch-30841-LBRW.dtsi | 9 +++ .../fsl-ls1028a-qds-x5xx-sch-28021-LBRW.dtsi | 9 +++ .../dts/fsl-ls1028a-qds-x7xx-sch-30842.dtsi | 9 +++ .../dts/fsl-ls1028a-qds-xx7x-sch-30842.dtsi | 9 +++ arch/arm/dts/fsl-ls1028a-qds.dtsi | 2 +- arch/arm/dts/fsl-ls1028a.dtsi | 12 +++- drivers/net/fsl_enetc.c | 55 +++++++++++++------ drivers/net/fsl_enetc.h | 5 ++ 12 files changed, 126 insertions(+), 20 deletions(-) -- 2.25.1