Received: by 2002:a05:6358:f14:b0:e5:3b68:ec04 with SMTP id b20csp658722rwj; Thu, 22 Dec 2022 12:50:22 -0800 (PST) X-Google-Smtp-Source: AMrXdXthyBEDBfKJUYeNlGvOmgQ+uWKB2VNIKSvSMBN7tP7Ol9/OOJsaqNS3axBxkKWFAy9iTcgo X-Received: by 2002:a05:6402:4503:b0:472:d867:4c3d with SMTP id ez3-20020a056402450300b00472d8674c3dmr9986026edb.40.1671742222051; Thu, 22 Dec 2022 12:50:22 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1671742222; cv=pass; d=google.com; s=arc-20160816; b=n+DkD0RtF1x2LZ21DopzIe3dlIYI53y3RlkzrorFnjV0+3Fe7CmrVeMspqQqNLPcAp ogCs486iAycI7jyxCv4ieCHJ7FS1Ph6UI9RcTyCa1f9NxWuzMI3NVuZwdYAoeR9cjGMU BfnmgbcMvwzhWUcij9i7EGGShARj07mlzTVSwfu1ekeK76jEhK5lQovkvAr7hiMhEMMf qr0vsXbrPCp4DCMHpwE/5YSfD/WU8YZVbz25knriNCBWDGcNZGk/a+fq26GR0SCS3SW4 t5SOAm7BJfEP4Q7cIIiD6otLikyCOIv09XuY5D9iuAa/GJbSML4Y2eVTIyoI0RZ0GYiw 1a6A== 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=hdjdQ2WT3bKGjIUr6Hh8Pjm/FDYQSCxnROdRPygMgKA=; b=vXEym7xxTn7PKQpPUVmJm0Vm18i3piRK8+NvoMD8Txu5/y0Y4KPPgUdEIeyr71pwt+ 9Gtuj3z/UbYYcC5aDIyMxBwiY8TeGwQUCfSI2jhZBUEXmtd2QuQFlNHPlpEcTF1rGTLL NxJ3pneLUgXluBfSZgHYEnYjGSVJPnhpCTDZ9Sy41+vzThyg45EqWcIJ+T5K0Z2CIZ6T 3Q/KbyVEHG8ZJyy6zBDN/fXk1oJFlvtcCHu5mbjfAYppHT4naHyVq7uCXzx8niXn0lap kjIgXdhkuXLa3AHk0dPI0eeXrIhYIo5Gr654JP9DQlbxKcbzL1ThVk7shrYd3IAiX6/L XkOA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@inadvantage.onmicrosoft.com header.s=selector2-inadvantage-onmicrosoft-com header.b=ROqtc9MA; 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 hs4-20020a1709073e8400b007c11b8a1d74si1341094ejc.41.2022.12.22.12.50.06; Thu, 22 Dec 2022 12:50:22 -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=@inadvantage.onmicrosoft.com header.s=selector2-inadvantage-onmicrosoft-com header.b=ROqtc9MA; 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 S235201AbiLVUIo (ORCPT + 68 others); Thu, 22 Dec 2022 15:08:44 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44900 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229504AbiLVUIm (ORCPT ); Thu, 22 Dec 2022 15:08:42 -0500 Received: from NAM04-MW2-obe.outbound.protection.outlook.com (mail-mw2nam04on2104.outbound.protection.outlook.com [40.107.101.104]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E5C991BEAD; Thu, 22 Dec 2022 12:08:39 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=AvkIz+SuSNT4HP1yLkjeSZQy2dZzdRibxaFCEfdJPXjJUzVVysj0k3oqJDsfcTXJERtjaVliChCd/rYb/FPS1OX0Hal5FUC1FWPUmiZgCCY5QupljUW7CwNzf0yK2nG3a/PtTkKJe8m2ot4TZYAXY21bNt0TIxzcwdV95c2FYZEfS1ym0uPN4g6if/IvlBFsP3i6NKXNUh1WGjXlBcfuJqvfThpanr4s1gyjepAg50VBpE1Of30J5kX1V/Vn9gASb+QFYhMuOjtn8qRe4pEssI9B2uvFPZlXYlUfkFG5D9unY/37wZiKYzRk5DNqB9c4/JN+HP/HKBxOpRPXQjtyGA== 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=hdjdQ2WT3bKGjIUr6Hh8Pjm/FDYQSCxnROdRPygMgKA=; b=Fn5Dto7vMaKEkvqmFlUMAtEMqQqQsKR11twqpzsaZnTOPch/Vv7JOmUMWJiAothd0R9GTzlymtTonud/kIN3uPPXwrVKidG1NYWiuJ+VBnp4KvKaG7k/Y+Hor+2E4oX2o0EHstKwttgwAe4JNJM0Pe7NRGl3HCQbMRue9QFYe/Q3u7n2+ElKoO9KgxzsInEk6Z4Wqo8Y5NEGkf62X3bWlTk7MIYkK9VL2ycAJfksgMdLMKMqm/NYfv+2eb+660GpcOXqvJbVbrjzX9o0e0yRh1iMr3txRqQAngDR6Y59LyO/SCUoXj/D+FUBGQXl0GhL834GGHoudICliiy1xXaJrQ== 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=hdjdQ2WT3bKGjIUr6Hh8Pjm/FDYQSCxnROdRPygMgKA=; b=ROqtc9MAfR2ScnpHFy/adSYjTF+5+y5YS47AUxrNF8JpAbq/j4opUJlJE4dkq742jJ+xjv8b7KEC693Sov4W3wP7tPCs3uj/qSQYiywXM8RP+8/YWUUa0xJ8lTKjMs9CIBqlE5dEUNSmP0dDkCyj7SWDoekg1SuGHM3rQZcPLJk= 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 CY8PR10MB6610.namprd10.prod.outlook.com (2603:10b6:930:56::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5924.16; Thu, 22 Dec 2022 20:08:38 +0000 Received: from MWHPR1001MB2351.namprd10.prod.outlook.com ([fe80::45b5:a860:9cea:a74c]) by MWHPR1001MB2351.namprd10.prod.outlook.com ([fe80::45b5:a860:9cea:a74c%4]) with mapi id 15.20.5924.016; Thu, 22 Dec 2022 20:08:37 +0000 Date: Thu, 22 Dec 2022 12:08:30 -0800 From: Colin Foster To: Rob Herring Cc: =?utf-8?B?QXLEsW7DpyDDnE5BTA==?= , linux-renesas-soc@vger.kernel.org, linux-mediatek@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, netdev@vger.kernel.org, John Crispin , Alexandre Belloni , Claudiu Manoil , Marek Vasut , Sean Wang , DENG Qingfang , Landen Chao , Vivien Didelot , =?utf-8?B?Q2zDqW1lbnQgTMOpZ2Vy?= , Alvin =?utf-8?Q?=C5=A0ipraga?= , Linus Walleij , UNGLinuxDriver@microchip.com, Woojung Huh , Matthias Brugger , Kurt Kanzenbach , Krzysztof Kozlowski , Paolo Abeni , Jakub Kicinski , Eric Dumazet , "David S. Miller" , Vladimir Oltean , Florian Fainelli , Andrew Lunn , George McCollister Subject: Re: [PATCH v5 net-next 04/10] dt-bindings: net: dsa: utilize base definitions for standard dsa switches Message-ID: References: <20221210033033.662553-1-colin.foster@in-advantage.com> <20221210033033.662553-5-colin.foster@in-advantage.com> <1df417b5-a924-33d4-a302-eb526f7124b4@arinc9.com> <20221212165147.GA1092706-robh@kernel.org> Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-ClientProxiedBy: BYAPR03CA0005.namprd03.prod.outlook.com (2603:10b6:a02:a8::18) To MWHPR1001MB2351.namprd10.prod.outlook.com (2603:10b6:301:35::37) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: MWHPR1001MB2351:EE_|CY8PR10MB6610:EE_ X-MS-Office365-Filtering-Correlation-Id: 6d86bba6-8d35-43e3-e4ba-08dae4584faa X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: yF0t62AhfkdeBt5pWfL/U3q6MbRU8VaPyIKV3p8mBH65TLPIbMXrPgZUQQ/PbASCvRaf3U7+EvwRSEQwlR1m08g4uRtve3gpshFu/BC5dY+ZL9l94nPHnpTsfYk+ZflfA2cazk/HubIVHH1cjJBHFZpHKLWlSwrXcpy7kxt2L9w0psaTGgJ0OPqHHucOAhCROrpfxciVoepBYrrpdQK2pBgVytgFD7yS93imx12e4Oxh1Vvr2j9YPrz4kN7r1PkzQU+AQ44nhEzDVlRglG99AuMfGQg8WFAt+Bqq8IuGRtX+H7nZxeiW7Q9TSyv6FOSYQ6avoxVeerbWSut/Ycl+uMGvQi3+ku+Q9zExl4ZSHgIVOSB1Hfwu0uLbhkhJ0PtaHBTUoj4Qmo5qkZZ89X7vY8SiFdRbjZWtUArVmC1NWeBatHttDAyZS7soKL+pkdtsmS6VBWBdIrFUlxtvRzJrwrjoEtZCaIN8NdV78HtMWJWjW4ADbFGZ70aw4WSU2f00LK072zXnTwCCH3dpjCDozC35ay2Qpu6F5p5viBjYdsybMtr7h279IptAZU6A/3N4hY7/MN98RIaoIsX4cJopmjM4TNnMQBuYd6laytJ4c+IcxYX1jj7Saf4sHtJq2yd2nRcRfY8x8n635A9uuw+oNQ== 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)(366004)(346002)(136003)(376002)(39830400003)(396003)(451199015)(44832011)(6916009)(38100700002)(54906003)(6486002)(478600001)(7416002)(7406005)(2906002)(316002)(5660300002)(8936002)(66556008)(86362001)(66476007)(66946007)(4326008)(8676002)(66574015)(83380400001)(26005)(186003)(33716001)(6512007)(6506007)(9686003)(53546011)(6666004)(41300700001);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?MHh5Vi9uczJCZS9tV1BadGprWkVFVVUxNzFJZ2tMRUkrb2VWTHA1cjNRUjhK?= =?utf-8?B?UEJiR3JHdHBJQWY1YTZOQnlrWit4VWFMKzFyNmZKZ3BSTDFaQzdVeEZXVGhI?= =?utf-8?B?dUY4THR5Y0hqMEdTdDZ2M3FCQU9SaEpOMGE3azlqWk5OZFV2Qmp2dTVtYjd5?= =?utf-8?B?RWg2aldhbU9P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k9Ic3ZqaTdBVDhi?= =?utf-8?B?MHRnaTdQYnlJNkR6RnBzRVlFTU9yNldhMTZTblJsOW5hUmtpMXdDLzl3ck1l?= =?utf-8?B?aWFxZmozRVZhU1hja09meEdPbjFMWGFpazhZa1pXWS9HVjk2NGxwUkJrUDc3?= =?utf-8?B?TUNuZUxwZ2FUMU5tcGE2UWZiU1htUGg1NDUzQnlDdU1qc2dnaGVEQ3VLb2tN?= =?utf-8?Q?Rpq0riHBB9rxk4fJ8Xj/abQ=3D?= X-OriginatorOrg: in-advantage.com X-MS-Exchange-CrossTenant-Network-Message-Id: 6d86bba6-8d35-43e3-e4ba-08dae4584faa X-MS-Exchange-CrossTenant-AuthSource: MWHPR1001MB2351.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 22 Dec 2022 20:08:37.5107 (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: Ai9vfrbp6cSfJfw//lmqY9wHry4EwmB78YFFOmb9dfcU3Mi0NP91wogPcRv9Udh/JE17os98Dqv+fWxZkStnKI+ncmUp4WYeG/NAjWE1X4g= X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY8PR10MB6610 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 On Mon, Dec 12, 2022 at 10:55:19AM -0800, Colin Foster wrote: > Hi Rob, Arınç, > > On Mon, Dec 12, 2022 at 10:51:47AM -0600, Rob Herring wrote: > > On Mon, Dec 12, 2022 at 12:28:06PM +0300, Arınç ÜNAL wrote: > > > On 10.12.2022 21:02, Colin Foster wrote: > > > > Hi Arınç, > > > > On Sat, Dec 10, 2022 at 07:24:42PM +0300, Arınç ÜNAL wrote: > > > > > On 10.12.2022 06:30, Colin Foster wrote: > > > > --- a/Documentation/devicetree/bindings/net/dsa/mediatek,mt7530.yaml > > > > +++ b/Documentation/devicetree/bindings/net/dsa/mediatek,mt7530.yam > > > > @@ -156,8 +156,7 @@ patternProperties: > > > > > > > > patternProperties: > > > > "^(ethernet-)?port@[0-9]+$": > > > > - type: object > > > > - > > > > + $ref: dsa-port.yaml# > > > > properties: > > > > reg: > > > > description: > > > > @@ -165,7 +164,6 @@ patternProperties: > > > > for user ports. > > > > > > > > allOf: > > > > - - $ref: dsa-port.yaml# > > > > - if: > > > > required: [ ethernet ] > > > > then: > > > > > > > > > > > > > > > > This one has me [still] scratching my head... > > > > > > Right there with you. In addition to this, having or deleting type object > > > on/from "^(ethernet-)?ports$" and "^(ethernet-)?port@[0-9]+$" on dsa.yaml > > > doesn't cause any warnings (checked with make dt_binding_check > > > DT_SCHEMA_FILES=net/dsa) which makes me question why it's there in the first > > > place. > > > > > > That check probably doesn't consider an ref being under an 'allOf'. > > Perhaps what is missing in understanding is every schema at the > > top-level has an implicit 'type: object'. But nothing is ever implicit > > in json-schema which will silently ignore keywords which don't make > > sense for an instance type. Instead of a bunch of boilerplate, the > > processed schema has 'type' added in lots of cases such as this one. > > > > Rob > > What do you suggest on this set? I think this is the only outstanding > issue, and Jakub brought up the possibility of applying end of today > (maybe 5-6 hours from now in the US). > > It seems like there's an issue with the dt_bindings_check that causes > the "allOf: $ref" to throw a warning when it shouldn't. So removing the > "type: object" was supposed to be correct, but throws warnings. > > It seems like keeping this patch as-is and updating it when the check > gets fixed might be an acceptable path, but I'd understand if you > disagree and prefer a resubmission. Heads up on my plan for this. I plan to re-submit this on Monday after the merge window with the change where I move the $ref: dsa-port.yaml# to outside the allOf: section, and remove the object type as the above code suggests. Hopefully that's the right step to take.