Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp10555464rwb; Fri, 25 Nov 2022 05:48:25 -0800 (PST) X-Google-Smtp-Source: AA0mqf6J5oPkvXh55GUUBNg4yYyvOn7sJtmhY9bN1FZ0/FRO/0fSjqbiEzGIlh2g8byupTaYiKuN X-Received: by 2002:a17:906:30c3:b0:7ba:a674:22e4 with SMTP id b3-20020a17090630c300b007baa67422e4mr8575158ejb.279.1669384104988; Fri, 25 Nov 2022 05:48:24 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669384104; cv=none; d=google.com; s=arc-20160816; b=YebHFf6LUZeJ2EeaQRb9d8MBAkHcfOeorekP/cgV5x7MQEnpmY3DR7H5JHosijMiuh yajGW1XDzAJfgdvT6nDZ9z4NwuSgpGzFnukdKOXLFbI793vsO9sLEJrjjWaEmEe9Da2B uZAC8V5ZeMDgX1gvNFnwYJTkLZv/Z4/xooAav3/oBYAimdeHOfOXr/hqx+l5SWVIfg58 vZa6loSmNQXE00YXPzW/+VH9TMv+lcK9JP0DyMF3W/yitBlOuRsISBbKNhNKpUG8uCCT SLBynoUUTfk4y0H/gOiBbWGACbTzuXsaWZb5sUGiFvmUF/TqLg8ex4sVhIQt7VXemxRW JL7w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=0d1cFLg9vl+Y4ldKUYkiu6bdGuh9DYdx4Y4f8oOvYjY=; b=sJiaeLwAch5QqC1LIr05nl29ddjIF9XEH8kiPCRvy4aGbI/nSfmx/uuDle0qKodb6O jILe+HLGoE5lUKlLvWh/ddq5l2Dw6d8bh0q8pHjZLmmHLyeBh6VkO5g7Ub589gtkvyBQ ASzO9CQqZ9bxoBhD2Lq9DDTpv+Mx+Gyru5Xa6LZbvVUoEjYJ2FcJElbbBXn7PaBuUrWl /XOky9HHVf4xq4GDXJCWykFodx+L4fOsyp2HGpfBdTFhfQLlbKWJZVNaIgFcmiA7oHsR M8CuJw1yTqW4pje+4XsKOJY+ljxe6JoZmU/3X6JiJbLniTRg92HcJ+wWP5N/L6qvJgVn Ah2w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b="TPQyE/rY"; 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=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id x2-20020a05640226c200b00458b42ff418si2730143edd.221.2022.11.25.05.48.01; Fri, 25 Nov 2022 05:48:24 -0800 (PST) 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=@bootlin.com header.s=gm1 header.b="TPQyE/rY"; 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=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229700AbiKYNSM (ORCPT + 86 others); Fri, 25 Nov 2022 08:18:12 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48152 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229529AbiKYNSK (ORCPT ); Fri, 25 Nov 2022 08:18:10 -0500 Received: from relay11.mail.gandi.net (relay11.mail.gandi.net [IPv6:2001:4b98:dc4:8::231]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 010312E6A9; Fri, 25 Nov 2022 05:18:08 -0800 (PST) Received: (Authenticated sender: maxime.chevallier@bootlin.com) by mail.gandi.net (Postfix) with ESMTPSA id 4E88A10000B; Fri, 25 Nov 2022 13:18:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1669382287; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=0d1cFLg9vl+Y4ldKUYkiu6bdGuh9DYdx4Y4f8oOvYjY=; b=TPQyE/rY1wNqd0FskVoPtDoHcp10guMJ73MlQIwlblQJO3x6dFAkplU5Y8GHhejVMLWq4q vGIJpMiyENS/FSYsTLu7caevWi2rU8m3ia8EGeDbofzGGYhJEZM3P0FiCcnkTUfOPSwmr6 VwLKgNAeIEOm4HC0lMliiE9z8JHSpATviAXdKdryo9LGwfrk2873gaQqc8b1TfHRwoM9Al x7o1POcQZ8VAvzuFgWBsTHBWuizXwB4Czzeo+D73Q7Z24kQ47jodFHeSNltBkW/E31Kn+I rkTr3ajy6B/oXKLCQHqUrL9RAzy+adCVPmIcvyyUAt+kGsBOgbcd6bzxLsAhLg== From: Maxime Chevallier To: davem@davemloft.net, Rob Herring Cc: Maxime Chevallier , netdev@vger.kernel.org, linux-kernel@vger.kernel.org, thomas.petazzoni@bootlin.com, Andrew Lunn , Jakub Kicinski , Eric Dumazet , Paolo Abeni , Florian Fainelli , Heiner Kallweit , Russell King , linux-arm-kernel@lists.infradead.org, Krzysztof Kozlowski , devicetree@vger.kernel.org Subject: [PATCH net-next 0/3] net: pcs: altera-tse: simplify and clean-up the driver Date: Fri, 25 Nov 2022 14:17:58 +0100 Message-Id: <20221125131801.64234-1-maxime.chevallier@bootlin.com> X-Mailer: git-send-email 2.38.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW,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 Hello everyone, This small series does a bit of code cleanup in the altera TSE pcs driver, removong unused register definitions, handling 1000BaseX speed configuration correctly according to the datasheet, and making use of proper poll_timeout helpers. No functional change is introduced. Best regards, Maxime Maxime Chevallier (3): net: pcs: altera-tse: use read_poll_timeout to wait for reset net: pcs: altera-tse: don't set the speed for 1000BaseX net: pcs: altera-tse: remove unnecessary register definitions drivers/net/pcs/pcs-altera-tse.c | 21 +++------------------ 1 file changed, 3 insertions(+), 18 deletions(-) -- 2.38.1