From patchwork Tue Sep 26 12:17:18 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Quentin Schulz X-Patchwork-Id: 114257 Delivered-To: patch@linaro.org Received: by 10.140.106.117 with SMTP id d108csp3760573qgf; Tue, 26 Sep 2017 05:19:18 -0700 (PDT) X-Google-Smtp-Source: AOwi7QDA3kziv3gy9JcVFfMjeJNhe2X8nwmlnJu3qVhMFrdOPZTyvnSMtWa7Vj11fRecuwCu3q8Z X-Received: by 10.84.134.35 with SMTP id 32mr10748739plg.20.1506428358189; Tue, 26 Sep 2017 05:19:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1506428358; cv=none; d=google.com; s=arc-20160816; b=fdW9olDr+zwDgGw0QSdGaHF4np6Lc9X7PaA3qFbvWRmG4IJFoHqvsFuPvRA1E6KoFZ jDyC97+DvbbX0U3yBQ52k33x8lTcpCts53JJqtd2tDBmUBSgwe6WavVe0abpIcz/odXS rn5EFIaFCjyjDzlb890zSmecazicj26swAsRpJjAOnuoYk81/fehINs0rLZlXBjTdLmt PpiPqMirbVXZQ6xDDlXIhAb1K6OgYtjW7RTsjiba31lqy4M/fDAErFbXiXh5v9luxvhc cykjI0U0E8rkwfV3WnBE9CWLXkGj4L6uAU6YeUu2PZPpkq4k9rpxU4q827T0Zti9h3BN y/8A== 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:references :in-reply-to:message-id:date:subject:cc:to:from :arc-authentication-results; bh=AqdwgIHiu1SK22FgtyWqkRQN4vYSnW5T8WaWvZJWZfM=; b=GtPaRW/s7k+GJjiC389bs7XE/a0WJ+vDnRRZp6q0u4CNSctSkZlaso8I569tnArmNd m/Ch8mx58KOGVAxECD5CTj4dku8mpW5x6d59F3kCgrSy6JdDD6uQwAW61wfZnwjzZzkA Wuvcnu3cYv0m2APR3o1dO1WZNKEx1kcEMBOLWaBOr1SSP6c0WJko1LMJQCgSXnxdrbLp GqSaow4jbkfQwU2zjnSUfxXCXknj4SOkX2Q4xLzmVCCut8JAHsQ2IU93zzN13xgPHyDt 9Ec9DxMsfVaYsFSTlXtceKxpOvsOA3gXYYT3PzmqCv/QEtWkHrqSpRYTpwFue0NUltrD We8Q== ARC-Authentication-Results: i=1; mx.google.com; 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 n1si5522368pfg.599.2017.09.26.05.19.17; Tue, 26 Sep 2017 05:19:18 -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; 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 S1030634AbdIZMTQ (ORCPT + 26 others); Tue, 26 Sep 2017 08:19:16 -0400 Received: from mail.free-electrons.com ([62.4.15.54]:52159 "EHLO mail.free-electrons.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S968591AbdIZMSR (ORCPT ); Tue, 26 Sep 2017 08:18:17 -0400 Received: by mail.free-electrons.com (Postfix, from userid 110) id B5DAD20890; Tue, 26 Sep 2017 14:18:14 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mail.free-electrons.com X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED,SHORTCIRCUIT, URIBL_BLOCKED shortcircuit=ham autolearn=disabled version=3.4.0 Received: from localhost.localdomain (LStLambert-657-1-97-87.w90-63.abo.wanadoo.fr [90.63.216.87]) by mail.free-electrons.com (Postfix) with ESMTPSA id 848AF208D2; Tue, 26 Sep 2017 14:17:56 +0200 (CEST) From: Quentin Schulz To: linus.walleij@linaro.org, robh+dt@kernel.org, mark.rutland@arm.com, wens@csie.org, linux@armlinux.org.uk, maxime.ripard@free-electrons.com, lee.jones@linaro.org Cc: linux-gpio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-sunxi@googlegroups.com, thomas.petazzoni@free-electrons.com, Quentin Schulz Subject: [PATCH v2 08/10] ARM: dts: add dtsi for AXP813 PMIC Date: Tue, 26 Sep 2017 14:17:18 +0200 Message-Id: X-Mailer: git-send-email 2.11.0 In-Reply-To: References: In-Reply-To: References: Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Maxime Ripard The AXP813 PMIC is used with some Allwinner SoCs. Create a dtsi to include in each board embedding it. Signed-off-by: Quentin Schulz --- arch/arm/boot/dts/axp813.dtsi | 58 ++++++++++++++++++++++++++++++++++++- 1 file changed, 58 insertions(+) create mode 100644 arch/arm/boot/dts/axp813.dtsi -- git-series 0.9.1 diff --git a/arch/arm/boot/dts/axp813.dtsi b/arch/arm/boot/dts/axp813.dtsi new file mode 100644 index 0000000..e7f95e8 --- /dev/null +++ b/arch/arm/boot/dts/axp813.dtsi @@ -0,0 +1,58 @@ +/* + * Copyright 2017 Free Electrons + * + * Quentin Schulz + * + * This file is dual-licensed: you can use it either under the terms + * of the GPL or the X11 license, at your option. Note that this dual + * licensing only applies to this file, and not this project as a + * whole. + * + * a) This file is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License as + * published by the Free Software Foundation; either version 2 of the + * License, or (at your option) any later version. + * + * This file is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * Or, alternatively, + * + * b) Permission is hereby granted, free of charge, to any person + * obtaining a copy of this software and associated documentation + * files (the "Software"), to deal in the Software without + * restriction, including without limitation the rights to use, + * copy, modify, merge, publish, distribute, sublicense, and/or + * sell copies of the Software, and to permit persons to whom the + * Software is furnished to do so, subject to the following + * conditions: + * + * The above copyright notice and this permission notice shall be + * included in all copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES + * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT + * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, + * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR + * OTHER DEALINGS IN THE SOFTWARE. + */ + +/* + * AXP813 Integrated Power Management Chip + */ + +&axp813 { + interrupt-controller; + #interrupt-cells = <1>; + + axp_pctl: axp_pctl { + compatible = "x-powers,axp813-pctl"; + gpio-controller; + #gpio-cells = <2>; + }; +};