Received: by 2002:a05:7412:1e0b:b0:fc:a2b0:25d7 with SMTP id kr11csp1152255rdb; Fri, 16 Feb 2024 06:59:46 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCWnngeaXC0cCEIxS3xU+DS0GybIivC7ZsWbjuchTez0zoYlUY3VqtQxeUeriLOiJ01zic4oe3H+obEXK/XRMXi4cE1EzFt4jluOqr0ykA== X-Google-Smtp-Source: AGHT+IEvSVcNN8PrV081E675Lx07kIUl/neOROEkxNrWomTMzpspu2zLniVhvWikYH0RXxWiMGAr X-Received: by 2002:a05:6a20:6f88:b0:19a:47f2:5766 with SMTP id gv8-20020a056a206f8800b0019a47f25766mr6019832pzb.56.1708095586487; Fri, 16 Feb 2024 06:59:46 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708095586; cv=pass; d=google.com; s=arc-20160816; b=XtfW1GjYyqTFd6HffOwGh3ryUB0NDWEhFTY4sgOuA4KgXSVOmYi/hb6oci7e4y2LWy Z9oHo2v4YfRc9e2qUmyRf6ojD2XjCPFpAVgNJomNY9N6aLFMb/76tXrOuacV1Um2Kkou oil/yPfIS7PzMZZc0WjLJ010OAUU/oB7dl2FVBvnLZTLO9jGvMLxH1uyjW7CADE1GMpC ZAk7Bl3X0jZqVQMQd8waeggt30q+6JZId28AtmfNuo0LCYRnVsCk2F7EZB4K1LhzwoLT ul76CjUPjLf0KSi9jEnCdalCOofgfOaGnGWO1kmY3NUZ+EDDwx/wGeoZNPIFjzrouV5c BfHA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=GKVD50tTDfoR5AN5ZAfMW870T5tyYtBdIEeR8ZEXvJA=; fh=3HbTkZp5WVEQlSXG0ThNzhYnDYsBA1Z+pnDGBwqCcac=; b=KuakaGFgfRNkuoVk2XIeuqBM4ykj8fjSDfujJBcFgfeuJp/zo9AlZyjiSt2oJnLSHV 5laoK4/Sy+tJIwZtA0mQrZ2PMSy3Qh3FbZmp4pRdissy2ZrujWnu7/UXU/d4q9HDyUA1 bAAWv8ALHpSaRuKWc2/QshZX0MQsq/KGReG3LGu6LkfnqFntXAOvLeyDaHUB5f7ynHN7 dtspOTukdYYEjmpt+xcc0f81CSVoHYZfY9u/LSdGwns60KUBqLD0d60Ag9Begc6ZMNAj rYT4y6AdqFl4VOEqvLkoiREfX5pshJHK1eUTehbNINCMcvd1jNvc9I4dMA8kO3c/OsDQ NC5A==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@lunn.ch header.s=20171124 header.b=iZOucqB8; arc=pass (i=1 spf=pass spfdomain=lunn.ch dkim=pass dkdomain=lunn.ch dmarc=pass fromdomain=lunn.ch); spf=pass (google.com: domain of linux-kernel+bounces-68652-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-68652-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=lunn.ch Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id fa24-20020a056a002d1800b006e07c7be258si44099pfb.39.2024.02.16.06.59.46 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Feb 2024 06:59:46 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-68652-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@lunn.ch header.s=20171124 header.b=iZOucqB8; arc=pass (i=1 spf=pass spfdomain=lunn.ch dkim=pass dkdomain=lunn.ch dmarc=pass fromdomain=lunn.ch); spf=pass (google.com: domain of linux-kernel+bounces-68652-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-68652-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=lunn.ch Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 3A0BE281C96 for ; Fri, 16 Feb 2024 13:40:55 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id D8C4B12B16A; Fri, 16 Feb 2024 13:40:43 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=lunn.ch header.i=@lunn.ch header.b="iZOucqB8" Received: from vps0.lunn.ch (vps0.lunn.ch [156.67.10.101]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 28B1878691; Fri, 16 Feb 2024 13:40:40 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=156.67.10.101 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708090843; cv=none; b=h1OUMlfxWNSBms5jfwq14DLur1cS/JkwagktF46q9y27veXhyfWqhrGYfzAJui6saW7c/l+LI8njyR0fVO5o3lZNgOppZvERNET+PS3NT26LJbz1rfuq8RyfIGNbIxXrURtCDucV1I/jTmo2X7N4A3jSlZepBrLAZ6bHsZLpE7w= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708090843; c=relaxed/simple; bh=hNzX6dDS/hbZQxh9BUHgA7vOQi6qxridm+BXtXVVHuE=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=bNPqNj8gCLwhkAvOQvfh8SDcY4N2LYT/wW9j3iY3C/q/vA6n7Thy2UaGv7FBxSjUilwD6aPAMTiRhJfLVZXWv/236E1g3tWuENRo0TPM93FmgIdSWWCiFQWkdSQXkHcowF6CMhJ1Ly1LphbiPilJRjF+95h+jOBws7/qvaSF7y4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=lunn.ch; spf=pass smtp.mailfrom=lunn.ch; dkim=pass (1024-bit key) header.d=lunn.ch header.i=@lunn.ch header.b=iZOucqB8; arc=none smtp.client-ip=156.67.10.101 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=lunn.ch Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=lunn.ch 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=GKVD50tTDfoR5AN5ZAfMW870T5tyYtBdIEeR8ZEXvJA=; b=iZOucqB8DUKXwKD16tvKpG+kbZ VH4PV+YSkBq/ECmL+M+4TUlerrWAWjIli7zFcXcPkD1fDi6ko3Haakd91S1vcxC0TmZW5tJxASFUg YmFgxC77XMCygGb8wPTJZ5KNxwHbe0NyfPcqJq71Y0rlX7BF7CT736E7pUhjZw3Ktvjc=; Received: from andrew by vps0.lunn.ch with local (Exim 4.94.2) (envelope-from ) id 1raySP-007z4T-IA; Fri, 16 Feb 2024 14:40:49 +0100 Date: Fri, 16 Feb 2024 14:40:49 +0100 From: Andrew Lunn To: Yang Xiwen Cc: Rob Herring , netdev@vger.kernel.org, Conor Dooley , Russell King , Eric Dumazet , Yisen Zhuang , Krzysztof Kozlowski , linux-kernel@vger.kernel.org, "David S. Miller" , devicetree@vger.kernel.org, Heiner Kallweit , Jakub Kicinski , Rob Herring , Paolo Abeni , Salil Mehta , Yang Xiwen Subject: Re: [PATCH v2 4/6] dt-bindings: net: add hisilicon,hisi-femac Message-ID: References: <20240216-net-v2-0-89bd4b7065c2@outlook.com> <20240216-net-v2-4-89bd4b7065c2@outlook.com> <170808424648.2323386.17364036307896639662.robh@kernel.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: On Fri, Feb 16, 2024 at 07:53:05PM +0800, Yang Xiwen wrote: > On 2/16/2024 7:50 PM, Rob Herring wrote: > > On Fri, 16 Feb 2024 18:02:03 +0800, Yang Xiwen wrote: > > > This binding gets rewritten. Compared to previous txt based binding doc, > > > the following changes are made according to the TRM: > > > > > > - No "hisi-femac-v1/2" binding anymore > > > - Remove unmaintained Hi3516 SoC, add Hi3798MV200 > > > - add MDIO subnode > > > - add ahb bus clock, phy clock and reset > > > > > > Signed-off-by: Yang Xiwen > > > --- > > > .../bindings/net/hisilicon,hisi-femac.yaml | 117 +++++++++++++++++++++ > > > 1 file changed, 117 insertions(+) > > > > > My bot found errors running 'make DT_CHECKER_FLAGS=-m dt_binding_check' > > on your patch (DT_CHECKER_FLAGS is new in v5.13): > > > > yamllint warnings/errors: > > > > dtschema/dtc warnings/errors: > > /builds/robherring/dt-review-ci/linux/Documentation/devicetree/bindings/net/hisilicon,hisi-femac.yaml: > > Error in referenced schema matching $id: http://devicetree.org/schemas/net/hisilicon,hisi-femac-mdio.yaml > > /builds/robherring/dt-review-ci/linux/Documentation/devicetree/bindings/net/hisilicon,hisi-femac.example.dtb: ethernet@9c30000: mdio@1100: False schema does not allow {'compatible': ['hisilicon,hisi-femac-mdio'], 'reg': [[4352, 32]], '#address-cells': [[1]], '#size-cells': [[0]], 'status': ['okay'], 'ethernet-phy@1': {'reg': [[1]], '#phy-cells': [[0]]}} > > from schema $id: http://devicetree.org/schemas/net/hisilicon,hisi-femac.yaml# > > Documentation/devicetree/bindings/net/hisilicon,hisi-femac.example.dtb: /example-0/ethernet@9c30000/mdio@1100: failed to match any schema with compatible: ['hisilicon,hisi-femac-mdio'] > Seems i forgot to rearrange these patches. Will fix in v3. Maybe you can also improve your build testing. We expect each individual patch to build cleanly, otherwise you could break git bisect. So it is good the build your patches one by one. You could throw in the DT checks as well at each stage. Andrew