Message ID | 20200503185227.28731-1-olteanv@gmail.com |
---|---|
Headers | show
Return-Path: <u-boot-bounces@lists.denx.de> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=85.214.62.61; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=<UNKNOWN>) Authentication-Results: ozlabs.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20161025 header.b=iJtOu7VQ; dkim-atps=neutral Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 49FZqt3sZWz9sRf for <incoming@patchwork.ozlabs.org>; Mon, 4 May 2020 04:52:55 +1000 (AEST) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id F32B081D86; Sun, 3 May 2020 20:52:45 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="iJtOu7VQ"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 7D4B381D48; Sun, 3 May 2020 20:52:43 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,SPF_HELO_NONE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-wm1-x344.google.com (mail-wm1-x344.google.com [IPv6:2a00:1450:4864:20::344]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 766B981D48 for <u-boot@lists.denx.de>; Sun, 3 May 2020 20:52:40 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=olteanv@gmail.com Received: by mail-wm1-x344.google.com with SMTP id u16so6283263wmc.5 for <u-boot@lists.denx.de>; Sun, 03 May 2020 11:52:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=7i2Bq+8mTztSEun1aWDyghbUmSY2mwSKZum9vx3EIQc=; b=iJtOu7VQJCT7KmJDkyqf0fV4W0nh0J54jHxmQfoH+X5dULMcftwPf0ZfDAA+ud6hrh yHy3qpq+C3A8l0Q7Xfw7jzS3mYoKnvpOO0uqDWfn5Ye1SnTru4vnCu5Rq/rT+sybbJ7/ 435xhh6oW3uMKAfd7aHpT8l3zd/jmoT+WP82XSOVtAz1L8FeubU6R/+QACpNTa4ursRM NCVO24rv+WtMMGf8I94SH9Zep8m4fw6uFKOff9IeTnkY29eltMtjh+Enml7ls/JwJ7s+ Z2ih/JBmLPz046D8UrMQqz1grp3R+2PxuvQTB9VrrX1Obch1M33o+2FwH91vYtZ4TWAQ 4rkA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=7i2Bq+8mTztSEun1aWDyghbUmSY2mwSKZum9vx3EIQc=; b=JpyEpOANA7pty4GrSD9tCmxFXCLYhJ3J6lhR1Lu7/7j+hXnTuLQg82frmUOUXUMSY1 yM44Aa05ogq6g9nrro9+iLLCuRtk/yIslrydukX1K2YL129TSchB5rN/0Wvz61Qk/VSJ z31aIcgmGyDPZVYg+PNaPGhMFpxZdxXT4anMKds0Vk0Et2ALqWON7Yl3E609Rdmb1aH6 QBeOwUwbgicR0bZzd5x9C2zP0UY3y8fpd1QvhTZi0nwmCpjOtvymC/ZP2jvVRTINqY/N iRkf58zO6K44whgq3YroaWYI8bzPHBpPATsy37w1PtUmYhkA1De24VAOdMhypwzpamw0 x7jw== X-Gm-Message-State: AGi0Pua0ISeYhRIGzT+WXmUX0k0JjC8xiTsMXuUaOQ8pBJYv+OXRPOes IMLu8RWlHggZj7dNoklHaQYPCdQ2 X-Google-Smtp-Source: APiQypJq/VFpl8URIkBgAZwS4uHWdWuPLHJ9wlNPVAIIK78R52XdYELHqBAdCPxBuSvoe/JLVMdJpQ== X-Received: by 2002:a1c:9816:: with SMTP id a22mr10085374wme.125.1588531959762; Sun, 03 May 2020 11:52:39 -0700 (PDT) Received: from localhost.localdomain ([86.121.118.29]) by smtp.gmail.com with ESMTPSA id z6sm2517978wrt.57.2020.05.03.11.52.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 03 May 2020 11:52:38 -0700 (PDT) From: Vladimir Oltean <olteanv@gmail.com> To: u-boot@lists.denx.de, joe.hershberger@ni.com, priyanka.jain@nxp.com Cc: Zhiqiang.Hou@nxp.com, bmeng.cn@gmail.com, claudiu.manoil@nxp.com, alexandru.marginean@nxp.com Subject: [RFC PATCH 0/3] DM_MDIO for fsl_tsec driver Date: Sun, 3 May 2020 21:52:24 +0300 Message-Id: <20200503185227.28731-1-olteanv@gmail.com> X-Mailer: git-send-email 2.17.1 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.30rc1 Precedence: list List-Id: U-Boot discussion <u-boot.lists.denx.de> List-Unsubscribe: <https://lists.denx.de/options/u-boot>, <mailto:u-boot-request@lists.denx.de?subject=unsubscribe> List-Archive: <https://lists.denx.de/pipermail/u-boot/> List-Post: <mailto:u-boot@lists.denx.de> List-Help: <mailto:u-boot-request@lists.denx.de?subject=help> List-Subscribe: <https://lists.denx.de/listinfo/u-boot>, <mailto:u-boot-request@lists.denx.de?subject=subscribe> Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" <u-boot-bounces@lists.denx.de> X-Virus-Scanned: clamav-milter 0.102.2 at phobos.denx.de X-Virus-Status: Clean |
Series | DM_MDIO for fsl_tsec driver | expand |
From: Vladimir Oltean <vladimir.oltean@nxp.com> This series converts the MDIO handling portion of the DM_ETH variant of the tsec driver (currently in use only on LS1021A-TSN and LS1021A-TWR) to use DM_MDIO. The other (non-DM_ETH) users of tsec are left alone. Posted as RFC since it depends on Zhiqiang's series "[PATCHv2,0/3] net: tsec: Fix issues of DM driver": https://patchwork.ozlabs.org/project/uboot/cover/20200503144843.36949-1-Zhiqiang.Hou@nxp.com/ Vladimir Oltean (3): phy: make phy_connect_fixed work with a null mdio bus configs: enable DM_MDIO for LS1021A-TWR and LS1021A-TSN net: tsec: convert fsl_pq_mdio to DM_MDIO configs/ls1021atsn_qspi_defconfig | 1 + configs/ls1021atsn_sdcard_defconfig | 1 + configs/ls1021atwr_nor_SECURE_BOOT_defconfig | 1 + configs/ls1021atwr_nor_defconfig | 1 + configs/ls1021atwr_nor_lpuart_defconfig | 1 + configs/ls1021atwr_qspi_defconfig | 1 + ...s1021atwr_sdcard_ifc_SECURE_BOOT_defconfig | 1 + configs/ls1021atwr_sdcard_ifc_defconfig | 1 + configs/ls1021atwr_sdcard_qspi_defconfig | 1 + drivers/net/fsl_mdio.c | 66 +++++++++++++++++-- drivers/net/phy/phy.c | 4 +- drivers/net/tsec.c | 50 +++++--------- include/fsl_mdio.h | 4 +- 13 files changed, 89 insertions(+), 44 deletions(-)