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 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 smtp.lore.kernel.org (Postfix) with ESMTPS id F30AAC433F5 for ; Sun, 1 May 2022 12:41:44 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 1C86D83C8C; Sun, 1 May 2022 14:41:42 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=solid-run.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=solid-run-com.20210112.gappssmtp.com header.i=@solid-run-com.20210112.gappssmtp.com header.b="tqKC6vJ4"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 78F5F834AD; Sun, 1 May 2022 14:41:40 +0200 (CEST) Received: from mail-wm1-x333.google.com (mail-wm1-x333.google.com [IPv6:2a00:1450:4864:20::333]) (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 E5788834AD for ; Sun, 1 May 2022 14:41:37 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=solid-run.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=josua@solid-run.com Received: by mail-wm1-x333.google.com with SMTP id p189so6962319wmp.3 for ; Sun, 01 May 2022 05:41:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=solid-run-com.20210112.gappssmtp.com; s=20210112; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=VCxqu1CqOPA2Owqh3PXNXdGTx2Q1D9vv5TV+05rsxbY=; b=tqKC6vJ4XxIcs5zgwXp8PVi3oML2VjDsOtZYkilFrEr/sqHAz97lpADugIWBekR+zt jjyIbJj3+tWESzRB4jMnSxGECBCkct3ASr3Je7Wd0d3aQnPjT4bWKYTjALsVi84c2zLU ZLUlxWOPq98GagZlA0T2Is8xW9eR0LA39bCmLQQEbFbBSTPD/qAr8x2owxy5iI286H8m bZ3GCHGfHzd0bJ3he0G84KpN9GSQnPt511O3tip1YCGC5MYw5ZIlf6YUchwLi1P0PFty u6wMpuVGNqizV4cAx7huqlJV7uQczjQ4C2Sfpa+JFyglsl7FpWQz34RroOzMNKu7UyFD JEEw== 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=VCxqu1CqOPA2Owqh3PXNXdGTx2Q1D9vv5TV+05rsxbY=; b=DkomjYlyZKbHh1/SQEV+xcYjAUgL+vnkQBSqMrcvgIYaKBP0F5cGGFRePqDjAapxm1 SeCHddoBqcdpFGMPo4zMV1nQYyNHWG5OSjH0BybXSMy1a2+MdMRYMJbAXFhk2BV80c8G /ikCaetcjAgMUa1pLPkBmXiCJbUGrPkYG2MrKDuUh3tlAGYU7d863XMC6F21V9FGLlek c4M+7j5G8PuyADvONVF3AQUpGKg5qOQSOLSSUC2/kXl1nTnwZ7ka07JcyAYrX1JKPJny YdMA3rnSohumovlw4zlaUZnytOkq8gwoxzxgyFR5mXtdUCKta1Y9AYVLOdJS7CSTrkKy Q7AA== X-Gm-Message-State: AOAM5322u0Ivx2zPAiOWmj/7iT++ElYL4MyG2LNqzD2XzZekqBPqHwUb nxWv3EKftbTJBAg/87A1Iw9OFUSKN0WiPQ== X-Google-Smtp-Source: ABdhPJwVWy2UyIj3Phxy8BNgSi/0TWcxQ+iE9R7vyG0gOOv/7PLf5aNztk+nBZmBZNoDQ9M2Th5jvg== X-Received: by 2002:a7b:c3c7:0:b0:394:1aaa:1256 with SMTP id t7-20020a7bc3c7000000b003941aaa1256mr7295678wmj.172.1651408897149; Sun, 01 May 2022 05:41:37 -0700 (PDT) Received: from josua-work.lan (bzq-82-81-222-124.cablep.bezeqint.net. [82.81.222.124]) by smtp.gmail.com with ESMTPSA id c13-20020adfa70d000000b0020c5253d8e8sm4615238wrd.52.2022.05.01.05.41.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 01 May 2022 05:41:36 -0700 (PDT) From: Josua Mayer To: u-boot@lists.denx.de Cc: alvaro.karsz@solid-run.com, Josua Mayer Subject: [PATCH 0/5] mx6cuboxi: add eth support for SoMs revision 1.9+ Date: Sun, 1 May 2022 15:41:26 +0300 Message-Id: <20220501124131.30614-1-josua@solid-run.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 As of Revision 1.9 the SolidRun i.MX6 SoMs ship with a new PHY - an ADIN1300 at address 1. This patchset carries many small parts to facilitate proper operation of the ethernet port in U-Boot as well as Linux: 1. Fix a compile error in the recently phy driver 2. Add support for configuring the clock output pins to the phy driver 3. update device-tree with support for the neew phy 4. support runtime patching of device-tree for Linux: enables only the phy node detected during boot, to avoid warning messages during boot. 5. finally enable the phy driver in the cuboxi defconfig Josua Mayer (5): phy: adin: remove broken support for adi,phy-mode-override phy: adin: add support for clock output ARM: dts: imx6qdl-sr-som: add support for alternate phy addresses mx6cuboxi: fixup dtb ethernet phy nodes before booting an OS mx6cuboxi: enable driver for adin1300 phy arch/arm/dts/imx6qdl-sr-som.dtsi | 17 +++++- board/solidrun/mx6cuboxi/mx6cuboxi.c | 78 +++++++++++++++++++++++++++ configs/mx6cuboxi_defconfig | 2 + drivers/net/phy/adin.c | 80 ++++++++++++++++------------ 4 files changed, 141 insertions(+), 36 deletions(-) -- 2.34.1