From patchwork Thu Jun 15 03:04:14 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Guodong Xu X-Patchwork-Id: 9787935 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 46ABE60384 for ; Thu, 15 Jun 2017 03:08:51 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 3F025283C5 for ; Thu, 15 Jun 2017 03:08:51 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 322FC283ED; Thu, 15 Jun 2017 03:08: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 B0E29283C5 for ; Thu, 15 Jun 2017 03:08: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=hAhDwlqbGnLGYJNKgCUAYiO9NcfazIgg8ImImGyud28=; b=TiBnu6RcYvg8SsQi80GEshQ1HE y08fo/2mPRy2/7NwDOwT9iYsbTpQsK0egJEmk9UdjJr+TYyoA7JZ4gmTh2S5lCvgTGWnfWdENYmdO Lan4yRyi8FHfjCG4GVKhoExaioVGTpr6B+x2H2KpKeF2D31Kd2UiJfk2KDfkjeRKQO7zKtahLI5vx 1m92NVM5RKwREHoekc0ZQel1jzwvXkLlmo+5rtIgrhl+teGYQqbairdQG9C6Xl5ijkaP/ejC1BaJq Ahbch7xn1ItWdkBXaxpwsyswH5miSC1GVELBtwDdWgXgrDhe1JmR/XQWJ9ts7s4d6ItITXoXE5U/b 1FQWtjLA==; 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 1dLL9N-0004bc-0r; Thu, 15 Jun 2017 03:08:49 +0000 Received: from merlin.infradead.org ([2001:8b0:10b:1231::1]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1dLL8N-0003IO-2E for linux-arm-kernel@bombadil.infradead.org; Thu, 15 Jun 2017 03:07:47 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=merlin.20170209; h=References:In-Reply-To:Message-Id:Date: Subject:Cc:To:From:Sender:Reply-To:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=8PV3QUvE4/KsHx+LrJUzAofvvlExf85kZV20f2X9des=; b=wJC5iON/AVb7LiRDfHHN3j54z 2zxhVoUfjGXIuNYdvGO2d+iY5Nfblw+e4dgR3bLYw4sTOdbOh/pBekk+P41szlgheA84KCrsa9YeY lxZY2lPjRZiagekfyl4UIOMHd2WESk9s0wyQmcPE7qu792fwuLPQxrpJgd9+2b404codhHqUuN9MM U/EYlvar4xCitNtd2RfVLd7l5mwfSTbfExWWKASWqMOMLadB2TXglRuP3BSuB7+EbiSGZZmEVQfg1 xbjup4QazYXBhyf7wmOpUzSFXULee3aHSWU/zgaL6yJuAhVfezMEOZbaPIdB9liA8ceSJRw3GwJzL rqkkfL+VA==; Received: from mail-pf0-x234.google.com ([2607:f8b0:400e:c00::234]) by merlin.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1dLL8I-00039n-Ty for linux-arm-kernel@lists.infradead.org; Thu, 15 Jun 2017 03:07:45 +0000 Received: by mail-pf0-x234.google.com with SMTP id l89so1399571pfi.2 for ; Wed, 14 Jun 2017 20:07:22 -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=8PV3QUvE4/KsHx+LrJUzAofvvlExf85kZV20f2X9des=; b=c7hKfxwv/yJ0YF2lp8arG+VnXSpmCzPbGC1900Lw1+7ELCXjiWZLEGoFAuZju3XB/z WvffGTH8zUGEST+3pS4aeZcdumnooyUalTm7ZYhDnoL4XPUPDAn8qe5MMT95VjLgFslx yh6iElmLWEBD0pt1pbFnKffKCSuoxSaH4m+iw= 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=8PV3QUvE4/KsHx+LrJUzAofvvlExf85kZV20f2X9des=; b=Bm/+sP2WwvqZNwHw+x574w4E+epZ6JGMFey79df8y9GHTmB/PGha+3UMwQuEmaDd6Y /4DByTnp0IQGq12EAW3mf3z/22feCNXaOm4moRvl8o2vcGk/6X4D8oWgJ3Ae6QqIGqor bIDQJdyApJ7HdBQWT1ROVR/N3mGvKo+6oJvOjtTQqwDgQIky+enx5nWTDH10Z0TOwz1j N1DPEr5MrrfcOmClSnZOQqjSx7X9p2s2inrCPuBHyn25DBI3e3LPsXyHGzLpQIqw4509 15SRuOIbFf4446lw4VxXnxDRsFk4vvtm2onHFLpTKzaXJjz3aPqBr67tTkBcvF3hARsx JMUQ== X-Gm-Message-State: AKS2vOyL2VXZ6CvnIqPgZTDxrW3s7f+9htDRWuixajLNAWoCXygevpf3 wU9baNy4JGj5nr3J X-Received: by 10.99.2.134 with SMTP id 128mr3128360pgc.266.1497496039897; Wed, 14 Jun 2017 20:07:19 -0700 (PDT) Received: from localhost.localdomain ([45.56.159.17]) by smtp.gmail.com with ESMTPSA id y65sm2156656pgd.33.2017.06.14.20.07.12 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 14 Jun 2017 20:07:19 -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 v4 17/20] arm64: dts: hikey960: add device node for pmic and regulators Date: Thu, 15 Jun 2017 11:04:14 +0800 Message-Id: <20170615030417.14059-18-guodong.xu@linaro.org> X-Mailer: git-send-email 2.10.2 In-Reply-To: <20170615030417.14059-1-guodong.xu@linaro.org> References: <20170615030417.14059-1-guodong.xu@linaro.org> 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..e579333 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 {