Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp1372092ybi; Wed, 3 Jul 2019 14:34:12 -0700 (PDT) X-Google-Smtp-Source: APXvYqyelCpUX8VQ6jqaRixeLPiEbKtnAi8BYStIiJBGq7jE/T3Vsx39HNjViVrs0jkzPk6jb3Tx X-Received: by 2002:a17:902:d88e:: with SMTP id b14mr43966573plz.153.1562189652093; Wed, 03 Jul 2019 14:34:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1562189652; cv=none; d=google.com; s=arc-20160816; b=BnBXHNCCgvBGXV+Y4a2PiUqkWJKcOLln4VClqYAtqXsqIFAacwB/9x5wrDz2LJfWat zLu5TZXUMaTEg+tMNqXJNj4K6l7ezm//3YfdAiVnAy18aPyZF9tQ6z1VtxJyjP1euPdV /Vct1iK3QYDE28Pwzsp1UXiV80v8vy0e970Xs1l6DCgD6N3Ztt4FfWhJ04TL0EJlJFcq ZjRPBZULHzwmf3YErxnALFkOg8uKO1bbXIPyV0cSOpIHYg4qFuqZzsJLAHIaTkfL3VYH gg93y7BRFN5oijAhL5QBs31OlHWt1PrSwY5VGtth1A2PV/swkp9kGeZo3L4wfw/LlW14 zvDg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=DwOQ1VhqzOlKO8GcPOTAjm30bxi+tef4PCN5in+ERJQ=; b=T6hU5kyQhUeW9uSvWvkCexuXKpOq9WNhNvkZiJl2ux/An+fkaFP4Br+qT9i2taSAit c5xNttRg+exuhQtUDebnnNLtEZJmujgwRSAQQYqarByq/zR5UlCbZetOar7lLF5SPeiN AshjQpHwpoRU5G+dYfpVnEsgzBAk8UOvEmVEtqUCNXCzhCoanBF1xPq2K07USN7KkEPe QAXp1rAx4dsAj905zcDXfNpyzDlYfhFL0MrVXzqHx7F04UkpUacVT+4OP/51tPaxV3uV Mcqd0BavnwgbpTMl6I8tClgnF9yQY506TLA79C7Q9FicBfByjUKQ5m0MurvExk6CK/qq lREA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@lunn.ch header.s=20171124 header.b=4D1D82b7; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id z7si3412563pgi.257.2019.07.03.14.33.56; Wed, 03 Jul 2019 14:34:12 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@lunn.ch header.s=20171124 header.b=4D1D82b7; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727289AbfGCVdf (ORCPT + 99 others); Wed, 3 Jul 2019 17:33:35 -0400 Received: from vps0.lunn.ch ([185.16.172.187]:52380 "EHLO vps0.lunn.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726550AbfGCVdf (ORCPT ); Wed, 3 Jul 2019 17:33:35 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lunn.ch; s=20171124; h=In-Reply-To:Content-Type:MIME-Version:References:Message-ID: Subject:Cc:To:From:Date:Sender:Reply-To:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=DwOQ1VhqzOlKO8GcPOTAjm30bxi+tef4PCN5in+ERJQ=; b=4D1D82b7l3oxNLiNgWPNJH70tZ av10Vp1R7e8O4us3SP9fUgWsEl4zL0VLCWoNZOouCgsIC7YKPWeIxAYBF7g5VKcf1QOaSXe7kx9AO T/LacQKMGHL+qLmc7wObJvUsSswpjRlmIh0wfEXC+66B4ewmezgzopsoxdDhTlEFCkIU=; Received: from andrew by vps0.lunn.ch with local (Exim 4.89) (envelope-from ) id 1himsZ-0008CN-3n; Wed, 03 Jul 2019 23:33:27 +0200 Date: Wed, 3 Jul 2019 23:33:27 +0200 From: Andrew Lunn To: Rob Herring Cc: Matthias Kaehlcke , "David S . Miller" , Mark Rutland , Florian Fainelli , Heiner Kallweit , netdev , devicetree@vger.kernel.org, "linux-kernel@vger.kernel.org" , Douglas Anderson Subject: Re: [PATCH v2 1/7] dt-bindings: net: Add bindings for Realtek PHYs Message-ID: <20190703213327.GH18473@lunn.ch> References: <20190703193724.246854-1-mka@chromium.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > I think if we're going to have custom properties for phys, we should > have a compatible string to at least validate whether the custom > properties are even valid for the node. Hi Rob What happens with other enumerable busses where a compatible string is not used? The Ethernet PHY subsystem will ignore the compatible string and load the driver which fits the enumeration data. Using the compatible string only to get the right YAML validator seems wrong. I would prefer adding some other property with a clear name indicates its is selecting the validator, and has nothing to do with loading the correct driver. And it can then be used as well for USB and PCI devices etc. Andrew