Received: by 2002:a05:6a10:af89:0:0:0:0 with SMTP id iu9csp5879098pxb; Thu, 27 Jan 2022 01:15:08 -0800 (PST) X-Google-Smtp-Source: ABdhPJxMXMlp2xBSmzUD+UuoXTKssUp0ZrzY5HKPzNbIX1K/jMy7qlnvqwX2vGEpcNSDPfw3DZev X-Received: by 2002:a17:90a:ab81:: with SMTP id n1mr3226182pjq.48.1643274908068; Thu, 27 Jan 2022 01:15:08 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1643274908; cv=none; d=google.com; s=arc-20160816; b=uAgtypna2QprGa5/RdSIS6p50ts8Va7CxKomkc6L1klJrrK9DZJezxxEtWGz3fOywG XAsSOQlFYacNhD/nOsJ30Ikc2QFZl/gBesn+hKlhZ8H4EWcP8Jtn+V7qBGf5VMfS9urF 884mwDNoBp7shvHWAhHBRi9IRisWfKbGYn62G/LU18DUM0dKd6hRVaQ8vyCqL2NGgAUR WObuksYfeSLi3D6JdyapVBuQnF/FKTxSRQub1JkLmsqTD8SSEhNzT0Wh3V6vtbJtohU8 YNQPPNy9VW93owDJ+J6FGRb1JzegNUhxo8GUT7Px7yLouNYqvxHhOOwGGexMxtMCioqY b3SA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:dkim-signature; bh=0G1UogeYiMHezzn69cabyVHv/Wsfv6Zk4JZ77udVd1Y=; b=HzHYXC4eFKSpG/SPvU9HWoRHH8w+eJEwNJYknUYd5EFlnDkuYhz1i3XoGlyilV1GDY JFMbrhY8NroPdJIz1bAhB16w3NOJj8+Sel0TMEOuBsU7BGV57BtmgZkap1EeUOyFGScs jfw2uMAvHvAVdSDiiy24vNGFG6bLRVjDyDc2pC0XjwXbHuLxQPGmXyj8e5Khv6Rf/X8G AXrfaqUfpKpAVuG0Bclm1X/UOlb0meDqdbU2ShaxisSW6MDmwdtpFSg9cEVaYNMFCsZe IZQlztJxXmlsheHLAPjyYsZnJPaUeAQ4sZK9qn/7798IHaFGdxkKJwG9DgxBSpKYmv1T xKtQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=YcpmWvmI; 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=pass (p=NONE sp=NONE dis=NONE) header.from=mediatek.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id r3si1587031pff.365.2022.01.27.01.14.56; Thu, 27 Jan 2022 01:15:08 -0800 (PST) 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; dkim=pass header.i=@mediatek.com header.s=dk header.b=YcpmWvmI; 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=pass (p=NONE sp=NONE dis=NONE) header.from=mediatek.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235068AbiA0CXk (ORCPT + 99 others); Wed, 26 Jan 2022 21:23:40 -0500 Received: from mailgw02.mediatek.com ([210.61.82.184]:58566 "EHLO mailgw02.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S229518AbiA0CXk (ORCPT ); Wed, 26 Jan 2022 21:23:40 -0500 X-UUID: 8ec20c5efc0d4d26844421a251dfaa63-20220127 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mediatek.com; s=dk; h=Content-Transfer-Encoding:Content-Type:In-Reply-To:MIME-Version:Date:Message-ID:From:References:CC:To:Subject; bh=0G1UogeYiMHezzn69cabyVHv/Wsfv6Zk4JZ77udVd1Y=; b=YcpmWvmId3bhySd8sDKNe3IQCRuqG1u4/EsNlLExDdFz9KbW1P1sUuSqqYqMtW0UGkqHOb87eHc3D0JDAgKR6mgB7wxhRxG2NAQ3JU0oEe8I3y4kpDAN4XxRiMJ4XvGs0myLQaLXxF5W4/lhJf7Y2qHfC4YZTYchbkDrGL2ebBw=; X-UUID: 8ec20c5efc0d4d26844421a251dfaa63-20220127 Received: from mtkcas11.mediatek.inc [(172.21.101.40)] by mailgw02.mediatek.com (envelope-from ) (Generic MTA with TLSv1.2 ECDHE-RSA-AES256-SHA384 256/256) with ESMTP id 51761725; Thu, 27 Jan 2022 10:23:36 +0800 Received: from mtkcas10.mediatek.inc (172.21.101.39) by mtkmbs10n1.mediatek.inc (172.21.101.34) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.2.792.15; Thu, 27 Jan 2022 10:23:35 +0800 Received: from [172.21.84.99] (172.21.84.99) by mtkcas10.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Thu, 27 Jan 2022 10:23:35 +0800 Subject: Re: [PATCH net-next v2 1/9] net: ethernet: mtk-star-emac: store bit_clk_div in compat structure To: Biao Huang , David Miller , Rob Herring , Bartosz Golaszewski , "Fabien Parent" CC: Jakub Kicinski , Felix Fietkau , "John Crispin" , Sean Wang , Mark Lee , Matthias Brugger , , , , , , Yinghua Pan , References: <20220127015857.9868-1-biao.huang@mediatek.com> <20220127015857.9868-2-biao.huang@mediatek.com> From: Macpaul Lin Message-ID: <7a544fae-e7ff-d2a2-0ee5-1dca2f855be0@mediatek.com> Date: Thu, 27 Jan 2022 10:23:35 +0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: <20220127015857.9868-2-biao.huang@mediatek.com> Content-Type: text/plain; charset="utf-8"; format=flowed Content-Language: en-US Content-Transfer-Encoding: base64 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@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