From patchwork Tue Jan 18 05:39:48 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yuji Ishikawa X-Patchwork-Id: 12715902 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id E710FC433EF for ; Tue, 18 Jan 2022 05:47:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:List-Subscribe:List-Help: List-Post:List-Archive:List-Unsubscribe:List-Id:Message-Id:Date:Subject:Cc:To :From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=qamyTn8wjAq/YUYja2K7tpLZExn73vTqg17jLMCK0GQ=; b=blOGesi79yDLjt 9PsbsHoUAYesefSMI915g02WC/flhvbscGKYb5GEoxJUovLsLZ7Xz96ypgdizRNVQgCFNm4v5gi+p XbFc931w6p03QoE4i+8e7gGC6ypJ5wQBVA0kzW+UILKPy6plk86bPytp3xwuoOe6N/0xjcil6WEIC 6rxwBENd4XfshivHn35Rvxtgzq0S/NqUhojzbH7qOAzjiLxM9kUzOaAsJ/4g45dSL1xHoJbZXaSl5 8kms76wai/QzCBvyxCpJacc3OWbgQEH3wm6UgkBvizlGpNLWuwQHM9zxt9YibVsVMOYiOtHhFpoZp l8JKW2wjs4DfvMNvnfhw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1n9hJf-000MPZ-CZ; Tue, 18 Jan 2022 05:45:59 +0000 Received: from mo-csw1114.securemx.jp ([210.130.202.156] helo=mo-csw.securemx.jp) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1n9hJa-000MOQ-M6 for linux-arm-kernel@lists.infradead.org; Tue, 18 Jan 2022 05:45:56 +0000 Received: by mo-csw.securemx.jp (mx-mo-csw1114) id 20I5jXKj029185; Tue, 18 Jan 2022 14:45:34 +0900 X-Iguazu-Qid: 2wHHIL40QtV8NW2CLi X-Iguazu-QSIG: v=2; s=0; t=1642484733; q=2wHHIL40QtV8NW2CLi; m=yz8q50yz9Zps8BdmZbXaoX+nNcTm3OkiNrwjlcmatLE= Received: from imx12-a.toshiba.co.jp (imx12-a.toshiba.co.jp [61.202.160.135]) by relay.securemx.jp (mx-mr1110) id 20I5jVqx037499 (version=TLSv1.2 cipher=AES128-GCM-SHA256 bits=128 verify=NOT); Tue, 18 Jan 2022 14:45:32 +0900 X-SA-MID: 31741573 From: Yuji Ishikawa To: "David S . Miller" , Jakub Kicinski Cc: Giuseppe Cavallaro , Alexandre Torgue , Jose Abreu , netdev@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, nobuhiro1.iwamatsu@toshiba.co.jp, yuji2.ishikawa@toshiba.co.jp Subject: [PATCH 0/2] net: stmmac: dwmac-visconti: Fix bit definitions and clock configuration for RMII mode Date: Tue, 18 Jan 2022 14:39:48 +0900 X-TSB-HOP: ON X-TSB-HOP2: ON Message-Id: <20220118053950.2605-1-yuji2.ishikawa@toshiba.co.jp> X-Mailer: git-send-email 2.17.1 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220117_214555_037018_0F4D9022 X-CRM114-Status: UNSURE ( 6.25 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Hi, This series is a fix for RMII/MII operation mode of the dwmac-visconti driver. It is composed of two parts: * 1/2: fix constant definitions for cleared bits in ETHER_CLK_SEL register * 2/2: fix configuration of ETHER_CLK_SEL register for running in RMII operation mode. Best regards, Yuji Yuji Ishikawa (2): net: stmmac: dwmac-visconti: Fix bit definitions for ETHER_CLK_SEL net: stmmac: dwmac-visconti: Fix clock configuration for RMII mode .../ethernet/stmicro/stmmac/dwmac-visconti.c | 42 ++++++++++++------- 1 file changed, 26 insertions(+), 16 deletions(-)