From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-0.8 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 4B4CCC11D3D for ; Thu, 27 Feb 2020 17:36:49 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 168BA2469F for ; Thu, 27 Feb 2020 17:36:49 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="X+S39rwE"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=lunn.ch header.i=@lunn.ch header.b="vJqihBEN" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 168BA2469F Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=lunn.ch Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=jH/CFN7z/ZBGzZCS13GkV5n36m7dobkLDDhUubUEl4w=; b=X+S39rwEjDzdoj e4t13Dbon5EWAAKTW092KoH9q4/VhHC30d2ZX4p/Bc4maDi2PiRrnC4Q7t7UvwT76Xs99cv6xVW1s 3UvKA3JHC5MBwC+Vkr9mo0epr2LU3RN1t3KzqrJF/vaN2XE6++rrA94uc/BcrtlRgYftE+xVtGSb8 LL1sg2rBy3wlqqwpP70kQAfX5QQbYNq0gwp3Ao1hOMejz2eflYzhaDNbL93iTD5uwuUPFmeYaeioR 4stjGKJ0PuOOmI8TnUV2vwN2Ih6J/pZD4su0koe+HD0zPNsxANmAQS0/P50Iij1VnZPuJnHgaCDVX NVgNmMyOeuxHEWOIygmg==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1j7N5c-0006I4-JN; Thu, 27 Feb 2020 17:36:48 +0000 Received: from vps0.lunn.ch ([185.16.172.187]) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1j7N5Z-0006He-MX for linux-arm-kernel@lists.infradead.org; Thu, 27 Feb 2020 17:36:46 +0000 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=0F0tK5/ubcWROjWTPQxm6Y15x5cP/M3Yx4UdnWKYU5s=; b=vJqihBENKh82ptrEG8k2m+03Hs tf6ULdHn5bXGkWoqJFRY17MR3qEapLlh2RJZ/WBl4zKLI1YzCWGlF/Vjc6MVgFZuwE3OHYVQhdV2b C4EUwx9KiAfS6viubwFhiykxps8m0Jjt30ANmwcdE6FFwga6FOrVfXKrz4UvYwYXaA90=; Received: from andrew by vps0.lunn.ch with local (Exim 4.93) (envelope-from ) id 1j7N5Q-0006eR-NP; Thu, 27 Feb 2020 18:36:36 +0100 Date: Thu, 27 Feb 2020 18:36:36 +0100 From: Andrew Lunn To: Russell King - ARM Linux admin Subject: Re: [PATCH net-next 1/3] dt-bindings: net: add dt bindings for marvell10g driver Message-ID: <20200227173636.GE5245@lunn.ch> References: <20200227095159.GJ25745@shell.armlinux.org.uk> <20200227172608.GO25745@shell.armlinux.org.uk> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20200227172608.GO25745@shell.armlinux.org.uk> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200227_093645_741708_1E0135F5 X-CRM114-Status: GOOD ( 10.16 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mark Rutland , devicetree@vger.kernel.org, Florian Fainelli , Jason Cooper , netdev , Rob Herring , Sebastian Hesselbarth , "David S. Miller" , "moderated list:ARM/FREESCALE IMX / MXC ARM ARCHITECTURE" , Heiner Kallweit Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org > > > + allOf: > > > + - $ref: /schemas/types.yaml#/definitions/uint16-array > > > + - minItems: 1 > > > + maxItems: 4 > > > + > > > +examples: > > > + - | > > > + ethernet-phy@0 { > > > + reg = <0>; > > > > This needs to be under an 'mdio' node with #address-cells and > > #size-cells set correctly. > > I wish these things were documented somewhere... I'm pretty sure this > passed validation when I wrote it. Documentation/devicetree/bindings/net/mdio.yaml Rob, is there a way to express the hierarchy between yaml files and properties? Can we say that a phy, as defined by ethernet-phy.yaml should always be inside an MDIO bus as defined in mdio.yaml? Thanks Andrew _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel