Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp2220121pxj; Sun, 13 Jun 2021 12:50:17 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx9fAdyYb+/jZbwfSao6XFJZjsTSdFgYz3hwQQHQHrt7qplxp75v4eBiV297q0NmU/7+49n X-Received: by 2002:aa7:da8c:: with SMTP id q12mr13577277eds.368.1623613817501; Sun, 13 Jun 2021 12:50:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1623613817; cv=none; d=google.com; s=arc-20160816; b=jyMrmqB0EyotFlO1TiBwO6xmfz749p7gro6/T0eJLHkjMkj3gabpwCYq1udvlWtF16 UYufmzGFFHN44XUfzzirqiNiyZvlCRI7atEd7Lsgc663aDbTg3iFWqQjpHZOe7Amrc8Q OQVCiUT9zzXXhoBoTE36ogQPr2hHi6p8JPDQPr5tW0gf/sYlp8zURkvXuOTWwTAszJxl avZXgVGHif+9jWlNuKnhoC2oE3eRJNqVuoevz4XU30EAJKi547aSES8txPebgwuZrhVH DhdtfkKOoAv1lX/7lAmw9MM74pfZFXCGKTtYO+gssnV+HUB76cIji8z+9XlQiQjst4we s7yg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=lL7tVfmXSD23raXqXaZKAQwqFBlWd0U2PzBpKElohIM=; b=wzmssHaiimToG+o6MmoTNu/GQWjXEaWLiFX0mfU+M2v6LH6wx6tPLGWJBdwV8OsoBT 7TX+wwLvVTPk+TOpmPbnQSkwz7dkJ1BN2SllAjS4O2+2rdDgL6T8I333oK8JdB4lsQuB lOsmbqzD98c1zGqq2bsltmFtXcIMuczpYqCH5C0qTCpFPihSxw0iePW31rlVpvKsA5vH 9TmAZMppb80/q925cyxwsLZKVHKAKW55VaQMzBeeyoo+Etm6448gKaIXJ75seBYa/KK+ pz2S5zXtQ9oGYvb/x+hlmtHaFxWhQzieWg1j1E5d0dnL+jx0/uClt/aMId87S4c8/bW4 P54w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lunn.ch header.s=20171124 header.b=K5IYKFto; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id ka11si10216818ejc.367.2021.06.13.12.49.54; Sun, 13 Jun 2021 12:50:17 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@lunn.ch header.s=20171124 header.b=K5IYKFto; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231883AbhFMTtn (ORCPT + 99 others); Sun, 13 Jun 2021 15:49:43 -0400 Received: from vps0.lunn.ch ([185.16.172.187]:33834 "EHLO vps0.lunn.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231788AbhFMTtn (ORCPT ); Sun, 13 Jun 2021 15:49:43 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lunn.ch; s=20171124; h=In-Reply-To:Content-Disposition:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:From:Sender:Reply-To:Subject: Date:Message-ID:To:Cc:MIME-Version:Content-Type:Content-Transfer-Encoding: Content-ID:Content-Description:Content-Disposition:In-Reply-To:References; bh=lL7tVfmXSD23raXqXaZKAQwqFBlWd0U2PzBpKElohIM=; b=K5IYKFtokDKBag55xHZHbQwSxv IUyTegEqE7Jh1eEL4ENnLDR4wECt7iorXFBlAPGMTENq3oE7Jcm044F9VRh3EsZoheV5aAdVcwkv+ bAq/VIXmHG3YoLgEc16a6sJUNUzJ/Z+hB+7hHe7bBfkbLiOC0gPaDg3jqdI6/HITt6A4=; Received: from andrew by vps0.lunn.ch with local (Exim 4.94.2) (envelope-from ) id 1lsW55-009C08-Qk; Sun, 13 Jun 2021 21:47:39 +0200 Date: Sun, 13 Jun 2021 21:47:39 +0200 From: Andrew Lunn To: Marcin Wojtas Cc: linux-kernel@vger.kernel.org, netdev@vger.kernel.org, davem@davemloft.net, kuba@kernel.org, linux@armlinux.org.uk, jaz@semihalf.com, gjb@semihalf.com, upstream@semihalf.com, Samer.El-Haj-Mahmoud@arm.com, jon@solid-run.com Subject: Re: [net-next: PATCH 2/3] net: mvpp2: enable using phylink with ACPI Message-ID: References: <20210613183520.2247415-1-mw@semihalf.com> <20210613183520.2247415-3-mw@semihalf.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210613183520.2247415-3-mw@semihalf.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > +static bool mvpp2_use_acpi_compat_mode(struct fwnode_handle *port_fwnode) > +{ > + if (!is_acpi_node(port_fwnode)) > + return false; > + > + return (!fwnode_property_present(port_fwnode, "phy-handle") && > + !fwnode_property_present(port_fwnode, "managed") && > + !fwnode_get_named_child_node(port_fwnode, "fixed-link")); fixed-link and managed are not documented in Documentation/firmware-guide/acpi/dsd/phy.rst. Also, should you be looking for phy-mode? Andrew