From patchwork Tue Oct 15 17:30:23 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manivannan Sadhasivam X-Patchwork-Id: 176390 Delivered-To: patch@linaro.org Received: by 2002:ac9:3c86:0:0:0:0:0 with SMTP id w6csp6077252ocf; Tue, 15 Oct 2019 10:30:49 -0700 (PDT) X-Google-Smtp-Source: APXvYqzH23/Cl400SjMPydP1kW0ePsC/9Cd4z4A9zm5a163fovsBRvMDbAOOiMfBPqihJbVFWfP8 X-Received: by 2002:a17:907:4366:: with SMTP id nd6mr34644551ejb.97.1571160649157; Tue, 15 Oct 2019 10:30:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1571160649; cv=none; d=google.com; s=arc-20160816; b=wE5qF0RSdrNoIbbP6wV2KsZUEIeUBc+nu/vKUMehoA7vMk6hMKpdjz4i3lWMZeDjAF mwZMkVGQnY3nLOzTcZytahFOAfFUxCUR3HzQsxXFkjjP4CxTpCNn6bfGYd7Be0r82R6T 7mJaaWz5OsqasAjlm6oUbvsnzlQF5/S9KSddemv7kTog/0Zt3epI15smAX7buXKaUvxr QWUFoPitI8N1oYiR+9miFHFoz/l96TV5XfuKNcmumbNIBcNJa9pRPkSMsLF84alV7Rv5 R/sb+OdihYa2yTMVUTw0j1kcmbEIT+2lmb8D/qrpdBtR89humAM5alC13jAnADdHnXu7 MDJg== 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=EuuDteNlX1w7B30MVmlyA26kV2aNmSDyWhYGdU9ULeb2AXPXkWUNquN9syNPp0dnAX 4z8QVb7kX1n/8jg9DKyp5YTxDgK+v1zwAbUwGY4RoNBM0i2HfJarW73MB1fd19DMp/9A 4YWsWFCACJepjG6QQyoPQXxTf+LhkadQLbJ9qb95cY8VLj1OtF+s+f2l3iuhymO/lF1d 8LrvrjuYbRs2t378giGk7vVOsSLdg/r1h56n8w7CqW86fRPoR5RfEBx81m+hpxZrPxFy VM0TocE2juDEflGOwVqLxmRO1sGQzGAXMWMOxYXV5xjfAtEwR/tprYnQ0nwFOuOIYjE3 IBfw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=lpDLdyz6; spf=pass (google.com: best guess record for domain of linux-gpio-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-gpio-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 r26si13662562edx.61.2019.10.15.10.30.48; Tue, 15 Oct 2019 10:30:49 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-gpio-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=lpDLdyz6; spf=pass (google.com: best guess record for domain of linux-gpio-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-gpio-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 S1729710AbfJORar (ORCPT + 5 others); Tue, 15 Oct 2019 13:30:47 -0400 Received: from mail-pg1-f195.google.com ([209.85.215.195]:39062 "EHLO mail-pg1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729977AbfJORar (ORCPT ); Tue, 15 Oct 2019 13:30:47 -0400 Received: by mail-pg1-f195.google.com with SMTP id p12so3219688pgn.6 for ; Tue, 15 Oct 2019 10:30:45 -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=lpDLdyz6gnJaWTKjbVWSVfNBu6KMNSTe2jzE7hfZCBE/yhgGo3bcfsuo4VE0UxQoWT H75k5eMOlfLtO8A5ocoGCBC7WwIrGu5NhtVp7sU2OSO24qCzmwJDv9mjbf2XfFIjl7AP o0S59xqf2//C6qUa9OfgSXewKWN/9kN7P7YL82zLiYeepojPRIAT70xwjfgaY7nVRaaq MD5K5/WkIIMWT6vpdY5VfZPa9lGszMYcM9U188QDbEmSIifvhXo6ozxs2zk6P00wavPd x2Mtub+9nA8TRjOg44JFhRheRbLuOWlMlpV1hlNq3nE6bqeO8B0DoDLFYO+gjSMX4vyS W9qQ== 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=I2iIQi7slH4zdb+r/XMeVAwPjvfClr0zFHinF0ckWxjgNia3byAQpN9/4rOGdOwzo0 VcegKkg/3GiYn67Fa8pwyqKsENAaMyzd/HO72SCf0vedTLndtoHFgem0CMRbCi2z6UCe kJKJee2WHcBfd0eoCFSRJL1/7+K0p1GhyWsEN9NHxvJCDv5mfM12SQu1fqOvmVE9EY9i iGbKiBu6RB+yt2HPT+XmIO/hIMx1BKW13z4Mly1hugOq0wUgcsknNoJMl4LqiwUzxsDO Kg2TnvmhvdFXSsfF1Q+D8Bk6EEHHwpjtvkvYu04cWgP6XuOf14+xPru+pucxRhwuyBrS Ih6g== X-Gm-Message-State: APjAAAVfcE+mnDDSoay4y67DDg4nlYE7DK5tjh4LA3KbsoAF+kLhWnxv ERhrz/HVZDZe3X/CP8sh3RVb X-Received: by 2002:aa7:8249:: with SMTP id e9mr38929777pfn.46.1571160645036; Tue, 15 Oct 2019 10:30:45 -0700 (PDT) Received: from localhost.localdomain ([2409:4072:6003:7cb8:25e8:2c45:fab2:b0c7]) by smtp.gmail.com with ESMTPSA id w11sm28033563pfd.116.2019.10.15.10.30.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 15 Oct 2019 10:30:44 -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 v2 1/4] dt-bindings: gpio: Add devicetree binding for RDA Micro GPIO controller Date: Tue, 15 Oct 2019 23:00:23 +0530 Message-Id: <20191015173026.9962-2-manivannan.sadhasivam@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20191015173026.9962-1-manivannan.sadhasivam@linaro.org> References: <20191015173026.9962-1-manivannan.sadhasivam@linaro.org> Sender: linux-gpio-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-gpio@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 -- 2.17.1 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 + +... From patchwork Tue Oct 15 17:30:26 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manivannan Sadhasivam X-Patchwork-Id: 176392 Delivered-To: patch@linaro.org Received: by 2002:ac9:3c86:0:0:0:0:0 with SMTP id w6csp6077579ocf; Tue, 15 Oct 2019 10:31:04 -0700 (PDT) X-Google-Smtp-Source: APXvYqzbZdbC1h6+1txTZiHVbMsMTP8TFc5a/o+jyIDGHtR7On/NSlxYtYndWgyQemFPN7GGBq5G X-Received: by 2002:a17:906:1e43:: with SMTP id i3mr33950001ejj.77.1571160663495; Tue, 15 Oct 2019 10:31:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1571160663; cv=none; d=google.com; s=arc-20160816; b=eZVNK9bcbNlk+GXWc7IpyLAzDXSJHpqFn2WfXaa5lnznFpWgM/VZiFyHY1Iu77AXE/ uuF+m9Dv7w7FviL4PnpWVzgM/NPVYoKVkVvadb6X4mBu6nEUxoQ69raUlsnFfwZ6BzhP jW7kOal1tOAbINK8EtQii4J/bIkjy+CnS6mUw4VVtHtQwHUoyJqMaPwU2pdCZ9O04L71 rF/5/LsC6zqD5EHlwc/wCApotsGCYkqHMEhpEx/9/FcgtwSyqY+wEJa2AcVkkbsm82cd tQ8ibuKNKGjlxmjchxg9+27y1VYhCu88lRZSE6wgkVmGrongRr40SJsdjW6+580Y21eu DQlw== 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=7S85Z16eqmxjvMi+R450sz/jCD08hapdQq20bxkJhIQ=; b=tJXYzL0T01W4Q79TJpCfaZgLWoy3/WwjpMoNPzqKr9edi9NJW4yYV2/mDvpOb/qnSK p08KTcdSAhV/kduS9NMcwvEqnsr8h7dBQAHzNYpH/9OIRWqWWpZUQId+aWGQ/dWL/esX Uo3UHk6MmHF2HYJKeWzPUXy1nnzMbKRbUMqTnAoBehKCcfoCHxTEPxHpNVVw72EQed/1 CylrFJsrqqnav6Zdes38LnQrTmSi0XIH2HErMZwK0PiB8BBsABgIKfO71xVMDBru42GW UI1IaNjU2PQdqjjjKMuKIzformJPIOAkI/wy/272JYBmH2mmQoa82CdIUYmIJgt8fSMH Q2TQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Z45Fjj80; spf=pass (google.com: best guess record for domain of linux-gpio-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-gpio-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 i3si14069114edq.163.2019.10.15.10.31.02; Tue, 15 Oct 2019 10:31:03 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-gpio-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=Z45Fjj80; spf=pass (google.com: best guess record for domain of linux-gpio-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-gpio-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 S2388813AbfJORbB (ORCPT + 5 others); Tue, 15 Oct 2019 13:31:01 -0400 Received: from mail-pf1-f193.google.com ([209.85.210.193]:40340 "EHLO mail-pf1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388809AbfJORbB (ORCPT ); Tue, 15 Oct 2019 13:31:01 -0400 Received: by mail-pf1-f193.google.com with SMTP id x127so12911054pfb.7 for ; Tue, 15 Oct 2019 10:31:00 -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=7S85Z16eqmxjvMi+R450sz/jCD08hapdQq20bxkJhIQ=; b=Z45Fjj80aeFnBh15QFiiV4ZDqGyQ5HJDbtqHNzqjgPSNVNPjO/x2poJPEIrrZSFwpm OCMem9CGwlp78RO8LfSd5G8mEF3Nyd2RFh624FvFc7lp5QpQOk+J9/X7AA1OJVuLBMVn 1RleaZa0ecrjs9JrXlD4ReELJMFxpSUi0gdkDJiF4FnLpedmmsdC1A8CxoITnMEEOsTF TD0hM4gvbo4PJAMPxwFtNUirCtNcVbcD6tilIdvWAwLG73xWJC9hLBQGmXaWwpXZ1WS4 AShMtc0G+WfW6FxqQSAnVlM55aI6K6lK4t8Fct+uwbgtxpNTlvASSWpOURuotpOnAcSK /kZQ== 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=7S85Z16eqmxjvMi+R450sz/jCD08hapdQq20bxkJhIQ=; b=Bpn8R4X+OFpTnWDUthuCSfcQfd3I2Q1OEw3kb/whCuSy0bfFO3TT7RTjojztuL+rUo Io45SlDE5MwTB6iPOYV73lqy9MskVgNuEm057hDc1VcYE2cyaYdle8UN2Pep51ruWxHc x4IfELapki886wF+6criQOz2GFpxA1zOKGDne/dT9v5RmuvAK8lbwGTRVmua9BlOqcbJ MmkQCVQCs1tV9qM56y6LNWioU6qcrZugGln12ggQQZyQwV4SYYNiymE3RRRdqaIgzAcM KuShvHZU8JLxcIdf5XZEs4qylD/KEhJ3hxkV44poSr+Bs4tH4IH5n8rbsVSSE1WXxetr PWzA== X-Gm-Message-State: APjAAAUeTD9HPpknNonjZo9SjuMdv25AJdtc95NlcfbY9lSb+xLC7aKX c/HSgaGiBH1BGVkbQx7qJArr X-Received: by 2002:a17:90a:9f42:: with SMTP id q2mr43885643pjv.95.1571160659982; Tue, 15 Oct 2019 10:30:59 -0700 (PDT) Received: from localhost.localdomain ([2409:4072:6003:7cb8:25e8:2c45:fab2:b0c7]) by smtp.gmail.com with ESMTPSA id w11sm28033563pfd.116.2019.10.15.10.30.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 15 Oct 2019 10:30:59 -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 v2 4/4] MAINTAINERS: Add entry for RDA Micro GPIO driver and binding Date: Tue, 15 Oct 2019 23:00:26 +0530 Message-Id: <20191015173026.9962-5-manivannan.sadhasivam@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20191015173026.9962-1-manivannan.sadhasivam@linaro.org> References: <20191015173026.9962-1-manivannan.sadhasivam@linaro.org> Sender: linux-gpio-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-gpio@vger.kernel.org Add MAINTAINERS entry for RDA Micro GPIO driver and devicetree binding. Signed-off-by: Manivannan Sadhasivam --- MAINTAINERS | 2 ++ 1 file changed, 2 insertions(+) -- 2.17.1 diff --git a/MAINTAINERS b/MAINTAINERS index a69e6db80c79..0303502cd146 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -2150,9 +2150,11 @@ L: linux-unisoc@lists.infradead.org (moderated for non-subscribers) S: Maintained F: arch/arm/boot/dts/rda8810pl-* F: drivers/clocksource/timer-rda.c +F: drivers/gpio/gpio-rda.c F: drivers/irqchip/irq-rda-intc.c F: drivers/tty/serial/rda-uart.c F: Documentation/devicetree/bindings/arm/rda.yaml +F: Documentation/devicetree/bindings/gpio/gpio-rda.yaml F: Documentation/devicetree/bindings/interrupt-controller/rda,8810pl-intc.txt F: Documentation/devicetree/bindings/serial/rda,8810pl-uart.txt F: Documentation/devicetree/bindings/timer/rda,8810pl-timer.txt