From patchwork Sun Nov 17 14:07:28 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anand Moon X-Patchwork-Id: 11248421 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 66D601393 for ; Sun, 17 Nov 2019 14:07:56 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 106552084C for ; Sun, 17 Nov 2019 14:07:56 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="s/IMXHup"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="eka7RtLZ" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 106552084C Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-rockchip-bounces+patchwork-linux-rockchip=patchwork.kernel.org@lists.infradead.org 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: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:In-Reply-To:References: List-Owner; bh=Fvw//SNFRkKX0LBd8vdu1Y3cAklgqXphehL7ummiYVY=; b=s/IMXHupdPTcV5 mSIv8PO0YVKw07sI3yIk/JG9TVE0x211jCzReBe3qDhBGbY8p/Xv+1+q0M/WtGfyXiHm5lAX+4HRz 3hOviohjDJ6B/JIpUqEOSs/ALzcD7G2YHek8wg+AQRaJETfXZV7+uwDF8DtLsdDXRqMmOUBmokrPT 5n9ME7S04PmfAnEf1nnTohVFQ+DejC5y82uthZRWV9hYZmRYllxX553/7rbkXlwtWWUIAo8vvAq6D DJEx4Bz/6Eva7kN+9uWQt0DFOeKvpkVg+6gC0Fe3Lb6Z1nckUKTFbffNQDVxEBJBB59U775ijBb+B 1aQUuliph8ztQXQZf/jA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1iWLDQ-0005Qo-JX; Sun, 17 Nov 2019 14:07:48 +0000 Received: from mail-pj1-x1041.google.com ([2607:f8b0:4864:20::1041]) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1iWLDF-0005C0-RP; Sun, 17 Nov 2019 14:07:40 +0000 Received: by mail-pj1-x1041.google.com with SMTP id y21so729621pjn.9; Sun, 17 Nov 2019 06:07:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=Ogk/eEmzUsDEdl7w08E984I9cFzzy44g9Efvz8aG1qM=; b=eka7RtLZ3C0mryfGOdnbrQqku4FdYrS7Vm6nD0pAM0Sj+UMjIj+3/CujSB4F4/KhsP VihO8HhcTglrOu6EQH0p/TXHD/ahFd15q4S5iruKQCe+sH7ywazKmQc2UqXnSnVDkZ7T EsqzAoIHwQFcaskIfLqbQRH1RreWUXvfh6EulG3Z1G4qfi0pUjhoyTIHS+KyKLSO0BXE PBh+UdJdxwiu3mGlWta2oQXcfRxlt9b1PQs38Ry04PyYJOfw5p3G+H65TjaCQ3VekzZ/ Sn26NijXk12QhcSb4ZrZLGcMBMZ8YgEUa7sc1h/G0j+sq+NWeT5kdI0ubKTwQ5AjPNFv ZQEQ== 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 :content-transfer-encoding; bh=Ogk/eEmzUsDEdl7w08E984I9cFzzy44g9Efvz8aG1qM=; b=BJXaaTW2jCFjjapADCFSzGE6Urh4Bi9bn5h6j2vKi8HIzEeCsletMgRRKC54IEFvQf 18Bnx5f8vrZ+e1SxMVBefHwcgyIUJ8gakc4SIVodALysq/L7yCx77K1qtGZvG3wJJ0D3 ZW7wQgR1gIWHtDVQkwC3NPEPLbQI6qwFgUe/U1iRd7o/VJ9aPMY7OUy5Z5aLgouZAba+ Nm2bLFy9j0XK2dXZodH8FaYFD9ODDNY85m1NtKcyx4FbOeurKxFO5gWCFLCbRdF3Oyo5 ZEolN0tI2Z6b8TG6MH2eOgxnQYKWwf9mmp3t8atJ5SiP6RfHVhdCgnEhvuSh9DWkEUMp qAkQ== X-Gm-Message-State: APjAAAU5J+pkbpGmD/6rKIPiz+788F2H+1jsB/1Mh/duCisEO9lv04Ab kjDDYK4R6eUZa+FeFDyUz0VXLWa2 X-Google-Smtp-Source: APXvYqyJN1xtglkHOj6ND7doXENJ2CNNHqYqpj3JsmiEA+gpCe9JSyNJo7gybj7eLRamQUOLJFYM4w== X-Received: by 2002:a17:90a:1a56:: with SMTP id 22mr33929410pjl.100.1573999656893; Sun, 17 Nov 2019 06:07:36 -0800 (PST) Received: from localhost.localdomain ([103.51.74.169]) by smtp.gmail.com with ESMTPSA id i102sm16486708pje.17.2019.11.17.06.07.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 17 Nov 2019 06:07:36 -0800 (PST) From: Anand Moon To: Rob Herring , Mark Rutland , Heiko Stuebner , Jagan Teki , Manivannan Sadhasivam Subject: [PATCH] arm64: dts: rockchip: Add regulators for pcie on rk3399-rock960 Date: Sun, 17 Nov 2019 14:07:28 +0000 Message-Id: <20191117140728.917-1-linux.amoon@gmail.com> X-Mailer: git-send-email 2.24.0 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20191117_060737_913230_4E903288 X-CRM114-Status: GOOD ( 11.63 ) X-Spam-Score: -0.2 (/) X-Spam-Report: SpamAssassin version 3.4.2 on bombadil.infradead.org summary: Content analysis details: (-0.2 points) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (linux.amoon[at]gmail.com) -0.0 SPF_PASS SPF: sender matches SPF record -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.29 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-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+patchwork-linux-rockchip=patchwork.kernel.org@lists.infradead.org As per Rock960 schematics add 0V9 and 1V8 voltage supplies to the RK3399 PCIe block. Signed-off-by: Anand Moon --- Schematics [0] https://dl.vamrs.com/products/rock960/docs/hw/rock960_sch_v12_20180314.pdf --- arch/arm64/boot/dts/rockchip/rk3399-rock960.dtsi | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/arch/arm64/boot/dts/rockchip/rk3399-rock960.dtsi b/arch/arm64/boot/dts/rockchip/rk3399-rock960.dtsi index c7d48d41e184..2f76cccebbee 100644 --- a/arch/arm64/boot/dts/rockchip/rk3399-rock960.dtsi +++ b/arch/arm64/boot/dts/rockchip/rk3399-rock960.dtsi @@ -53,6 +53,15 @@ vin-supply = <&vcc5v0_sys>; }; + vcc_0v9: vcc-0v9 { + compatible = "regulator-fixed"; + regulator-name = "vcc_0v9"; + regulator-always-on; + regulator-min-microvolt = <900000>; + regulator-max-microvolt = <900000>; + vin-supply = <&vcc3v3_sys>; + }; + vcc3v3_pcie: vcc3v3-pcie-regulator { compatible = "regulator-fixed"; enable-active-high; @@ -385,6 +394,8 @@ pinctrl-names = "default"; pinctrl-0 = <&pcie_clkreqn_cpm>; vpcie3v3-supply = <&vcc3v3_pcie>; + vpcie1v8-supply = <&vcca_1v8>; + vpcie0v9-supply = <&vcc_0v9>; status = "okay"; };