Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp1713179pxj; Wed, 19 May 2021 12:07:50 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzGOby0OYvOry70TRZU4UVHtf5LOPSc0BYPSDQaXNoAlUfyjsHg/oFvQQZGUrODaE6rkV+e X-Received: by 2002:a05:6e02:5b0:: with SMTP id k16mr445219ils.293.1621451270376; Wed, 19 May 2021 12:07:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621451270; cv=none; d=google.com; s=arc-20160816; b=tbex9l3Jda3NiC5S6d/FLcBb/GPPZTlF/aYCQt8wV5UkJvxEo2Y0o4YkpIJyuJCTZH kGRotXF87R3rXelWKubbCZKL1GKFOt0DmhaSXpILXpKbdxTwHizL+0fXNyDUx0lEguJq xV5ejJ1sxyBTXGNfoUluRIzgk1thHO9xfOz70RLHnRf+zYGz5nFpdGoFSPhqvqtXDbSj vxX2pbmwj4uHhvcZjaK+vZqJN6q8NxrE1Ys/oqqcf7jcYVALJ/B2lD4k80sZO3iGxafa VDjgiJevzMNhfU4wfcr30MgFEkQnApb3Bu5jkGWhPv1ksgP+XQejrfbwX0/NVjs0n3OV 5oFg== 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=PDM0WuZX1yIfkmFl6be0esAhzpUXa3/Aurhrr7XvDPM=; b=DvflCNSm4Cv4/2oYL5MuX35CYORd8AWUJzkQ0hH8MQba1QMxGQ7Wcy9zz0MMTY0+/j zFwO5Bd4UcbsTA/CM/OBplRbgAJzqWRZLeWW1rZwDk5GYJi7BJev2RCth7/s2UnEzHsN BmBdhxs8FoY3If1KnMk2HJJohklZCF8JsW/OfPO2/FAW0vBcftsflln5DkJ28ekc4I34 W+8ZuQqH/yiqwIG5ePhKCUoTYGznoMcPVX39lEUImmpDFq8p+aX3vC1Gqi4WmTt9gd1v Pk+/dSYo2M6Rg8YXq5ijCSK4WYQU1SjUqBhRoyGx41Aun7UORiVXb1lhzEaqOE+ZFqaK NHJw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=oyAW7Blb; 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 c13si354061ilq.55.2021.05.19.12.07.36; Wed, 19 May 2021 12:07:50 -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=oyAW7Blb; 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 S1353044AbhESDd7 (ORCPT + 99 others); Tue, 18 May 2021 23:33:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33380 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1353035AbhESDd6 (ORCPT ); Tue, 18 May 2021 23:33:58 -0400 Received: from mail-pl1-x62c.google.com (mail-pl1-x62c.google.com [IPv6:2607:f8b0:4864:20::62c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 874F7C06175F; Tue, 18 May 2021 20:32:39 -0700 (PDT) Received: by mail-pl1-x62c.google.com with SMTP id h7so6254384plt.1; Tue, 18 May 2021 20:32:39 -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=PDM0WuZX1yIfkmFl6be0esAhzpUXa3/Aurhrr7XvDPM=; b=oyAW7BlbmqjuHJBPJb1YBJ8fZJgNvvTlbqP2zwAUMP3CwKxp19dWpxoQIu/n+do6Yx tJKA28crQFPZqY/1sE16YEbcC3R3wmkUvSr4MJPiitnLsnKru+MW0WeklCO29wfxquyl Msdc10P866HoPbayGW8P5XmDQNMFFoNom1//VPwA0sESGw7vSHI+E8q3txA9et9g/bbS xnIRKNXjbJR/tBelY6c3CwEnEcp3tz0u5ZqkYWZNYMCitFdpRJ2gnl7gKiZSs6ZQOdo+ 9u9Old23sAkc3w6XraC/j8BekVH/bjS//B8yQVWJR2dlGJzwt1du2dB4y5XGF2X5Fy9o Gbpw== 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=PDM0WuZX1yIfkmFl6be0esAhzpUXa3/Aurhrr7XvDPM=; b=Jo4AwPyRJjiZS5L+utNc5IsfCmQzoWxIvhS5XjJk7DO0IJ0ImfBS87NxAL6Uw7H8li lDgAXnNf4Kl90V2OGWuhLB+CcB+/i0VkmhgGmqVaZnVvibMxVqbMG62or5rav1vDSfjY tSzLmW4wMfoQXaE/M1WIoiJjsGRe74gvN72rEE1m7EjC9QCD/N3vsB6zEkM8XhcPyR4h FtIdF9Ist/MOEFSDgxYd04voBr5lw7dQpsHEhs6FA7t0uufEtCqHft4rmr09zk/VuxuF xww+DSsTCAHmxdM3pZ3AeZg+CpJPOIhbHiTKWmt1V38yx0evSxF49qlPp1uXARWSLRM0 kSBQ== X-Gm-Message-State: AOAM530fqjQyiPghdaynZBqaHyIMPNkKuB87PGaWE+H6nZnNkzqS3iIm VKksc6WoPTzTNPSZjugT/YeDcS1ruVggRdo1kEI= X-Received: by 2002:a17:902:bd09:b029:ec:7e58:a54a with SMTP id p9-20020a170902bd09b02900ec7e58a54amr8523868pls.62.1621395159142; Tue, 18 May 2021 20:32:39 -0700 (PDT) Received: from localhost.localdomain ([138.197.212.246]) by smtp.gmail.com with ESMTPSA id g13sm8244587pfr.75.2021.05.18.20.32.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 18 May 2021 20:32:38 -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 , Rob Herring Subject: [PATCH net-next v2 3/4] dt-bindings: net: dsa: add MT7530 interrupt controller binding Date: Wed, 19 May 2021 11:32:01 +0800 Message-Id: <20210519033202.3245667-4-dqfext@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210519033202.3245667-1-dqfext@gmail.com> References: <20210519033202.3245667-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 Reviewed-by: Florian Fainelli Acked-by: Rob Herring --- v1 -> v2: Fixed plural (property -> properties) 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..18247ebfc487 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 properties are 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