Received: by 2002:a05:7412:419a:b0:f3:1519:9f41 with SMTP id i26csp405654rdh; Thu, 23 Nov 2023 07:07:55 -0800 (PST) X-Google-Smtp-Source: AGHT+IEA9p939tgb1pX//urZ9PPwl332hVLPViNAhNp6WmjQN+88hQgMAkcLZHYupM4qvhXu8vhB X-Received: by 2002:a17:902:ce83:b0:1ce:5f0d:e573 with SMTP id f3-20020a170902ce8300b001ce5f0de573mr3887096plg.0.1700752074668; Thu, 23 Nov 2023 07:07:54 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700752074; cv=none; d=google.com; s=arc-20160816; b=qtsuRFN5mORNHzSm6qL0UlydN662vrQrcmMa5gf1FzNMQna6OEkOj0Eao4+fe2uagL tqO8VVWJ2g+gyG5RqNvyF//cV5tV1Ol3+XM2GAyU6BXFIlUWOUw24SBJEb6PhzGxhRzb dLOOloZvc4rYMI0cDqUNiceMhhBWwhvJFRXetywqoWT8/c8iUIajwrzBQFjlhUqCQDO3 njB7foCB1kiW8bigPhAOJmUaQF0GIDuXINocM4RA0r8aXDSdkI72GCAAVIOx2i9fHqz2 OsnQH+l30VaukiVvQZVs1IoPCDpYQ1Oy0PApYEt3cI28mEnxU2Apofc7hIqJJZxVePiy QR6g== 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=9Ianm+oK/3Nrdav46TrJiBmP/52mNqCzayho+jiWIkU=; fh=jQsRwSEfalKVlxJsekS3G2ztHC1RYHs6Nqut7teRHS0=; b=ZjETGZ09pA98kIeU17CIYS4Tgu8fxeeHm0LWsmOeIrfR9LGJ2FplCPxFXHHZAwuhmn E3rOBw8amqbiv5qyHEdFc1vQkeroY37cqNlAxMgbyQbmJ36mMQGGY4ReDMTZFlM6QzIT xjfDr84p2oMogYJRfLoRJEVg7/wSEo6b8GT90AoIeFP76WxSITsz+W3y5MVgN4NS4F18 IP+nD9QgFGyFKl8Jz0OymnfbWmCObcUpMCF8OlZywyK5JI06bGEn94vIPo7ZxkdQZ7ZZ lakpXGopCqjYcnsrhLsFZauwS0WEZVPDBCSMYgV4bm/mLIoDWQ41YbayiyvWdxCLpJy+ 2F3g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lunn.ch header.s=20171124 header.b=ljBTLiaf; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 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 morse.vger.email (morse.vger.email. [2620:137:e000::3:1]) by mx.google.com with ESMTPS id jj14-20020a170903048e00b001bf1d1d99b0si1281200plb.568.2023.11.23.07.07.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 23 Nov 2023 07:07:54 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 as permitted sender) client-ip=2620:137:e000::3:1; Authentication-Results: mx.google.com; dkim=pass header.i=@lunn.ch header.s=20171124 header.b=ljBTLiaf; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=lunn.ch Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by morse.vger.email (Postfix) with ESMTP id A2EDC8087CAD; Thu, 23 Nov 2023 07:07:39 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at morse.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345969AbjKWPHY (ORCPT + 99 others); Thu, 23 Nov 2023 10:07:24 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37940 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1345960AbjKWPHX (ORCPT ); Thu, 23 Nov 2023 10:07:23 -0500 Received: from vps0.lunn.ch (vps0.lunn.ch [156.67.10.101]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5EE43D41; Thu, 23 Nov 2023 07:07:30 -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=9Ianm+oK/3Nrdav46TrJiBmP/52mNqCzayho+jiWIkU=; b=ljBTLiaf1hJ76JNKk8LoCzMwbV ZcJZ6xDa65NxGWrtUcU+4hzgpRmHVIZ6Fceuf3Ba86xE0awdKaDt9XttJ7Q5OMuZ6zw8weIkusY+o ZacLC42AjFuLQvez3RIj8MXx51Ugy6QIp0O9ZhH0Rw5N/CQ74oOBupwnOruQ313iegow=; Received: from andrew by vps0.lunn.ch with local (Exim 4.94.2) (envelope-from ) id 1r6BIQ-0010N2-G5; Thu, 23 Nov 2023 16:07:14 +0100 Date: Thu, 23 Nov 2023 16:07:14 +0100 From: Andrew Lunn To: Christian Marangi Cc: Rob Herring , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Krzysztof Kozlowski , Conor Dooley , Andy Gross , Bjorn Andersson , Konrad Dybcio , Heiner Kallweit , Russell King , Florian Fainelli , Broadcom internal kernel review list , Daniel Golle , Qingfang Deng , SkyLake Huang , Matthias Brugger , AngeloGioacchino Del Regno , David Epping , Vladimir Oltean , "Russell King (Oracle)" , Harini Katakam , Simon Horman , Robert Marko , netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org Subject: Re: [net-next RFC PATCH 03/14] dt-bindings: net: document ethernet PHY package nodes Message-ID: <6eb2e061-5fcb-434a-ad43-370788075597@lunn.ch> References: <20231120135041.15259-1-ansuelsmth@gmail.com> <20231120135041.15259-4-ansuelsmth@gmail.com> <20231121144244.GA1682395-robh@kernel.org> <655e4939.5d0a0220.d9a9e.0491@mx.google.com> <6a030399-b8ed-4e2c-899f-d82eb437aafa@lunn.ch> <655f2ba9.5d0a0220.294f3.38d8@mx.google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <655f2ba9.5d0a0220.294f3.38d8@mx.google.com> X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on morse.vger.email 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 (morse.vger.email [0.0.0.0]); Thu, 23 Nov 2023 07:07:39 -0800 (PST) > compatible = "ethernet-phy-package", "qca807x-phy-package"; > > With "ethernet-phy-package" a must and "qca807x-phy-package" used only > if additional property are used. > > My current idea was to use select and base everything on the possible > PHY compatible (and it does work, tested by adding bloat in the DT > example and seeing if the schema was rejected). Had this idea since the > compatible would never be used. The DT people are unhappy with PHYs don't use compatibles, so validation does not work. It probably too late to add compatibles to very PHY driver. But this is new development work, we don't have any history. So we can add a compatible per package to make the validation tools work. So for parsing the tree in the kernel we look for 'ethernet-phy-package'. For validating the tree using the yaml tools we use the 'qca807x-phy-package'. Andrew