Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp1293198rwb; Wed, 9 Nov 2022 15:56:00 -0800 (PST) X-Google-Smtp-Source: AMsMyM6maunEQcl3/5ip+RzMeXmgfjwORHVWMTGr0TCaRWEtBFwtirdE4KM8Vwt57xUMR0PW4Klc X-Received: by 2002:a17:902:a611:b0:178:6b71:2ee5 with SMTP id u17-20020a170902a61100b001786b712ee5mr62184867plq.53.1668038160548; Wed, 09 Nov 2022 15:56:00 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668038160; cv=none; d=google.com; s=arc-20160816; b=YsiqvgmBTb/xWRhP8ZcbKIKpdxq6GUaUiHdL87G5WXNADm1aPOHmpKzpQQbZCXnVVc /8GOdqif4K0cFGlG5VGchRSy3dpIB0dZCfBPhfZEi7MyaCJNKcRFDRWhkbAsT/HDvcFm pIucZsTfToH5b1VONXJFFRNDbAy4TUrq7IKS2QAURvBK4Ln39V6sU4wOHeicyfJKlKmj R6YZ6nWT0y3F2KcWi1w6VbqahbdcO1lLTq86EmNUtSBmVU9EGWlQZ59TlE6TZteVMoxv JbAMpyHexaO+cvduoTDQKYvDTj2G8dcKvGbbERvnntxwswEVeJa/F0H7ZO8QRsSGF/yF n+aA== 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=LwVitJc+OKf+8w4wSRaaZOyHv8YAZ//3DtpKET00R7I=; b=evumC/xAri+N74MKKGXgGddO+VbyrlQIxcLeNEtzPhzcExrMg0Mqhgu09jw1VnfI4f WbMO3BlEp1Y1zlSrgk3PFudW0dO8XCDPV5mea+c9HVzzAPlEBgimXYLFJYSzRizi7NRY VBo3mYrUg8/r/CvNb+ulE3rzyWdNrLTBaIndnJkuFQfOcSZQ3wx8DROxc1tyua1XJUho 9bS9rcArJQ0uGnzOxOql/zyCWpYDsXCNOPuW40pc1+hD3VxIgBRSvD4+Ly3yNIMBYEXE vWlLazF9cAL3Na4+VDw0EObLnl0eYXVK2LWlUnW2CxK1qk7KXPTQbq1CyqjPbzHtjmtf 96dg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=hBckYn0W; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id e4-20020a17090301c400b0018666611f85si21178916plh.508.2022.11.09.15.55.49; Wed, 09 Nov 2022 15:56:00 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=hBckYn0W; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231903AbiKIXII (ORCPT + 92 others); Wed, 9 Nov 2022 18:08:08 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58128 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229691AbiKIXIF (ORCPT ); Wed, 9 Nov 2022 18:08:05 -0500 Received: from mail-wm1-x32a.google.com (mail-wm1-x32a.google.com [IPv6:2a00:1450:4864:20::32a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B21F1647D; Wed, 9 Nov 2022 15:08:04 -0800 (PST) Received: by mail-wm1-x32a.google.com with SMTP id fn7-20020a05600c688700b003b4fb113b86so98010wmb.0; Wed, 09 Nov 2022 15:08:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=LwVitJc+OKf+8w4wSRaaZOyHv8YAZ//3DtpKET00R7I=; b=hBckYn0WxZvQCSKJBFl3QcweKiTVzJiGEsjEaBhtXNElu3i8fx7xHVayMhZ/82qZWz Vw1DDRQpFx7OXW7pGWHrN6na6/ByAgBzax4W9/viPKIiJTtedoVNn0iLUB4jBLeIUU9l Ad1AHLLzd1eTEdb2Vq7bCkUK+1s61+bY1VZFLx/28sWvBPZcZBUa/5kIPRnmhyH8KsrE mmX0w3c1XIL2xypjVCrGVdZAMhiaSkjAx+4U6/03FzWoW63P5OsspCyPxf4YR7nZaZR7 QG4NZR52xZe6IeJELNJ2cKzhvyJ5X/YqvryHyqAveQO6o8sUHcvV+yUSJ+bYRotzLoGo ETTw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=LwVitJc+OKf+8w4wSRaaZOyHv8YAZ//3DtpKET00R7I=; b=Z5P0liubnN9mEcParV88Gk3OYvn4EtGB5mdlu48WiT2LRODmAEYX7HYW2slKxIx/Rf CbOkEch+Iy10M8VsUSeMI3vflZ0g5/LKQ11bbGkQH4N3SM8wPPydiX3S98KU6ODA7Nba naPzmp/QmWatD2k1f94BkmVJ/C31A/IdiwueDse+cvf3hCm4PA1LdJ0lmYZg0rslBZ7R yce0x9r4josomYG/TpCE0jL+jKRX7kpz4sFr52d1imnkj6AbIqkJ51saGv0QmMfiSDxf YY16hbu9r9WR3enURUriRmN5rlyT5rz2A9AAv9u6yMOpZJlopQ6TxKdmsWSDZEyy4KmH WIiw== X-Gm-Message-State: ACrzQf20NuRnytmycNv42D617G3w0HEGKW59Fk38AnLSfJhNbnK7BAFS PUFehU59JXzsgnYCRcBDLTA= X-Received: by 2002:a05:600c:4b27:b0:3cf:8ec7:b8f with SMTP id i39-20020a05600c4b2700b003cf8ec70b8fmr23266575wmp.69.1668035283125; Wed, 09 Nov 2022 15:08:03 -0800 (PST) Received: from skbuf ([188.27.184.197]) by smtp.gmail.com with ESMTPSA id fc18-20020a05600c525200b003b49bd61b19sm3288752wmb.15.2022.11.09.15.08.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 09 Nov 2022 15:08:02 -0800 (PST) Date: Thu, 10 Nov 2022 01:07:59 +0200 From: Vladimir Oltean To: Colin Foster Cc: linux-mediatek@lists.infradead.org, linux-arm-kernel@lists.infradead.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, Alexandre Belloni , Claudiu Manoil , John Crispin , Sean Wang , DENG Qingfang , Landen Chao , =?utf-8?B?bsOnIMOcTkFM?= , Matthias Brugger , Paolo Abeni , Jakub Kicinski , Eric Dumazet , "David S. Miller" , Florian Fainelli , Vivien Didelot , Andrew Lunn , Krzysztof Kozlowski , Rob Herring Subject: Re: [PATCH v2 net-next 2/6] dt-bindings: net: dsa: qca8k: utilize shared dsa.yaml Message-ID: <20221109230759.gw7prntz7i5lxwiq@skbuf> References: <20221104045204.746124-1-colin.foster@in-advantage.com> <20221104045204.746124-1-colin.foster@in-advantage.com> <20221104045204.746124-3-colin.foster@in-advantage.com> <20221104045204.746124-3-colin.foster@in-advantage.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20221104045204.746124-3-colin.foster@in-advantage.com> <20221104045204.746124-3-colin.foster@in-advantage.com> X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Nov 03, 2022 at 09:52:00PM -0700, Colin Foster wrote: > The dsa.yaml binding contains duplicated bindings for address and size > cells, as well as the reference to dsa-port.yaml. Instead of duplicating > this information, remove the reference to dsa-port.yaml and include the > full reference to dsa.yaml. > > Signed-off-by: Colin Foster > Suggested-by: Vladimir Oltean > --- > > v1 -> v2 > * Add #address-cells and #size-cells to the switch layer. They aren't > part of dsa.yaml. I'm afraid this is not the correct resolution to the warnings you saw. There is no reason to have #address-cells = <1> under the "switch" node, since none of that node's children have a unit address (see: "ports", "mdio"). The schema example is wrong, please fix that.