Received: by 2002:ac0:8c9a:0:0:0:0:0 with SMTP id r26csp4796188ima; Tue, 5 Feb 2019 01:15:10 -0800 (PST) X-Google-Smtp-Source: AHgI3IaXIaDaZdrVndBBfC7DijRu9drsfTHB/AMLk3cpIOAWgSjl6OdWlZmWhcbdYNCVv2nGzte/ X-Received: by 2002:a17:902:a5c3:: with SMTP id t3mr3981841plq.117.1549358110129; Tue, 05 Feb 2019 01:15:10 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1549358110; cv=none; d=google.com; s=arc-20160816; b=o/QcWMHFpELt1te/+rVqJoNyiVJbCFEwQxdfgTe6AYSRTc48ZlOEtbzZ5RSeu+3HZ4 g+R8Qnq5Z1vJ9VYBb80VWc7fVfJb538JVI57cOAeykbr7WsN/RqpeIakEWlURJVUR2W2 qwRgK7gVXSh6kHKaGX52B4PP/aDS5nQSHPAkrGbSfZ8raxP6Q+4JkXCfHjDt/AfNhZN6 FkfAC7Hsr6Rg5/XBx5oLx+xKRck1UOH6J/oG6MU8YGwifJUaJ34Sx5KpXnOM58cdujik fWrXsWMuPahBvtYeN8E3mmtJPxLoxRWjAIqueNaBB80eM0F4prCe/0SP8zxZPrViYDHn PcOg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=fHjGX90PhzkO2zCPEWu+WmU7YdHgBvwkN4duLM8BeyU=; b=IYepGx2esMck6yfZmOv2uoPYMTgVVn6P4pOtrn1zacqURQeyBie9UCZ7bhJad5pLqQ UvAI0a1w09ewWMBKzZ9P+cID8zpLuunxRDiHdJQdVR+cwAhZ2S2IK3t3Ckst4z5OjWsF mY3DRXyAdtWKLldbHyVdSY/2U7Ir1EuPK0RSRhStdYUMWiqyjB0qmibqi93PtuJkxjgw 939L9+Y6ao0MxPMy7O2pQBnUSnpdgYEtdfVDM7FIWLsQRXdCQvB93GliIh7dtptDhspz DLAJEKntvJn61TCZ+lBKqLrkJIXmDugrFYrBurBHB7FoAgxbJSZVQXXN2S51WRZn9/lB DeWQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bgdev-pl.20150623.gappssmtp.com header.s=20150623 header.b=rr7vZ4+b; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m15si2661176pgc.381.2019.02.05.01.14.54; Tue, 05 Feb 2019 01:15:10 -0800 (PST) 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=@bgdev-pl.20150623.gappssmtp.com header.s=20150623 header.b=rr7vZ4+b; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728613AbfBEJMs (ORCPT + 99 others); Tue, 5 Feb 2019 04:12:48 -0500 Received: from mail-wr1-f66.google.com ([209.85.221.66]:42014 "EHLO mail-wr1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728302AbfBEJMr (ORCPT ); Tue, 5 Feb 2019 04:12:47 -0500 Received: by mail-wr1-f66.google.com with SMTP id q18so2710950wrx.9 for ; Tue, 05 Feb 2019 01:12:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bgdev-pl.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=fHjGX90PhzkO2zCPEWu+WmU7YdHgBvwkN4duLM8BeyU=; b=rr7vZ4+bniMJKiQfElqNx2kcXe4M/BxKzM/RvPFH1hryN24210sIoREv9HqDmL5wSu mNJYct7qMnMOdHkbxBroUNoRnWms//iJwOUcnp8ZmkPxsUjpS/+QXG+N3W95pjYSot7M t42afY7HVG0ZBxzRIexnRYkac1xi9cO0CMEHVUdxkime/KTh5586q796A2XmXolLls6N j0PAqi6clE1cycOQAgHM7+zDew2WsCqBSrwPe6zy3ULwnjXf2XOoPb5J7qYJBnIoKOaL 2ZiDgWEK63VIdDEgWH7ks8jRm6JuNp9YdzmXdwl+xB8gP7DBDUxUNIopuEXOp4XY5tRh 1NUA== 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=fHjGX90PhzkO2zCPEWu+WmU7YdHgBvwkN4duLM8BeyU=; b=QVcJkQvFMtAQBUxHdDO+EtAJk0WHFpiNlCeARrg3P038+zvyrFi/nDuf9npc1qVrHH cIjytdEPYEDEspPEVxp8holHxXPEGHw4cXDJ8UQST2Hu9QXgwGQf2esmYHazCoHocK0p YvIsvMyum3UBorAJx9A3TJ5eR9oCvmaDP02z5PJIwdbrgUgw9d6Irl21cD94LymunhOB /reOqnwgNK/SPdxesC2eSLkDjuT9H/039JQYrxFCtvvBLtJoWOjkfw5FQvdOoNMstRn1 UJMVvD4D57mGs5ETjU473QooqQwGLSi7Eb8eM+OWzXQQqWAHD6XXAJvhauxQDJMzG7Jb 9wbw== X-Gm-Message-State: AHQUAuZw+4hND2Bi2u6VXb1yN/NE10ZkA3uc5Y3e5bcAlIJ8XlnM9tGM WP5jPVtnBUZULmOVVRb5Tg33Vg== X-Received: by 2002:a5d:524b:: with SMTP id p11mr2638342wrv.147.1549357965000; Tue, 05 Feb 2019 01:12:45 -0800 (PST) Received: from debian-brgl.home ([2a01:cb1d:af:5b00:6d6c:8493:1ab5:dad7]) by smtp.gmail.com with ESMTPSA id s5sm10433657wmh.37.2019.02.05.01.12.43 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 05 Feb 2019 01:12:44 -0800 (PST) From: Bartosz Golaszewski To: Rob Herring , Mark Rutland , Linus Walleij , Dmitry Torokhov , Jacek Anaszewski , Pavel Machek , Lee Jones , Sebastian Reichel , Liam Girdwood , Greg Kroah-Hartman Cc: linux-kernel@vger.kernel.org, linux-gpio@vger.kernel.org, devicetree@vger.kernel.org, linux-input@vger.kernel.org, linux-leds@vger.kernel.org, linux-pm@vger.kernel.org, Bartosz Golaszewski Subject: [PATCH v4 01/10] dt-bindings: mfd: add DT bindings for max77650 Date: Tue, 5 Feb 2019 10:12:28 +0100 Message-Id: <20190205091237.6448-2-brgl@bgdev.pl> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190205091237.6448-1-brgl@bgdev.pl> References: <20190205091237.6448-1-brgl@bgdev.pl> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Bartosz Golaszewski Add a DT binding document for max77650 ultra-low power PMIC. This describes the core mfd device and the GPIO module. Signed-off-by: Bartosz Golaszewski --- .../devicetree/bindings/mfd/max77650.txt | 47 +++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 Documentation/devicetree/bindings/mfd/max77650.txt diff --git a/Documentation/devicetree/bindings/mfd/max77650.txt b/Documentation/devicetree/bindings/mfd/max77650.txt new file mode 100644 index 000000000000..0a40e9c6aab8 --- /dev/null +++ b/Documentation/devicetree/bindings/mfd/max77650.txt @@ -0,0 +1,47 @@ +MAX77650 ultra low-power PMIC from Maxim Integrated. + +Required properties: +------------------- +- compatible: Must be "maxim,max77650" +- reg: I2C device address. +- interrupts: The interrupt on the parent the controller is + connected to. +- interrupt-parent: phandle of the parent interrupt controller. +- interrupt-controller: Marks the device node as an interrupt controller. +- #interrupt-cells: Must be <2>. + +- gpio-controller : Marks the device node as a gpio controller. +- #gpio-cells : Must be <2>. The first cell is the pin number and + the second cell is used to specify the gpio active + state. + +Optional properties: +-------------------- +gpio-line-names: Single string containing the name of the GPIO line. + +The GPIO-controller module is represented as part of the top-level PMIC +node. The device exposes a single GPIO line. + +For device-tree bindings of other sub-modules (regulator, power supply, +LEDs and onkey) refer to the binding documents under the respective +sub-system directories. + +For more details on GPIO bindings, please refer to the generic GPIO DT +binding document . + +Example: +-------- + + pmic: max77650@48 { + compatible = "maxim,max77650"; + reg = <0x48>; + + interrupt-controller; + interrupt-parent = <&gpio2>; + #interrupt-cells = <2>; + interrupts = <3 IRQ_TYPE_LEVEL_LOW>; + + gpio-controller; + #gpio-cells = <2>; + gpio-line-names = "max77650-charger"; + }; -- 2.20.1