Received: by 2002:a05:6a10:1d13:0:0:0:0 with SMTP id pp19csp652988pxb; Mon, 16 Aug 2021 14:13:17 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxJ7ZgiN5AmPhs71JyavkcxT/ByrLBHlzcsW+9lzJyySDfHtf+vw2UlNGsOyHvrfF+2fwJt X-Received: by 2002:a92:6e12:: with SMTP id j18mr542549ilc.243.1629148397253; Mon, 16 Aug 2021 14:13:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1629148397; cv=none; d=google.com; s=arc-20160816; b=FlDVTECdmC5U0LFXKpJl8oyKoZs0paRw4AY0h+RB4Pm6p/tJAdZcLL1usnq0sItHE4 8DTByYY2Ht2n7YczcN2ZSHn/y9x2WjcNAd0WHfTgFUW2pB0CmgyFQcyQ9/kPKwtkILut CLc4wo4mE4TLg9If0BWieyd0BTxcje38ZxpEJLd2Zc4h2ATIMrIMTK1iBGOJPk880ULI i3bUaNgnOKTO+pEnAkF5dr2ZeI+j2UucqT1XtbJLTcpJi4w4HJDYlGEhjhIm2xpTjBQx qeYb/l7PDfMgAkyeZys29qx/ZhmMDBtIE5cgsb+xPVXF5vnDxIMtoKknLREfFC+Kcdgp yOmg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=uU49V8oNTxUuUKJfCOPtOFSrBQEluIMcgIiHXrPZIC4=; b=0OL/7Oy1qRRqt+mrrIXh2X+hKPsZanlEcNHHVxDKME+GEGYLnEy0JNGHb2qnU2NrbC TUe+Job0IfNfykDUQR+70kbtqk2hlsVVsyGYKlQ5Td3D01k61BlcZoVNw3amtkxhVQ5q 1XkdsMXkRmAhlBQi1+eP/XhYFlsB2m62Ts4EYkz4OSZAMab0awhJdOnYZyPwWX4S6jje tztpJ7xPiqqEit1QSNepaWsecY3izgtPxRiC4zX/bzz2Xf5AW7GqVpZ/k1lb1ZUMlsmg SSYneQ2tAOpn4E+LA9Z43EXNXWwb+r3Z8d6wZ1FP4IVRZaejR38yJfj/MPohUA64nil3 BIJA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=u5L3iMHW; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id s12si73673iog.99.2021.08.16.14.13.05; Mon, 16 Aug 2021 14:13: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=@kernel.org header.s=k20201202 header.b=u5L3iMHW; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233264AbhHPVLv (ORCPT + 99 others); Mon, 16 Aug 2021 17:11:51 -0400 Received: from mail.kernel.org ([198.145.29.99]:57350 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231726AbhHPVLv (ORCPT ); Mon, 16 Aug 2021 17:11:51 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id F3FE960F46; Mon, 16 Aug 2021 21:11:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1629148279; bh=uU49V8oNTxUuUKJfCOPtOFSrBQEluIMcgIiHXrPZIC4=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=u5L3iMHW1ePBo+HV4RwoBM38N1kPUPjOqvAEmoqel0uYhbR0myrufWe9z2LAyHJY4 lb/5QJA3ijpQTAsr1t2m6LhkoZNuc+ZkoavBTrz/CmNJbMg1AVly/DMPSjQHWCc0zZ U9rzNLoLTxywz6+1ZHBL3tonDNccbofhtH7D6P9RqgLGFAY+IiufYAPhyv2HT5D9Lq kwrYsoEkfuYUg+9A1mZDIBWnmOyuapJ2s+7C2mwXYsQQDPiVQfgLkdbc1dq+rPxrhr XG1V9ZAKifG+au9CpMngXrILvNHiyLkoQFIkOEl6MJC0yYIZKGR1u+o5y3DlpQb56r pf4XJSHGgzOCg== Received: by mail-ed1-f51.google.com with SMTP id dj8so20595677edb.2; Mon, 16 Aug 2021 14:11:18 -0700 (PDT) X-Gm-Message-State: AOAM532j0uRL9fpWpy62X8IR+5Jx9FIDN2vsnLl18SHmsxDt6H3IibK5 nvY3QCGk0Rj3JPvku//ADpV87qMZkvw+8YMWVA== X-Received: by 2002:aa7:cb19:: with SMTP id s25mr161324edt.194.1629148277582; Mon, 16 Aug 2021 14:11:17 -0700 (PDT) MIME-Version: 1.0 References: <20210814023132.2729731-1-saravanak@google.com> <20210814023132.2729731-3-saravanak@google.com> In-Reply-To: From: Rob Herring Date: Mon, 16 Aug 2021 16:11:05 -0500 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v1 2/2] of: property: fw_devlink: Add support for "phy-handle" property To: Saravana Kannan Cc: Andrew Lunn , Frank Rowand , Android Kernel Team , devicetree@vger.kernel.org, "linux-kernel@vger.kernel.org" , netdev Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Aug 16, 2021 at 3:43 PM Saravana Kannan wrote: > > On Sat, Aug 14, 2021 at 8:22 AM Andrew Lunn wrote: > > > > Hi Saravana > > > > > Hi Andrew, > > > > > > > > Also there > > > are so many phy related properties that my head is spinning. Is there a > > > "phy" property (which is different from "phys") that treated exactly as > > > "phy-handle"? > > > > Sorry, i don't understand your question. > > Sorry. I was just saying I understand the "phy-handle" DT property > (seems specific to ethernet PHY) and "phys" DT property (seems to be > for generic PHYs -- used mostly by display and USB?). But I noticed > there's yet another "phy" DT property which I'm not sure I understand. > It seems to be used by display and ethernet and seems to be a > deprecated property. If you can explain that DT property in the > context of networking and how to interpret it as a human, that'd be > nice. For net devices, you can have 2 PHYs. 'phys' is the serdes phy and 'phy-handle' is the ethernet (typically) phy. On some chips, a serdes phy can do PCS (ethernet), SATA, PCIe. 'phy' is deprecated, so ignore it. The one case for displays I see in display/exynos/exynos_hdmi.txt should be deprecated as well. There's also 'usb-phy' which should be deprecated. Rob