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: 122191 Delivered-To: patch@linaro.org Received: by 10.140.22.227 with SMTP id 90csp2611413qgn; Mon, 18 Dec 2017 01:44:58 -0800 (PST) X-Google-Smtp-Source: ACJfBovSCOp9sKS8BxyR51012uqnjV7Bl+QzQ7xEpNiwUFh5iSihqM3lzo/THaDy/8TW/GYBoGLz X-Received: by 10.84.218.204 with SMTP id g12mr21669636plm.213.1513590298154; Mon, 18 Dec 2017 01:44:58 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1513590298; cv=none; d=google.com; s=arc-20160816; b=k+oKH2S30AfYBzro4Keu1ui3YW+VxujMu1EP14pLCTNsTfvziscz3RiTNJt4RuV+No USdHMNlK4eBEpHE7mExGY0I7J+YN4ZCjo7VPv2pIQwGhajhPK0JzccTgHIbaWRhUiGVH 8XisZ0ceT704Wyc7BwFoNwAyTHZT2yy9BDzxY27yNfo9sFJLDcjKpOEpB5R6C6TonH4J PAucRhx0gg8NjSi3A0qPO253i+1EDc/w3re/tJTvgIPn57wzlfvFPmfTiwsTo6IfMy1I jw5S5KfkdS2qqThtPB5tAQL7/c9nguTgJaxN1rUPeDwjkbvaxPGEKfWUBmrV/10R218g 4Lbw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature:arc-authentication-results; bh=EyHlnKfezjRCnBTXkyJH8qiniGtz3hGbbyO3I9KrNjA=; b=sXxM4pEaiwXgYFoHF2t5Qk+tvPi8fVFn0m66sJOW2AfqBnJ+PiEo/lfQdvgS63DDtb ORA7kdOUXyzsB+UnIxuNZjBwZi5a6wqWSfJEU3UsC7hpHOnYvJQFAdJrY2e2tgVgb570 q/t+ieKV4D8XrjKNlD5zVrCbhqB/ZN0MkGXPIeh5YpXarSMs7y3Om2WPc0/m8GahinH9 AggDyf+2NLUcrHgIaCIGBiH/P3Y5Ao9LxaFtk1ealxShHz3mTF0yydBijprMgca/kZFv lHVja0YAJ7j3YrVfloXg3WTTkr2zQ/YlczUf/vqvIh+VoO8c58Q+zTIlKm/ijfBGOxmJ eV4g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=p0vq4QLL; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id u91si9227580plb.50.2017.12.18.01.44.57; Mon, 18 Dec 2017 01:44:58 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=p0vq4QLL; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758550AbdLRJo4 (ORCPT + 28 others); Mon, 18 Dec 2017 04:44:56 -0500 Received: from mail-wr0-f196.google.com ([209.85.128.196]:43051 "EHLO mail-wr0-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758311AbdLRJox (ORCPT ); Mon, 18 Dec 2017 04:44:53 -0500 Received: by mail-wr0-f196.google.com with SMTP id w68so998189wrc.10 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=n6qNkLOFtJuF7twGZEPkxIuEgUjVAIPNxLjMVdLKIS09SgMS5nX02lqa1R9tfuKEQL 3i/qgRkpVg+HlgYThonhcFKCrilaLMn2iRxtb7qphXOi18ivYHSWPo8axnZlO62j1AW8 9boYbXTX/Q8Me+I6zicxEWGnPZy/vKVr6Ec3UypLPQE/vlRgFoLtUy0kgfJQrHfP9wc1 vWFy0FrONDvR9Rmyz3RsASKTQQdDxMQNUf6S4iQlKwwDiJRkHptg4W9vY19+v1imvsHU IUuIGqryIftnmccYPJNR1949gb1DuSir862QzPt60wgi6WE7uIo2c6C6BAaa77j8BdBP s10w== X-Gm-Message-State: AKGB3mLMasz1UeEi0jt4GtDWbbV2Z+SO+zzaG/kiG72PnnYcXsFqCk5F bkWwsKkZvbiU38fvFRikp4dRfA== 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: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@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(-) -- 2.14.3