From patchwork Mon Mar 11 15:03:31 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 10847655 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 7539D139A for ; Mon, 11 Mar 2019 15:04:17 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 5B33F2908E for ; Mon, 11 Mar 2019 15:04:17 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 58CF02917D; Mon, 11 Mar 2019 15:04:17 +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=-5.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.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 0575B2912A for ; Mon, 11 Mar 2019 15:04: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:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version: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=aDhO3LGKFvBrJ1WWmevtuSl6DaE5/aWZp9KsdZFoB1Y=; b=lUNvoDVd18y61s 2rABDeh2zdzOoLpuo08AtwBxUzhHqzOPa6iGiLyiSk3NNXgi/MzCwB6SM1F1GrpKsBVyRWpGbE7ir LC9f2O6Td0Syt5QEcHohUTYS0ntpp7iMe1wvHmbcVPkwr/FvUWgXScFlpdxplVySxDJ3OJ2FSa/Gm 7enK66rDldXt2IDepSpnzXDDukpdY60usgoUYanNHj61BVP0D/hCIQ5aRc8/sadNIHp23q0mZ8H+i HeDzVo0pgrvKDv7V3BXhd141/6TrlOAAD4s4+SIvx7KNaerq1PM7eTwbLH+YuGI/gLytfjzr1mbT2 xoArs/5i7Sl2zCdJKfzQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1h3MTM-00026w-60; Mon, 11 Mar 2019 15:04:12 +0000 Received: from mail-pg1-x544.google.com ([2607:f8b0:4864:20::544]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1h3MT3-0001cT-LK for linux-rockchip@lists.infradead.org; Mon, 11 Mar 2019 15:03:56 +0000 Received: by mail-pg1-x544.google.com with SMTP id m2so4245501pgl.5 for ; Mon, 11 Mar 2019 08:03:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=dRsN4/xf8NDRNF3fBDlFEKVlusjxUG54otEp2OGoHtk=; b=e35+0hfd1N4Xe1tMiojhWAEnf5EkLPJKxuFvfvPoFUpqJ0sxfYhPFZR5ITOrlW6O8J X6R/s8xVK75Ro7K0QLCJv3OAIF9a/keeemb3yzokqSxIHFCNYE4pJ02BIhRahFssutUf 7fWTYx5XsS9HE37WMd+mNWZNJmBWbI13Fe6GM= 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:mime-version:content-transfer-encoding; bh=dRsN4/xf8NDRNF3fBDlFEKVlusjxUG54otEp2OGoHtk=; b=FFdtjsHSE/eZRyNF+ZDv9G5n4RUFMIapXI0aYH+0vBs2ZD0mWr7npLzpKHBS9Ex3pb ds2uFyxvicLahBQuHkOS5w42YExbDMdJIygaT2NMLsfe9akE5AYTAy28LAJmHMrBsKhJ ZVIg7wwdJWDlyu7XA3eXTVx2gokEFRSOYr61EyXMt8b76L6wBNlq4azIi9I24uMPUrqi hlyo+PkEoequFVRDAYw8z1DQY1hhyl1y2e9xMgKhTvQH22b+D1iZHxnw3/y+VUlSbE8I HkydsAF5oMicXTTEmU+LC8ksV3E6WcKCPMspRiUGNjwBICncWmros27Zp2m05YHUL0ka 1KmQ== X-Gm-Message-State: APjAAAX+SiIYWAuh0GLiJ6RQXMUlHqHiG5MNua4PbsDxj/McSRIsSyvq zSHrrIQhkxE0jGVdEcHoFIK4aA== X-Google-Smtp-Source: APXvYqw/vKymQuvj9QfqJjvC0hOBjv/TSSYLzHYDnu7emfKWXNBkVxsCTnaVrglO5JSaQy8hGmH41g== X-Received: by 2002:a62:12d9:: with SMTP id 86mr32883128pfs.214.1552316632713; Mon, 11 Mar 2019 08:03:52 -0700 (PDT) Received: from localhost.localdomain ([183.82.224.199]) by smtp.gmail.com with ESMTPSA id x5sm7594531pgp.68.2019.03.11.08.03.48 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 11 Mar 2019 08:03:52 -0700 (PDT) From: Jagan Teki To: Heiko Stuebner , Rob Herring , Mark Rutland Subject: [PATCH 2/3] arm64: dts: rockchip: rk3399: rock960: Add 12V DCIN regulator Date: Mon, 11 Mar 2019 20:33:31 +0530 Message-Id: <20190311150332.19492-2-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.18.0.321.gffc6fa0e3 In-Reply-To: <20190311150332.19492-1-jagan@amarulasolutions.com> References: <20190311150332.19492-1-jagan@amarulasolutions.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190311_080354_025875_5A2261C9 X-CRM114-Status: GOOD ( 11.36 ) X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-rockchip@lists.infradead.org, Jagan Teki , linux-amarula@amarulasolutions.com, linux-arm-kernel@lists.infradead.org, Akash Gajjar Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+patchwork-linux-rockchip=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP 12V DCIN regulator is root source supply for the rest of regulators in Rock960 power diagram. Add support for it and attach same to supply vcc5v0_sys. Signed-off-by: Jagan Teki Signed-off-by: Akash Gajjar --- arch/arm64/boot/dts/rockchip/rk3399-rock960.dtsi | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/arch/arm64/boot/dts/rockchip/rk3399-rock960.dtsi b/arch/arm64/boot/dts/rockchip/rk3399-rock960.dtsi index a268ec9f6b5e..68ca3bf9ea2f 100644 --- a/arch/arm64/boot/dts/rockchip/rk3399-rock960.dtsi +++ b/arch/arm64/boot/dts/rockchip/rk3399-rock960.dtsi @@ -18,6 +18,15 @@ reset-gpios = <&gpio0 RK_PB2 GPIO_ACTIVE_LOW>; }; + vcc12v_dcin: vcc12v-dcin { + compatible = "regulator-fixed"; + regulator-name = "vcc12v_dcin"; + regulator-min-microvolt = <12000000>; + regulator-max-microvolt = <12000000>; + regulator-always-on; + regulator-boot-on; + }; + vcc1v8_s0: vcc1v8-s0 { compatible = "regulator-fixed"; regulator-name = "vcc1v8_s0"; @@ -32,6 +41,7 @@ regulator-min-microvolt = <5000000>; regulator-max-microvolt = <5000000>; regulator-always-on; + vin-supply = <&vcc12v_dcin>; }; vcc3v3_sys: vcc3v3-sys {