Received: by 10.192.165.156 with SMTP id m28csp1994620imm; Thu, 12 Apr 2018 07:01:36 -0700 (PDT) X-Google-Smtp-Source: AIpwx49gH2O245L41ZW8JgGYbhtDLSUKPaL8XbpJbur15Dp31SxWhQhtI4S41HlpiCjbb36PZfhG X-Received: by 10.98.61.80 with SMTP id k77mr7891799pfa.2.1523541696850; Thu, 12 Apr 2018 07:01:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1523541696; cv=none; d=google.com; s=arc-20160816; b=Gz0UtXCLs58lpt5MauBXWq3nNXDEILpTGxZqU3WYExKBRJcG2UM68WDzjcrV2Snfgu 01tpkzhyiVdbIFZwrLpTKj7m1TO6K9pnMxQtOLIPpWb82upn5Nbepg1U1l8UEfNNy5/8 As1eb/AbBAsNVm9BULnBwcQReoBNlAsQWBqbVGO2MMU86JbWetuRk2cDl8k+AXKkZ7QK Zp+QWfwqIAs0UpdhZwtO2uAa9Jws88huI8DIQ6p8GXnIRttp84qIOvrRXEPXt5xzpQx7 3Qm5P1fM+/LcSrnpFoZh196P0FqqxI941mEoSMq7wqmvpKjoJE9zHjOt3ChDwOc+CKHE TJkA== 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:dkim-signature:arc-authentication-results; bh=IhDVKrmdamlsVSIQC6DRPkRBc65CK8/ml5EcfeEuoEA=; b=epXraWKHQOvcxrzHtl1JMiKlX8uGA08GmFACOiC0kwEGqbDZOBUl0crAzEwArai6jY PCmIRANCeGMu0+HDvFR5OtK45mQbM2YpecVW/66ARLDHyHlRnLLLGDNCG17WbQBMV4kl eSgWf1oEF/XeZFRCNu8LjfsCugihI83y9gW9C97jBo511yWb+KqVoBd5j40j/7F67TGQ Z+T0pSo0aC9/oamyxgSlkyrGuckADOuMhZYVTal2g/7bH8RSfrmP3lRbeNpMuWceW67k 1Ip7YFy2qXjZ036FBthMmki9uxmUNmzVf0tB4MiY2XAVI3T7p+LnPewKQODlNZtpgQMp txKg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@raspberrypi.org header.s=pp header.b=fKBLUXFi; dkim=pass header.i=@raspberrypi-org.20150623.gappssmtp.com header.s=20150623 header.b=aXMmgpky; 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 x64si2738230pfj.318.2018.04.12.07.00.57; Thu, 12 Apr 2018 07:01:36 -0700 (PDT) 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=fail header.i=@raspberrypi.org header.s=pp header.b=fKBLUXFi; dkim=pass header.i=@raspberrypi-org.20150623.gappssmtp.com header.s=20150623 header.b=aXMmgpky; 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 S1752775AbeDLNzw (ORCPT + 99 others); Thu, 12 Apr 2018 09:55:52 -0400 Received: from mx07-00252a01.pphosted.com ([62.209.51.214]:40570 "EHLO mx07-00252a01.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751819AbeDLNzt (ORCPT ); Thu, 12 Apr 2018 09:55:49 -0400 Received: from pps.filterd (m0102628.ppops.net [127.0.0.1]) by mx07-00252a01.pphosted.com (8.16.0.22/8.16.0.22) with SMTP id w3CDrskG008247 for ; Thu, 12 Apr 2018 14:55:48 +0100 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=raspberrypi.org; h=from : to : cc : subject : date : message-id; s=pp; bh=IhDVKrmdamlsVSIQC6DRPkRBc65CK8/ml5EcfeEuoEA=; b=fKBLUXFiJxuknyCJ1o0M+lRb3nc6r+8VJKc2iJqThKIfPYa99eqbbd9f8ws3siMil2Zz bxxeDIvDi2gB1LZVbheJd4Sqr30FLAiEPp9PeQ4R3vARIKuoatxKd4Cc/BGJjq5SN/Pe dtQ7PMr1fJTWWDsw2Ewc+xfKXpCP45orXitHuOKsOW/siX5yssJyLHcZXoeWnLmZcpNB jQFjzBJCKirsrY+Gcg2+CGLiXJE6XvSUIdTOwfQP8auhp7zKWGpHDuyWZybhcXvhF6Qp tRAKUDhIwuNBiIF2aiXd7WH1W0yBLbW0cxa+iSCOz0jcrO3ggKVPx3MWl3Y6tyqM31/r qg== Received: from mail-wr0-f199.google.com (mail-wr0-f199.google.com [209.85.128.199]) by mx07-00252a01.pphosted.com with ESMTP id 2h6s4kamw2-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=OK) for ; Thu, 12 Apr 2018 14:55:48 +0100 Received: by mail-wr0-f199.google.com with SMTP id 47so534882wru.19 for ; Thu, 12 Apr 2018 06:55:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=raspberrypi-org.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id; bh=IhDVKrmdamlsVSIQC6DRPkRBc65CK8/ml5EcfeEuoEA=; b=aXMmgpkytFYx6GinbCpwE9A6AMhRDegD0+OcmQ88joRxMBJweKeyQ5hd50nmYq2Zm2 XwYfRYwREWFE5BINWDECsoAcRlpqe4X3J4Pgnl+uMyUAGA/05xDAUHmJcbU6zy1LcTgj rhj7uhAgSglyPnyhoAxrQ1Lz9qR65EZHlT936i1bv1jIAWsDeJJWF5Nkxs3VXkvFb7gz nehXJPP4XGES7bwZgy0XXP00o8zqDCbEU+xyT8W8+vMEdRZGcnrrRZ5rNOwZlx2I7Dfo 7LJpI5g58p97yfIeeyjsdKHTiyU1J886VDMKRW2qOna4Qb6mHN+N7m3rfRYh98ILOFvd UL/Q== 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=IhDVKrmdamlsVSIQC6DRPkRBc65CK8/ml5EcfeEuoEA=; b=Iq1ghmdghjRfVr2nSHTAdyENyzLJgJIAKQnpWSRNxY9WpSgVEfQg2neyNaeeDC/nS9 r7ppcvrQf9dIRXGRYp0BZ+bX0KZA7luo4+Wb91dD1tkrMbUFxWrqMs69T92c0k5APrDu 2S9Mj4UHsemass1Ikij+JK3kGcJfMqSdkby8ItpPNhzRJlXmiDibdgcNGGtNxPalTxhS uukC0jW7yhOFDfYyvFxfFa2N5HNlOsjXhL2w2RP5NbxaeLiDZ1pfpl8pLX9XTIBwP9T9 YmS7EXlmyODU55AQNY5r0IqhLLbPvHl4WAe0O9EPLSL/D0jA2a2iNoxXdOAXkxK47NTg /tKA== X-Gm-Message-State: ALQs6tDQn0L8e9kdTkMiMgoGui5dDumBxKZkBywfLxsjw1De5tzpfPdI +OG2HWmyCHL9BS+q73CcQOMV0JciT6/JZw4CemZ//2aG4plP4/odYjbept2Og/4E5U4cNWQSTY2 K98Sb0jiDZpaXsuvvPsiNPb+5 X-Received: by 10.28.232.202 with SMTP id f71mr910018wmi.136.1523541347732; Thu, 12 Apr 2018 06:55:47 -0700 (PDT) X-Received: by 10.28.232.202 with SMTP id f71mr910004wmi.136.1523541347551; Thu, 12 Apr 2018 06:55:47 -0700 (PDT) Received: from buildbot.pitowers.org ([2a00:2381:fdf7:14:3403:8ea9:e6c1:e3f5]) by smtp.gmail.com with ESMTPSA id m83sm3491581wma.17.2018.04.12.06.55.46 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 12 Apr 2018 06:55:46 -0700 (PDT) From: Phil Elwell To: Woojung Huh , Microchip Linux Driver Support , Rob Herring , Mark Rutland , "David S. Miller" , Mauro Carvalho Chehab , Greg Kroah-Hartman , Linus Walleij , Andrew Morton , Randy Dunlap , netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-usb@vger.kernel.org Cc: Phil Elwell Subject: [PATCH 0/4] lan78xx: Read configuration from Device Tree Date: Thu, 12 Apr 2018 14:55:32 +0100 Message-Id: <1523541336-145953-1-git-send-email-phil@raspberrypi.org> X-Mailer: git-send-email 2.7.4 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:,, definitions=2018-04-12_07:,, signatures=0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The Microchip LAN78XX family of devices are Ethernet controllers with a USB interface. Despite being discoverable devices it can be useful to be able to configure them from Device Tree, particularly in low-cost applications without an EEPROM or programmed OTP. This patch set adds support for reading the MAC address, EEE setting and LED modes from Device Tree. Phil Elwell (4): lan78xx: Read MAC address from DT if present lan78xx: Read initial EEE setting from Device Tree lan78xx: Read LED modes from Device Tree dt-bindings: Document the DT bindings for lan78xx .../devicetree/bindings/net/microchip,lan78xx.txt | 44 ++++++++++++ MAINTAINERS | 1 + drivers/net/usb/lan78xx.c | 81 ++++++++++++++++------ 3 files changed, 105 insertions(+), 21 deletions(-) create mode 100644 Documentation/devicetree/bindings/net/microchip,lan78xx.txt -- 2.7.4