Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp206462rdb; Tue, 5 Dec 2023 03:16:03 -0800 (PST) X-Google-Smtp-Source: AGHT+IH3GBiWj+UtO4z+lrBhQL1rTXu6KRvb4ZUlrpNCzjgSl9buqilTQkA6l814gFcn0MIkxlP3 X-Received: by 2002:a05:6358:d03:b0:170:5499:9a5d with SMTP id v3-20020a0563580d0300b0017054999a5dmr324163rwj.54.1701774962976; Tue, 05 Dec 2023 03:16:02 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701774962; cv=none; d=google.com; s=arc-20160816; b=wbMII/eeGMG5LDIXxshFZWE1M9gUdmKFxXFVAoTdp2Ff0GILERKdpSs0C2k5yfbtEX NnyTB6ImDR/Vt5s7hGLHxA//F/5BYAaoAA+PkBdhCqJ/aQy0icFXzcJ0gXj1Todff8AB Ft2QsL94Kx6c2rv1XaWPz0ZQsTckQMw4YEe1HXqGg0FIUIYfEshqqbqHIEc1ko8Y9/ly VcHkzXQL12AfwM2yHojErKyNdmizhLamI1sriQwwLIF1X6lRu6a6ptmJKEqaCkUkIB9F 2GJfabLij+Vxexqaja0gqMp8Htov9SYWQNsQPZaJ7KfR4n7T99YPBcLSFyZ2RYugvhPE mqCA== 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=zN4p9mMSLweMOX963KYS5AfN9Bd0ihIcJsLmbUm7JFg=; fh=AVtV1Wls/v1UV+o3DAyFguJvoENHVXWve3bKunUr09U=; b=n5wFkiMbJVmT7TcEqpF2N21HxHJ6lIO0JxWuPJL0ydLMs7Q9u1OOP3J5nDWjhKJShy cp+9WUcsEfhNd3cBT8++vEJklUGXf2Q58un+BRprDmyTZ3LVLt5q/yL122nfvtooPUnn tozLDMI08vNyZkygqLhoyyC3Z+HaFocA+7xJKh7Ku2/yqIzS3nyO4/HXYldaNSG+kfES 4kekO6nY49QjSdhdxwucCWNWGwzAdSF5uRjEjw5Jxh42je/EdmJROPixeysEuUjNtZvX /ZG4y/P+tCGGEBMr2emIWRJ7ylKn9M4Ny1xxLVu3u3Ilcsw2aevuV0PjbDIQeJLXQwKC YjZg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=K+Ud0UNE; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 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 fry.vger.email (fry.vger.email. [23.128.96.38]) by mx.google.com with ESMTPS id u6-20020a056a00158600b006933caa6f03si1601120pfk.165.2023.12.05.03.16.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 05 Dec 2023 03:16:02 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) client-ip=23.128.96.38; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=K+Ud0UNE; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by fry.vger.email (Postfix) with ESMTP id C6AC780A28EA; Tue, 5 Dec 2023 03:15:08 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1346764AbjLELOg (ORCPT + 99 others); Tue, 5 Dec 2023 06:14:36 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55698 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1345082AbjLELOd (ORCPT ); Tue, 5 Dec 2023 06:14:33 -0500 Received: from mail-lf1-x12d.google.com (mail-lf1-x12d.google.com [IPv6:2a00:1450:4864:20::12d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F21F6134; Tue, 5 Dec 2023 03:14:38 -0800 (PST) Received: by mail-lf1-x12d.google.com with SMTP id 2adb3069b0e04-50be3eed85aso4323481e87.2; Tue, 05 Dec 2023 03:14:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1701774877; x=1702379677; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=zN4p9mMSLweMOX963KYS5AfN9Bd0ihIcJsLmbUm7JFg=; b=K+Ud0UNEOQN7vWwqFW3/KpWwWNc/ZDnTmFjGFq/5HYW9GdwND6gI0SqzHNqvwjHCnW tKz4IQikF/dLHbyQTfEbRJIn7ik1OW8oAxz3bfjCp1gM0WdW/+xwBdjcLiYUcL8MH1MQ p1JbDy7dj7r6A7xQGJtOGe/VxT78E4O6iCvMhiAmfREEWvSXIq6cXqESt+XsZABlG2p9 x0zTOC/X2gordpoFcKutmpIzd6cxCDvY/A/K7KXpBOuLlrJAjFM/HcXzmcs9WwwmRQXK AFkk5+q2AB5d1PB1i3cHhwUPHqi1FL0/3a8fzaTOltEa/8DsyT2YMsghaIv2PhEHHYwm RP5Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701774877; x=1702379677; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=zN4p9mMSLweMOX963KYS5AfN9Bd0ihIcJsLmbUm7JFg=; b=LJ8SpLPSRAuAjjMQIP8VUE4Fgy1ng6MH02hf8FynAwEGBuNcsl10uuuM/+ekiWGVLD RmR9LeOOSOpi59ViM5u3kW+w8R+M94tL7wEKgdQ+Yc3JrJo4jaKwVk80F+u84yl6fxtW gx6mVWyxgc5l8VPXd5dRl86DdxY0ypTdWsuAOI6oIDKyU+fov/H3px5n3bKA/iyp/jcB +kFyOyTVJ3IVSK5hKaWlkIgZuI5CwwRWBV49ABtfq8QWfBksTvs+DZg76/0avv1eQXlx 3pmoqraZxyiCpahaAyUzIcYf3baR9PsTL5tq1qYSkbhbko1yCFT7cjC+QyZWXskQ1V2V GDzA== X-Gm-Message-State: AOJu0Yz6cfeUevi/PWXkpRHmadmry8Kr9oGSMaLrjlvR9F+WJkcZM8fi 2OEGuKi0F7HmoRaB+fhtn70= X-Received: by 2002:a05:6512:3082:b0:50c:aa5:1214 with SMTP id z2-20020a056512308200b0050c0aa51214mr400277lfd.38.1701774876689; Tue, 05 Dec 2023 03:14:36 -0800 (PST) Received: from mobilestation ([178.176.56.174]) by smtp.gmail.com with ESMTPSA id z28-20020a19505c000000b0050bfe37d283sm358069lfj.262.2023.12.05.03.14.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 05 Dec 2023 03:14:36 -0800 (PST) Date: Tue, 5 Dec 2023 14:14:34 +0300 From: Serge Semin To: "Russell King (Oracle)" Cc: Andrew Lunn , Heiner Kallweit , Alexandre Torgue , Jose Abreu , Jose Abreu , Maxime Chevallier , Tomer Maimon , Rob Herring , Krzysztof Kozlowski , Conor Dooley , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , openbmc@lists.ozlabs.org, netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH net-next 05/16] net: pcs: xpcs: Move native device ID macro to linux/pcs/pcs-xpcs.h Message-ID: References: <20231205103559.9605-1-fancer.lancer@gmail.com> <20231205103559.9605-6-fancer.lancer@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-0.6 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, 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 fry.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 (fry.vger.email [0.0.0.0]); Tue, 05 Dec 2023 03:15:09 -0800 (PST) On Tue, Dec 05, 2023 at 10:45:34AM +0000, Russell King (Oracle) wrote: > On Tue, Dec 05, 2023 at 01:35:26PM +0300, Serge Semin wrote: > > Generic MDIO-device driver will support setting a custom device ID for the > > particular MDIO-device. > > Why future tense? I don't see anything later in this patch set adding > this. After the next patch is applied [PATCH net-next 10/16] net: pcs: xpcs: Add generic DW XPCS MDIO-device support the DW XPCS driver _will_ support setting custom IDs based on the platform data and the DT compatibles. It can be used for instance to fix the already available SJ1105 and SJ1110 MDIO bus implementations, so instead of substituting the XPCS IDs on the PHYSID CSR reads the driver could just pass the device ID and PMA ID via the device platform data. If my patch log text looks unclear anyway, just say so. I'll change it accordingly. I guess it would be enough to say that moving is required just to collect all the IDs in a single place. -Serge(y) > > -- > RMK's Patch system: https://www.armlinux.org.uk/developer/patches/ > FTTP is here! 80Mbps down 10Mbps up. Decent connectivity at last!