Received: by 2002:a05:6a10:f3d0:0:0:0:0 with SMTP id a16csp4452546pxv; Tue, 29 Jun 2021 07:22:35 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzyx+30SEUVg2kSOOWdlKcH5DO8BZMp2SPz68RPkDGfxLfT06idUETCCTg3W9ro5SleXEbV X-Received: by 2002:a17:906:aed4:: with SMTP id me20mr30310090ejb.225.1624976555535; Tue, 29 Jun 2021 07:22:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1624976555; cv=none; d=google.com; s=arc-20160816; b=xBikGBXmZOEyqlkdyp33D1gVlfWcIgeOVKGe+1CnUionmcuWXIq0Xqi2RkT9lFxK0D q02JvDTtlh6qHaC90oZdMi3LF6skpvMt5lEsAUEvxUCZzCoB+QYZe/6p7vs+NB3OVELm tDHMV4C5iaj8i5jo5KeoLGhrgCNnoGpUqoAcM6PpRG4eR8DwDwUML8IDQzqovC/ZRIhW 0BF33Z644eI40/gg0FMTEPP7UToxkU6+1k6SsQItgtawyFrMvuReyuwdz175vjmRudnR aF2UDB0QezaaHL3rGhoAenxqa5qvbvky+FVB/ZbkFYIobWAjnZTbeCc96ouyQ00JiRGI Jj0Q== 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; bh=OmfYFeRirvP4cQ2N39rXkFHGm2EQASVxATkQTIKgSb4=; b=y9nA7nXWvaI7tvLO35XGpuxDvKoCa+633lUKnYyzdQkRWB0MyxeHxkWMiT2g60me6p oEG6DZBThyk6CzTjUnfXLYf66dLw8BOUUIGXOsT4KKRMp8JgCLW/qs2qAKmgZLTUysZg 6x9raNWJMd/oZhu+YB6Z9fkv0wv9IE4Ri5bumD2JZjsGwcbf2wj75rQnZLinyzpgL2DX XxBGkbJE36Mfu833J4S/xkIUhR9Z/nVfSD8CgkcJIm3wW2iIZ01fr7muSl92LoJ45t3o 0+bHhzVzgI1YDERl/3yCPeiKfvTzFQkD1gTvCgl1q6uFbYP/9AK/VUZpHI73I7HQJZLF UB/A== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=xilinx.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id w24si1843536eds.438.2021.06.29.07.22.08; Tue, 29 Jun 2021 07:22:35 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=xilinx.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234300AbhF2OWG (ORCPT + 99 others); Tue, 29 Jun 2021 10:22:06 -0400 Received: from mail-yb1-f174.google.com ([209.85.219.174]:37599 "EHLO mail-yb1-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233941AbhF2OWF (ORCPT ); Tue, 29 Jun 2021 10:22:05 -0400 Received: by mail-yb1-f174.google.com with SMTP id b13so24667484ybk.4; Tue, 29 Jun 2021 07:19:38 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=OmfYFeRirvP4cQ2N39rXkFHGm2EQASVxATkQTIKgSb4=; b=p1Yg1sCoeZts6v96syM3u830pDn49hdKzddMJ4dri3dEVRGsZ319Gzcz/mlN6GWN8R Ej7GLyQGLUPX8+QKiUpJ9QdsYxzMVQ6YgU180u4TfayivsCdimKaT+fT+CyjcuNllsYw vx3bHvY9FLVJiKtc7kX+w5nIVMyPZ/mu6k3CvqfKYaJewZAIfvXCOHK61EucG596fHa/ 3P2j4RaHbPL8XOd5kJe53LmWuRhN0B4ILUPtv5HwJ4wfBLWOTWavEe/psE/6BQ9c4aPb HIAgVxMXhFfjfavM8Sl7y1eK6Srq8zlS22TZvCsWPu8gEZfhKez2a7diPV89meciGhgA I2ig== X-Gm-Message-State: AOAM532moDX0tXSw0eV15UYDfWgvVR3myIOoJO6Ba/dhevK/FEZIO7q/ CH3g2FLTleepI/VJOHv0xq2f77HUVciyrWNNY/U= X-Received: by 2002:a25:6dc5:: with SMTP id i188mr39982005ybc.420.1624976377812; Tue, 29 Jun 2021 07:19:37 -0700 (PDT) MIME-Version: 1.0 References: <20210629094038.18610-1-harini.katakam@xilinx.com> <20210629094038.18610-4-harini.katakam@xilinx.com> <453afad0-4e4b-f1bf-6ec5-5675d2c9c1b6@gmail.com> In-Reply-To: <453afad0-4e4b-f1bf-6ec5-5675d2c9c1b6@gmail.com> From: Harini Katakam Date: Tue, 29 Jun 2021 19:49:26 +0530 Message-ID: Subject: Re: [PATCH 3/3] phy: mscc: Add support for VSC8531_02 with RGMII tuning To: Heiner Kallweit Cc: Harini Katakam , Rob Herring , Andrew Lunn , linux@armlinux.org.uk, David Miller , kuba@kernel.org, steen.hegelund@microchip.com, bjarni.jonasson@microchip.com, ioana.ciornei@nxp.com, likaige@loongson.cn, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Michal Simek , radhey.shyam.pandey@xilinx.com Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Heiner, On Tue, Jun 29, 2021 at 4:11 PM Heiner Kallweit wrote: > > On 29.06.2021 11:40, Harini Katakam wrote: > > Add support for VSC8531_02 (Rev 2) device. > > Add support for optional RGMII RX and TX delay tuning via devicetree. > > The hierarchy is: > > - Retain the defaul 0.2ns delay when RGMII tuning is not set. > > - Retain the default 2ns delay when RGMII tuning is set and DT delay > > property is NOT specified. > > - Use the DT delay value when RGMII tuning is set and a DT delay > > property is specified. > > > > Signed-off-by: Harini Katakam > > Signed-off-by: Radhey Shyam Pandey > > Signed-off-by: Michal Simek > > --- > > drivers/net/phy/mscc/mscc.h | 3 +++ > > drivers/net/phy/mscc/mscc_main.c | 41 ++++++++++++++++++++++++++++++-- > > 2 files changed, 42 insertions(+), 2 deletions(-) > > > { > > .phy_id = PHY_ID_VSC8540, > > .name = "Microsemi FE VSC8540 SyncE", > > @@ -2668,6 +2704,7 @@ static struct mdio_device_id __maybe_unused vsc85xx_tbl[] = { > > { PHY_ID_VSC8514, 0xfffffff0, }, > > { PHY_ID_VSC8530, 0xfffffff0, }, > > { PHY_ID_VSC8531, 0xfffffff0, }, > > + { PHY_ID_VSC8531_02, 0xfffffff0, }, > > Effectively this is the same as the line before. Maybe it would make sense > to change this table in a follow-up patch to just one entry covering all > PHY ID's with the vendor part being Microsemi, e.g. using macro > PHY_ID_MATCH_VENDOR(). Thanks for the review. Let me check and test - I have a couple of these parts. Will try to include the patch in this series. Regards, Harini