From patchwork Fri Jan 18 13:42:32 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bartosz Golaszewski X-Patchwork-Id: 10770197 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id D1EC71390 for ; Fri, 18 Jan 2019 13:44:47 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C061629678 for ; Fri, 18 Jan 2019 13:44:47 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id B3EE82A1FB; Fri, 18 Jan 2019 13:44:47 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 5C9EF29678 for ; Fri, 18 Jan 2019 13:44:47 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727491AbfARNoq (ORCPT ); Fri, 18 Jan 2019 08:44:46 -0500 Received: from mail-wr1-f67.google.com ([209.85.221.67]:38857 "EHLO mail-wr1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727336AbfARNnH (ORCPT ); Fri, 18 Jan 2019 08:43:07 -0500 Received: by mail-wr1-f67.google.com with SMTP id v13so15131847wrw.5 for ; Fri, 18 Jan 2019 05:43:05 -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=8G/x4xDqyiyiiW8CGc7IfA1RztIv2wZUUR9EI3hBaeM=; b=ATrlBtI9bodRec6OVYjWkV1535+WWPEMdtdjM0/neMsCDGG3DoeodNzxNnWOYr4nlZ v6ChZG4t1NmXrEw2tFgaD3sjTtPLnoQ0C2eNVjOVYD0fmLuBtUyVClE0p+x4mnCq/ypT QgkDmfkb7dUPWiiL69PbdUCODxitpzybhVH1U86bJBXkWYGSNLkcVoyf6B3YPphZsXQD NyDXvTqEOxqpbS9CLwvV9A05IHjowowNJquDDpedKz8/G3SosWeRbEre4Iu7oHn9ErI3 e2+kBLpjB2d0+7/MTESx2wsOaN6eVBaQlwBPOfehtMyJV8zMSgt4gXbJrG9XcQ3G9shv vu3g== 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=8G/x4xDqyiyiiW8CGc7IfA1RztIv2wZUUR9EI3hBaeM=; b=EkXtBOmpKfRQqQ4OTV/fGmgPCtneFeByWBHYKZZ+tD1f7MBxlzaH4bYYBUfe/VjykK AcCabNaAQv15jph+XU95PxSoFXHMEUtxCyOpBa45fRUsYJ5Dkpl2mLd/TzxrOZc+0+jJ TWYUZ+u/6fioNUFT8Hg8ptgwlpEhQaa4lsab/5TLJ2cAsOqJQYBuoqVrUuqyTWxXO4F1 0fnDXeN1uzFISXGCBDQHyfHgOWhGb+79DgnA8nSw7xX44bhZ21ZAZA4liISmMeVEJHFR DQqbJOzw21LdFpGcK89Qa3rAldh8TO/PGEt2G5tNT8JROkIj1yrt7E2exQu3dvuvMFtw /67A== X-Gm-Message-State: AJcUukeA3qLA5YUAayE+pOmB2UwpFztBa8b3PIddifURT+QnE0WULLC4 QfqboGjFP3+5WbMhiyWejc1Vmw== X-Google-Smtp-Source: ALg8bN5ZjFyQBMqR6yEThU3ueox6Vzlo5b+PwkbmkwoGBHh9QMmifvzfQ5SzMh2cTCifDd8GYQimgA== X-Received: by 2002:a5d:47d1:: with SMTP id l17mr16313740wrs.319.1547818984972; Fri, 18 Jan 2019 05:43:04 -0800 (PST) Received: from debian-brgl.home ([2a01:cb1d:af:5b00:6d6c:8493:1ab5:dad7]) by smtp.gmail.com with ESMTPSA id a132sm51033934wmh.5.2019.01.18.05.43.03 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 18 Jan 2019 05:43:04 -0800 (PST) From: Bartosz Golaszewski To: Rob Herring , Mark Rutland , Linus Walleij , Dmitry Torokhov , Jacek Anaszewski , Pavel Machek , Lee Jones , Sebastian Reichel , Liam Girdwood , Mark Brown , 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 01/13] dt-bindings: mfd: add DT bindings for max77650 Date: Fri, 18 Jan 2019 14:42:32 +0100 Message-Id: <20190118134244.22253-2-brgl@bgdev.pl> X-Mailer: git-send-email 2.19.1 In-Reply-To: <20190118134244.22253-1-brgl@bgdev.pl> References: <20190118134244.22253-1-brgl@bgdev.pl> MIME-Version: 1.0 Sender: linux-input-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-input@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Bartosz Golaszewski Add a DT binding document for max77650 ultra-low power PMIC. This describes the core mfd device. Signed-off-by: Bartosz Golaszewski --- .../devicetree/bindings/mfd/max77650.txt | 28 +++++++++++++++++++ 1 file changed, 28 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..84631d3b1e14 --- /dev/null +++ b/Documentation/devicetree/bindings/mfd/max77650.txt @@ -0,0 +1,28 @@ +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>. + +For device-tree bindings of sub-modules (regulator, power supply, GPIO, LEDs +and onkey) refer to the binding documents under the respective sub-system +directories. + +Example: +-------- + + pmic: max77650@48 { + compatible = "maxim,max77650"; + reg = <0x48>; + + interrupt-controller; + interrupt-parent = <&gpio2>; + #interrupt-cells = <2>; + interrupts = <3 IRQ_TYPE_LEVEL_LOW>; + };