Received: by 2002:a25:d7c1:0:0:0:0:0 with SMTP id o184csp3879478ybg; Sun, 20 Oct 2019 23:45:08 -0700 (PDT) X-Google-Smtp-Source: APXvYqy4UTQ0IlWqVNezKPIV6HqfGeW9mGs9Snp5GH1KWSn774qLw6e1lc+Tq11+6WIKmNIvC17b X-Received: by 2002:a05:6402:3051:: with SMTP id bu17mr7993188edb.4.1571640308865; Sun, 20 Oct 2019 23:45:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1571640308; cv=none; d=google.com; s=arc-20160816; b=ZuoJFTsboI0gDDkTmKA0nFYwqFk0sjQC1Fc17+y20BmaP9RwhyQCvVrl24yc8OzneA +8XLs5jduWvxvLC89UsLFoB97dAqm1iYTYVGXfv8yZS3s/jasZvi+iS2/HQcMZAHnA+6 TbEQyHC2Tpmy5sxX2G2/XhchLlOwvJv0bL66U+pf4kueoFSDVYv621d53Izsq2JEK/QX Ec1uASNsdi/vVLJq4RWgUHYUr2/KDeknxf3z1n6jvOcgyKvwqKCPcKSlFdYpXNGKJFoV MF6NmoIUc3DO1Lf89EUWPn7uyPNL+jIFgI9Kt9De1RjTOs4Bpe4HP3N2A4UmM2YOQ44f Ferg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature; bh=P585Wb4GdNSdANLbtZBTejDHy0hzt6pLG6Y0SHAZ9bU=; b=ngDewEm/k/dGJS9dXEhoqddctYAFwQnXpT04Nmd7nKgX+hXxqTy/MCO2SxUC7Syy0r bkc7qc1zQhqyYkTapck/aI+BXQiFGP6YclRvZkfNbuex2vlbyqPsEa3vgcjZysqgxhHL C95YmTVEEK5GgO3p5Weakmx9NPGNFYfnbr986i0U9faArbVA2l37mv5w0IPrwuJHa3GN 7+m+RZe5Zg4IWLFmCIqMWXAipmzBaIqnaHDnlEyBYcJBy1+0YhLNSDsT25lEuOQzdUdv U1+z3fyLYWaNyvMoK8I1ukR9jwptJfOkcADueCj7a8MDVctqy22zg+iDp0xuq4A54cUe 5yow== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=o2UCcVa9; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d7si2811568ejw.62.2019.10.20.23.44.45; Sun, 20 Oct 2019 23:45:08 -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=pass header.i=@linaro.org header.s=google header.b=o2UCcVa9; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727170AbfJUGob (ORCPT + 99 others); Mon, 21 Oct 2019 02:44:31 -0400 Received: from mail-pg1-f196.google.com ([209.85.215.196]:34822 "EHLO mail-pg1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726039AbfJUGob (ORCPT ); Mon, 21 Oct 2019 02:44:31 -0400 Received: by mail-pg1-f196.google.com with SMTP id c8so2340371pgb.2 for ; Sun, 20 Oct 2019 23:44:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=P585Wb4GdNSdANLbtZBTejDHy0hzt6pLG6Y0SHAZ9bU=; b=o2UCcVa98LWeVYND0PE/v8hZfB6qvv7otuszYHpwOafbshMElcl2fopVc68goHvkSU 4osSwuadu1/VmaP0pLtxQKWtvAHZjAbwXkJelhOa3PgwYAHDSwuEH9Ggv1L6RW1qguu1 FWyVBRvOZbpj9GlVvA40GiIUh8M0+AJVzBXrFHzz9zAU1HElW1NHOHZctsx/WFe/jdQI 3MjIj195CY/+vzsde3JHST48qEYNuagUXETObyQdmtnR6EfpH5aEy8B0HvhyYmbPmVgS 9Ppwb539dHA3fbb/ONOn8qyo0Asm7y4sNhwbi6Eotg5qRu5+H/iYKdxJ7OsyHlLKFRc1 V/9A== 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; bh=P585Wb4GdNSdANLbtZBTejDHy0hzt6pLG6Y0SHAZ9bU=; b=l5rn8djppkjRes6ZbJ6FDuHkz9JzyMUYOlht2ZkR76gdoIacOD6wp306wPBv9bX/ao R1bLr1rzMxiZLjP+2UcnHBxad16DBQL1xev6mGT6Oduo/cZOboUhFJ6AF/FiucBaiBQ8 bggMZYaOjr6JOWFrafigNcwuye0IHb4n6z1ynfrPJRISjQYPx6txW2qxM1b92Iq/ZnUb CdahzMrnkGVrprfLIeUPMa/EvcgiWBD/vJzkH3Mmz6Kj4sYaiRzsQu/brJ/je1zFoF6P eyUO6iw9d9KHl8BXCVbG3vrgyptgO68XRFikJGFZB/TsKUasAfzuPqgwQQEwxqhDzoVi BqQw== X-Gm-Message-State: APjAAAU7lGKDsCqwcZw/cpnnmvYLSaPAEPhVABOxQNuSLmY7Ve4lSAwg jDBqvsgwD0sNNASuKoEMGZ5Khrl2Vg== X-Received: by 2002:a63:a02:: with SMTP id 2mr106677pgk.389.1571640269210; Sun, 20 Oct 2019 23:44:29 -0700 (PDT) Received: from localhost.localdomain ([2405:204:700f:8db6:2442:890f:ac37:8127]) by smtp.gmail.com with ESMTPSA id d4sm13156624pjs.9.2019.10.20.23.44.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 20 Oct 2019 23:44:28 -0700 (PDT) From: Manivannan Sadhasivam To: linus.walleij@linaro.org, bgolaszewski@baylibre.com Cc: linux-arm-kernel@lists.infradead.org, linux-unisoc@lists.infradead.org, linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org, orsonzhai@gmail.com, Manivannan Sadhasivam Subject: [PATCH v3 1/4] dt-bindings: gpio: Add devicetree binding for RDA Micro GPIO controller Date: Mon, 21 Oct 2019 12:14:10 +0530 Message-Id: <20191021064413.19840-2-manivannan.sadhasivam@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20191021064413.19840-1-manivannan.sadhasivam@linaro.org> References: <20191021064413.19840-1-manivannan.sadhasivam@linaro.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add YAML devicetree binding for RDA Micro GPIO controller. Signed-off-by: Manivannan Sadhasivam --- .../devicetree/bindings/gpio/gpio-rda.yaml | 50 +++++++++++++++++++ 1 file changed, 50 insertions(+) create mode 100644 Documentation/devicetree/bindings/gpio/gpio-rda.yaml diff --git a/Documentation/devicetree/bindings/gpio/gpio-rda.yaml b/Documentation/devicetree/bindings/gpio/gpio-rda.yaml new file mode 100644 index 000000000000..6ece555f074f --- /dev/null +++ b/Documentation/devicetree/bindings/gpio/gpio-rda.yaml @@ -0,0 +1,50 @@ +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/gpio/gpio-rda.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: RDA Micro GPIO controller + +maintainers: + - Manivannan Sadhasivam + +properties: + compatible: + const: rda,8810pl-gpio + + reg: + maxItems: 1 + + gpio-controller: true + + "#gpio-cells": + const: 2 + + ngpios: + description: + Number of available gpios in a bank. + minimum: 1 + maximum: 32 + + interrupt-controller: true + + "#interrupt-cells": + const: 2 + + interrupts: + maxItems: 1 + +required: + - compatible + - reg + - gpio-controller + - "#gpio-cells" + - ngpios + - interrupt-controller + - "#interrupt-cells" + - interrupts + +additionalProperties: false + +... -- 2.17.1