Received: by 2002:a05:6358:16cc:b0:ea:6187:17c9 with SMTP id r12csp10182996rwl; Wed, 11 Jan 2023 16:02:38 -0800 (PST) X-Google-Smtp-Source: AMrXdXtUIHXHOf6IFdUOylkfe7szSgiX23q9ZhED15GN59wXcmP4Ie9ryFTXIDV5hdvyeyavW2Rs X-Received: by 2002:a17:907:8b98:b0:840:a6a3:41c7 with SMTP id tb24-20020a1709078b9800b00840a6a341c7mr66960018ejc.50.1673481758717; Wed, 11 Jan 2023 16:02:38 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673481758; cv=none; d=google.com; s=arc-20160816; b=FK/AbaQSXUncRL5nnKjwX5sLFLEpo6ky+7+7WgBg/pclPsxb3qr9pL225455A81zOs g1ozMvRRC1fWmFukz6CQdJu+p2prwszIrS+Nn+Jl/dHBUcujZhSd65XuHeiyEr2GZWL/ gi1LvH1+cD5Ks0cnOmc7nbi8eyeGnchwUtlDQOjNoZxFO1cwFDJbZaE/wZX6cJRlMwom jlSPk8UqT/vTqF1L8qns1eOae6GKCQC91Vs/KGJcJ8BgCRXpKVOm++NbImEYTD//vghM 7UYtl7IZrmycmnf1GTVietcDPtLuv6W1nMvznOF3HAHVfp5tQaRi0mwqujiXNqbXrEyz 7DAQ== 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=YOedTnXL6ljnrOqWRbkroyShXD3I/zAhcql2fABRit0=; b=mX0RXX9qLdbuAod494u1RhlqE65u9ep3d6sqloN7pHVsbi5QkPso5rqttudUyU7y1v C/7+sVahliePjuH0+1RMrpJvdLHsfMP3qQ89Goxwqc6ZHbAc4RhHt0OLF+cTWxk8ksuk zpZeWHxh6L4C+E9hfNKJWk8vSQSXmm847+TqPSqDApBF4ABBTDzuHSdq4kBW2x1pZLPE ox5DYEL1rwbcYADfjkflgp1D+uGqMF1t/gGqXr1v4LAZh+Pw3RECKLI5i4iRZrAgxLLB kmjlNbhoEBdt651FmYsxFX7w4LDty7Is+4gF61Yi9AlSb54oBRBbwQO/HbaOnzqwWEoR +L5A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lunn.ch header.s=20171124 header.b=qQ6hZzJH; 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=NONE dis=NONE) header.from=lunn.ch Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id nc30-20020a1709071c1e00b00860c82c5203si2591100ejc.419.2023.01.11.16.02.26; Wed, 11 Jan 2023 16:02:38 -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=@lunn.ch header.s=20171124 header.b=qQ6hZzJH; 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=NONE dis=NONE) header.from=lunn.ch Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234899AbjAKWsS (ORCPT + 50 others); Wed, 11 Jan 2023 17:48:18 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46312 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232662AbjAKWsQ (ORCPT ); Wed, 11 Jan 2023 17:48:16 -0500 Received: from vps0.lunn.ch (vps0.lunn.ch [156.67.10.101]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3CCF85F5F; Wed, 11 Jan 2023 14:48:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lunn.ch; s=20171124; h=In-Reply-To:Content-Disposition:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:From:Sender:Reply-To:Subject: Date:Message-ID:To:Cc:MIME-Version:Content-Type:Content-Transfer-Encoding: Content-ID:Content-Description:Content-Disposition:In-Reply-To:References; bh=YOedTnXL6ljnrOqWRbkroyShXD3I/zAhcql2fABRit0=; b=qQ6hZzJHaOAbhqofs216Z6uKDd UL9sqOkqY0yHjRnd34Dyqly+7mpKxJlI9X13hwjlbIteSnYoUUt2Z3q6x1q9aCEmAGbkwHDe00AA9 0cCQM8zF9pamulhb1fBrF9j511ZdaKPtAK+xhbeqbZ3c4FkaNa5q0tE/31sOF2Nvtm/4=; Received: from andrew by vps0.lunn.ch with local (Exim 4.94.2) (envelope-from ) id 1pFjt3-001odJ-GO; Wed, 11 Jan 2023 23:48:01 +0100 Date: Wed, 11 Jan 2023 23:48:01 +0100 From: Andrew Lunn To: Michael Walle Cc: Rob Herring , "David S . Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Krzysztof Kozlowski , Xu Liang , Heiner Kallweit , Russell King , netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH net-next v3 2/4] dt-bindings: net: phy: add MaxLinear GPY2xx bindings Message-ID: References: <20230109123013.3094144-1-michael@walle.cc> <20230109123013.3094144-3-michael@walle.cc> <20230111202639.GA1236027-robh@kernel.org> <73f8aad30e0d5c3badbd62030e545ef6@walle.cc> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <73f8aad30e0d5c3badbd62030e545ef6@walle.cc> X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,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 > I know, I noticed this the first time I tested the schema. But then > I've looked at all the other PHY binding and not one has a compatible. > > I presume if there is a compatible, the devicetrees also need a > compatible. So basically, "required: compatible" in the schema, right? > But that is where the PHY maintainers don't agree. It should not be required. The compatible is optional. The kernel is happy without it. You can add a compatible to make the DT linter happy, but you are only adding it to make the linter work. Hence it needs to be optional. All real DT blobs are unlikely to have a compatible, given that this PHY is known not to be broken in terms of enumeration via its ID registers. Andrew