Received: by 2002:a05:7412:d8a:b0:e2:908c:2ebd with SMTP id b10csp930805rdg; Fri, 13 Oct 2023 05:43:32 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFDY8CHejVdI67+z4dE68htuGnBDxWhnwMVlxihe/KwEACnxXLB5byRQGd1NMPvkf1/wGu8 X-Received: by 2002:a17:903:32c1:b0:1ca:701:b0c8 with SMTP id i1-20020a17090332c100b001ca0701b0c8mr1196706plr.8.1697201011817; Fri, 13 Oct 2023 05:43:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697201011; cv=none; d=google.com; s=arc-20160816; b=YybDJKjApJmfCas53oN+tf7KOnCOEf1+ywCJLdHMSv8lrkxUfbyT5XP3G7qGa2V8Ym c2KOKbeVeTyYfaDP1qNdIYTIX9uROdYgjP5Od+Hhgxa5QAgSO8UpyDYpadVyybltVjao 1Vqcr9AmaaVbN8iJUGhTsKti5QrijCSwb4YYNDtY9p3keD6VKcz6IWx6Npp9+k17/RWW R7tjiGL+hj60fwMgZYP/n8t0LvsLb4nWE6r53bNqRYikU7IVmPX9mDZ0Qor69k14vT5m sf/FNWdCYb+wGQDxNls+/Rt1dg12+7CnxDvvUCoqB3c2PnJasT4XcaUdbDMX/dcp3xEz htUg== 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=fPquRdX+fyaXxcACERQp1ldJLvmp6A1Oj12yYYIMkoM=; fh=v4rhVmxRB1ysXB5NFItJFAO75AJhQiOH344WFaLSz+A=; b=v1CiyKOEJo4xnJe1PJddSWfhgdZhKyEa7B9lbN3/Pb29K+w/hzrwUD5OqJ6gGFRzBN VanPLvWfm30xKHeSOdYa7SBVHLQ/52bQmkTWwdM+2BifERseX1Zig5y9gRKYPL1gCH/d r4KD88/RkQptLWUAOEd3JtdKoLu+5BzS37WfdvoYyBN08pztQo4aQ4AhU/DhPa884HR/ 1a2DnARmAyIIfTDDFDnIAoSRZm/WMo3w/uOujRXdSLZvSMyUQ0ahnJuUIC2cPC7TRCE7 MRACf88n3YmixsKsJwEHeN3Zx00MWyaZE+8oLIhsRQdi+N+VNZoWz3+Oqo+/Lna3/boZ X6gQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lunn.ch header.s=20171124 header.b="Sl/UoMzL"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=lunn.ch Return-Path: Received: from howler.vger.email (howler.vger.email. [23.128.96.34]) by mx.google.com with ESMTPS id kg14-20020a170903060e00b001c9abee0d76si4110998plb.331.2023.10.13.05.43.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 Oct 2023 05:43:31 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) client-ip=23.128.96.34; Authentication-Results: mx.google.com; dkim=pass header.i=@lunn.ch header.s=20171124 header.b="Sl/UoMzL"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=lunn.ch Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by howler.vger.email (Postfix) with ESMTP id 47A5E82BB186; Fri, 13 Oct 2023 05:43:29 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231134AbjJMMnU (ORCPT + 99 others); Fri, 13 Oct 2023 08:43:20 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47120 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230220AbjJMMnT (ORCPT ); Fri, 13 Oct 2023 08:43:19 -0400 Received: from vps0.lunn.ch (vps0.lunn.ch [156.67.10.101]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DBC1B91; Fri, 13 Oct 2023 05:43: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=fPquRdX+fyaXxcACERQp1ldJLvmp6A1Oj12yYYIMkoM=; b=Sl/UoMzLoDOWtNKjOlu/f0ns0S /BHqoWpqfH9f1sEuGuvowgltG3yVND2t4/0s7/JgQtRJdXHA2t5Tu88q0nKQqKpX+SF2ILZY4tg9f dFDROcdQ1FoqHvxHAcnyKTWmcONwhdycPJoyTNHJdGgT7DcMVVc+XUYs7fzg0QnEn1kU=; Received: from andrew by vps0.lunn.ch with local (Exim 4.94.2) (envelope-from ) id 1qrHVU-0025g3-A6; Fri, 13 Oct 2023 14:43:08 +0200 Date: Fri, 13 Oct 2023 14:43:08 +0200 From: Andrew Lunn To: Linus Walleij Cc: Gregory Clement , Sebastian Hesselbarth , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Russell King , Florian Fainelli , Vladimir Oltean , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Christian Marangi , linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, netdev@vger.kernel.org Subject: Re: [PATCH 2/3] RFC: dt-bindings: marvell: Rewrite in schema Message-ID: References: <20231013-marvell-88e6152-wan-led-v1-0-0712ba99857c@linaro.org> <20231013-marvell-88e6152-wan-led-v1-2-0712ba99857c@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20231013-marvell-88e6152-wan-led-v1-2-0712ba99857c@linaro.org> X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on howler.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (howler.vger.email [0.0.0.0]); Fri, 13 Oct 2023 05:43:29 -0700 (PDT) > +properties: > + compatible: > + oneOf: > + - enum: > + - marvell,mv88e6060 The 6060 is a separate driver. Its not part of mv88e6xxx. So it should have a binding document of its own. > + '#interrupt-cells': > + description: The internal interrupt controller only supports triggering > + on IRQ_TYPE_LEVEL_HIGH > + # FIXME: what is this? this should be one cell should it not? > + # the Linux mv88e6xxx driver does not implement .irq_set_type in its irq_chip > + # so at least in that implementation the type is flat out ignored. > + const: 2 This interrupt controller is for the embedded PHYs. Its is hard wired active high. > + mdio-external: > + $ref: /schemas/net/mdio.yaml# > + unevaluatedProperties: false > + description: Marvell MV88E6xxx switches have an external mdio bus to > + access switch ports. This is used to access external PHYs attached to the ports, not the ports themselves. > + > + mdio1: > + $ref: /schemas/net/mdio.yaml# > + unevaluatedProperties: false > + description: Older version of mdio-external > + deprecated: true > + properties: > + compatible: > + const: marvell,mv88e6xxx-mdio-external The driver only looks at the compatible. It does not care what the node is called. So you are going to need to change the driver if you want this in the schema. Andrew