From patchwork Fri Jun 2 08:51:16 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Guodong Xu X-Patchwork-Id: 9761969 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 DF16160365 for ; Fri, 2 Jun 2017 08:52:51 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id D237528414 for ; Fri, 2 Jun 2017 08:52:51 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id C6CE028549; Fri, 2 Jun 2017 08:52:51 +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=ham 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 5B64628414 for ; Fri, 2 Jun 2017 08:52:50 +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=2rYkkB2h3Xn019pNJ9U21+qaIiRlEpbm4sGrXbIOx2Y=; b=JGShrmRtmWemP9S4gUvAN+J0H+ Ofc8p10u7M45djN+I0VGXdC0ULGiJlxfF3PchDUM469H5EYR0x/UneIC9hw4pqDut5+ujMS8twTQx NSQbmJJYumSg78gvZuBRB/5vVGCNw9rTPstZcZxWLZUsdd65zfe/jTAfHR1SN39kb5ZD+oN+ju/Vo h22ndMSkPyEgN4jprskORj5SC85luqQQUncQr1Ll9SBvtLiotIMGVd3RUCbJtxhtGzcFNn3Y96pyn bbT1OKI3LD5Jpd4q8nz09KKwmu4KUmITfuTwJnFWaadhRP2NZG6mNe+WsfrwpXE0uGGrgGsoFF3TR 0xmtsCsA==; 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 1dGiK9-0008GH-Rs; Fri, 02 Jun 2017 08:52:49 +0000 Received: from mail-it0-x22b.google.com ([2607:f8b0:4001:c0b::22b]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1dGiJz-0007mT-Df for linux-arm-kernel@lists.infradead.org; Fri, 02 Jun 2017 08:52:47 +0000 Received: by mail-it0-x22b.google.com with SMTP id r63so11211205itc.1 for ; Fri, 02 Jun 2017 01:52:18 -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=bJ/hpgaPnLB+1LwhHJruX3y4DoWHlZP3v8EUwQDNn0k=; b=VS2hf8NhwMQlwliM7XQdGnHKzLW1eahsgdHYz1kmxSx4suZiSBVFtxgk3M+yBTpFqP 4Br4BfpHrEkYQTjg4CLw9npRm+6m7Bf8PUmKa79F6QnBpPdFySnkINYQHfXWCLJcvqWn c0+nHrHdYyTe13UpTvJnDPyMjrAd/luiV583k= 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=bJ/hpgaPnLB+1LwhHJruX3y4DoWHlZP3v8EUwQDNn0k=; b=EUbyjtp9gqpGYdmDrGgT0PZM3uPrL/2+5wD4wD+/N6EWEAUiFfu14NCNltdxWFrj/+ v5fzXHe2G6Nq6uiltPGMiV0QBeM6dEtpzJY8iiNwCH77WxYk3L8lw57WiQraiWsWFcOi ItBbMqRh5KQB3n51DoJOsEcpVMrrBIA+91HBFUsqqDw2MOIsVOlSyZj/q8/tXiGYzLsw pq0c+d/AZLaEP/SwkO9LT7QKnxrTJRyuvFo1Nk/5L7U5X9PKYu0iNxB+NqxfMv+5mqxY ThZC5lCXi/056o2Xo660DV86JOB7rZHpxW+knvzBkOssuraEI7MaHOEdX6r6VSPEV1WS Ruwg== X-Gm-Message-State: AODbwcCLBjXABu/VY+7W6aMFBd1PaCrWCTMBw/PzBvxuL62hwSVH7hLb Il+70LedevQZFfZ8 X-Received: by 10.99.146.86 with SMTP id s22mr1312292pgn.85.1496393538395; Fri, 02 Jun 2017 01:52:18 -0700 (PDT) Received: from localhost.localdomain ([45.56.159.223]) by smtp.gmail.com with ESMTPSA id d185sm32608146pgc.39.2017.06.02.01.52.10 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 02 Jun 2017 01:52:17 -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, horms+renesas@verge.net.au, 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 v2 5/6] arm64: dts: hikey960: add device node for pmic and regulators Date: Fri, 2 Jun 2017 16:51:16 +0800 Message-Id: <20170602085117.27474-6-guodong.xu@linaro.org> X-Mailer: git-send-email 2.10.2 In-Reply-To: <20170602085117.27474-1-guodong.xu@linaro.org> References: <20170602085117.27474-1-guodong.xu@linaro.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170602_015239_791015_D9674B2E X-CRM114-Status: UNSURE ( 9.19 ) 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 | 46 +++++++++++++++++++++++ 1 file changed, 46 insertions(+) diff --git a/arch/arm64/boot/dts/hisilicon/hi3660-hikey960.dts b/arch/arm64/boot/dts/hisilicon/hi3660-hikey960.dts index ca448f0..9da8375 100644 --- a/arch/arm64/boot/dts/hisilicon/hi3660-hikey960.dts +++ b/arch/arm64/boot/dts/hisilicon/hi3660-hikey960.dts @@ -97,6 +97,52 @@ default-state = "off"; }; }; + + pmic: pmic@fff34000 { + compatible = "hisilicon,hi6421v530-pmic"; + reg = <0x0 0xfff34000 0x0 0x1000>; + interrupt-controller; + #interrupt-cells = <2>; + + regulators { + ldo3: LDO3 { /* HDMI */ + regulator-name = "VOUT3_1V85"; + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <2200000>; + regulator-enable-ramp-delay = <120>; + }; + + ldo9: LDO9 { /* SDCARD I/O */ + regulator-name = "VOUT9_1V8/2V95"; + regulator-min-microvolt = <1750000>; + regulator-max-microvolt = <3300000>; + regulator-enable-ramp-delay = <240>; + }; + + ldo11: LDO11 { /* Low Speed Connector */ + regulator-name = "VOUT11_1V8/2V95"; + regulator-min-microvolt = <1750000>; + regulator-max-microvolt = <3300000>; + regulator-enable-ramp-delay = <240>; + }; + + ldo15: LDO15 { /* UFS VCC */ + regulator-name = "VOUT15_3V0"; + regulator-min-microvolt = <1750000>; + regulator-max-microvolt = <3000000>; + regulator-boot-on; + regulator-always-on; + regulator-enable-ramp-delay = <120>; + }; + + ldo16: LDO16 { /* SD VDD */ + regulator-name = "VOUT16_2V95"; + regulator-min-microvolt = <1750000>; + regulator-max-microvolt = <3000000>; + regulator-enable-ramp-delay = <360>; + }; + }; + }; }; &i2c0 {