Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp2267773pxj; Sun, 13 Jun 2021 14:38:12 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwfceSr9luEmiAdPv+qzWXKlNnqlk9MKHs4k6Jh/8WhUs0b8laFvTF9oLt95OBPK7Tlub3A X-Received: by 2002:a17:906:f250:: with SMTP id gy16mr9625047ejb.107.1623620292218; Sun, 13 Jun 2021 14:38:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1623620292; cv=none; d=google.com; s=arc-20160816; b=1Ht7w+sAO2fN9Ellbk/PWobj9Ex0hP8detLh69Ov0IdzIcnsD0cKEopjKyiZJrp388 Tw+7UGPpHh3qAqfmWFU/uJQo2m1xAsGe2EZmqO6Pltpg9vjnwCo7NKfJgz2p+xZ9IEpd OQdmIKiKYmYUUpDlRrmAcrw9rzEOcV0pzH+jZWBlBIi5GkENHW3zboyIVo2BXsj2wsDr zVWAsdlVaXGRljijNWK9kvdf2vZok+NcZ9FMVt7uKG2AumaWXXizUU9g7WUJOu2Df6CY AnzfDt/eXLkqoVKNba4/gnW5QBnQr+ou/UMkxyf4v0AHd/MToJ3W3t2uZ15Md0XDcn1F 7+2A== 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=mg4Lpxlg2vwXRq7IENBCwUP9tCkcfMn5TrmgBWwvVrs=; b=H//xXLmx6NdImamPC9cR+7hON9Mu77WFJDtTNkzndN6VtOvBDPXL1j9Tib+GAMbm88 0BNTY86lNLcWCDkfvH/+Ud7q1bGrZWtC8KX4nvHc5di2LQLb6TsMhq1O5iaDfBAApeRT 0HY0GWbxFSDQ9ZLEmVcSj6bCkfnjGsCBhUoj/6DEJFX+BTkeYxphQoh2wDR6rZFQTSiF QmAp5maJ1yW0lImiKZHTLkGBZRVXJUJWrsTwmxF2U3E1wM7jX97MyiCh4hubp8TajzJ5 GGCScSmO0Z/Suz+WBJtQUG4aG4Pa6UMFzxF1JNw5/nfZLVlB4PeWtJEG9v4P9kovbkCz wDzg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lunn.ch header.s=20171124 header.b=0txgwuGX; 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 l15si9999405ejc.521.2021.06.13.14.37.49; Sun, 13 Jun 2021 14:38:12 -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=0txgwuGX; 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 S232133AbhFMVhY (ORCPT + 99 others); Sun, 13 Jun 2021 17:37:24 -0400 Received: from vps0.lunn.ch ([185.16.172.187]:34784 "EHLO vps0.lunn.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232020AbhFMVhU (ORCPT ); Sun, 13 Jun 2021 17:37:20 -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=mg4Lpxlg2vwXRq7IENBCwUP9tCkcfMn5TrmgBWwvVrs=; b=0txgwuGX11gGqdNfbJo7CfC1bv BLV+VwZn75me2Kax6Rkh11wzSbhu33Uxz7RXoJqU9hWy/jRPNtdZUFTA1cDPp9LaK2AeogMaU/4kA brCzoG+7l2LL+UessyKx454iL4zokwpBDvzjY5g1hNK07SqNtYX+eHXJ/2LNTrpDrrzU=; Received: from andrew by vps0.lunn.ch with local (Exim 4.94.2) (envelope-from ) id 1lsXlD-009Csz-GJ; Sun, 13 Jun 2021 23:35:15 +0200 Date: Sun, 13 Jun 2021 23:35:15 +0200 From: Andrew Lunn To: Marcin Wojtas Cc: Linux Kernel Mailing List , netdev , "David S. Miller" , Jakub Kicinski , Russell King - ARM Linux , Grzegorz Jaszczyk , Grzegorz Bernacki , upstream@semihalf.com, Samer El-Haj-Mahmoud , Jon Nettleton 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: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > True. I picked the port type properties that are interpreted by > phylink. Basically, I think that everything that's described in: > devicetree/bindings/net/ethernet-controller.yaml > is valid for the ACPI as well So you are saying ACPI is just DT stuff into tables? Then why bother with ACPI? Just use DT. Right, O.K. Please document anything which phylink already supports: hylink.c: ret = fwnode_property_read_u32(fixed_node, "speed", &speed); phylink.c: if (fwnode_property_read_bool(fixed_node, "full-duplex")) phylink.c: if (fwnode_property_read_bool(fixed_node, "pause")) phylink.c: if (fwnode_property_read_bool(fixed_node, "asym-pause")) phylink.c: ret = fwnode_property_read_u32_array(fwnode, "fixed-link", phylink.c: ret = fwnode_property_read_u32_array(fwnode, "fixed-link", phylink.c: if (dn || fwnode_property_present(fwnode, "fixed-link")) phylink.c: if ((fwnode_property_read_string(fwnode, "managed", &managed) == 0 && If you are adding new properties, please do that In a separate patch, which needs an ACPI maintainer to ACK it before it gets merged. Andrew