From patchwork Tue May 10 11:26:08 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michal Simek X-Patchwork-Id: 1629072 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: bilbo.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=monstr-eu.20210112.gappssmtp.com header.i=@monstr-eu.20210112.gappssmtp.com header.a=rsa-sha256 header.s=20210112 header.b=R2lEyJp8; dkim-atps=neutral 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=) 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 (2048 bits) server-digest SHA256) (No client certificate requested) by bilbo.ozlabs.org (Postfix) with ESMTPS id 4KyG2f31Hwz9sGF for ; Tue, 10 May 2022 21:26:32 +1000 (AEST) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 0D88584277; Tue, 10 May 2022 13:26:22 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=monstr.eu 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=monstr-eu.20210112.gappssmtp.com header.i=@monstr-eu.20210112.gappssmtp.com header.b="R2lEyJp8"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id A771F8426F; Tue, 10 May 2022 13:26:19 +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=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-ed1-x534.google.com (mail-ed1-x534.google.com [IPv6:2a00:1450:4864:20::534]) (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 4CBBA84245 for ; Tue, 10 May 2022 13:26:16 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=monstr.eu Authentication-Results: phobos.denx.de; spf=none smtp.mailfrom=monstr@monstr.eu Received: by mail-ed1-x534.google.com with SMTP id w24so11846264edx.3 for ; Tue, 10 May 2022 04:26:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monstr-eu.20210112.gappssmtp.com; s=20210112; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=QKOP81MBdReCMzI1s38lLmkh7SN03+301fFIGvo3GxM=; b=R2lEyJp8Pf98U61fB7a+0THVDAW2fUh18CvIZWXJMXIe5SudmgvYhc3NkYQ7BiQ406 J0k54XRT2r26+rHZKpVq6K7u8CFj8gyTAREalTY/3zOlLbEqHNTEc0C4SWX+egREn1jI m8xBJmHN7LUdMwqASfQJdBNVIDYxr4yjPATIGi4xsovZbPH5GKvk68caq3VyElbUD9XV GIbvr7h+yImWwgU2UQDXbjeE78CpxFUwZ0faZNa/K/fTRMwBhoDvuFH1wra9djXWf5qH faSmeh9Uzmyvxe6nsAkd5UpZqSx3+lMvbNmak5+6y2wORj0AG/yhYLGRSBToIF071Phz vjdw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=QKOP81MBdReCMzI1s38lLmkh7SN03+301fFIGvo3GxM=; b=CchERDI04AwwhivnjSPl7craNed3ULQ2PCIztpPed/tGjNJxmesfhhr74JNucBxa4E vVS8WMq6Axh6vBhpy7lhksMBORPGKKDG0AoCZvBLHslCRXtBg/iZZB7dH0kSgFY/cj+d mZ1zAhG/k00c013pUcb1NXpJARtcAQxbVUVQQ1fuqG4UWQk5BYHuhYewBPKb6ZOZj0gK r8QrVBCovcILnSZfRzngfyee1MVVmdwxgK/A+L6ZP8V/8yGZLPjEwDDyKlmxnsi1zqq9 042QZnHXqvtHmTGX2fhpeRU7CiucwBSpp5NA+sC0HhhnsSyp3rcqRNsawua3IPXplJnm JWfA== X-Gm-Message-State: AOAM532EmO5+AS4rsacMFql72AIO1w4pi4sNy11HUyHWRNACr2GCZF8R ZVKz+TqGwx6EGca/Kqnstz9kqc+BKEofsg== X-Google-Smtp-Source: ABdhPJyuu4eL8vkdGKeCTlUzsJXQpLYjl4UI6FoNCmiIKSxP9U3SQhMj5xcAiTAIYWqspjG8VLkvcg== X-Received: by 2002:a05:6402:42c3:b0:427:d0e6:77e4 with SMTP id i3-20020a05640242c300b00427d0e677e4mr22352309edc.49.1652181975619; Tue, 10 May 2022 04:26:15 -0700 (PDT) Received: from localhost ([2a02:768:2307:40d6::f9e]) by smtp.gmail.com with ESMTPSA id qc3-20020a170906d8a300b006f3ef214e0asm6052268ejb.112.2022.05.10.04.26.15 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 10 May 2022 04:26:15 -0700 (PDT) From: Michal Simek X-Google-Original-From: Michal Simek To: u-boot@lists.denx.de, git@xilinx.com Cc: Joe Hershberger , Ramon Fried Subject: [PATCH 0/3] xilinx: Swith platforms to DM_ETH_PHY Date: Tue, 10 May 2022 13:26:08 +0200 Message-Id: X-Mailer: git-send-email 2.36.0 MIME-Version: 1.0 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 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.5 at phobos.denx.de X-Virus-Status: Clean This patch series adds support for shared MDIO by using generic phy framework. Also enable DM_ETH_PHY config for all xilinx platforms. Thanks, Michal T Karthik Reddy (3): net: xilinx: axi_emac: Use shared MDIO bus support for axi emac driver net: xilinx: axi_emaclite: Use shared MDIO bus support for axi emaclite driver xilinx: Add CONFIG_DM_ETH_PHY config configs/microblaze-generic_defconfig | 1 + configs/xilinx_versal_virt_defconfig | 1 + configs/xilinx_zynq_virt_defconfig | 1 + configs/xilinx_zynqmp_virt_defconfig | 1 + drivers/net/xilinx_axi_emac.c | 38 ++++++++++++++++-------- drivers/net/xilinx_emaclite.c | 43 ++++++++++++++++++---------- 6 files changed, 58 insertions(+), 27 deletions(-)