Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp30483rwi; Wed, 26 Oct 2022 19:57:59 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5CHQIq+XZvLXPql6d0mu1+TADIJntKc8nJOhXtFYHHTNgKJ17FS/9sKfleXa6Mms7cksDG X-Received: by 2002:a17:907:2e0d:b0:78e:314:9d88 with SMTP id ig13-20020a1709072e0d00b0078e03149d88mr40719392ejc.54.1666839478944; Wed, 26 Oct 2022 19:57:58 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1666839478; cv=pass; d=google.com; s=arc-20160816; b=tnAVstxHSAFW5NBrditt5oRClypLeBoRnaj3JFnJwkgxP+5hM1fN+Xx+9L9Ecu3LJ1 TottkalsZSNeEKUbkTsywLCGLvpSsLCaDUWCdNwwQNbK+Gun02WRhpfhjml4O8b1HB27 zRpvZqbP9TNbrYosz+vqUhJ80aTqpCtYdiRgdVV0zPMyGipl62saGHg9TaUE3eQvwJ5c Lzoi3+gR7GHNolPfAjHD4LvpUh+OYvtHihYTECLfT7liSm5bAzebtdCotaVGB4Rxdm4x KyNdtrznMoPXFpI67sRDnbOwszKzLb1MIlE0qwZA5YzS5RVPerVph7xYTPFz2nDRvXct K57w== 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-disposition :references:message-id:subject:cc:to:from:date:dkim-signature; bh=tTglUEfd/2mxFd6h4tY5fCQG7mkIUfnhA2eEMBOwcFQ=; b=xw3+ZVQMH4pMveQDAKajJOfY76qw9tn2DSbUnTZkB+edibAcOtKBymYV+oQdjs7d9v 72ooBSwkx/Nf2e4FISZTgxQZd34E5MiebS/C8QmZ5b/NUgjr1LVU8lfaWRjAqqniZAlV zgglWAgZVkFu8iazt9pFzgLNS8FIj/SalrQjHgWVrZay3wG406p3ZKVLGdS8a9JXBDn0 Gtesb8VO/pY38Ih6gswc9jWzhXxnjhgixWfNB9H3vAhRuV467uy/0Sk8fDtttqRHUGEX WBfCTzMpofJ/h9q/ljBbxvKfh7Z19jMfmBKqYsPn1y8kdEu4zXSTcS7sV81FR4s42K79 gmZw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@inadvantage.onmicrosoft.com header.s=selector2-inadvantage-onmicrosoft-com header.b=aaT0fBAZ; 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 h9-20020a056402280900b00451e1aae675si377090ede.547.2022.10.26.19.57.33; Wed, 26 Oct 2022 19:57:58 -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=aaT0fBAZ; 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 S233500AbiJ0Co6 (ORCPT + 99 others); Wed, 26 Oct 2022 22:44:58 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42034 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233386AbiJ0Coz (ORCPT ); Wed, 26 Oct 2022 22:44:55 -0400 Received: from NAM11-DM6-obe.outbound.protection.outlook.com (mail-dm6nam11on2091.outbound.protection.outlook.com [40.107.223.91]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 195535AA1A; Wed, 26 Oct 2022 19:44:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=fV35kpkDXwnQC4NXRWRtxKz/MS3eU7C1ONWvnKSUV3zyh+CvjMYlOQO7eNQ1jmKQGXuZY9J9T9mpck4R/HETss0yLqidpMT/a/bVHeIe0UAMJsJM1bpRtXgsLLcjE8+N3iyAhp0ggmlQDptmuIHDbQ8yLoZE8/jrWRwfBWyYjqENRy8brm6kRJmK1uV7meTw8ne4cOd13jsOyoAwr6LDbMIJB3wA5idbnDK0fiTVTW4ihUqlxxfQ49gUZrnGRHHfMMMrLPjUr1JoVCLuEXNBB0ioBmETKhQsaOXsllloEQmF7n/emapQhTZt3KPpJLZPPgk7vfUKFrgtQyXEJFyXGw== 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=tTglUEfd/2mxFd6h4tY5fCQG7mkIUfnhA2eEMBOwcFQ=; b=UElpQkkAAhvNdjWozgVJyw55I1j338Mm+FgDaJ+/OwkbKARhQZw12U+mOcaubDZKXm4HGdlGUpINthTKc3p0Ldh2hrzKRYtpKhz2zsQ132fEBOEjC7/9zkwBfg0K+8v3eCxzwfb6SDkCFBYayG1/naCVR6hqLNcvQd/fsOEck5+mUZb1APPgoGFiG8HCYDuBZWy1/mLn/Zfhi4aAoES5TchumJVNDXeytetZ2I8TulZ0HAmVy+Nd9LOlGwa7Pf6TkDIwobaapR+LanQghaZB8KKB4brLWxaTqQGjQTnnqjci19F1ou6h+GlazUtlFUu+v/KcnbmJ+phD4g7CzOPtTQ== 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=tTglUEfd/2mxFd6h4tY5fCQG7mkIUfnhA2eEMBOwcFQ=; b=aaT0fBAZWjJIxJMZfgkCwow7hjz6pjKg8s+4E3d35KDuT8hLYolao4PbzJG9bfz+5r8tn63DSdBg8auEDMtmQriQhnDdWPz9x8tk2W6+RwbtxwFshYjuu81wWDASbBkVXC6jbkFQDqGkDjAkKsNh2twOSlrAenAPRg5AgOCtXbA= 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 CY8PR10MB6609.namprd10.prod.outlook.com (2603:10b6:930:57::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5746.21; Thu, 27 Oct 2022 02:44:51 +0000 Received: from MWHPR1001MB2351.namprd10.prod.outlook.com ([fe80::8eaf:edf0:dbd3:d492]) by MWHPR1001MB2351.namprd10.prod.outlook.com ([fe80::8eaf:edf0:dbd3:d492%5]) with mapi id 15.20.5746.028; Thu, 27 Oct 2022 02:44:51 +0000 Date: Wed, 26 Oct 2022 19:44:46 -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 , Lee Jones Subject: Re: [PATCH v1 net-next 3/7] dt-bindings: net: dsa: qca8k: utilize shared dsa.yaml Message-ID: References: <20221025050355.3979380-1-colin.foster@in-advantage.com> <20221025050355.3979380-4-colin.foster@in-advantage.com> <20221025212114.GA3322299-robh@kernel.org> Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20221025212114.GA3322299-robh@kernel.org> X-ClientProxiedBy: SJ0PR03CA0055.namprd03.prod.outlook.com (2603:10b6:a03:33e::30) To MWHPR1001MB2351.namprd10.prod.outlook.com (2603:10b6:301:35::37) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: MWHPR1001MB2351:EE_|CY8PR10MB6609:EE_ X-MS-Office365-Filtering-Correlation-Id: 0e73aa49-c3f4-4764-e491-08dab7c53856 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: f9SjewHRvd9yu9Y4iNL0ZZXMAjau0+vkL4Tri5krFb7w1aJX0dghIkA4TPV6vyRa2zs5fqxJOWPi5Rd4FxQAygmd7WstN4QrS9PeOCQSUDxzlixb8aFJV9Kgwm/SuNmO3mcaBX1U2RniQgcrMI4w1Y/L4OZBFi8mBhPDHWN2qA71AJjjR/4AmKPCV27ue+F2GpykfsoKi2cFXeDULZIAf3U0L2QgZYF3UJGrsSnO2arbL9dXJwwHjm6RPZgJ3BtL9pdXWarkK6fZI15OEEAPOGSNXhLXakwhi4fTBqYRuOzKhMn7Wc5V2v51LC/Hj1kYuSvYO8zCPNcF+mrrSPEqRyD8mp01Q2X+DpXav0WEcrAVg7qgSqxO4FSESW47eRWN+EjG/wc/JNWilEri16Ovmbo6NWNrGQBVlJwGpdAz2eDreIOM8NC6VFpV0fYRA4jS34LtmzJsfcb/8/FlKfR08R7Qc/HqVLOjm7NTqunYXjtvE1HwdZx9XKratH8+9fQqTq+85l64PkeU5+tgTNq3wWyH49B5NaVawZC6sm6Gqm/OHCV2pzoTx3XEJKUe+Xfy22FJ9gUm6J7BjEW276EQbaAvDG1QQ9d5ojSNBlIn6feh2JE6a6K4bdZRiZtaUK0f4Z/pN/PEVzo9trOfwZwn+27MMsGdryzDUC+Ai4Oxd/ZVBY0FhXsJ5YW5PrlJQKHIzbQi+Jt5rtdrm4LFGrHxy8OE7f6914ewMHZ8/G6LLbsUMMt9GeNCnY4fgGZydQWvqA+V50OOcrdOhy2mgIhYVw== 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)(136003)(396003)(346002)(376002)(366004)(39840400004)(451199015)(8676002)(4326008)(66476007)(66556008)(6506007)(6666004)(66946007)(186003)(6512007)(44832011)(2906002)(9686003)(26005)(7416002)(41300700001)(8936002)(478600001)(5660300002)(38100700002)(316002)(86362001)(6486002)(966005)(54906003)(6916009)(33716001)(32563001);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?18Qax4U0NE+s0VmOiLzrRffrOPUjj4cZYm+bb9MAuTpj8TcjU5k7kaHDbiml?= =?us-ascii?Q?cFYpfW87SlxvgeeNeOwv1aRV5YqVt/8L3KEL3MUHYzIo4HhtbCe1pNuPfEaE?= =?us-ascii?Q?9d7o5FBXwNsNb/y2Vb4FzAxEnX4j5T/zGCha7avoGKsIBPtNRGQkBhQ727Rw?= =?us-ascii?Q?+5Pw25zDxN8aXK47Q9sfVIvMP8noegIM3FSFvhgaZrx5+Q5Fg1R/LILP42cC?= =?us-ascii?Q?mbdPD4fPKPz0CzktUlLor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HQm+vhwZWtQPyA+ph6pOhRE9qqx1MCAXo+L4+ZOsOiK6rFGhFEgLyNWyD?= =?us-ascii?Q?YPUq9QTmzN8JdVQjA1MdA30b+4jAvLc9rB2Ni2VKjj9ERrsOalMrNEomg+Zl?= =?us-ascii?Q?NmbG+fCdUMhF3Pk4foyGyoTwaBMJVgBiYW3QLg/Rhj+ows5ITmC+l5I3hrtJ?= =?us-ascii?Q?Jcnm6g0GZ781ajmb0wT/9tsm9cBc8R0qbneJs+KqtUJVtCuj14gAI3epE5+O?= =?us-ascii?Q?0BfGtt9/aMiZxy3fh6YTLnFrNb/xNNm6yz0ttEEhf/XPe+wxwcIJtpBlp+5B?= =?us-ascii?Q?9319VoXLL2ca7zogtl/gCn7yNhMsaA/fUs7DXpGOU5s7w4K7IdliWtDEcB5Z?= =?us-ascii?Q?tM77S5uRer1wfFIStI6KwQqx8ZnpUq7pPYPN5rH0oVefD7p1IuYawT4VLEiu?= =?us-ascii?Q?VJYFEDFIp0cgjN+Fix94WiM1vuJ/eCCG5UBlBsdVSmi4/1KTUjzDmNIuck7a?= =?us-ascii?Q?gA=3D=3D?= X-OriginatorOrg: in-advantage.com X-MS-Exchange-CrossTenant-Network-Message-Id: 0e73aa49-c3f4-4764-e491-08dab7c53856 X-MS-Exchange-CrossTenant-AuthSource: MWHPR1001MB2351.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 27 Oct 2022 02:44:51.1442 (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: C3oXzabisqZUq1Yc49WMctuVeqYayjRrb2XelgQt05l3J2yu2tnRmNzvu/D0gvRYRXTV5FnSmLPw9ucgrSlqhN0risrCyhUvTydaVnZ7t1o= X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY8PR10MB6609 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 Tue, Oct 25, 2022 at 04:21:14PM -0500, Rob Herring wrote: > On Mon, Oct 24, 2022 at 10:03:51PM -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. > > I don't think this works without further restructuring. Essentially, > 'unevaluatedProperties' on works on a single level. So every level has > to define all properties at that level either directly in > properties/patternProperties or within a $ref. > > See how graph.yaml is structured and referenced for an example how this > has to work. Thanks for pointing me to this. I didn't know about https://github.com/devicetree-org/dt-schema until now, so I'll take a look. I was primarily reading the schemas in net/dsa/* to try to get a full understanding of the DT schema nuances, so these types of nudges really help me. And I see that Vladimir Oltean has responded to other parts of the email, so I'll leave this as a simple "thanks" and keep that context going forward.