Received: by 2002:a05:6a10:17d3:0:0:0:0 with SMTP id hz19csp1455484pxb; Sun, 11 Apr 2021 20:47:29 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyXiTITnSCmJhOcE86L2cnTLS6iMsZmQmAYc/temxrY3DT8JpIOff2vNAmtHZa/iJELWYB9 X-Received: by 2002:a17:906:2710:: with SMTP id z16mr25765195ejc.176.1618199249221; Sun, 11 Apr 2021 20:47:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1618199249; cv=none; d=google.com; s=arc-20160816; b=0Nl2tv7ClUkLMyFpz5s4Y3CkElulBDATzR5r5vjj60slseKncuLYWc9QZjEONM3zf+ m6st9ymz7XrdDFccWMseypdeEdxSlfcrfUsNaOp9hWK3KYdIbl/7V3zmAj2iAYP6ZwVv kX3uvMsVxepjsZG5la96ICer/PIPpqTPt0MJZHQstLvyN7tfY99f1eTqNyjHTTCfZCtC Bmq18x8HJLGVLmAE6j9GFIJ+jirPy8j2OBvHZHqCfc9LFh6hNt8XyW8BdLvbZSLSC9+X d9njZA5is6CpwHdz+J4k5V1zjKDcirDy85kjY8K7GLL9yKb+WEGSs7tCQ9sr3Mp7nfle BgDg== 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:date:subject:cc:to:from :dkim-signature; bh=NGwT/EtJxrze19V12dqNHnmBDYChWF7tADJjxUl/U08=; b=Z/9rrpblGanvCulJ+A9IPq7VjwM19U1LZKqQTowHnTgB2PQc/T363PDH20JH3XN2nL JzrgOTOywtqPeezgAZwPsWyjBIZmYpx/H/xY1KgEqjXgfBpyK1fDxHOSEcCAlb8rcWdy ISnrX1RfK5l6m3CuZ82fGixyve8PXujJ5MF5dPJtZksqgMezSMwrG3HJ1YYO8rew5lf5 yjQYoswyj3rD1mrkLkBo8DV4bQ0KGLt5fBmZ9sOO3heFaf7wKYGlmJFZJ9UsvR88+ShQ OCPC+g2KlC2YaF6EAHXUHzLlvSQ7qJH/WUcOs5G+HXZjrE0q5Ok5HTGpO6vOAkOAIXOK 6VVA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=qfe5fnjA; 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 b20si6837220edw.541.2021.04.11.20.47.06; Sun, 11 Apr 2021 20:47:29 -0700 (PDT) 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=qfe5fnjA; 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 S236675AbhDLDna (ORCPT + 99 others); Sun, 11 Apr 2021 23:43:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54144 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236672AbhDLDn2 (ORCPT ); Sun, 11 Apr 2021 23:43:28 -0400 Received: from mail-pf1-x432.google.com (mail-pf1-x432.google.com [IPv6:2607:f8b0:4864:20::432]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 14D5CC061574; Sun, 11 Apr 2021 20:43:11 -0700 (PDT) Received: by mail-pf1-x432.google.com with SMTP id y16so8324912pfc.5; Sun, 11 Apr 2021 20:43:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=NGwT/EtJxrze19V12dqNHnmBDYChWF7tADJjxUl/U08=; b=qfe5fnjAN1dEXWk2k8iMmCBx8Vdh2mzI11Y/DMlK2udE9RocprcCc5Qc0dilOshzXZ 0AZhqVun7RwnN28hIZWScCGyeG6NLwVO3iFRFXykAV9hsQYYDb7JFkfRevSnyU413Dyd np5iKwrgXAOAg5Zwd5AqN72cwYXk0ZsP0Bosi/TmhlinCSqBgc2Bt8EXJZ/BvDC1a4j5 +0zeMjfA9DUixATixlXYaPXTHYNZ5KwVCcsrMkBkRgSHvMHxEvebgFa4mv7d9xQzbcG4 7SzqwS/3LTIT5RohgeXccaaZ0ppJ99PisURDqHa1zk7ZfmJfaeQ336NQ15CSJNAHBctT UjEQ== 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=NGwT/EtJxrze19V12dqNHnmBDYChWF7tADJjxUl/U08=; b=C1Eez60ZAV2BDt01LBEWJ/QsWX0THVYkY0opLmoyWq3DQJ4ZYsRBkX309RU8TMKDJm 8GkeYtLafyZNKl9W4lRqVltX2g2aBTngc7TBHMLmUpgiMxHSNd+JKq1TbZFoc+PXID1s Sk8/MFw4+ifcBwxUpJR3l/YK7NfT8d3nP8i1hYI36iAeV9vEfzeOiLWYpAL6kPTkdOrD rBM6aXKAIZhHJ+u1jyFE7zDBPhiR67ZyfeWLmpdTS2HF2mAd3lldQJQX6rUOD6uF2KIr 5s/z4n2s6BnwfANqh65+nZdTWCVu1hCe0YPUvB2+pAAeAZf1i4+DwfFA63aniIFoXAkZ Z4ag== X-Gm-Message-State: AOAM532O1Bc77Y7CW7yNj8nHl4Q7KXLmdNNILxd1geLo6QryME64fvPi q9fRYG5HuAD7NmzL6ZeeNfw= X-Received: by 2002:aa7:82ce:0:b029:242:deb4:9442 with SMTP id f14-20020aa782ce0000b0290242deb49442mr21885445pfn.73.1618198990693; Sun, 11 Apr 2021 20:43:10 -0700 (PDT) Received: from localhost.localdomain ([138.197.212.246]) by smtp.gmail.com with ESMTPSA id v22sm5387185pff.105.2021.04.11.20.43.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 11 Apr 2021 20:43:10 -0700 (PDT) From: DENG Qingfang To: "David S. Miller" , Andrew Lunn , Florian Fainelli , Heiner Kallweit , Jakub Kicinski , Landen Chao , Matthias Brugger , Russell King , Sean Wang , Vivien Didelot , Vladimir Oltean , Rob Herring , Linus Walleij , Greg Kroah-Hartman , Sergio Paracuellos , linux-kernel@vger.kernel.org, linux-mediatek@lists.infradead.org, linux-staging@lists.linux.dev, devicetree@vger.kernel.org, netdev@vger.kernel.org Cc: Weijie Gao , Chuanhong Guo , =?UTF-8?q?Ren=C3=A9=20van=20Dorst?= , Frank Wunderlich , Thomas Gleixner , Marc Zyngier Subject: [RFC v4 net-next 3/4] dt-bindings: net: dsa: add MT7530 interrupt controller binding Date: Mon, 12 Apr 2021 11:42:36 +0800 Message-Id: <20210412034237.2473017-4-dqfext@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210412034237.2473017-1-dqfext@gmail.com> References: <20210412034237.2473017-1-dqfext@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add device tree binding to support MT7530 interrupt controller. Signed-off-by: DENG Qingfang Reviewed-by: Andrew Lunn --- RFC v3 -> RFC v4: - Add #interrupt-cells property. Documentation/devicetree/bindings/net/dsa/mt7530.txt | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Documentation/devicetree/bindings/net/dsa/mt7530.txt b/Documentation/devicetree/bindings/net/dsa/mt7530.txt index de04626a8e9d..892b1570c496 100644 --- a/Documentation/devicetree/bindings/net/dsa/mt7530.txt +++ b/Documentation/devicetree/bindings/net/dsa/mt7530.txt @@ -81,6 +81,12 @@ Optional properties: - gpio-controller: Boolean; if defined, MT7530's LED controller will run on GPIO mode. - #gpio-cells: Must be 2 if gpio-controller is defined. +- interrupt-controller: Boolean; Enables the internal interrupt controller. + +If interrupt-controller is defined, the following property is required. + +- #interrupt-cells: Must be 1. +- interrupts: Parent interrupt for the interrupt controller. See Documentation/devicetree/bindings/net/dsa/dsa.txt for a list of additional required, optional properties and how the integrated switch subnodes must -- 2.25.1