Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp6258282pxu; Wed, 23 Dec 2020 19:22:52 -0800 (PST) X-Google-Smtp-Source: ABdhPJyVNHZgFB6hUjyFK8EANv0456K0iiBFfadlUa1yEc6xV3oNCgBAt7dIKCIav0GWNjZAb11m X-Received: by 2002:a17:907:1607:: with SMTP id hb7mr25856528ejc.81.1608780172537; Wed, 23 Dec 2020 19:22:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1608780172; cv=none; d=google.com; s=arc-20160816; b=KCUNI5q86n6YqaTIGnGIUH0SBy5/YcKCsZE5QEef7R++HChgofsW2+1EGTaXoA7EaS Qtw3A0ZMV7PNSgpIJbbaVKO5qowtBR+/OmLE9Jk1gXZDdjFfjeSkXrp4E+VczF0Yj8GX dl91JnWporJgQs8QGAmeJAcEsfpRmWWhhPijViSElqA8gPL+YTUaEeml1kDwYL3kag9K g4TIkZ2a+17h1dQRFgc9M0/idUdqYk9k0LJHZWR0hVL2EVo0vrX6U0VlzrZLmW78TKKt rT4LUE4wqAzQAnNdGedAmyNzO3cj9u1BP2KPg8ckWhNVx9XAsfMKJsPVzPAHAxQwUNkF Riyg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:date:subject:cc:to:from :dkim-signature; bh=bY2URhtHpp2ViDApeX+WMIac4xic2Nz10mLXPafWH1I=; b=tJ7LAPlEhk/kYoyZ/9tgWxVd0MxRm8c0AFXMlCgUjrC+3ZcRmj8U0z8taUDn41IpXC dotszdrH4+6qD5w5wj6ybIeiUkifj/ruLT4xyQxZ25+ADcmJSxw7uJjVrHYZsTUbqMDY 8zoZ0xhYMT5vZAtQ9bF9jX3WqWuTP3MR5ao+z4XeO1FFfJ16YaBQ2dAZeS1kTACtFuo0 aNsWWDCGKNvC+u2bfcyyAKxHu7BvJAd12Y/ZoeSYZywZtkOVl8Pe3RuGFJNvl8SG28ET uplVew+TD0EF5uWNr3dvEvhag6jyeq35LyfTNGJgnXtHeZkDpFLM6XWqBw2P92+cJip2 +i1Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=fHyv89jH; 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 lr26si13686090ejb.312.2020.12.23.19.22.30; Wed, 23 Dec 2020 19:22:52 -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=fHyv89jH; 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 S1728963AbgLXDUt (ORCPT + 99 others); Wed, 23 Dec 2020 22:20:49 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40080 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728334AbgLXDUt (ORCPT ); Wed, 23 Dec 2020 22:20:49 -0500 Received: from mail-pg1-x530.google.com (mail-pg1-x530.google.com [IPv6:2607:f8b0:4864:20::530]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 46DAAC061282 for ; Wed, 23 Dec 2020 19:19:56 -0800 (PST) Received: by mail-pg1-x530.google.com with SMTP id g15so775726pgu.9 for ; Wed, 23 Dec 2020 19:19:56 -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; bh=bY2URhtHpp2ViDApeX+WMIac4xic2Nz10mLXPafWH1I=; b=fHyv89jHI3dvjcUjJ5lDVSRFWiq7bg4lXHOZaHco8FGPSzoysvYMsH5QN46IE07wN6 N1VBz6eO1Z88HabORkNJIAk9uC4BrVvoRvWsb/U+63cEU6c2Q/cKcxKDba//TwXhsZ6c RMhfriyb8HXJSZcCJsBrIUo4FZjrsvdIjcuRSWBkCaozQdwJ12I8bswaW+9ZjUzVu/vN yGppvjevALg4k/zpy5VLsGqgz3p5vbmAYeNOimNbVFQRBe7JdLIRVwWW2hRLyhK3jPfs phURXB7SZtpfgLz4C0AdnGL/kf00r2Jx0WNjNXJ2AG8iujqx/fNGTrlRk/iRX9CpcVrM ZdDA== 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; bh=bY2URhtHpp2ViDApeX+WMIac4xic2Nz10mLXPafWH1I=; b=eVD3/MM50736i17pRFxD2l1Vb+bXhDNPtyxyvbI/leEHtKgalTPz1UuaanRxwIDYG7 EL8NaYU7J7/Tke/didIQzOCh/3mO6iOwzC9kvW+QSFiGW+H3uCorcYFlyrjDxczNeq5d 5Lfw37S1z9VZ8V7jBUhUYe6bPtbepOyF6h+iYsQUatplvKrYpG0DcPyKZGynRc97VaHx YvFqRsBgiYvENLObSml3u0nwOiEa6KMDW+1hjlYiXFqKaMfJbXmZMKXlVLW6cB7iJMOG 5mcY+UUT8G+X8vH4gb8Rwx6/PlcyoqwLuNRpFNro2pMWaXBq+Ko8x0srpeJg8lI63GZM PS2A== X-Gm-Message-State: AOAM530KyjJq2IfLDZxxHHG8W/p8Zj+Irj+iKdxuV/CKavPVzcWP8KaE mgTwS6r1+eedlSMeEmj/kxw= X-Received: by 2002:a63:480f:: with SMTP id v15mr13457906pga.341.1608779995916; Wed, 23 Dec 2020 19:19:55 -0800 (PST) Received: from localhost.localdomain ([2402:7500:492:86cf:7e4a:b265:b394:eefd]) by smtp.gmail.com with ESMTPSA id b19sm23842540pfo.24.2020.12.23.19.19.53 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Wed, 23 Dec 2020 19:19:55 -0800 (PST) From: Gene Chen To: matthias.bgg@gmail.com, robh+dt@kernel.org Cc: lee.jones@linaro.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, linux-kernel@vger.kernel.org, gene_chen@richtek.com, Wilma.Wu@mediatek.com, shufan_lee@richtek.com, cy_huang@richtek.com, benjamin.chao@mediatek.com Subject: [PATCH resend] dt-bindings: mfd: mediatek: Add bindings for MT6360 PMIC Date: Thu, 24 Dec 2020 11:19:49 +0800 Message-Id: <1608779989-9641-1-git-send-email-gene.chen.richtek@gmail.com> X-Mailer: git-send-email 2.7.4 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Gene Chen Add bindings for MT6360 PMIC Signed-off-by: Gene Chen --- Documentation/devicetree/bindings/mfd/mt6360.yaml | 69 +++++++++++++++++++++++ 1 file changed, 69 insertions(+) create mode 100644 Documentation/devicetree/bindings/mfd/mt6360.yaml diff --git a/Documentation/devicetree/bindings/mfd/mt6360.yaml b/Documentation/devicetree/bindings/mfd/mt6360.yaml new file mode 100644 index 0000000..2781c31 --- /dev/null +++ b/Documentation/devicetree/bindings/mfd/mt6360.yaml @@ -0,0 +1,69 @@ +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/mfd/mt6360.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: MT6360 PMIC from MediaTek Integrated + +maintainers: + - Gene Chen + +description: | + MT6360 is a PMIC device with the following sub modules. + It is interfaced to host controller using I2C interface. + + This document describes the binding for PMIC device and its sub module. + +properties: + compatible: + const: mediatek,mt6360 + + reg: + description: + I2C device address. + maxItems: 1 + + wakeup-source: true + + interrupts: + maxItems: 1 + + interrupt-names: + enum: + - IRQB + + interrupt-controller: true + + "#interrupt-cells": + const: 1 + description: + The first cell is the IRQ number. + +required: + - compatible + - reg + - interrupts + - interrupt-controller + - "#interrupt-cells" + +additionalProperties: false + +examples: + - | + #include + #include + i2c { + #address-cells = <1>; + #size-cells = <0>; + + mt6360@34 { + compatible = "mediatek,mt6360"; + reg = <0x34>; + wakeup-source; + interrupts-extended = <&gpio26 0 IRQ_TYPE_LEVEL_LOW>; + interrupt-names = "IRQB"; + interrupt-controller; + #interrupt-cells = <1>; + }; + }; -- 2.7.4