Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp1029958rwi; Mon, 10 Oct 2022 10:12:41 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6MvguMapjiN+pT5c+cgsoQWxmfI32zQwMB2gbUICcgJFbWz2jryp7vrOShz73UzULXpKDb X-Received: by 2002:a17:902:e944:b0:179:dee4:f115 with SMTP id b4-20020a170902e94400b00179dee4f115mr20822037pll.141.1665421961700; Mon, 10 Oct 2022 10:12:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1665421961; cv=none; d=google.com; s=arc-20160816; b=lFxhuVTrLaE7LXtSArRrUbm1p89hZwBQEqRnDQbxF7Ondbq1didSw1B/lqQsWxOCaT ts3G5tWPlBQPhdq9S3szU0QAXxnJ5sd7Nk4inbec569qAHZKVAN9sAuWiImVkMn4i3YC 3ENe/p3yN3a03u5+AHRSCJHExfhq09cLbM98I+r45jgrubguKbTNVSDvc+Jx1Qx78oWn gH1Uo3aBSrfFUmcWqE4/28weyFj0Ws98gb1pHaVgBcGIRQy5WD0W2e+q/CaqDT3hwwXf cIG147zja6Y1bF3oiD+ViLEwyXA/eTdRFdAvHOnK/0uGeXhL4bo1fhgIreGvkra2CiNh osJw== 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=1QxMbzayslkAE1FFMCUkmewOyzbrMACaLMR3Ux2vqSU=; b=CqSA4uhGkKNXwAqViUSCXLwO8mCLUUJNTMQ9v8+m0FqytADzGrMf+Zuvf+vtNv9vpu cguRyeXDlWQBfngjZYJ9XdIOgfQPfkXStuivM21JBhCqOrcT0e2fEFfCFm7sAovtx41Y bJT+MuFX9ULV+77a86pGHPNpdCYK+fOJ0QVuzWtpWHJVy66uN3KVkmZtmYdvgL0o+AjR 5G3GhWGE1mrk3TJkfcGQwDHsVk6Frptu86EZIndx2qTDYsub6sww4bj8FRTY36jQbKhf 9pxk1A9Lzd5C8llYDAoVbqpPY4aaeeMd3ljdkZwfxV8bDHmW4OKduIuiKS/U0trgAL24 EFVA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lunn.ch header.s=20171124 header.b=MUwKN4rN; 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 bk13-20020a056a02028d00b0045fc83ff3cdsi11749933pgb.622.2022.10.10.10.12.11; Mon, 10 Oct 2022 10:12: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=MUwKN4rN; 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 S229747AbiJJQwW (ORCPT + 99 others); Mon, 10 Oct 2022 12:52:22 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60622 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229644AbiJJQwS (ORCPT ); Mon, 10 Oct 2022 12:52:18 -0400 Received: from vps0.lunn.ch (vps0.lunn.ch [185.16.172.187]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 420E04B49F; Mon, 10 Oct 2022 09:52:17 -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=1QxMbzayslkAE1FFMCUkmewOyzbrMACaLMR3Ux2vqSU=; b=MUwKN4rNxmFOwMVQ2P0LdFmQh0 CdCPVdGAJpee59Ei8wFHGD6UBuWKFMiZ2VrJnBPeURURDuPJVcobicUIztKWitAUJrmnzm+tIm9BS NZzLWpO1Enqpdk7IDVTjZtB1Dx+pmXKYV5t1u08CMZTKrBGAyh5E6QJ4cF3GGLh08UfY=; Received: from andrew by vps0.lunn.ch with local (Exim 4.94.2) (envelope-from ) id 1ohw0X-001dZw-IC; Mon, 10 Oct 2022 18:52:01 +0200 Date: Mon, 10 Oct 2022 18:52:01 +0200 From: Andrew Lunn To: "Russell King (Oracle)" Cc: Soha Jin , Heiner Kallweit , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , 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: 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 05:43:07PM +0100, Russell King (Oracle) wrote: > On Mon, Oct 10, 2022 at 05:03:27PM +0200, Andrew Lunn wrote: > > 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. > > Do we want to support the "managed" property in the fwnode variant, > or persuade people to switch to phylink if they want that? managed has been documented in Documentation/firmware-guide/acpi/dsd/phy.rst so i think we need to support it. Andrew