Received: by 2002:a25:f815:0:0:0:0:0 with SMTP id u21csp3357616ybd; Tue, 25 Jun 2019 00:55:40 -0700 (PDT) X-Google-Smtp-Source: APXvYqw8UdJDCK4L5S0srDWE52/Li/hLhBk0QAsaTC7Izm+tcbjtYcayzT4wc2YYD0rvwt+gFMAd X-Received: by 2002:a17:90a:a00d:: with SMTP id q13mr29888767pjp.80.1561449340575; Tue, 25 Jun 2019 00:55:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1561449340; cv=none; d=google.com; s=arc-20160816; b=N4UpxU1+Hl4GssgksGr9G4TLGWgDGG9UsdCrbkhf+QbjrXEPa5qSlH/TAOsXj9+1VS lXC7yuoRrNTRz4HxISVSfZ+w40+N0XWZLSqnS1YTCD4/AcZt+dafGJViF0IE/gIgLhjF uJAOLOppYPnHX3xRW25zekkVJLMsSPx5A+HoA4vCqdxbCR4ZbR/TIM1YVRQSTfDXETKg V12b42h0TIHT1mf4HfGQwhqqskbXTx3KG2oaW9+XrAW48QnhToDPh34JbHTNcJYJaX00 hMP+a1TpVX9QCeI9bkE5fvUiuNouTUV1cjWgj0Hk+JLAjM/nhtYPRSAbtkNQhtBXJbq4 JBnQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=csFu0YmvTKK2ZSLNBJG7CwndFZ+eD55CqqavbomHDMc=; b=WHzteN5b7z7zI3tgFWALpgn8wLHqXyUqQhVAnlba67wWeu7LUj3YXN17WSzWOd+WHf Ex9y/t887R/8iZepKKJC42nBzRTaQcM10OpDuV3pztv9dBRqbOwf/MES0jjWX80/seRh VVjTChrWJx+O3tCtZrbdFZoui6tvTW/aOuchwm2d735bE19O5hpKNWIbKWQ9N4GrF5JD CDr+7+LobcFoIhBkiaaPBhlDaGiB8HhU2Er04gBk5/v9XKRznDrXDvCaAfh1qsdM0Ieq 0/0gIHWdV+qBWDY8dKy9Hj0hfhs+gMGP/cNKXSeAm4dYfAEB50rOypW0Ku19DKyDqrb3 T4wg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 15si12318088pgz.466.2019.06.25.00.55.25; Tue, 25 Jun 2019 00:55:40 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729825AbfFYHuu (ORCPT + 99 others); Tue, 25 Jun 2019 03:50:50 -0400 Received: from gloria.sntech.de ([185.11.138.130]:38838 "EHLO gloria.sntech.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726441AbfFYHuu (ORCPT ); Tue, 25 Jun 2019 03:50:50 -0400 Received: from ip5f5a6320.dynamic.kabel-deutschland.de ([95.90.99.32] helo=diego.localnet) by gloria.sntech.de with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hfgDq-0002jy-Qy; Tue, 25 Jun 2019 09:50:34 +0200 From: Heiko =?ISO-8859-1?Q?St=FCbner?= To: Jose Abreu Cc: Katsuhiro Suzuki , Giuseppe Cavallaro , Alexandre Torgue , Maxime Coquelin , "netdev@vger.kernel.org" , Andrew Lunn , linux-arm-kernel , Linux Kernel Mailing List Subject: Re: stmmac regression on ASUS TinkerBoard Date: Tue, 25 Jun 2019 09:50:34 +0200 Message-ID: <4489696.oEgVQY3s1y@diego> In-Reply-To: <78EB27739596EE489E55E81C33FEC33A0B9D7065@DE02WEMBXB.internal.synopsys.com> References: <8fa9ce79-6aa2-d44d-e24d-09cc1b2b70a3@katsuster.net> <78EB27739596EE489E55E81C33FEC33A0B9D7065@DE02WEMBXB.internal.synopsys.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, Am Dienstag, 25. Juni 2019, 09:46:12 CEST schrieb Jose Abreu: > From: Katsuhiro Suzuki > > > I checked drivers/net/ethernet/stmicro/stmmac/stmmac_main.c and found > > stmmac_init_phy() is going to fail if ethernet device node does not > > have following property: > > - phy-handle > > - phy > > - phy-device > > > > This commit broke the device-trees such as TinkerBoard. The mdio > > subnode creating a mdio bus is changed to required or still optional? > > Yeah, with PHYLINK the PHY binding is always required ... > > How do you want to proceed ? I think DT bindings can never break between > releases so I will probably need to cook a patch for stmmac. Correct ... old devicetrees on new kernels should not break. Especially as this affects a big number of boards potentially loosing network support and in the devicetree binding the phy property is also marked as optional. Heiko