From patchwork Fri Apr 24 16:34:05 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tom Rini X-Patchwork-Id: 1276486 X-Patchwork-Delegate: trini@ti.com Return-Path: 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=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=konsulko.com 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 4980BC3stxz9sSJ for ; Sat, 25 Apr 2020 02:34:24 +1000 (AEST) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 9FE808120B; Fri, 24 Apr 2020 18:34:15 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Received: by phobos.denx.de (Postfix, from userid 109) id E790C8172F; Fri, 24 Apr 2020 18:34:13 +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,RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-qt1-f195.google.com (mail-qt1-f195.google.com [209.85.160.195]) (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 E2334804F5 for ; Fri, 24 Apr 2020 18:34:10 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=tom.rini@gmail.com Received: by mail-qt1-f195.google.com with SMTP id c23so7851639qtp.11 for ; Fri, 24 Apr 2020 09:34:10 -0700 (PDT) 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=c5Mp25JVcs+lxi3g+jQBIcJfOzECpp5zB6tAI2QZEh8=; b=Mbvx96E4EvOwuiH5Kmd+s6WzKA4gxs8amzRDIRjbwlc+AXlsKPqkM7wDLzxF72UtsJ ruj+foFHSsbtDswGdLs3fck7vtyPXYWSGGHsiEze6w+3us3XEQS/hYmLai7TdmOaRGja MK2GYkPOpySREqU9QYAn3qQqKsDAFDpibFFNTuHQvvGmvGXnQ+sDVL5UaBbVDM18CBON Hz4Bv3RKoHglD+x8654sbpvomWCTfguJTBvVcXT5ld62M+cabgFk9hE59TGcc1jOGYzZ grQCTUClYYyeFBznOMo/0Fn+g5F1R230UNjjhUOlAv+XlueIpQ0eRhwt9Hdkn7f677pQ pgSg== X-Gm-Message-State: AGi0PuZZTvy5Q/aUtDgVRSWt1i0leIbAGoH89eHgpQJJVOtZwDdwDW4y HeR3pdkJ9kD6cGdRXWzUgBF1taA= X-Google-Smtp-Source: APiQypImxCm5HqznZKADQtG2kclaNbI38JPukv4ax9wNuaxsm20ty0qkgC2qL1/qNdxWNmATlDtffw== X-Received: by 2002:ac8:d83:: with SMTP id s3mr10248777qti.238.1587746049048; Fri, 24 Apr 2020 09:34:09 -0700 (PDT) Received: from bill-the-cat.local (2606-a000-1401-826f-142b-baeb-ea9f-aa30.inf6.spectrum.com. [2606:a000:1401:826f:142b:baeb:ea9f:aa30]) by smtp.gmail.com with ESMTPSA id p4sm3990234qkg.48.2020.04.24.09.34.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 24 Apr 2020 09:34:08 -0700 (PDT) From: Tom Rini To: u-boot@lists.denx.de Cc: Jagan Teki , Maxime Ripard , Anatolij Gustschin Subject: [PATCH] sunxi: Fix PHY regression on A20-OLinuXino-Lime2 and A20-Olimex-SOM-EVB Date: Fri, 24 Apr 2020 12:34:05 -0400 Message-Id: <20200424163405.16916-1-trini@konsulko.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 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.102.2 at phobos.denx.de X-Virus-Status: Clean When moving the PHYLIB PHY drivers around in Kconfig we did not at the same time perform a careful migration of the related drivers and sub-options. This lead to the case where previously Kconfig-enabled driver choices were now disabled on some platforms. Correct this by enabling both the PHY driver and sub-option on the above referenced platforms. Fixes: af2cbfd6b982 ("drivers: net: Provide Kconfig menu for PHYLIB") Fixes: 8728c97eff5b ("configs: Re-sync") Reported-by: Dario Signed-off-by: Tom Rini --- After checking back on the original commit I can see that these are the only two platforms to have been broken in the change. --- configs/A20-OLinuXino-Lime2_defconfig | 2 ++ configs/A20-Olimex-SOM-EVB_defconfig | 2 ++ 2 files changed, 4 insertions(+) diff --git a/configs/A20-OLinuXino-Lime2_defconfig b/configs/A20-OLinuXino-Lime2_defconfig index 2b082cab595d..28b558cbeb6d 100644 --- a/configs/A20-OLinuXino-Lime2_defconfig +++ b/configs/A20-OLinuXino-Lime2_defconfig @@ -18,6 +18,8 @@ CONFIG_DEFAULT_DEVICE_TREE="sun7i-a20-olinuxino-lime2" CONFIG_SCSI_AHCI=y CONFIG_DFU_RAM=y CONFIG_FASTBOOT_CMD_OEM_FORMAT=y +CONFIG_PHY_REALTEK=y +CONFIG_RTL8211X_PHY_FORCE_MASTER=y CONFIG_ETH_DESIGNWARE=y CONFIG_RGMII=y CONFIG_MII=y diff --git a/configs/A20-Olimex-SOM-EVB_defconfig b/configs/A20-Olimex-SOM-EVB_defconfig index 5b5ed3bb0a97..56f6ad82755b 100644 --- a/configs/A20-Olimex-SOM-EVB_defconfig +++ b/configs/A20-Olimex-SOM-EVB_defconfig @@ -15,6 +15,8 @@ CONFIG_AHCI=y CONFIG_SPL_I2C_SUPPORT=y CONFIG_DEFAULT_DEVICE_TREE="sun7i-a20-olimex-som-evb" CONFIG_SCSI_AHCI=y +CONFIG_PHY_REALTEK=y +CONFIG_RTL8211X_PHY_FORCE_MASTER=y CONFIG_ETH_DESIGNWARE=y CONFIG_RGMII=y CONFIG_MII=y