Received: by 2002:a05:6a10:2785:0:0:0:0 with SMTP id ia5csp2363616pxb; Mon, 11 Jan 2021 07:50:24 -0800 (PST) X-Google-Smtp-Source: ABdhPJy05IonnAkC0Q1gDAdcilBl4Fm4fVn3V3f6zeLHEQpgSCCpIY4DA3BXZ5cCgrinLxQUi9UP X-Received: by 2002:a17:906:9452:: with SMTP id z18mr51687ejx.389.1610380224604; Mon, 11 Jan 2021 07:50:24 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610380224; cv=none; d=google.com; s=arc-20160816; b=KdMSWtFoL/D31dRgUTRnb9Ua6fiJZ/zVlc9cndDFqLOqx7XlFby+gxW9G0uwYix9YO GtTFW09osIW8cG3o/LA9EFM395NhIYY0CptqkZtD2m+L5+rHlRSMkqEAw9m4DjAhpgDJ F2xhpQd6GMF541ZzZDDwVBbee0mENS5wRSY9bSyUIc1/hijmhFYu72W7qZxkBjCtW/q+ WfLScRwIfHrFiHzxT7at2mr73aJx3k5OBB9/o+f52DXdLlimRjqDYeyKqoS4A4KMSwo/ iwISK+LpZBFf1STh/OLbXWUA4m4sd74PF/wm6A4fk4Cx5Vy6Vs3lTEp5jgETsQGK0H0d ZJOQ== 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 :references:in-reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=NuLJ2oLcKL6naJ2Xc50VxHbNXdSdkQ8mC5SZzqZ70B4=; b=pNQpFysNqbyHJTqIAhkblKQuFHEYDR3sLQ4oOaxvHpSZK1oYJDFtgHjEt5QsnLzPFR V3IAStaNCKciOZ1CbqZgFeU0C5CHRoegKguAk4A0Eweqfq8kCjtMHHhoZaqI56nvOZ++ gn5beJkwuvbd/Qa8IQdMdJYcGuPqZiuhVEmcp3rDCfTP+y8Sxn8jQvgidwDcpFZlJ5z8 uFVbGIKQSMp3yZyBj/Edo05YVRi0dKcKxsHZ0FDtGRoUxV5BaTrwM1GYkY1bXQ14Ugmp zw0XF9U0WXu426qyrJOCd1irdoGWM4f/kdFUhtryZeZzqACjpDtgjPxjnkx2jvPDemMU FNBw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=omf8Wyqz; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id d12si64486edh.221.2021.01.11.07.50.00; Mon, 11 Jan 2021 07:50:24 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=omf8Wyqz; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732611AbhAKPrE (ORCPT + 99 others); Mon, 11 Jan 2021 10:47:04 -0500 Received: from mail.kernel.org ([198.145.29.99]:59592 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731838AbhAKPrD (ORCPT ); Mon, 11 Jan 2021 10:47:03 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id 69B0A20897; Mon, 11 Jan 2021 15:46:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1610379983; bh=Vb4EWJGhtPIfUX19jNXMSL+D+Wx8b6XEpNClUK+58ko=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=omf8WyqzAdFiNBENs6FDTp9dRwmDGFd7toldLz8gPhXncb+6VzD6JuWiCmSB63EbX 2hGoxcFQ+P+dgxd43gmBFKm7BzyzYP3WPdiydrAughKwpyHeAwEqRxrLgdbuYv9CF4 JAQMCjUr2lv6eCzoXhq8KVh3VwnIdY9FT2H7Ym1c1PwPPQPN3Z5Z9fX6B5NS7atdu8 X/8JB8BJTVrsa0o7A7X5RJNbLMvEeLfaomqDHW4x8j/GUuERevKI6LqK4jof5fz5jx GpP8UWC6McyCY+kkqzIGMUuL2umI5S7EpSjyyfpDbmQVKSQkWHZ1y7WVfseDhiQJMr aif/UEIZZHTog== Date: Mon, 11 Jan 2021 16:46:16 +0100 From: Marek =?UTF-8?B?QmVow7pu?= To: DENG Qingfang Cc: Andrew Lunn , Vivien Didelot , Florian Fainelli , Vladimir Oltean , "David S. Miller" , Jakub Kicinski , Rob Herring , Matthias Brugger , Sean Wang , Landen Chao , Philipp Zabel , Russell King , netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, linux-kernel@vger.kernel.org, Frank Wunderlich , =?UTF-8?B?UmVuw6k=?= van Dorst Subject: Re: [PATCH net-next 0/2] dsa: add MT7530 GPIO support Message-ID: <20210111164616.1947d779@kernel.org> In-Reply-To: <20210111054428.3273-1-dqfext@gmail.com> References: <20210111054428.3273-1-dqfext@gmail.com> X-Mailer: Claws Mail 3.17.7 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Qingfang, what modes does the LED support? Does it support blinking on rx/tx? What about link status? I'd like to know because I am still working on patches which add ethernet PHY/switch LEDs, with transparent offloading of netdev trigger. Marek On Mon, 11 Jan 2021 13:44:26 +0800 DENG Qingfang wrote: > MT7530's LED controller can be used as GPIO controller. Add support for > it. > > DENG Qingfang (2): > dt-bindings: net: dsa: add MT7530 GPIO controller binding > drivers: net: dsa: mt7530: MT7530 optional GPIO support > > .../devicetree/bindings/net/dsa/mt7530.txt | 6 ++ > drivers/net/dsa/mt7530.c | 96 +++++++++++++++++++ > drivers/net/dsa/mt7530.h | 20 ++++ > 3 files changed, 122 insertions(+) >