From patchwork Fri May 26 06:35:17 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Guodong Xu X-Patchwork-Id: 9749757 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 9FB4060249 for ; Fri, 26 May 2017 06:37:16 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 8C53C281C3 for ; Fri, 26 May 2017 06:37:16 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 80BB1283BB; Fri, 26 May 2017 06:37:16 +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=-1.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID autolearn=unavailable version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 19592281C3 for ; Fri, 26 May 2017 06:37:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=UDqos42CIv3zMc7JnRiBxLh+FhUzgUJonRSt8fhTyP0=; b=G1SnfrutNbw8AYVqhvXmNk/AEq EUzIVTXdK2b46/vkCVV006w602pEftmBhDcmcLzLBhi7XY+TobwMdPNE1JkS7WZLUtql3FjDI2cFg L+cTP2huQJxYXsJBDrNMYJ2tNr6WZ61QE5QHqG7eOUF20ZwFwxPaaoWigdek9xxuXRPdmKPNWz5zP ESLJMzl8EndOMgnWpQmwiz+ghoeSx2iXGTqN5d8Bxm1IaO9DboCZWlBLvkN2SEvZdipQiQVdKyTz8 +UwhpSKDlJgknPMtLLO0q94VN+aDgqSX/CyjQbgioRRIfVB/TlxDE2U4YhYtNuGUb60fMiA2wFF7I XGHBu7fQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1dE8s6-00074R-N4; Fri, 26 May 2017 06:37:14 +0000 Received: from mail-pf0-x22f.google.com ([2607:f8b0:400e:c00::22f]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1dE8rQ-000674-DG for linux-arm-kernel@lists.infradead.org; Fri, 26 May 2017 06:36:34 +0000 Received: by mail-pf0-x22f.google.com with SMTP id e193so2678941pfh.0 for ; Thu, 25 May 2017 23:36:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=ww2xU7m3U8v7TCtcyH0ICfXge67V6oMZRh6bduHZpdU=; b=KynFvkZCJvp6uwqTB5jS01gwWd9Ba6RDZ3+rkGqVfnykMpyzAgxT1ht7IDli5PqvnK eCDK9muC3ADOLS4pU8MEUTlLeUdgeKX0do7PojtPr4orp/njEKvSByFjBoiQBQ907oyu mxy7MhCKpZTBERITyN7C5e2Dc/R/hJ0yBKz2c= 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; bh=ww2xU7m3U8v7TCtcyH0ICfXge67V6oMZRh6bduHZpdU=; b=ZH/dxkBjjCYIDzNFEYBZUMRIh9n4CJDPvWfUkYBqFwZsicqKXf9ep17PBfWPAEp6d/ PW86Icnckfg1JlpWpJHztA3kCYwNreOmFFTNjwEjiivF0PfzAA97BkH6ZioAutM0f+2l U9xJKJ31FpHMJWrkhgZSu2XR1eHVfAHlFHmx+1V7QKnsPj1bIx/Z0WuN3kdfEbso5OFH Ad4VS0qpf8qoBskTb+NEzQJhUu/iphgTfrxleypN7CHUrwSzmkWSHIk3+24lrH4bgVeU ILaVnKSof9uyRyCgCozMAFuQ/IXsUKITZrdCCae0BYcBquFg0/M0kMV3hWgUbAE3tVcQ rBBw== X-Gm-Message-State: AODbwcCy6yOHLAPffcMtsXrVucc0s+JndYlYwbvC1QdhsSEJRawajT1k 1SaTpk3K6mA1xHNQ X-Received: by 10.84.236.71 with SMTP id h7mr10753993pln.86.1495780571999; Thu, 25 May 2017 23:36:11 -0700 (PDT) Received: from docularxu-ThinkPad-T440p.219.146.1.66 ([45.56.159.222]) by smtp.gmail.com with ESMTPSA id j11sm11420635pgn.38.2017.05.25.23.36.04 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 25 May 2017 23:36:11 -0700 (PDT) From: Guodong Xu To: lee.jones@linaro.org, robh+dt@kernel.org, mark.rutland@arm.com, xuwei5@hisilicon.com, catalin.marinas@arm.com, will.deacon@arm.com, lgirdwood@gmail.com, broonie@kernel.org, khilman@baylibre.com, arnd@arndb.de, gregory.clement@free-electrons.com, olof@lixom.net, thomas.petazzoni@free-electrons.com, yamada.masahiro@socionext.com, riku.voipio@linaro.org, treding@nvidia.com, krzk@kernel.org, eric@anholt.net, damm+renesas@opensource.se, ard.biesheuvel@linaro.org, linus.walleij@linaro.org, geert+renesas@glider.be Subject: [PATCH 5/6] arm64: dts: hikey960: add device node for pmic and regulators Date: Fri, 26 May 2017 14:35:17 +0800 Message-Id: <20170526063518.21246-6-guodong.xu@linaro.org> X-Mailer: git-send-email 2.10.2 In-Reply-To: <20170526063518.21246-1-guodong.xu@linaro.org> References: <20170526063518.21246-1-guodong.xu@linaro.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170525_233632_625230_8513B14D X-CRM114-Status: UNSURE ( 8.52 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, Guodong Xu , hw.wangxiaoyin@hisilicon.com, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP From: Wang Xiaoyin add device node for hi6421 pmic core and hi6421v530 voltage regulator,include LDO(1,3,9,11,15,16) Signed-off-by: Wang Xiaoyin Signed-off-by: Guodong Xu --- arch/arm64/boot/dts/hisilicon/hi3660-hikey960.dts | 60 +++++++++++++++++++++++ 1 file changed, 60 insertions(+) diff --git a/arch/arm64/boot/dts/hisilicon/hi3660-hikey960.dts b/arch/arm64/boot/dts/hisilicon/hi3660-hikey960.dts index ca448f0..b7a404a 100644 --- a/arch/arm64/boot/dts/hisilicon/hi3660-hikey960.dts +++ b/arch/arm64/boot/dts/hisilicon/hi3660-hikey960.dts @@ -97,6 +97,66 @@ default-state = "off"; }; }; + + pmic: pmic@fff34000 { + compatible = "hisilicon,hi6421v530-pmic"; + reg = <0x0 0xfff34000 0x0 0x1000>; + interrupt-controller; + #interrupt-cells = <2>; + + regulators { + ldo1: LDO1 { + regulator-compatible = "hi6421v530_ldo1"; + regulator-name = "LDO1"; + regulator-min-microvolt = <1000000>; + regulator-max-microvolt = <1500000>; + regulator-always-on; + regulator-enable-ramp-delay = <120>; + }; + + ldo3: LDO3 { + regulator-compatible = "hi6421v530_ldo3"; + regulator-name = "LDO3"; + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <2200000>; + regulator-always-on; + regulator-enable-ramp-delay = <120>; + }; + + ldo9: LDO9 { + regulator-compatible = "hi6421v530_ldo9"; + regulator-name = "LDO9"; + regulator-min-microvolt = <1750000>; + regulator-max-microvolt = <3300000>; + regulator-enable-ramp-delay = <240>; + }; + + ldo11: LDO11 { + regulator-compatible = "hi6421v530_ldo11"; + regulator-name = "LDO11"; + regulator-min-microvolt = <1750000>; + regulator-max-microvolt = <3300000>; + regulator-enable-ramp-delay = <240>; + }; + + ldo15: LDO15 { + regulator-compatible = "hi6421v530_ldo15"; + regulator-name = "LDO15"; + regulator-min-microvolt = <1750000>; + regulator-max-microvolt = <3000000>; + regulator-always-on; + regulator-enable-ramp-delay = <120>; + }; + + ldo16: LDO16 { + regulator-compatible = "hi6421v530_ldo16"; + regulator-name = "LDO16"; + regulator-min-microvolt = <1750000>; + regulator-max-microvolt = <3000000>; + regulator-enable-ramp-delay = <360>; + }; + }; + }; }; &i2c0 {