Received: by 2002:a05:6358:16cd:b0:dc:6189:e246 with SMTP id r13csp2787547rwl; Sat, 5 Nov 2022 11:45:28 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5qntYTjWaKOnA7Qx2Ew7yMgMAlzOwnLgRUdNVfAU57UvkfDjtLPqn2YK1w8OxZa4Xn5rgQ X-Received: by 2002:a05:6402:550e:b0:456:f79f:2bed with SMTP id fi14-20020a056402550e00b00456f79f2bedmr42238799edb.106.1667673927870; Sat, 05 Nov 2022 11:45:27 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1667673927; cv=pass; d=google.com; s=arc-20160816; b=CiDGw3yAl5ae0Ud9tTdOJm9FJEzIAxUfwngQecAYIcHWepn6CRa/Zz0p8ixeLXh5Tg uSzTQ+TI9fa0AN94aZITmyYy20s5fj7GwfjMZZ5fsbhBjKxqpgysefdfp1oQ6X5wuKpp JduNDW6Td5GFq4iGiGYd7rx+t/Flqivx5urBzDbv2OfLycl2frCBIvPyXl6lE+IJ8FkC UGuzPosI3PkQAbmzNKBIPG7cYpnegzgTV+rd/hTRGYn9e7RDfYwQW5IA8p94d3WeNYMy 6PTMiEq5IQ8ssibDmC0bcCjuArm4UIeKAA/FeVArO6BZl6KjEvyQdd36PgGQonIrVG+V YqVA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:in-reply-to :content-transfer-encoding:content-disposition:references:message-id :subject:cc:to:from:date:dkim-signature; bh=b/ECord+SifV3PIetO4yQ5wLgG/AQqEiLIj3Vn+wRkY=; b=Ex8FgZRfhkCWIHPoHnCnGzN5PMDeXdIk+TOGH1YHqBEmgzBRJBei8xyobPohIMco81 4IQtfpG5V8VSkA2Rgh8XTquxwaeitm3Bv8KQvgh+94yvRNp8x8Co60MY3nXesc+9C8Ec QVP3bOGs4pRASL3puMwZ9huwBsu9ih/oi2RNsiHflcAN7wmHfLpKmJwfNQ+sEyaGkGkn r4KhoPDRWBAi4QGbkno81UwYcUtgUtetUEi0uBMMfkxRp88IeBBkMIh6TgA9NcokeEMJ oGaiJdiaEmNNmeRjOiudrlBvYCOZHszt5ZCmDg7VRfRQpVcrZIBsXEvafnTQIHIuLr8d PKAg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@inadvantage.onmicrosoft.com header.s=selector2-inadvantage-onmicrosoft-com header.b=S5yp82Bw; arc=pass (i=1 spf=pass spfdomain=in-advantage.com dkim=pass dkdomain=in-advantage.com dmarc=pass fromdomain=in-advantage.com); 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=fail (p=NONE sp=NONE dis=NONE) header.from=in-advantage.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id xf13-20020a17090731cd00b00783c42d2da1si2755476ejb.425.2022.11.05.11.45.05; Sat, 05 Nov 2022 11:45:27 -0700 (PDT) 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=@inadvantage.onmicrosoft.com header.s=selector2-inadvantage-onmicrosoft-com header.b=S5yp82Bw; arc=pass (i=1 spf=pass spfdomain=in-advantage.com dkim=pass dkdomain=in-advantage.com dmarc=pass fromdomain=in-advantage.com); 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=fail (p=NONE sp=NONE dis=NONE) header.from=in-advantage.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229851AbiKESRk (ORCPT + 96 others); Sat, 5 Nov 2022 14:17:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44464 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229533AbiKESRh (ORCPT ); Sat, 5 Nov 2022 14:17:37 -0400 Received: from NAM10-BN7-obe.outbound.protection.outlook.com (mail-bn7nam10on2098.outbound.protection.outlook.com [40.107.92.98]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C6ABCDF7E; Sat, 5 Nov 2022 11:17:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=kgBD7s+ZnaXvhNAlqc4mVGusLb/gMpASS3psjJP1pbupT6A7zZ59JTPiYR0j/wDR3/NBWYUV94iIIXEtUazWbFWktMITHnYKT7Cmg9AkszEwZWQNRWsa8W3IS4eBt6Q7QjtaQs20PSGGGlWQ9kgd92a7ZNQSpPBfBV0tfuuYrtMe3fFdKnwr9YUGTqUgEtxni3hjqQTaZ7AuJVTDe2bv5QnHSPcJX7/qwKyiFO/bobhdneNYbDHVbYnN/31CQfcp20+bTmzIIlSNQUcWhzUMj0syAJ0pjJ4w/2ouqf6O6LqlF0EUwFx/QjQBh6qPsXnNlziXpZ/U+bRvlNN+nyfJvw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=b/ECord+SifV3PIetO4yQ5wLgG/AQqEiLIj3Vn+wRkY=; b=GWqk4LazEvhdGFDRy85NzMSzBokjvZXc7VfxiGIoaaypyfonwrvGqw+Z/wiqGJW0AOr4sMLmavoA10tkMz+S0G+9eAhV0zbhJSjhB2U27gRLdiWpCLPBXKwV1oJegVSdbkA3JtEro1TFtnJDRQLk15tA/LSQYgLMI+NJtQdUfNCbh/bCL+zKonjtqRPyS7gWCgfLwWfXltugeSEfRFEKHim0rpfiYW4tVEsgX1XcERXeNYMiB4pZ5QrrSKPZiB/xQlbWqIJfRxQQBkBzicPOlYroB2dWWB3Qj3V50BhR9k9s8TK9+xZIz660WbGc1FLUOfa2dt84/CpmJAxs2upjpw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=in-advantage.com; dmarc=pass action=none header.from=in-advantage.com; dkim=pass header.d=in-advantage.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=inadvantage.onmicrosoft.com; s=selector2-inadvantage-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=b/ECord+SifV3PIetO4yQ5wLgG/AQqEiLIj3Vn+wRkY=; b=S5yp82Bw4WP0m9hJeHZJ7uqgLLmQRoZRfZVFOJiQ4Gx/LiNtilfEZ5Zry44TUC4FnBnPBjR4nhi+d3eQZ/kUsLDqRulvx0bRYLUh+uV461fVaR4douu4qPppQhjaA33gCULaba9TCKgstGDfO9pN6omBxbuMSFZ4K2xKP+MH2xA= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=in-advantage.com; Received: from MWHPR1001MB2351.namprd10.prod.outlook.com (2603:10b6:301:35::37) by BN0PR10MB4856.namprd10.prod.outlook.com (2603:10b6:408:12b::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5791.25; Sat, 5 Nov 2022 18:17:32 +0000 Received: from MWHPR1001MB2351.namprd10.prod.outlook.com ([fe80::4780:1359:e037:1626]) by MWHPR1001MB2351.namprd10.prod.outlook.com ([fe80::4780:1359:e037:1626%4]) with mapi id 15.20.5791.022; Sat, 5 Nov 2022 18:17:32 +0000 Date: Sat, 5 Nov 2022 11:17:28 -0700 From: Colin Foster To: Rob Herring 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" , Vladimir Oltean , Florian Fainelli , Vivien Didelot , Andrew Lunn , Krzysztof Kozlowski Subject: Re: [PATCH v2 net-next 3/6] dt-bindings: net: dsa: mediatek,mt7530: remove unnecessary dsa-port reference Message-ID: References: <20221104045204.746124-1-colin.foster@in-advantage.com> <20221104045204.746124-4-colin.foster@in-advantage.com> <20221104185343.GC2133300-robh@kernel.org> Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20221104185343.GC2133300-robh@kernel.org> X-ClientProxiedBy: MW4PR04CA0380.namprd04.prod.outlook.com (2603:10b6:303:81::25) To MWHPR1001MB2351.namprd10.prod.outlook.com (2603:10b6:301:35::37) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: MWHPR1001MB2351:EE_|BN0PR10MB4856:EE_ X-MS-Office365-Filtering-Correlation-Id: e71bcde8-fde6-4971-42b1-08dabf5a0138 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: jocsqITJaSyhZz/9Sp2wLhJG4FP++guVYgpwtpJbq2FAIMWT3IruoiJs4ZU5L0qtl31qYiZ7NBoD1Uj83tWrc8peH5lLPF0BmxF3fy+mZiKjqPTpP83BuePEwprwQEFhcrSmdXnz7Z3tp24ytVCkhIq2sh6SpMrbyYzCc7uuo95zQ+roKsi7jsPwWKyKFtQcMIBF61tivkYhOivh4Xdnzr1J95x1n82t0SWFDinNPrSMFTEUER8iYtjrbii/HiyZSNfQswZ3uEVgqN0+oGWVJkmQpzYlHIKlQUEUrc7LzqEWkAw0//sO08OZwgow7zNimEenZFlCL5aeWoOs78arKNK8Mgi4+hidtlMHgrqtdFl1mN3OuAG9PKs5pfmepSB4KfhPbdw1rH/xjgfoHE3mRBAqpPagMWUn6/vP264Kh/d0bC2fMGKNzqeJ8/HF+oCoXNG8zFPNAE3E9QPH2HP46irAl4eNye/IVMN6zDBl7HwrIsRsRfl48lbV/xO6N92pU5mXG+VwU+y1KSHokCLg/txZhT8bLhKvvJkPYVn3MvStfC6ATDxfC6rbdvMH3HXZO5Cf3TjEK+iAQM+YiNznOXDjk/MRkV/GRAv00t4iW6BPmxMjjKKsHeuEJnEfn/quczs8isW35UcbP/7rxmOARMADXw91iVGTPPFdshpA1IICvumaXB8NzhJIq9O6I0rvX0GfmJTJ2X+14alRrP8boQ== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:MWHPR1001MB2351.namprd10.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230022)(7916004)(39830400003)(136003)(346002)(376002)(366004)(396003)(451199015)(478600001)(6486002)(44832011)(8936002)(7416002)(5660300002)(2906002)(316002)(6916009)(54906003)(41300700001)(4326008)(8676002)(66476007)(66556008)(66946007)(83380400001)(38100700002)(6506007)(6666004)(86362001)(186003)(9686003)(6512007)(26005)(33716001);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?TzFnMWdLdjZTWjJvV1UwR2xXRzJLeS95aXArdCtkTTBDaEtXZDRFblRHN2hn?= =?utf-8?B?WTRkeXNHejdrWlhvQUN3ZndYQldpbFNxMEovMHJ3OUdyWjJrUGI3c3hyN2Jj?= =?utf-8?B?eWkrQm0xUXZvT28xeE5XUC96ZkNpck9SZ3pBY3NSOGkwRTYvMEoydUpPRFly?= =?utf-8?B?azZIMzVzVytNZ3VKVU5zU2pIbVVHZjB6b3FvVjJkQzA4UVV3cU1tK0Qwb2VU?= =?utf-8?B?RmdkejVSQjN2KzNKWnlGaElLd21QYUIzdWtwUWh1dDdvNkdIK2JiV3kzUUlt?= =?utf-8?B?dWNEWG5UNzVMMFl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VnTjR0b0gwaFd6ZFEv?= =?utf-8?B?QVBMTUlVQkRtOS9QUnVhakN3a04yUHRGK3FUS3lKNXlhdnJneDhPNUZZVTJi?= =?utf-8?B?cFE9PQ==?= X-OriginatorOrg: in-advantage.com X-MS-Exchange-CrossTenant-Network-Message-Id: e71bcde8-fde6-4971-42b1-08dabf5a0138 X-MS-Exchange-CrossTenant-AuthSource: MWHPR1001MB2351.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 05 Nov 2022 18:17:31.7584 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 48e842ca-fbd8-4633-a79d-0c955a7d3aae X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: a/VcBpmXbdeXZJw+Q0ZxEUqCeQ7i/DzHUO0lLbTSGHIVRRvZX3xdQa4T4jZ2XT9G/+9dsm6LABvUMqjIePU0hGZGg97xP4q6FpKAc1AQbBY= X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN0PR10MB4856 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,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 Hi Rob, On Fri, Nov 04, 2022 at 01:53:43PM -0500, Rob Herring wrote: > On Thu, Nov 03, 2022 at 09:52:01PM -0700, Colin Foster wrote: > > dsa.yaml contains a reference to dsa-port.yaml, so a duplicate reference to > > the binding isn't necessary. Remove this unnecessary reference. > > > > Signed-off-by: Colin Foster > > Suggested-by: Vladimir Oltean > > Reviewed-by: Arınç ÜNAL > > --- > > > > v1 -> v2 > > * Add Reviewed-by > > > > --- > > Documentation/devicetree/bindings/net/dsa/mediatek,mt7530.yaml | 3 --- > > 1 file changed, 3 deletions(-) > > > > diff --git a/Documentation/devicetree/bindings/net/dsa/mediatek,mt7530.yaml b/Documentation/devicetree/bindings/net/dsa/mediatek,mt7530.yaml > > index f2e9ff3f580b..81f291105660 100644 > > --- a/Documentation/devicetree/bindings/net/dsa/mediatek,mt7530.yaml > > +++ b/Documentation/devicetree/bindings/net/dsa/mediatek,mt7530.yaml > > @@ -159,8 +159,6 @@ patternProperties: > > type: object > > description: Ethernet switch ports > > > > - unevaluatedProperties: false > > - > > You just allowed this node to have any property. I appreciate your time and help. Thank you. In this case, I think I need "unevaluatedProperties: true" so that the ^(ethernet-)?port node can get the properties it needs from nodes in dsa... ? But then I'm not sure how this node worked in the first place. I might have misunderstood, but I thought you suggested that if this node had unevaluatedProperties: false, it wouldn't be able to look into dsa-port. On the other hand, you did include a lot more information in your response to 0/6 of this set, which I have yet to fully absorb. > > > properties: > > reg: > > description: > > @@ -168,7 +166,6 @@ patternProperties: > > for user ports. > > > > allOf: > > - - $ref: dsa-port.yaml# > > - if: > > required: [ ethernet ] > > then: > > -- > > 2.25.1 > > > >