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: 167 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-pf1-f197.google.com (mail-pf1-f197.google.com [209.85.210.197]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id E8A143F03C for ; Mon, 11 Mar 2019 16:03:54 +0100 (CET) Received: by mail-pf1-f197.google.com with SMTP id a72sf6408977pfj.19 for ; Mon, 11 Mar 2019 08:03:54 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1552316633; cv=pass; d=google.com; s=arc-20160816; b=aCTCyWksOOmmLpw5F3lryELtt50HeDDhuHHCMKM4yqGGNeRukTOOMMYO6G2gGZu+JP CIjLRce2MuZvfnvE3nEDZaBTuUl7GtQVxZNUnojR0nb5PLFoyONshG1doFxJ1+R+Y5g4 LPeQG4hgRm7TSIfWW0GeuJmAw9wfD/Pex8D1urWXwyaseIAFZwxjGapmqJEDlGc8QS4R Tb4rkSMlGft4Lhi0I53rWUHx79b2RJrgWwyMuW+zdysNFWkvOp33rTqVjDu8GAq6YNbo NLShEbGZELk6ig/kmbzZUIz6YjgDIyQtTLuPAbXuFtWnRzSO0pIcObm4dxRAWVTNvfvw As7g== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=4ujpZmcKwYFZnCETcyrFpgoplBzxbV8wzhqcPBStODU=; b=ZS/jRhDC20u9Nl9VwoxLLTVn2o1ctKZGhyMe20kPQ7uROFQzeSccy6pwMyBq20LIk6 oA0sBZm5pOHesXQRHQ8dGvZ8FGPgQL6BsfP6G3pQUEz0NGyYzwxEMoz2aApCCjNEwOKP eNLXI7eL9Ke4mEH+/Azq/91s+S4J5ocelvg2AQ1UtdYVuYtla0K3otjdmzTdeK3fr6Xu qUd8PoIc/0G8T77YaOXERUrg5vtDf4D0JZ6Ht7IMSd7dJTXPfWqwsKVvN1pq1koZUONu 5R0f+gR+2BZCWSww0FeAO9ZzuMmpgPJvJbiXkOut/oVsA2OhY/jMCwaHLoxoBJE66vJR kAfQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=e35+0hfd; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com 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:x-original-sender:x-original-authentication-results :precedence:mailing-list:list-id:list-post:list-help:list-archive :list-unsubscribe; bh=4ujpZmcKwYFZnCETcyrFpgoplBzxbV8wzhqcPBStODU=; b=CREkCvz290clUcv/RTjycckUwaiPwJvSWe721535eXKhgI+vlcw88stCbbsAfvRI4b njwlQfMfOTK1T3XXkpVq5vFQoLMdhdzIO5l3WO3mU5y3ASp2F6HpaMPhEf627jNQQjHz qefl2jIDxN3GcNprLgbxLLM9ddhagjZaxeDPo= 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:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :x-spam-checked-in-group:list-post:list-help:list-archive :list-unsubscribe; bh=4ujpZmcKwYFZnCETcyrFpgoplBzxbV8wzhqcPBStODU=; b=XuzUM7RsSSUsU3nzg3zuKxnzviwpJ4tEzoHnTwgtjNOSzj4vbCbioIvhlkDo9v5q/f n58LMyNo/UjSwDk+GHLhWlDk7Q5PNS8IAFmDO21arWt7YuPhwnC7iRswK4P81QYBkDUc XIW1Ds3ndwWJhjtocXy7N1gbm9o2OSqjOqM5cxWpVVDuowIm/UEzB7e5F6E5mTOByvl0 T5YQIr9nk3moZ97EJ4EYuf6CtsRjoMXwirTfL/RZ+T+0XM6IXLzS5gNfxdla80kptK96 KUb7fFSM2nImeYbStN88LAzjAVLp5KXurzsjOQXgSlp3SW+IPNFZfR/1QU3FlLgR+qNW q5eQ== X-Gm-Message-State: APjAAAWrdRz+JLNxyOiACDJmXykViD+YoAMQJSTUP8zZGrMlU0S/DdPL ibcMPbDa+gsSjSG4pUEmwTnnEtOM X-Google-Smtp-Source: APXvYqy9+baAEoqhKDhdDRJIhRrlz3Wt8IqD5subuNleJsYNtVqYXgp3HmEM4618VtuKGRAUxJdhYA== X-Received: by 2002:a17:902:6b0b:: with SMTP id o11mr611902plk.85.1552316633463; Mon, 11 Mar 2019 08:03:53 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a62:5788:: with SMTP id i8ls7848195pfj.0.gmail; Mon, 11 Mar 2019 08:03:53 -0700 (PDT) X-Received: by 2002:a63:4650:: with SMTP id v16mr2516209pgk.329.1552316633039; Mon, 11 Mar 2019 08:03:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1552316633; cv=none; d=google.com; s=arc-20160816; b=JQTnQDEgxQrBIpxYTPKzjbiTHHr46WSGvex80wH7bpK97WVDx53r5I7YCgrgBOqpqE DCvGrRyOgJgR0mES/YyGZVbnNDIVh2FzhqsAw4G7DTBWdwCyKaeJ3OP9mVu+0PLk+krW DKWHDbZu5SGFzVcr7yAnxHgFs5oXEJl7UxMtkqmPWFgyauRtoxeGHNmahkLur8vR6zCh gyUyYJdUJV+bQlJCd58yvW/WEEcGPTShQI9BK7YdXwrUIsV1gc+IzTbhgN6ppPh16sXh HNmGnuPJCV9q4IIETJmObt5o/8dSaS4bnuRsnuNC2JDTwRSs3anh9pdpwir81Hy2YmwN x46Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=dRsN4/xf8NDRNF3fBDlFEKVlusjxUG54otEp2OGoHtk=; b=VlWtZpYgHcix1K1R1J16MkK1YM5sgyigJBZHLCSShPUf8xDmQY9C1wpbifix5dxFyb fGM3yjg0uFSbw3t7gl5eWoIQibE6xxYdcerwd14qggq0XqON2U3kmOGmpCexU7VhabQv Q3M2aEHMXZ/uO10IJnLZAi9173vHw8FQN1KbB6nmQxOCLJjkMOAwKpv2dHYRp4GseFGK rqy9vMUig/USp7+wgAGHE9Gvr2Gvevn2R4NaxxBLq2lqtI+hARScO7rdtxfo+8AfCRJ6 zNXwwMKAveH06I+QSQtc3hDR/jtjXmVeQUaKut2wBEjp+MKhBeswA0/jXf89biyymX/M i1VQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=e35+0hfd; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com Received: from mail-sor-f65.google.com (mail-sor-f65.google.com. [209.85.220.65]) by mx.google.com with SMTPS id p2sor9184018pfa.32.2019.03.11.08.03.53 for (Google Transport Security); Mon, 11 Mar 2019 08:03:53 -0700 (PDT) Received-SPF: pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) client-ip=209.85.220.65; 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 Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org, linux-amarula@amarulasolutions.com, Jagan Teki , Akash Gajjar 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-Original-Sender: jagan@amarulasolutions.com X-Original-Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=e35+0hfd; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com Content-Type: text/plain; charset="UTF-8" Precedence: list Mailing-list: list linux-amarula@amarulasolutions.com; contact linux-amarula+owners@amarulasolutions.com List-ID: X-Spam-Checked-In-Group: linux-amarula@amarulasolutions.com X-Google-Group-Id: 476853432473 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , 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 {