From patchwork Mon Mar 11 15:03:30 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 166 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 A462A3F03C for ; Mon, 11 Mar 2019 16:03:51 +0100 (CET) Received: by mail-pf1-f197.google.com with SMTP id 19sf6420380pfo.10 for ; Mon, 11 Mar 2019 08:03:51 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1552316629; cv=pass; d=google.com; s=arc-20160816; b=eIz1VnHVYtAUKsUI0rvy3xmGfH7gmEKyEtQA26TTmGYW8+x3E00EVfeXxbECV4SBVp rYBXESa9EcwGQdiQyZS7ww177t6sx21nydoSvl1P5uSRrffjZl+jMN/O+h17/mtdL2B8 fdD1CjCNclzwxQK8sEOsaR5eFOouINLExvGJoirTvGAhyD6x2fHVcItgxrfKQ+ywU40K SI5vhPWohGJg6Q8+ot7hbRn1joeepLDk9G2E1pnjeJduKis+nB3dyXnYVvlWgsC3K0TB Pkp6vfWcp5cofBExtWYKz8Qr5Rh6f0O8yU9VKoIda8D1h0ChRSv+w2b1w+05lrUitbpY SY7g== 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:message-id:date:subject:cc:to :from:dkim-signature; bh=XqMshvkSks6XgcZ56RhIWxKp7Z+kkFExhANMw9ktcKw=; b=xRGLden8HidK59AV2GDk5DW8Sv/Z/HUzFn37FpptEd4IWUou3FfEnfB9QTihgzjww7 DlvVnGO8hWfcHBAyNqjV9BvNNzSJ2/UvGxzcRzcr2AepSbyH4c0ezRCc91vQV7V8apnl KiVcCbFtN1zcwBvJhjsFhjd/hmizVsFERjWWC9uI67eByTjKVqUHJ2lw4A/elbZTF+5+ nuUzaDTb7eTTZGBWN/PKJEAb97rmX2wW7IHn2dcN/GMC/xeq9IXSF07pwZTjrlRraSpQ QrTV3sJN1y0yW3iv0P6IG6gDJ/VhhmxEsS24tgLS1K+6rgUN6qMPoBh64hR5MIOwesEY x2Kg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=aYCKIJPb; 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:mime-version:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :list-post:list-help:list-archive:list-unsubscribe; bh=XqMshvkSks6XgcZ56RhIWxKp7Z+kkFExhANMw9ktcKw=; b=lFT3PBq+EffAuIwsE/mXhDVlkChxNgGOES1uB6+OPdqdX1hn1OebvEMkHtfzEHaNWr amKLHo3M/5IvsTgMduX471GouzLheqQJiv5Q1kbc+vDrwxWnCm3f5MOFfuxEbR4xZBgJ 13DhSdLb+sD13E+AWhUS9rCEOzEmbfKJ6gEb0= 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: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=XqMshvkSks6XgcZ56RhIWxKp7Z+kkFExhANMw9ktcKw=; b=qj5NdENsbzX7ECIjtTdy3j19ndPzp6IjzEfljPkB+ADOzfP6vNYDS038854TFn84k1 n6fvTyVIVxkBWJkaoaNlH6td93vLkwb7bfYptfFn9bE0YXTjs4FLjj8kFu3VcsB9iwIx otlDZxK/QexVX/5n9Moqk3pFMVrOSexGbtym8tVwnPSbNdK3gVIQkEVS4b7jThZfiV+j qQUbWO3+AFdkeXZs4QmiMwrSPz66QcyDgwMmwFcXkFYX3DUKWrnFudbPZLfIeGteuqkt LNSVnzTEpERrOH4NRcYYRLFBiaPs7HCkTQf6MTeNzGEogZL9pNIX+LbQlxpQwQxlXe1x iPsw== X-Gm-Message-State: APjAAAWPRcLX5hoQMPrWLEuM1mnpy0GA7Z16JXyrqfrDRf7jYHRKbpTE 6uXByPwD93zuSo9lQFYDG8wXmafQ X-Google-Smtp-Source: APXvYqyrPUXgqoTGWa1qsylj8UMEwgikDTZvQ/3yvD7OHmutQzkm3TusFeI/lVAcLlp6PZXrKospLQ== X-Received: by 2002:a63:7444:: with SMTP id e4mr12563476pgn.89.1552316629449; Mon, 11 Mar 2019 08:03:49 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a65:6257:: with SMTP id q23ls4039003pgv.6.gmail; Mon, 11 Mar 2019 08:03:49 -0700 (PDT) X-Received: by 2002:a65:62c5:: with SMTP id m5mr15499323pgv.77.1552316628981; Mon, 11 Mar 2019 08:03:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1552316628; cv=none; d=google.com; s=arc-20160816; b=yq2CDsz048Y6mi909NdhuIMl2arA+BYFi7I/Q0fm77u6GrGiPkPyB10SAu5eqdU8ms vUvRD718Avi8FawnSNEJv7gWJFdb8eeQETJfBt6jDdSsZ0ruHxUP62IQ8QeCYAdBGBng KkxtR5UvUi9hZRUDQxrG+GkiXpjMj5d4v8KbnbHF5uSdNGwLWmHfXa9OxSY6XSXBv7wG c9BK9xbyMrfevuohgmo69hqKRuuVx7IrS1o6WjInn25+iy/CMt6DmpRJWm2VESbhk9Ob p4ktT+E8ZtByYZpOrN3BFeg01SBPcwSYzcJOS1/A4/6YO4h0JGPBzpaIpTc71bMDviQl 5n1w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:dkim-signature; bh=ysitMl37W5wvDTaO55M/bquP5eX6f+fWiuhxScsiSvI=; b=N5xPfjTqDrSTXDMl1iYI5T2VMuzZIBzBuF2LRURz8McN0Tg39q6LzZFRgciwDxe7XA dJ0iwlN4asrgCl4ae4e2rbHQsd7rtsY7oTjVqyR7VbUNo6yoA0bKc52D7U5uMbb2xW+e Wkb+6Ugz7K4k6wMtmoqgcAvfLCJl65BjvcAu98o1a+eynlmMN3i7fshp8z2xCPeW6pgk brY7M8WdbLFGguDDP1PTgArAh0QIYgYaOR+6VXep40P/mBteAM0s8cIGNEdtrOmwjlCX s6AgpaqYcM7MsCKbNE5YUw5EKDc4SUYHnRFyV8Zsql05IgT/GSNpplJ/WNg+TIO2y8j7 VYvQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=aYCKIJPb; 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 v71sor8616248pgd.13.2019.03.11.08.03.48 for (Google Transport Security); Mon, 11 Mar 2019 08:03:48 -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:a63:561f:: with SMTP id k31mr2962862pgb.319.1552316628400; Mon, 11 Mar 2019 08:03:48 -0700 (PDT) Received: from localhost.localdomain ([183.82.224.199]) by smtp.gmail.com with ESMTPSA id x5sm7594531pgp.68.2019.03.11.08.03.43 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 11 Mar 2019 08:03:47 -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 1/3] arm64: dts: rockchip: rk3399: rock960: Rename vcc_sys into vcc5v0_sys Date: Mon, 11 Mar 2019 20:33:30 +0530 Message-Id: <20190311150332.19492-1-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.18.0.321.gffc6fa0e3 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=aYCKIJPb; 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: , It is always better practice to follow regulator naming conventions as per the schematics for future references. So, rename vcc_sys into vcc5v0_sys as per rk3399 power diagram of rock960 schematics. Signed-off-by: Jagan Teki Signed-off-by: Akash Gajjar --- .../boot/dts/rockchip/rk3399-rock960.dtsi | 30 +++++++++---------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/arch/arm64/boot/dts/rockchip/rk3399-rock960.dtsi b/arch/arm64/boot/dts/rockchip/rk3399-rock960.dtsi index 2927db4dda9d..a268ec9f6b5e 100644 --- a/arch/arm64/boot/dts/rockchip/rk3399-rock960.dtsi +++ b/arch/arm64/boot/dts/rockchip/rk3399-rock960.dtsi @@ -26,9 +26,9 @@ regulator-always-on; }; - vcc_sys: vcc-sys { + vcc5v0_sys: vcc5v0-sys { compatible = "regulator-fixed"; - regulator-name = "vcc_sys"; + regulator-name = "vcc5v0_sys"; regulator-min-microvolt = <5000000>; regulator-max-microvolt = <5000000>; regulator-always-on; @@ -40,7 +40,7 @@ regulator-min-microvolt = <3300000>; regulator-max-microvolt = <3300000>; regulator-always-on; - vin-supply = <&vcc_sys>; + vin-supply = <&vcc5v0_sys>; }; vcc3v3_pcie: vcc3v3-pcie-regulator { @@ -64,7 +64,7 @@ regulator-min-microvolt = <5000000>; regulator-max-microvolt = <5000000>; regulator-always-on; - vin-supply = <&vcc_sys>; + vin-supply = <&vcc5v0_sys>; }; }; @@ -123,7 +123,7 @@ regulator-ramp-delay = <1000>; regulator-always-on; regulator-boot-on; - vin-supply = <&vcc_sys>; + vin-supply = <&vcc5v0_sys>; status = "okay"; regulator-state-mem { @@ -141,7 +141,7 @@ regulator-ramp-delay = <1000>; regulator-always-on; regulator-boot-on; - vin-supply = <&vcc_sys>; + vin-supply = <&vcc5v0_sys>; regulator-state-mem { regulator-off-in-suspend; }; @@ -159,16 +159,16 @@ #clock-cells = <1>; clock-output-names = "xin32k", "rk808-clkout2"; - vcc1-supply = <&vcc_sys>; - vcc2-supply = <&vcc_sys>; - vcc3-supply = <&vcc_sys>; - vcc4-supply = <&vcc_sys>; - vcc6-supply = <&vcc_sys>; - vcc7-supply = <&vcc_sys>; + vcc1-supply = <&vcc5v0_sys>; + vcc2-supply = <&vcc5v0_sys>; + vcc3-supply = <&vcc5v0_sys>; + vcc4-supply = <&vcc5v0_sys>; + vcc6-supply = <&vcc5v0_sys>; + vcc7-supply = <&vcc5v0_sys>; vcc8-supply = <&vcc3v3_sys>; - vcc9-supply = <&vcc_sys>; - vcc10-supply = <&vcc_sys>; - vcc11-supply = <&vcc_sys>; + vcc9-supply = <&vcc5v0_sys>; + vcc10-supply = <&vcc5v0_sys>; + vcc11-supply = <&vcc5v0_sys>; vcc12-supply = <&vcc3v3_sys>; vddio-supply = <&vcc_1v8>; 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 { From patchwork Mon Mar 11 15:03:32 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 168 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-pg1-f197.google.com (mail-pg1-f197.google.com [209.85.215.197]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id F0D4A3F03C for ; Mon, 11 Mar 2019 16:03:58 +0100 (CET) Received: by mail-pg1-f197.google.com with SMTP id y8sf6120105pgk.2 for ; Mon, 11 Mar 2019 08:03:58 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1552316637; cv=pass; d=google.com; s=arc-20160816; b=sudOXNcBcIvWlnMy5Q3TDzpao2g2tNGE9UCJlVj/vqQc6cczqmS36qZTs4KZMK6RzW Q7E6/nKjOqqDvVFddisIU+aehjw2sVvqSAhZNgQF2YzonXDl0f3RLVpFU0TMQx2VqkOP 2r94A4u82kPAaeHlH8KepuBQiGi1JbiP4mbBzdi114jyLNAaGQmxK7Ns53Bw6kbF1u5k zR8UeN2OAM/gAfINVncNLMO3eiS/TodWTFtzJnCgtUrj8mh6ycxAQEN8LMJPyAyiG/KQ QOeioo/FzrMymxzbcRJ6/AELLf3icCBjuiIrDm9z/YfvyJmStWdXrT1AkBOU6DuYbP6x CKBA== 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=4tGBIFeBLpmODZWSP5xx/loeMVzc5FMDnKztaxFm2tE=; b=xvFKFlM/YhZ1ozExwBa+dj6Rf1W1F4y3fne54Bk6phq8xLTYickkeDoS+Vqi/1Qaf9 UV7MXyfeujqVWRe60OnCYRPJOXYRjiF1/FzudUeT7xii5pKewSL3vILUl8e0C+9tyGO/ JC8Dd6fRHAm1HKTG8kA88HUWd4+z0gTOljvrf94NasAYvQssw37j5RN00WNsup3L3BMA SG8pc0KrvBJXZE7tNo3Bwxm7KIwq4K8wvtGezhA7iDrQTWxFM4KSe7TIZnUOm842nS89 Jx1ExCFJLHbNGnoLfgrvzSb9mZ93aFUAHT6pL3UC/w9T8EOHbCApXK0wq/q0cNZ15tZD j8CA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=bTZUoHA4; 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=4tGBIFeBLpmODZWSP5xx/loeMVzc5FMDnKztaxFm2tE=; b=iMYa2uVHW/oslBxjPdfDZZqxNY5ny3WcJL0CYk3zguMoWu+cALyGovTFe7fx5T4Z7d FNu18XpUw0N3zurGxavzek2CRzCEdsYZrTK+uOSUk3i97GuFLeJO24zZ68zvk9wB+gI/ Ti+BKHYHhV7+90YPA1zRiLLnYS0kRjM+Z83Tg= 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=4tGBIFeBLpmODZWSP5xx/loeMVzc5FMDnKztaxFm2tE=; b=uY01zLY0oS9XVgABAvNu3Wzf41LqaGmP8tKEgkGZwTXPZGQKEMT78YGdz7O9gDL2yQ nhmuSN3treG7sHcxC9ShyQOxlIeTOP6yxF8132qc8rSSLmzN41rLt1ug8ShYYOcc3hys RZqPeEN22IRLHKq2ILPdEM2+nu0DlA4Z+Be8uZ9DlYkLbwvPGhphQWX4sG3t9JGoMHbd sLJdSADQ5PHHzTycDTGgsZkoEMWW74xMqzAkbO160qviOIB6D8fIaMBfe0cixZ3G6s13 JuBJI/MXCZLhNR0eXJsr4F7q5ZNHxJw5gAdR1TEftFhhloqTBE96Cj1qKuUJ80umWYy2 eqdg== X-Gm-Message-State: APjAAAUUtOpy6hcwED3LR/wSRx1gJSukq9oIbXkqYVZslQNvkWPyd+3/ +WJFnEEIMlfsc7BlE+PLjarpp/2p X-Google-Smtp-Source: APXvYqwwyhHrjz9V+4uqzEbjeLYLkfod1KztHXyyvlimIOmywDjexTXbfQ6D9OKQhqREmaTm7RY+Dw== X-Received: by 2002:aa7:87ca:: with SMTP id i10mr12329263pfo.116.1552316637681; Mon, 11 Mar 2019 08:03:57 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a17:902:282b:: with SMTP id e40ls8948481plb.6.gmail; Mon, 11 Mar 2019 08:03:57 -0700 (PDT) X-Received: by 2002:a17:902:8203:: with SMTP id x3mr34377990pln.159.1552316637306; Mon, 11 Mar 2019 08:03:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1552316637; cv=none; d=google.com; s=arc-20160816; b=h4smzH/7rcYvM24i9XGEczgBd0gi2git84NuJY9emEOFc0QbmQExafQkpyWg+Ud8yT CfmrwcF08ODpV7tCVdJm2wnUXOUXwEjXrPwxjIev5pYa10rAU0Z0yLzYUn5IkG5+JnAL xL/d/D/nIaZk4SsgDGyB8TA6tKQl+07IEEv3+rJk1z8KNQvxDKYwz+hYQwfK/kQYqqBp fW5ihH2XReBo5sasrfF4SJyu6R+KojsV6d1qTjGO+R8bYwm4XR0//tV+Lpi6zc+bOgis 9jOCAiuRwJHhhG8fjqwpX9rgekASnEeb3EKC2fiOw9R0vvEqyMgL1zeTBO1kVYIWu9uE iziQ== 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=339cuj1SwivCqfuHe+ww4z/In8uNdl0g0CZZZUchuN0=; b=kaYBYDd4JA8O6ANJOQ7/vgN0QiKORvd7de6mTezXDxMz53ZvHQDwdQxpf/F6AISKLS t8qRiz8+CBLcNu7Qc06nf2SK7ULvbC73nNqZZmHvs1/GUTKfdEuZCT47XOGCiiXnvjeK CjYk6NF47+4HcoYlaesmsX6K2INbFBD09PomMwOvL/L1/OwSUA6Ky6q+VMMW3bFyfBY+ Orz6kUbDXHM8FEem7HUmRh0vjI0INsA8XLUC5dtT9Ayibvflz7HKGoO8mWWm9LB7vL5p mvQjBm0MNk2G6erDmCbvgap1nI0BL7bPZmt+bWKTKsk6eStkYnkdv5iFk1UN7sr+m3GI a8xw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=bTZUoHA4; 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 h6sor9005070pfb.60.2019.03.11.08.03.57 for (Google Transport Security); Mon, 11 Mar 2019 08:03:57 -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:bd09:: with SMTP id a9mr33092507pff.61.1552316637043; Mon, 11 Mar 2019 08:03:57 -0700 (PDT) Received: from localhost.localdomain ([183.82.224.199]) by smtp.gmail.com with ESMTPSA id x5sm7594531pgp.68.2019.03.11.08.03.52 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 11 Mar 2019 08:03:56 -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 3/3] arm64: dts: rockchip: rk3399: rock960: Add missing GPIO for vcc5v0_host Date: Mon, 11 Mar 2019 20:33:32 +0530 Message-Id: <20190311150332.19492-3-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=bTZUoHA4; 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: , vcc5v0_host on rock960 is bound to have GPIO4_PD1. Add support for it. Signed-off-by: Jagan Teki Signed-off-by: Akash Gajjar --- arch/arm64/boot/dts/rockchip/rk3399-rock960.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/boot/dts/rockchip/rk3399-rock960.dtsi b/arch/arm64/boot/dts/rockchip/rk3399-rock960.dtsi index 68ca3bf9ea2f..c3d3343d6dde 100644 --- a/arch/arm64/boot/dts/rockchip/rk3399-rock960.dtsi +++ b/arch/arm64/boot/dts/rockchip/rk3399-rock960.dtsi @@ -68,6 +68,7 @@ vcc5v0_host: vcc5v0-host-regulator { compatible = "regulator-fixed"; enable-active-high; + gpio = <&gpio4 RK_PD1 GPIO_ACTIVE_HIGH>; pinctrl-names = "default"; pinctrl-0 = <&host_vbus_drv>; regulator-name = "vcc5v0_host";