Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp6177555rdb; Thu, 14 Dec 2023 10:13:12 -0800 (PST) X-Google-Smtp-Source: AGHT+IHBeV4hRsHWkGTqB+jpVbEVKE3GYDBnFengzdWCfWv93Wsl8NB5DifRoXTSexu+bVLbb62f X-Received: by 2002:a17:90a:bb04:b0:280:cd7b:1fa5 with SMTP id u4-20020a17090abb0400b00280cd7b1fa5mr4838496pjr.4.1702577592058; Thu, 14 Dec 2023 10:13:12 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702577592; cv=none; d=google.com; s=arc-20160816; b=jKTSYSksIyOp5wMYf5YzduQ8CFdp95XuUUoLLjxk8gPbttd1xCEXmXiSJMYkoofS7M Ov83NaT1qVCv1HolpOds2YSMGQPnnvlal2y0ChgHhwQ57OkzxFul2oHoS30HOpTcStZQ P26zP1ZvU66lWE5UAzIpjdf1HRxPDiycWUO3pJcraMgLO7TnAQGhnAnTFjqSx283SGUG x4Rc8XpIreL04M2FJ35lUelpHC0uUe/TEtULvx6ayFYgvdu1bYI57bWqre+pTFVf1FBC VPcB6ogcevxtXMLoisiFloU0fKiAddqBhS5qi3WaHX3Ap/foIc9hkgyrSrEORBG2THkM IlGQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=9uDKjR6ENQ/K3Sf5xNvwga0k6H6K4XUFFfjNnkFeRrI=; fh=EYBXxdmcegXyMkdeqCCCk0xAWS7bvZ/wVp35YWym/K4=; b=GuR0X86/csWQt/tVIDF4hAezjHfUltuKXacYT3Jjom6BnZuGwKfPx6KjLSZrF+v1Su eQwjVtNobnjXQw+1iDNeNgESoqwAFXu1SEnJeuHhK8H46gQzOq4OtHY7pkQnxIGiFnzu yhnWyRegWg7TpmD5LFXptr3IERzNZVBmSxq9FEFWKhC1hr0BGPUievEZxUkt7vxc/hk8 9kK8a8/HacipQTIpyjAp2f/TU5STM4wol+AT/qNHTXExKYEC9KTlxNAF+D91V48rqbN9 TLb+m0MsufII8XnpSLWgoM7gqRJGyQL4Pi+T+fnao5Coba9wS4uS+ohBqzrKxEfpQl8b z4kA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=H1105MNy; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id t20-20020a17090ad51400b0028af280a709si2426388pju.96.2023.12.14.10.13.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Dec 2023 10:13:12 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) client-ip=2620:137:e000::3:7; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=H1105MNy; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id D825A80DECED; Thu, 14 Dec 2023 10:13:01 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235738AbjLNSMw (ORCPT + 99 others); Thu, 14 Dec 2023 13:12:52 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54482 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229586AbjLNSMu (ORCPT ); Thu, 14 Dec 2023 13:12:50 -0500 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 42B9B123 for ; Thu, 14 Dec 2023 10:12:57 -0800 (PST) Received: by smtp.kernel.org (Postfix) with ESMTPSA id B434AC433C7; Thu, 14 Dec 2023 18:12:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1702577576; bh=9uDKjR6ENQ/K3Sf5xNvwga0k6H6K4XUFFfjNnkFeRrI=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=H1105MNyP9Wff0fEMpFolNBcsQf0S9V4M49eBuV3/S7ONiYCzZyNMm9KaZS7xluH4 Q1MjaO8tavKqNjas65Hnc+ZSkUioUvCSqRnaBNwnR9n2BaxD9OGqtUc6UFCfX8UDTP hPGad+bvIPFnKJpq09KvMQN2Ez9rfVXgvGfxh+akL2fPfSrV4lRxBS9q6wTy5beJjY lKxIBk654oZ1/yy6VlBVDFHpz8sVZkHkxMgM2fuJDmqGclvuNn9UyafQ4R5vgNVhY/ W3VmSeuADjkRRfGho1O9VuuV+3dGGuh8NQt+R4fEWkO029/Rkt7tdzlmVac4YLLxSC wysccIJjt/gQg== Received: by mail-lf1-f44.google.com with SMTP id 2adb3069b0e04-50e0ba402b4so4544020e87.1; Thu, 14 Dec 2023 10:12:56 -0800 (PST) X-Gm-Message-State: AOJu0YwNDvUTML9jrXqo92ztlVpXAde4hPOPd4jOLQCxW5HlZwbEnNq0 xWharj5I1ZraL+CDbbR2zC3AdXgR2h7Tur2WaA== X-Received: by 2002:ac2:5f43:0:b0:50b:ef17:5137 with SMTP id 3-20020ac25f43000000b0050bef175137mr4523117lfz.35.1702577574903; Thu, 14 Dec 2023 10:12:54 -0800 (PST) MIME-Version: 1.0 References: <20231213232455.2248056-1-robh@kernel.org> <20231214-buzz-playlist-2f75095ef2b0@spud> In-Reply-To: <20231214-buzz-playlist-2f75095ef2b0@spud> From: Rob Herring Date: Thu, 14 Dec 2023 12:12:42 -0600 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH net-next] dt-bindings: net: marvell,orion-mdio: Drop "reg" sizes schema To: Conor Dooley Cc: "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Krzysztof Kozlowski , Conor Dooley , Andrew Lunn , netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE 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 X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Thu, 14 Dec 2023 10:13:02 -0800 (PST) On Thu, Dec 14, 2023 at 10:23=E2=80=AFAM Conor Dooley wr= ote: > > On Wed, Dec 13, 2023 at 05:24:55PM -0600, Rob Herring wrote: > > Defining the size of register regions is not really in scope of what > > bindings need to cover. The schema for this is also not completely corr= ect > > as a reg entry can be variable number of cells for the address and size= , > > but the schema assumes 1 cell. > > > > Signed-off-by: Rob Herring > > Does this not also remove restrictions on what the number in the reg > entry is actually allowed to be? Yes, that's what I mean with the first sentence. We don't do this anywhere else with the exception of some I2C devices with fixed addresses. Keying off of the interrupt property also seems questionable. If the register size is different, that should be a different compatible. I only noticed this when I happened to remove "definitions/cell" and this broke. That wasn't really intended to be public. Rob