From patchwork Mon Dec 18 09:44:39 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jerome Brunet X-Patchwork-Id: 849950 Return-Path: X-Original-To: patchwork-incoming@ozlabs.org Delivered-To: patchwork-incoming@ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=vger.kernel.org (client-ip=209.132.180.67; helo=vger.kernel.org; envelope-from=netdev-owner@vger.kernel.org; receiver=) Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=baylibre-com.20150623.gappssmtp.com header.i=@baylibre-com.20150623.gappssmtp.com header.b="p0vq4QLL"; dkim-atps=neutral Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 3z0bnc1kNGz9s84 for ; Mon, 18 Dec 2017 20:48:20 +1100 (AEDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933757AbdLRJsR (ORCPT ); Mon, 18 Dec 2017 04:48:17 -0500 Received: from mail-wr0-f196.google.com ([209.85.128.196]:45498 "EHLO mail-wr0-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758323AbdLRJox (ORCPT ); Mon, 18 Dec 2017 04:44:53 -0500 Received: by mail-wr0-f196.google.com with SMTP id h1so13404907wre.12 for ; Mon, 18 Dec 2017 01:44:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id; bh=EyHlnKfezjRCnBTXkyJH8qiniGtz3hGbbyO3I9KrNjA=; b=p0vq4QLLLL37lCAfgk9L8IAQEunNO8CpKg4gxDTDpHz7x6bc9fY2vudWWUIVzPB1ul lirvmjGpUcZDRLzDmccgw0GISF4Mc39r499Ns/2zHx095MwneHCLPJNSiz8tDhl6mBsD LmcfuE8swWd03JotXOUkRvcS6HQwHqAomzvUuw0I3m4qDPIzb4zQfnXznyz9rS23LR2r hX2KOolNXH4+26BleS/MYtIHNoxzB5F1OcaCsqpkXVtACTPd0vvhb3mJ9x7wCwxAvTH4 Nj5Y5iSeFWKtieA2RladwK8j48Vi7jzGkmIT6L5xFuA/JiwYzua9IYILpiWoz4CciE3m LEuA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=EyHlnKfezjRCnBTXkyJH8qiniGtz3hGbbyO3I9KrNjA=; b=PGyeCB7LHneC8/GDuq4fb6lMXso/8XQWCk2WUGAN3E1pQN1XQVFxrBjGCY1DDGeLmk MYYeBUhn6evt0+9uQVAFFBi2vVAFrSDLVk2IQSH8KDDOHSyUvBNT5yf3IrZrkzBQgcWW 9syNwBU7sV+Bz1VL5aiXA/WLdVw68YQfJCIpSTnYNY4VYZrijz00WQogH0T6r+6uroF1 lzBaifAKMHqfskwlK4BL4WGtWL4yQzRyesbAdnTjbNw1Wl9tFLgu94t8PA/dfVJoHe3S +1pXLu0X+5IYmX5EGJGvE/QkBwMqrtGW45r4D8cSm4jwL5nb2POwPkNtHkbb02K3aiIX JD2w== X-Gm-Message-State: AKGB3mJRNs/l1YHHpYpKokzLiSGKm5U8ZSENKLowPMEyIXJIl3oUKcrN 1xLwSA9yBwQ3MeCU5OUwPo2dHg== X-Google-Smtp-Source: ACJfBouV4SXUtRLq5JZ3qHAlrexbA6Kfr4F+1QSXOCHQGEuqh7PT+kzlZ8fWFqjUj33VBp6Wb/nKbA== X-Received: by 10.223.199.212 with SMTP id y20mr18638756wrg.60.1513590292326; Mon, 18 Dec 2017 01:44:52 -0800 (PST) Received: from boomer.baylibre.local ([90.63.244.31]) by smtp.googlemail.com with ESMTPSA id p13sm12820783wrc.61.2017.12.18.01.44.51 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 18 Dec 2017 01:44:51 -0800 (PST) From: Jerome Brunet To: Andrew Lunn , Florian Fainelli Cc: Jerome Brunet , Kevin Hilman , netdev@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-amlogic@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH net-next v3 0/7] net: phy: meson-gxl: clean-up and improvements Date: Mon, 18 Dec 2017 10:44:39 +0100 Message-Id: <20171218094446.31912-1-jbrunet@baylibre.com> X-Mailer: git-send-email 2.14.3 Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org This patchset adds defines for the control registers and helpers to access the banked registers. The goal being to make it easier to understand what the driver actually does. Then CONFIG_A6 settings is removed since this statement was without effect Finally interrupt support is added, speeding things up a little This series has been tested on the libretech-cc and khadas VIM Changes since v2 [0]: Drop LPA corruption fix which has been merged through net. Apart from this, series remains the same. [0]: https://lkml.kernel.org/r/20171207142715.32578-1-jbrunet@baylibre.com Jerome Brunet (7): net: phy: meson-gxl: check phy_write return value net: phy: meson-gxl: define control registers net: phy: meson-gxl: add read and write helpers for banked registers net: phy: meson-gxl: use genphy_config_init net: phy: meson-gxl: leave CONFIG_A6 untouched net: phy: meson-gxl: add interrupt support net: phy: meson-gxl: join the authors drivers/net/phy/meson-gxl.c | 185 ++++++++++++++++++++++++++++++++++---------- 1 file changed, 146 insertions(+), 39 deletions(-)