Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp866102rwi; Mon, 10 Oct 2022 08:10:41 -0700 (PDT) X-Google-Smtp-Source: AMsMyM4ytgVKnSnxLi8kahzJ7lzoKMFSSrcByYiK3BvE/h4ABZQGKe5B3vTu5HTSuRZy6AkKIMVz X-Received: by 2002:a17:907:d90:b0:78d:48b1:496d with SMTP id go16-20020a1709070d9000b0078d48b1496dmr15275242ejc.665.1665414641063; Mon, 10 Oct 2022 08:10:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1665414641; cv=none; d=google.com; s=arc-20160816; b=yoErfriD69Z8S+vtjjGuddpc4zwfvZxl8rP5p3N0PO8QEr1F1rGeX/Q/4O+PXcNV80 UL/XICE/BMQNyrhzJNpOEEAcMZYDDfXjisWaryfL0eHQGVYuJvYoqyfqtLYIqxV049hO 9bnZW5OjPTwEJHsgmUdFb2RMfrKq0uGO2U+C7jDFA9GhH8XsSUWDWSvi6KYIGrC0q7// 8T5BFDGu+4bwRyVL2P3kHx+PnQJzSAWiz0aplzb+kkLi0g1AO6W/bmG3hiuBC5mx4zzV qkmqjOQprkUnH1hYqfLrABnFPUq5OBgm1sMF8bYW9g8PmNL1IKdDe3xm+VpNUmIbR4Ln rWYg== 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=rF8tmrJKpxqMBEvGCOCH0nL3X3grWDBvLB6F8L3Fm50=; b=dccVCnbIVxViefH6xy/PC9sig2u78b8wiITGW+MmtUeLplHApWHJbp/QKgeHN7gNdW Y1FGgz71BojQ5ko+ZUPWwTzjzI0xPVgSCYz+KbdhY7wqdxng9foQJ18F570H2dhN5UUx I3sH6YvqoniMtBmq4hRmyI/0xAQEcjnU/LOf+qXORpeJYStRTSMLYhoU/uL34KUtlcVK vLlfZZ8KRU8Hg8ExkKwnWjZK2/lrE911thzS/0SSa+KrUllmJVWrro/fInlpTBydCzUE O7bWhYMwcFPtNmZ3LD2vihEkwDHQZZzSD7S7xBgWF7QA54LkTaF8J8yi+xSCu5VlqLCe 2QCQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lunn.ch header.s=20171124 header.b=pOx84U6j; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id n12-20020a05640205cc00b00456d901922bsi12893320edx.510.2022.10.10.08.10.12; Mon, 10 Oct 2022 08:10:41 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@lunn.ch header.s=20171124 header.b=pOx84U6j; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229651AbiJJPEG (ORCPT + 99 others); Mon, 10 Oct 2022 11:04:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50660 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229462AbiJJPEF (ORCPT ); Mon, 10 Oct 2022 11:04:05 -0400 Received: from vps0.lunn.ch (vps0.lunn.ch [185.16.172.187]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 59FEC501B5; Mon, 10 Oct 2022 08:04:04 -0700 (PDT) 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=rF8tmrJKpxqMBEvGCOCH0nL3X3grWDBvLB6F8L3Fm50=; b=pOx84U6jkuZVjDn2vNO8Mz/oIV Xl76tVLvFyOnqlswMhtCw4f9Lti55gQD+zaoyHtqm6W/oJt3+BalQ2M6XG4MDM8EfZ+GdZovkt3Gs eaF/Loz2rkUfY2IOmXwffCxB/dJ3FGUWozUILS05kXF83QSvFThdTAcJtRgm9oy3N3Hg=; Received: from andrew by vps0.lunn.ch with local (Exim 4.94.2) (envelope-from ) id 1ohuJT-001dAc-E1; Mon, 10 Oct 2022 17:03:27 +0200 Date: Mon, 10 Oct 2022 17:03:27 +0200 From: Andrew Lunn To: Soha Jin Cc: Heiner Kallweit , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Russell King , netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] net: mdiobus: add fwnode_phy_is_fixed_link() Message-ID: References: <20221009162006.1289-1-soha@lohu.info> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20221009162006.1289-1-soha@lohu.info> X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_PASS,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Oct 10, 2022 at 12:20:06AM +0800, Soha Jin wrote: > A helper function to check if PHY is fixed link with fwnode properties. > This is similar to of_phy_is_fixed_link. You need to include a user of this new function. Also, not that ACPI only defines the 'new binding' for fixed-link. If this is being called on a device which is ACPI underneath, it should only return true for the 'new binding', not the old binding. Andrew