Received: by 2002:ac0:e350:0:0:0:0:0 with SMTP id g16csp166445imn; Fri, 29 Jul 2022 03:23:10 -0700 (PDT) X-Google-Smtp-Source: AGRyM1t6qEkicHOmnCucxGa/G7SEo5dnTMkTfetWCgDyVYyJC2j1NNIaATlpQ4wPskBkMKvkp4Dm X-Received: by 2002:a05:6402:354b:b0:43b:bef0:5b67 with SMTP id f11-20020a056402354b00b0043bbef05b67mr2801282edd.357.1659090190153; Fri, 29 Jul 2022 03:23:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1659090190; cv=none; d=google.com; s=arc-20160816; b=t7KRkpXDG7//VckTWZJbvs/ScC96Hwcx39j0A4dNCNfDZfxX0EF/F3wdzU5AdgT3v5 feU0zo6pOOAAXeqIoBOILcSc88eMIP3k693phlSoRQElzk4LRaPnsF397PeCStH/OIdX Msw3bOhxfGycH1/zITakOv4IodPTbPYFE14mRdQO/z9Le5PlmaNXpsC8A/lgIlqAZZ4P 4SxVgExbu/ccu7gJb9djA+ZI4t7+bQHGFR/qC6hzQbvIlSwGFQNB0PklwZewlS6rJMwQ JVBYY9rFW5GG35as+JN6OansmqIB32ArBaK96L773lk4AEyn8dXheqSFs+CZjaY+3La6 MTfg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=F8cMzvkhyXMKKrJL4HV7iWQsiCgB3iVXXWwPTPW7oIU=; b=PgMOpjno3eFFJIxtgFB3Ixbl29MbNA5Co+Zj+rqJokOojQrz58LFsu3zNYn+jTSzX2 rAjg/A3XJJ2Gl74cSfPAlIbnKFosaWHM/QW0Flmc+KNJK/PoKWMI0R6LxpGADg9tKMoL o5E8tNE0SzEUTRV64J0mJooKVe/JeRLU+qPeWNLDAK1oljwx/rn1zXxOEpFi0Tu5vJIE ArqwMvUrOyqQL3SGgfgU9aZtgRyBUMAmH1sXVpm3+LvU+y2+36sHrQat8tyHDyiaqz8E z5w6l+UoVyYxnxIQV6duFGcmwp8XjAWYpEjffYQ4OKMkB8LLrjZ279rIyg1F+3Bazlz+ 0crQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=AgNSahQ2; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id b15-20020a056402084f00b0043ccb3ed897si3482986edz.213.2022.07.29.03.22.45; Fri, 29 Jul 2022 03:23:10 -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=@gmail.com header.s=20210112 header.b=AgNSahQ2; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234550AbiG2KAH (ORCPT + 99 others); Fri, 29 Jul 2022 06:00:07 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55332 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229520AbiG2KAG (ORCPT ); Fri, 29 Jul 2022 06:00:06 -0400 Received: from mail-ed1-x536.google.com (mail-ed1-x536.google.com [IPv6:2a00:1450:4864:20::536]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6A50F3CBC4; Fri, 29 Jul 2022 03:00:04 -0700 (PDT) Received: by mail-ed1-x536.google.com with SMTP id p5so5175283edi.12; Fri, 29 Jul 2022 03:00:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc; bh=F8cMzvkhyXMKKrJL4HV7iWQsiCgB3iVXXWwPTPW7oIU=; b=AgNSahQ21UQuNFBOAO5lkmuNaIWFqTOn8yPy9G6JAr2B3bsHWHmYOAH9WWpGmh7f7J wOXFIcECW85zg79JjH3eZJn2jgKtRChA6ph9tTzKFDDYYO6GmESmQYv7bIB/z1x4zln3 Hc8ODB8HZiiGLcUix9BP9NRERrcwVAB3jChkc0jDC7k8terC76IJd7/YrSRyMOa/DE8e w9i5IRuHeoANK+6TMALLyox6ZS7SAD4qolb2Xt0F6rM9vHw2em34jGlKIu85Lhy8FESt V9nPZvZofM3ftmG4v38M+/EHtS+Q7dbowfi+H12X9c2jV50zpjdifHUpvGA3SxbSnbzu P3OQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc; bh=F8cMzvkhyXMKKrJL4HV7iWQsiCgB3iVXXWwPTPW7oIU=; b=XaUeKFJBrwPHM8zispYrIKi/Sp2A89FwCzp1bMJQpVp4yNiBvYamk/Bkj52XrHI0jP ae7wL5B6CtjVvJo1Xq+otLeFq78fs80cCVLeTcT10p2JJjyHevP9r8ckesAweGLT50Ny dNEb58bkFNyZy59wjdyXSyWoGQwb5hgRvrJ5PhrnBPs1MeIOpE/AT+LO8TmirBAqCh3y g2PQ7fKzdB6XWPefqMLKVDMbaENHcC1DDRW2HzggWLdkfW5w3163S/2f6GbR193xzUmi TaT9ruhSdP7RAWhmj+qI1MjOL4lHL/H1E9hXsBaCHxO86Gs4AMYpKqXyf3hcYj6ODwI0 u+0g== X-Gm-Message-State: AJIora/RFTaeKguXGF/pWmdYRYHDptjp5U6PRy6jI95VS3DHwluB2y11 kxwNh6bEmefiD/fPsxIf7UklzgaMO4hrVeZSsZY= X-Received: by 2002:a05:6402:501d:b0:437:e000:a898 with SMTP id p29-20020a056402501d00b00437e000a898mr2800261eda.265.1659088802585; Fri, 29 Jul 2022 03:00:02 -0700 (PDT) MIME-Version: 1.0 References: <20220727064321.2953971-7-mw@semihalf.com> <20220727143147.u6yd6wqslilspyhw@skbuf> <20220727163848.f4e2b263zz3vl2hc@skbuf> <20220727211112.kcpbxbql3tw5q5sx@skbuf> <20220728195607.co75o3k2ggjlszlw@skbuf> In-Reply-To: From: Andy Shevchenko Date: Fri, 29 Jul 2022 11:59:22 +0200 Message-ID: Subject: Re: [net-next: PATCH v3 6/8] net: core: switch to fwnode_find_net_device_by_node() To: Andrew Lunn Cc: Marcin Wojtas , Vladimir Oltean , Linux Kernel Mailing List , ACPI Devel Maling List , netdev , "Rafael J. Wysocki" , Andy Shevchenko , Sean Wang , Landen Chao , Linus Walleij , Vivien Didelot , Florian Fainelli , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Russell King - ARM Linux , Heiner Kallweit , Grzegorz Bernacki , Grzegorz Jaszczyk , Tomasz Nowicki , Samer El-Haj-Mahmoud , upstream@semihalf.com Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,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 Fri, Jul 29, 2022 at 12:29 AM Andrew Lunn wrote: > On Thu, Jul 28, 2022 at 11:23:31PM +0200, Marcin Wojtas wrote: ... > ACPI and DT are different things, so i don't see why they need to > share code. Yes and no. ACPI _DSD extension allows us to share a lot of code when it comes to specific device properties (that are not standardized anyhow by ACPI specification, and for the record many of them even may not, but some are, like MIPI camera). Maybe you want to have something like a property standard for DSA that can be published as MIPI or so and then that part of the code of course may very well be shared. Discussed MDIOSerialBus() resource type is pure ACPI thingy if going to be standardized and indeed, that part can't be shared. Entire exercise with fwnodes allows to make drivers (most of or most of the parts of) to be shared between different resource providers. And this is a cool part about it. -- With Best Regards, Andy Shevchenko