Received: by 2002:a05:6a10:2785:0:0:0:0 with SMTP id ia5csp2037527pxb; Sun, 10 Jan 2021 21:47:56 -0800 (PST) X-Google-Smtp-Source: ABdhPJyhgeEUAk0c94TbAIbT1OmwSZAt8+uSKNxHsVC5L10WKmQPc87Dssbioy0dOrqVLpSyUBwG X-Received: by 2002:a17:906:a011:: with SMTP id p17mr9519895ejy.30.1610344076312; Sun, 10 Jan 2021 21:47:56 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610344076; cv=none; d=google.com; s=arc-20160816; b=KKW/ivPUXfwLY02trxRVGimsuiHc53aN101LZUPfM5aGqci+Lzu9FQ5uYjjJxfVqWN Tq8QzMAtaasb7+cGBTSsN575sSN9qZhj0hjT/f8H95GKmTDZYaFJdZuual+xiGBlUGUA zc1hsWz3Zf5GDlubEdI4zRmNjUVDBrLXuFaj5kzayl+AP6JH24Bt5bZR7SQTl0f392N0 ZEDoPoyCkLXXqU8mh0pIFBkNO5SZtNO0y6BfA5H8zONur9RN0K7L8IBaXJdcWbNaKIjo yEQ1BpvyFtpQtZqCdAartdQvv1S5OJ005y5coWHBQh2F3fV3eexxPbUwHhdDYAaWVGU7 Wqmw== 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=88GcoNGL/AXgeCjNvngovwMr6/msxp3BLQE6/faGv1E=; b=P2wqxWmNj/omnzToezaEoKIBn6gdTrHHufMEVMVQRkq1Cg+UHQXkhaD1ofMtR0BCgu uy7tiX8JVILW3TFAtxiQQ5YWA74Vwo2Qr+hQCM4Tas9uW70X9nR1GZAauhQju4+FcY1C 7oWUzxVbk1H2YbEJ0dQMZYmPPS6OfVkbdZBBs2HAmMqMc+J6uMgw1/J2pKJURdZ3Pbof N6oScZLVQcSloI4p8pyT3c5RENiZa6iAQuS6+xbZKCz2aZ1t/2la9OU821MJS4+p56c/ nKTyODHW4/GkM7X78qIZry/9gW0OGxIoSNn7KU6P1INt3G7GOFqR3TW9E16D6vwbYOeg erQw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=h4+cG8LB; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id uz9si6126630ejb.386.2021.01.10.21.47.32; Sun, 10 Jan 2021 21:47:56 -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=@gmail.com header.s=20161025 header.b=h4+cG8LB; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727362AbhAKFpe (ORCPT + 99 others); Mon, 11 Jan 2021 00:45:34 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38180 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726544AbhAKFpe (ORCPT ); Mon, 11 Jan 2021 00:45:34 -0500 Received: from mail-pf1-x431.google.com (mail-pf1-x431.google.com [IPv6:2607:f8b0:4864:20::431]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E0068C061786; Sun, 10 Jan 2021 21:44:53 -0800 (PST) Received: by mail-pf1-x431.google.com with SMTP id 11so10294779pfu.4; Sun, 10 Jan 2021 21:44:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=88GcoNGL/AXgeCjNvngovwMr6/msxp3BLQE6/faGv1E=; b=h4+cG8LBG4mJ2vwsd0js8PfV+47sXFW4md16+AhwPXwgU9YZmmW2Lbaanew5uI+efR zxNOSQz+NPgRzUZN54kj7M4CTyLAeDMQ4sI8MlJaKA6U28f5X1Ttwhlvn6ke5ccL99bV IhZ0wc4vjAW+v0aiYBZscmF0Hg5up2X/8PWzw1QVEx2emEkzgZ0isVk5GQuCHEjDh+Au mTjoRy8bwfYWPmGnaPczlFMa5fPx7oQD8HJdtlJki8doIr1dyB0vwKO4zcaRR+nFpvnU kiJOLyZdXC4wL862hDu6srQ8LXH2o98c2u1m2wnEqj2kHNZNPJh4m8P6LZZtKEpgyoQL 8EDw== 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:mime-version :content-transfer-encoding; bh=88GcoNGL/AXgeCjNvngovwMr6/msxp3BLQE6/faGv1E=; b=LNKdUuUuQCcQ5wcUU5aJ4Tj+po9sICDBVO8lTdyczJiT8fpS8QZJUAxTjh09FfHjPJ EqJVbL15Sv6N3rmQWjo10AdNvDcbTaOfFc9b7DV6vrGSSC95u+20cT0CETPCuHmCxn/q 3/r4Q83FZVvl0SsRJ3Ymnv+5axh5efwjKfeA6GKtcjY0fAoYOPIpcv9DwaJh5zvW7126 t5HWCBvvjrsnAjsR+KFU28PlbopKdkZ7PRSXY2QuCY9Vgjn5VEK1WrohLvmGjrXVD1J9 Ntq9YUj74GcDNsU+2Fkv/7vMlTdwHmv84Ipctmw7dQwslcorkwIGY0pyCa1VwDXx332p qLVg== X-Gm-Message-State: AOAM53158Kwex2hRgZrNckAG+kFTj3lgK06S9A3f51tOkkWbp4V6B+6o xhKXwcPcaq1SLT7i+XH0rsI= X-Received: by 2002:a63:1d59:: with SMTP id d25mr18119366pgm.259.1610343893413; Sun, 10 Jan 2021 21:44:53 -0800 (PST) Received: from container-ubuntu.lan ([218.89.163.70]) by smtp.gmail.com with ESMTPSA id q16sm17548005pfg.139.2021.01.10.21.44.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 10 Jan 2021 21:44:52 -0800 (PST) From: DENG Qingfang To: 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 Cc: Frank Wunderlich , =?UTF-8?q?Ren=C3=A9=20van=20Dorst?= Subject: [PATCH net-next 0/2] dsa: add MT7530 GPIO support Date: Mon, 11 Jan 2021 13:44:26 +0800 Message-Id: <20210111054428.3273-1-dqfext@gmail.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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(+) -- 2.25.1