Received: by 2002:a05:6a10:1d13:0:0:0:0 with SMTP id pp19csp2221744pxb; Mon, 23 Aug 2021 15:10:28 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy76tD8KX7ClPC93JC3p/uGkNnpKgPY0/lVX4AkCw6mUBpSn+qAiGO85OPlngsv1u566ZyJ X-Received: by 2002:a17:906:d1d6:: with SMTP id bs22mr36839525ejb.554.1629756627989; Mon, 23 Aug 2021 15:10:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1629756627; cv=none; d=google.com; s=arc-20160816; b=RNBDbHxy3yhMzd8YQLmr/AO0NxINQh83ISffTrSENDZYWjHKqpXVBmAl2qw/AdaYAO lFsexEJ2FaGOC6yWwZo6LQF+avki/qCstvIgbGyeJvd+2ex3L2hCH5WPMxzKscMHOeDW 38OgxLfB2Gk1g/UaiBDu7ZYe0ARDKpATkVdIegVPDm6WsMEmdA3bNwvn71ideYyHgzPW Bpg27TO0hGiNXyTTRIivKyce6jmNPeFwWhh7v4O8JY89iybuC+Ug0eMvDL8E3h+LIds8 Z3nPLNmcLYi1ASy6iASbX1XJsiUDAHoVTSunl0ch4M9HxzOD5vHpc8AAnlihZvIRqcnq 7KMg== 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=/UczgWwigc1TOQ0MtIShvCxZpfCTa18aq1rdTT2fNyg=; b=OSDNdZgJJSXih6PfmMVdn7KdeRLloACya+7+YswpxYVUGdKRCMXBDefosD1wo6Ssyy XRWWTd2H2gyee/sEtCFhT1avNuvPpF8/WvSSHtIuWmvJou8rMnXgODs5bR5I9xOPtO4j cV97u+O7GXLDP39CIWSEHgaEd6W+45zNQLEFO+kqsf200d2Uq9wI6+Z9CK3ZrhgMxEWG BTIacyFxfyEnmnoL2r0cXsjsRt7Wj0WIZUAhCpLmkpLKbWQakpNlHKPS00gklUiS2mlq hunMAv+9QywgBmNyDetA+fMXUUTAHqOzQY4t0gmzmJdUHfL+q/pZ4IEzNtH75UB9Kasl mCCA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=jLW5BSFN; 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 aq28si6909913ejc.374.2021.08.23.15.10.03; Mon, 23 Aug 2021 15:10:27 -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=jLW5BSFN; 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 S233038AbhHWWJY (ORCPT + 99 others); Mon, 23 Aug 2021 18:09:24 -0400 Received: from mail.kernel.org ([198.145.29.99]:49468 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229800AbhHWWJV (ORCPT ); Mon, 23 Aug 2021 18:09:21 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 40270613CD; Mon, 23 Aug 2021 22:08:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1629756518; bh=/UczgWwigc1TOQ0MtIShvCxZpfCTa18aq1rdTT2fNyg=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=jLW5BSFNUEyvl25xy68xdaRmbDWuPAz7zNzdB6Nygeqqz/iaK8wWhust/rWdROcXI Iou/RGWfAhtFVSVwsav/vZlqsVxgH4bMtP68fTAkBp6WwfRggsqm9DxAHqn/EP1T8u Bw8PTvjZ3qPtmVYu23EvCqz1HNMzmRsreO0EP1ZMYyP47/Ole9x/VXNmD+pmrjkThg RF5Je730VIJfzv3CIfbPELn/o5CtBRi8S+MJ/SgNRfTJj+g2b/u4/DISHpoaFO9246 KUxVeNuxIsCJ6lG60NUnHaZmp5CVhjTGFVshw9k8ohcLGhCwzqKfJswG02lbcAkNYT ZEIrXmH6tOyJA== Received: by mail-ed1-f44.google.com with SMTP id q17so6588336edv.2; Mon, 23 Aug 2021 15:08:38 -0700 (PDT) X-Gm-Message-State: AOAM5329SoJ8vWVWgC9K8Eqc2KHHSZwnTJyawcjxpJvdDMKsNJezEDIQ +5m3YY+6WhP3EdV7u2am1/6W+60X5pIDNwIJHA== X-Received: by 2002:a05:6402:1215:: with SMTP id c21mr39845422edw.137.1629756516853; Mon, 23 Aug 2021 15:08:36 -0700 (PDT) MIME-Version: 1.0 References: <20210818021717.3268255-1-saravanak@google.com> <0a2c4106-7f48-2bb5-048e-8c001a7c3fda@samsung.com> In-Reply-To: From: Rob Herring Date: Mon, 23 Aug 2021 17:08:25 -0500 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v2] of: property: fw_devlink: Add support for "phy-handle" property To: Saravana Kannan Cc: Andrew Lunn , Marek Szyprowski , Frank Rowand , netdev , Android Kernel Team , devicetree@vger.kernel.org, "linux-kernel@vger.kernel.org" , Neil Armstrong , "open list:ARM/Amlogic Meson..." Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Aug 23, 2021 at 3:49 PM Saravana Kannan wrote: > > On Mon, Aug 23, 2021 at 12:58 PM Andrew Lunn wrote: > > > > > PHY seems to be one of those cases where it's okay to have the > > > compatible property but also okay to not have it. > > > > Correct. They are like PCI or USB devices. You can ask it, what are > > you? There are two registers in standard locations which give you a > > vendor and product ID. We use that to find the correct driver. > > For all the cases of PHYs that currently don't need any compatible > string, requiring a compatible string of type "ethernet-phy-standard" > would have been nice. That would have made PHYs consistent with the > general DT norm of "you need a compatible string to be matched with > the device". Anyway, it's too late to do that now. So I'll have to > deal with this some other way (I have a bunch of ideas, so it's not > the end of the world). This is not the first time the need for compatible strings for MDIO devices has come up, but MDIO devices are special (evidently). I should have taken a harder stance on this which should be simply, if your device requires having a node in DT, then it requires a compatible string. Rob