Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp1950721imm; Sat, 6 Oct 2018 14:22:47 -0700 (PDT) X-Google-Smtp-Source: ACcGV62mYkTNzipGqoaNbrX+vVecxGnyzvXApoVh1IQRZahZYbXrdNsn9xD52kLqtJXauSNDg9qd X-Received: by 2002:a17:902:6ac4:: with SMTP id i4-v6mr17359892plt.153.1538860967899; Sat, 06 Oct 2018 14:22:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1538860967; cv=none; d=google.com; s=arc-20160816; b=vogXl8vak2SfXXt5pFNsifWj/c0J9QlX4pfIqPl89vYvnl/FyaWx7v057H3rw9JdfI fRzP4sx/mTlePorFjTRREg8xGOMzTOZ9A0vd9O83x34DGPukSgLBXXoqB08wv/8nPWxs 64WDU6bOTOF3AwLccu+hyXhQIPPv7taogeFAD6h/qugtd7AAwyX8l0ZY3PiOTXBcJD3s KY7EPfX5oerKUaEWysgvJqLNphl258Yv+npyaLS4qr13WLjoJTwIt7v9Scp+emSbLJPZ oocHMrq+BvmmbPzQ6Ow3z1HXnVlvitouOCACs4+iLNTMI08ywcQ53YLFQAAM9jSINnbU 3x/w== 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=PjYEzWZwyaUd3XVQ841OYw7V2mrsBABl197GEUwi3DM=; b=VYE8ww4g1VXNCcM6eduGY6KWIS9eJy+9HELxzcnKSCZ5WL8R07yqKy3I8qCgfgcCPp G2f3NUJUkEDYmSNMm/U9PH/wJBtTA05cxC2wchzoM9Qv+qEoWT4mfu+Bf8CGuprtWMej 9ecpJE46oRu55zP+w+JYAkvSf/YGE2paUXcUnyL8T+CiFkV6t2H2oAkg+vHxetAYqo6Z bNtV7Ww/uIvXuPZu4J4UBnUjCZ/GE+u1YVTuALEzLjmoyQEeMRQ2q0jTvfS4A/iYO3Fa ptJ19a/otoF7yePFrE8OaC/Fpq9dnKpa1gKLXRJfwQkWz4TiWxvhMcHTfrGfzPQY3a1c 0Ayg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lemmela.net header.s=dkim header.b=MVJrHLV3; 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 33-v6si13841257ply.251.2018.10.06.14.22.31; Sat, 06 Oct 2018 14:22:47 -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; dkim=pass header.i=@lemmela.net header.s=dkim header.b=MVJrHLV3; 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 S1728041AbeJGEZ2 (ORCPT + 99 others); Sun, 7 Oct 2018 00:25:28 -0400 Received: from mail1.kuutio.org ([92.222.216.83]:53316 "EHLO mail1.kuutio.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726908AbeJGEY7 (ORCPT ); Sun, 7 Oct 2018 00:24:59 -0400 Received: from localhost (localhost [127.0.0.1]) by mail1.kuutio.org (Postfix) with ESMTP id 942601F99C; Sat, 6 Oct 2018 23:20:08 +0200 (CEST) Authentication-Results: mail1.kuutio.org (amavisd-new); dkim=pass (4096-bit key) reason="pass (just generated, assumed good)" header.d=lemmela.net DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=lemmela.net; h= references:in-reply-to:x-mailer:message-id:date:date:subject :subject:from:from:received:received; s=dkim; t=1538860807; x= 1541452808; bh=W+ktF4hdPsTh260RGfj4QSBAZhAjSZBjQblCUDMIGJE=; b=M VJrHLV3wpkl4WJhcfFA31P6sGQKFpxlwSBwGLMqWFoqDQxQ3aquKVG39XGwpPjYD McLMr8MdvoYg9guvk4xogT7YrRmLUtNWOLngyepEKB9tdy61SNaGwDnVY4wygVVJ s3OIJWLD61mmHAt20oKdN6GO4O6JX5F0OSNGSQF9SOClEX1OYNZWQJHBnxeF5YPU oUO9R5bOiO/WeGtQg4lS9DVyuVGBPx6pK3WtNJ4JYfxdUQXToAKgzUzdzKf4bNJb AFO2MrM3ss/ym5ZvBI77pH3oO9S8OgkNsF8IjPZGsFfZg2jDHQ9haN2Pmih6kteN XOJ0nDwF92e/6gHWN5GEoj2gGyLDjkqNyWDz4mDJcew8Iqz9Y1v7pMjdcQ/Sjtdu MuiuuXJ8a5iPqcgAk0CFCvbqM/00fZ8xqhh5IKs99TL9qopGgQYiRDD+HyRIdqmk nmK7WJzQ9tdUVf/MPfZdnRPX0d+QpQraKKbEoD5Nqgto3vYMwKkyanD7Qw/iiNF9 0VHB7lOQ4nuoTJEFnxH8ptH8V0F4qLfp93w8Slh6eV0eDCnNeQDcgqL4rdbmEOJ9 vOb2gUwH8eNvUQDwro4d46Lpyi4jmLeyNxn/5n5Xo4ftmLkgmJn2W78QDvcjcR1O SXtnciSEDb9pXc+aqvnZgHzww3GEVQPiCYludrfZSM= X-Virus-Scanned: amavisd-new at kuutio.org Received: from mail1.kuutio.org ([127.0.0.1]) by localhost (mail1.kuutio.org [127.0.0.1]) (amavisd-new, port 10024) with LMTP id pB62PhBHXOSq; Sat, 6 Oct 2018 23:20:07 +0200 (CEST) Received: from build.kuutio.org (unknown [IPv6:2001:998:13:e4::69]) by mail1.kuutio.org (Postfix) with ESMTPSA id 4B0C11FBED; Sat, 6 Oct 2018 23:20:07 +0200 (CEST) From: Oskari Lemmela To: Sebastian Reichel , Rob Herring , Mark Rutland , Chen-Yu Tsai , Maxime Ripard Cc: Lee Jones , Quentin Schulz , Oskari Lemmela , linux-pm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH v2 3/6] arm64: dts: allwinner: axp803: add AC and battery power supplies Date: Sun, 7 Oct 2018 00:18:33 +0300 Message-Id: <20181006211836.28253-4-oskari@lemmela.net> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20181006211836.28253-1-oskari@lemmela.net> References: <20181004193410.7265-1-oskari@lemmela.net> <20181006211836.28253-1-oskari@lemmela.net> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org AXP803 is compatible with AXP813. Add DT nodes ADC, GPIO, AC and battery power supplies. Signed-off-by: Oskari Lemmela --- arch/arm64/boot/dts/allwinner/axp803.dtsi | 31 +++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/arch/arm64/boot/dts/allwinner/axp803.dtsi b/arch/arm64/boot/dts/allwinner/axp803.dtsi index e5eae8bafc42..533987b2fe7a 100644 --- a/arch/arm64/boot/dts/allwinner/axp803.dtsi +++ b/arch/arm64/boot/dts/allwinner/axp803.dtsi @@ -49,6 +49,37 @@ interrupt-controller; #interrupt-cells = <1>; + axp_adc: adc { + compatible = "x-powers,axp813-adc"; + #io-channel-cells = <1>; + }; + + axp_gpio: gpio { + compatible = "x-powers,axp813-gpio"; + gpio-controller; + #gpio-cells = <2>; + + gpio0_ldo: gpio0-ldo { + pins = "GPIO0"; + function = "ldo"; + }; + + gpio1_ldo: gpio1-ldo { + pins = "GPIO1"; + function = "ldo"; + }; + }; + + ac_power_supply: ac-power-supply { + compatible = "x-powers,axp813-ac-power-supply"; + status = "disabled"; + }; + + battery_power_supply: battery-power-supply { + compatible = "x-powers,axp813-battery-power-supply"; + status = "disabled"; + }; + regulators { /* Default work frequency for buck regulators */ x-powers,dcdc-freq = <3000>; -- 2.17.1