From patchwork Sat Sep 8 19:00:45 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vicente Bergas X-Patchwork-Id: 10593143 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 D65D5139A for ; Sat, 8 Sep 2018 19:01:50 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C74BA29F2C for ; Sat, 8 Sep 2018 19:01:50 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id BAE1F29F42; Sat, 8 Sep 2018 19:01:50 +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=-2.9 required=2.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE 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 54C6D29F31 for ; Sat, 8 Sep 2018 19:01: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=VejXpVsYQt6eB4clFGQ5hJ9W9EOpIkDmzOEXYrltz0Y=; b=Ta3SYZcTaQMd6WKl2Wmx2u/pZS Hvl2hq3ObffKFYu4nz1tHbDphxFqwG03EadsxYafjcf85ABnlF+CPsO7HGtKTfDJKVsc3hJSGCedW y8VGi8lflnxhSaKuhUu+5NH6zQQAGQesmxI4gjRCetlaq4qbBR21Z6evo+b9aNSHewf7cuinuLHo+ /txrOykv/MOuc0zzazDbjqF2eOY4gRhXN4nZnNQAMsZ1bX8ME5egSettnobUsQkh+aH3glPunhqzQ ByorIIlOWuQJ1qQAkSMvyjScVkDElhXOIqp2+pGInOke6ilxgtYCe7QU2W9MchVjFXaG0z3yO4+QG YSnmrquQ==; 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 1fyiUL-0001Kb-3h; Sat, 08 Sep 2018 19:01:45 +0000 Received: from mail-wr1-x444.google.com ([2a00:1450:4864:20::444]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fyiUH-0001ID-1n for linux-rockchip@lists.infradead.org; Sat, 08 Sep 2018 19:01:42 +0000 Received: by mail-wr1-x444.google.com with SMTP id v90-v6so17993893wrc.0 for ; Sat, 08 Sep 2018 12:01:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=dBwLSPM9Xi90kFTSI09zIUrOgmeVobMsqRuzWAUwFow=; b=hzZASwFogT61IfKuWfdcYa0HN4wKoTTELSe5wMxPQigPHGC5r3PbOeslSAArHELVHx VrDiHoD28Cup3eMkw0jWZS/3W+0L5AoAKcVXWQkB17iU3lLs3RCReiP4a5jux7GoH3pf 1E1RSRNERO9rtvCMMvX+7DJ/h8wyKnyQLMSWv2Fp55OYURwEtTaaT/7ruUv4sH3mTWyj SREyMbRSIIquOsvcaCTNq75DN3+XIpp6J2nqELfh/V7Gr5vNutdQSnnHCr9yPZf48XzL iTWYckV79UXIaWa1NpahPdE0rsoBoaOkcCtRagbjNLOovN+t7Z5JksfmOhOpoCP6kY0D OIuQ== 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=dBwLSPM9Xi90kFTSI09zIUrOgmeVobMsqRuzWAUwFow=; b=b+lNuF0qYA9qnPFzGAOLe6BQGqGCckbEB1cG86htwd03w5qtLMjtwX+XN9fePdzlmo vcJ+tv7hZrKtY0e4+9lgvzovuqfrcmMKIX60WGsahd3BIm/3ZSVE0M3AEKyFSkExuncV pDjAsSl/qFN98ZX3tAqG58ZkvrK9dVwhVTsDy3ag8ASRD9YS4nJx3dqdoWF0SdF9kUUt piq3ZI7yTdJQUb0rhdNi4J8lfFBLntJ99t5K5kqtQv41oY9jaUpiNcgWQVXZSecPuspT xvol3MK9QgcmjIZQHpadYrSn5cwm7X04m1QvSaj97V0Adhh5Es6hwDes30tbWbHiyEjq oFJA== X-Gm-Message-State: APzg51B6WQwFlUJRKht+HZR9gFzEwMXrh6HBylKTeR1BffhJKEHvUxOE 6n4grZsKjTq5emdzjIj4LA0= X-Google-Smtp-Source: ANB0VdbuzL7ehgZ9dY4yxjOFu1rE2Jvp1yfngb54LPgFlY7wqE7mT/EAXcNHKfgoUlYyvYzExjWZ7g== X-Received: by 2002:a5d:434c:: with SMTP id u12-v6mr9806322wrr.189.1536433289484; Sat, 08 Sep 2018 12:01:29 -0700 (PDT) Received: from localhost.localdomain ([90.175.16.221]) by smtp.gmail.com with ESMTPSA id a37-v6sm22889756wrc.21.2018.09.08.12.01.27 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 08 Sep 2018 12:01:28 -0700 (PDT) From: Vicente Bergas To: Enric Balletbo i Serra , Heiko Stuebner , William wu , linux-rockchip@lists.infradead.org Subject: [PATCH 1/4] arm64: dts: Sapphire board: re-order vcc_sys Date: Sat, 8 Sep 2018 21:00:45 +0200 Message-Id: <20180908190048.14231-2-vicencb@gmail.com> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20180908190048.14231-1-vicencb@gmail.com> References: <9e64e878-07c8-912c-c597-7da7b3f96dd6@collabora.com> <20180908190048.14231-1-vicencb@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180908_120141_086009_A241DCA7 X-CRM114-Status: GOOD ( 10.89 ) 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: Vicente Bergas MIME-Version: 1.0 Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+patchwork-linux-rockchip=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Fix alphabetical order. Signed-off-by: Vicente Bergas --- .../boot/dts/rockchip/rk3399-sapphire.dtsi | 20 +++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/arch/arm64/boot/dts/rockchip/rk3399-sapphire.dtsi b/arch/arm64/boot/dts/rockchip/rk3399-sapphire.dtsi index 941b62709..dac7c331b 100644 --- a/arch/arm64/boot/dts/rockchip/rk3399-sapphire.dtsi +++ b/arch/arm64/boot/dts/rockchip/rk3399-sapphire.dtsi @@ -140,16 +140,6 @@ vin-supply = <&vcc_sys>; }; - vcc_sys: vcc-sys { - compatible = "regulator-fixed"; - regulator-name = "vcc_sys"; - regulator-always-on; - regulator-boot-on; - regulator-min-microvolt = <5000000>; - regulator-max-microvolt = <5000000>; - vin-supply = <&dc_12v>; - }; - vcc5v0_host: vcc5v0-host-regulator { compatible = "regulator-fixed"; enable-active-high; @@ -161,6 +151,16 @@ vin-supply = <&vcc_sys>; }; + vcc_sys: vcc-sys { + compatible = "regulator-fixed"; + regulator-name = "vcc_sys"; + regulator-always-on; + regulator-boot-on; + regulator-min-microvolt = <5000000>; + regulator-max-microvolt = <5000000>; + vin-supply = <&dc_12v>; + }; + vdd_log: vdd-log { compatible = "pwm-regulator"; pwms = <&pwm2 0 25000 1>; From patchwork Sat Sep 8 19:00:46 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vicente Bergas X-Patchwork-Id: 10593147 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 58CC8139A for ; Sat, 8 Sep 2018 19:01:54 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 4800329F2C for ; Sat, 8 Sep 2018 19:01:54 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 3C60E29F42; Sat, 8 Sep 2018 19:01:54 +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=-2.9 required=2.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE 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 D6F0E29F2C for ; Sat, 8 Sep 2018 19:01:53 +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=jSzWWGP/hi3MsFoYWxMi24E/0056YX//lJHZyvllxbM=; b=pHr/J2yTqq/DOTPbaVKrNL7YGM lG9FjmCzB2x4XONqiAF9HyeI0hX/+eLb5a97pcANJzdmz0hUN11dSw1REGHFtaqqxau2X9c1qXBrm i6R+IEN7zKbV2QXYb5JeQjs7uKoc9p/6RV3m7pZHnI4IJGzynea/obKUf+HM4GwzsvLl7UD9Kf7Rb U5i/ewG25/cm7bSKYXvXTy+WHdtRUismbADzThaZNfvKVB6/s6GMCaNzlXFVGVCqNNU3pYMx+y5ME cWge0qe4OyQfgPPzZ7u5DMGXtmIvte+4y7EGNytq7BkAbNsW3dZnMLE+t6F8obTX8INXPebN69gRn R7u05kaw==; 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 1fyiUN-0001LW-HO; Sat, 08 Sep 2018 19:01:47 +0000 Received: from mail-wr1-x443.google.com ([2a00:1450:4864:20::443]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fyiUI-0001IO-BQ for linux-rockchip@lists.infradead.org; Sat, 08 Sep 2018 19:01:44 +0000 Received: by mail-wr1-x443.google.com with SMTP id e1-v6so8886495wrt.3 for ; Sat, 08 Sep 2018 12:01:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=2we6kKPYObjRwV6qMuK4sk7kXnrfnxzRowalL+s1GkM=; b=Pk+h75qYqMRxL5y2fMDmfHf48E0lsJ2dgtCyV5ac4GGQkCyaPg11/7PN0BMkWilU4f DsIt1ubOMxfvCuMpyXl5/XDctqTuLKwMDTFX7WPW0FjY1BX69kBX8v8QoWvhwZTpah7S AMD4hetHuDO3ohj0b9NRS7+pBvDC7PaPMM7X69kCksLiw+K5X/lfKXfohd3lhfAgGPGF v68KXI/piMgAWyi0RLm3MQ16ab2HNbHK7C1RAxnEkhHi/l5EoeL66y4YjY70j6xDONFF 6MqRNH+TjQZuWOlHdGHGeYXFbGGkFKb7NWudztHbZceO6X7NQjJwJ35gTZvnjYi5Qr7q M8hw== 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=2we6kKPYObjRwV6qMuK4sk7kXnrfnxzRowalL+s1GkM=; b=X+RzWb5r6wNFxj3alyJpKuOktoEbwzw6SnKXDtS7o38MFq0HSyshbjESbGydW+HjaJ 89R6OiI2BaD9oYR0MDILCbAYXwZbgHqLLc5vHybaRmPWeROO+zSdht/5NsMfiTPndVhr U5Jswt4EFMPNFqjyp8Ig20rQda8xM5LddvKDKelVc9KxciAGnP8BGhppWwi3J3I+ouYQ ZDkYvhC8GQEKhUQaWELKQRXcTJFjV0/BvTPQOsWtoFXGNxbjXjUuzM+Yhl0/ggm3CBo4 5isbpE8WSceOqnC/b6KinleterJFbI3naO2bIFaliHXUgCGiWC9NiiASrot1lExhAav7 PTRQ== X-Gm-Message-State: APzg51BeGqYxVrM5L8AjqPVamSFweoUDnxrNxRtXSxfnuBf1U16X+KhP THvyqWWxoXzgk7exNFfHXNQ= X-Google-Smtp-Source: ANB0VdaOW7Npv9CJRwMjNSxb/OIbc+NlUp/GDjgyYj7oj1seZ4zB8rFyCd6zGwx0LHzW5nPU4AR1rw== X-Received: by 2002:adf:dc88:: with SMTP id r8-v6mr9616626wrj.166.1536433290746; Sat, 08 Sep 2018 12:01:30 -0700 (PDT) Received: from localhost.localdomain ([90.175.16.221]) by smtp.gmail.com with ESMTPSA id a37-v6sm22889756wrc.21.2018.09.08.12.01.29 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 08 Sep 2018 12:01:30 -0700 (PDT) From: Vicente Bergas To: Enric Balletbo i Serra , Heiko Stuebner , William wu , linux-rockchip@lists.infradead.org Subject: [PATCH 2/4] arm64: dts: Sapphire board: Fix VCC5V0_HOST_EN Date: Sat, 8 Sep 2018 21:00:46 +0200 Message-Id: <20180908190048.14231-3-vicencb@gmail.com> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20180908190048.14231-1-vicencb@gmail.com> References: <9e64e878-07c8-912c-c597-7da7b3f96dd6@collabora.com> <20180908190048.14231-1-vicencb@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180908_120142_392967_9B8A45E4 X-CRM114-Status: GOOD ( 12.08 ) 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: Vicente Bergas MIME-Version: 1.0 Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+patchwork-linux-rockchip=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP The reference is the schematic, page 15: https://dl.vamrs.com/products/sapphire_excavator/RK_SAPPHIRE_SOCBOARD_RK3399_LPDDR3D178P232SD8_V12_20161109HXS.pdf (alternate link) http://opensource.rock-chips.com/images/f/f0/RK_Sapphire_RK3399.rar Signed-off-by: Vicente Bergas --- arch/arm64/boot/dts/rockchip/rk3399-sapphire.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/rockchip/rk3399-sapphire.dtsi b/arch/arm64/boot/dts/rockchip/rk3399-sapphire.dtsi index dac7c331b..68b497ad3 100644 --- a/arch/arm64/boot/dts/rockchip/rk3399-sapphire.dtsi +++ b/arch/arm64/boot/dts/rockchip/rk3399-sapphire.dtsi @@ -143,7 +143,7 @@ vcc5v0_host: vcc5v0-host-regulator { compatible = "regulator-fixed"; enable-active-high; - gpio = <&gpio1 RK_PD1 GPIO_ACTIVE_HIGH>; + gpio = <&gpio4 RK_PD1 GPIO_ACTIVE_HIGH>; pinctrl-names = "default"; pinctrl-0 = <&vcc5v0_host_en>; regulator-name = "vcc5v0_host"; From patchwork Sat Sep 8 19:00:47 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vicente Bergas X-Patchwork-Id: 10593149 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 64B18139A for ; Sat, 8 Sep 2018 19:01:58 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 53BF129F2C for ; Sat, 8 Sep 2018 19:01:58 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 4822329F43; Sat, 8 Sep 2018 19:01:58 +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=-2.9 required=2.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE 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 E2F3429F2C for ; Sat, 8 Sep 2018 19:01:57 +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=V3DUbsGxpggpSQz6aIvdp4PPtjbu9gW/VwOGxKHOUY0=; b=DvmYcSjtlXvAqs5RJFXu6M4uQe O6IFp38GWi/YoYIDdtQd0VbXRSvKDM2H/xsl57NZ1+ZaSsRvUinfy+ctfONWDG4pLITzkCFb67YjX OJW+n84cGbkT/cJQ2sYNjRhSSxAzY9HS4FQ2/SGux9vqt9631ij8BeG33wtrWB7MKoh0nrmE/2FVE Gpr9MRUa53GK021hORj9hLUX3nM2yB8uUHF+4DqI1flOvKG/HksWL0Dd+AMssCcTnFqWNYlnYgvCS soMwrH438tor65AzqxjY7B43ImHHvJ8iZXvXmwngBsNZJlTtHoJugejP5/Mrs04SbJDiEnLK/fEPq G005mbpQ==; 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 1fyiUR-0001Nj-Oo; Sat, 08 Sep 2018 19:01:51 +0000 Received: from mail-wr1-x441.google.com ([2a00:1450:4864:20::441]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fyiUJ-0001IR-K6 for linux-rockchip@lists.infradead.org; Sat, 08 Sep 2018 19:01:45 +0000 Received: by mail-wr1-x441.google.com with SMTP id n2-v6so17948781wrw.7 for ; Sat, 08 Sep 2018 12:01:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=w9ZaKd8OCsusTnhP2cIrmw9TUPoQZHSkHFOCoG+WCGU=; b=a5MUjreI9+nIqM7GegeZVyN1o/eRYyrgB75ZZqZvJxe+FxChbeLXJMLF7uNxYj2Xo5 2e2kTTjptssdDhVttvQT4vC0aw4UaL/sQ0qnmWqiDEAa2o6fROa6l+sTQsUS078w9gO6 k/PeeXBcOY9WWcglL72PGKxv1hiXunUkHHpr7NzEIjKU0gIQ6QyhOH9qtDs5pKJ3lIIR QDJWbUUv0siOf4vctS2vg443VO7oy5hHbBu295+FgtBmq9PCwzARfxIKnEpHB+VAAqrO kVF/JhYiGZadVyZEXe4amujiFFHWHGuQf9jatCs41jTncTF0mabM4XRSsHocKPY+H0GX LYeQ== 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=w9ZaKd8OCsusTnhP2cIrmw9TUPoQZHSkHFOCoG+WCGU=; b=tqb4gybIjlSyoHEfNhM+RuEum5AAk4+DkhI8U6HI+xRKXl/RsAY0DgWDxNlWn+YhUy Ny/tz2zBHKBY3/KpX+Q6lorzztL6vlmZ+i437jE0qC1YlKThHR5xvL0EHuX3g30Rqm5d ZjVMXWjJYSJX1d55LwzCPdO3BE9gszu6yks1XiGj9HMJbPaaE0X9OGrtbCimYbxb8MeG s9BnSdCPjqB5NJFy6B8I6QIj1xkJT6bu7V+iPArN24WBqFU5b7zEQ5ji2P2joEkgLTQ0 ukdMVbie+XrwgalqNG0ezi2+Fusi+764XFENlVtNuUanTKkzX2Q7rD/LYEnElVhkNkJi t7BA== X-Gm-Message-State: APzg51AOXj7JBh6YhpHtCIR8O9L6Dswyg/h/aI7yOgyXcqSMQXo1LiP1 XulYNDStgrSlprSFikOnR/c= X-Google-Smtp-Source: ANB0Vdaw1YElesx6cJ0z6x8IXPBgJE8P41JvW0hw9t6pJDp0xyK0KahUkcr6Usex/InguoARScf7bw== X-Received: by 2002:adf:f5c9:: with SMTP id k9-v6mr9968842wrp.59.1536433291997; Sat, 08 Sep 2018 12:01:31 -0700 (PDT) Received: from localhost.localdomain ([90.175.16.221]) by smtp.gmail.com with ESMTPSA id a37-v6sm22889756wrc.21.2018.09.08.12.01.30 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 08 Sep 2018 12:01:31 -0700 (PDT) From: Vicente Bergas To: Enric Balletbo i Serra , Heiko Stuebner , William wu , linux-rockchip@lists.infradead.org Subject: [PATCH 3/4] arm64: dts: Sapphire board has DVS2 disabled Date: Sat, 8 Sep 2018 21:00:47 +0200 Message-Id: <20180908190048.14231-4-vicencb@gmail.com> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20180908190048.14231-1-vicencb@gmail.com> References: <9e64e878-07c8-912c-c597-7da7b3f96dd6@collabora.com> <20180908190048.14231-1-vicencb@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180908_120143_673019_A2483895 X-CRM114-Status: GOOD ( 10.45 ) 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: Vicente Bergas MIME-Version: 1.0 Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+patchwork-linux-rockchip=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP The reference is the schematic, page 16: https://dl.vamrs.com/products/sapphire_excavator/RK_SAPPHIRE_SOCBOARD_RK3399_LPDDR3D178P232SD8_V12_20161109HXS.pdf (alternate link) http://opensource.rock-chips.com/images/f/f0/RK_Sapphire_RK3399.rar Signed-off-by: Vicente Bergas --- arch/arm64/boot/dts/rockchip/rk3399-sapphire.dtsi | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/arch/arm64/boot/dts/rockchip/rk3399-sapphire.dtsi b/arch/arm64/boot/dts/rockchip/rk3399-sapphire.dtsi index 68b497ad3..b1cb50595 100644 --- a/arch/arm64/boot/dts/rockchip/rk3399-sapphire.dtsi +++ b/arch/arm64/boot/dts/rockchip/rk3399-sapphire.dtsi @@ -241,7 +241,7 @@ #clock-cells = <1>; clock-output-names = "xin32k", "rk808-clkout2"; pinctrl-names = "default"; - pinctrl-0 = <&pmic_int_l &pmic_dvs2>; + pinctrl-0 = <&pmic_int_l>; rockchip,system-power-controller; wakeup-source; @@ -489,11 +489,6 @@ <1 RK_PC5 RK_FUNC_GPIO &pcfg_pull_up>; }; - pmic_dvs2: pmic-dvs2 { - rockchip,pins = - <1 RK_PC2 RK_FUNC_GPIO &pcfg_pull_down>; - }; - vsel1_gpio: vsel1-gpio { rockchip,pins = <1 RK_PC1 RK_FUNC_GPIO &pcfg_pull_down>; }; From patchwork Sat Sep 8 19:00:48 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vicente Bergas X-Patchwork-Id: 10593151 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 080CD109C for ; Sat, 8 Sep 2018 19:02:02 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id EC58B29F2C for ; Sat, 8 Sep 2018 19:02:01 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id E0F1529F43; Sat, 8 Sep 2018 19:02:01 +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=-2.9 required=2.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE 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 9669929F2C for ; Sat, 8 Sep 2018 19:02:01 +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=GSJcL7zO+C2PRfKl4D6NoAGeRVdS9NexkFEaMWCwNlk=; b=QiIVJd3X42Tir6e6Y7tOKEqDRC LGsDoag3uB33i3KAkmp3tZexxp0D8w4b53Re26HX4fnbZINEBammZEt8mB/A+muSsPFqJgWbb/Uex Hx/Ajmz0OhZ9RgqI7ZbF5lGNlWwIU91eBG93vLMjTCzPewTum4aFo5h1vrhcD1F98REpJMWYpxU38 8qzKTHxVxWdVj8SvDqrPYmm+wp1urqiszwatTl71V1AzuYAaVey0N7GMtK+78U6pvbDWzo/EqHmxp 1NnkAiFdEHDbQxQzFII9Eh9sfjDLhHBvEk7GEgActmP8SL0gCkpKeZTk6LPMrtkXwyvScHENEJMnt zXlRTSGw==; 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 1fyiUU-0001PN-Mh; Sat, 08 Sep 2018 19:01:54 +0000 Received: from mail-wr1-x441.google.com ([2a00:1450:4864:20::441]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fyiUJ-0001IS-K3 for linux-rockchip@lists.infradead.org; Sat, 08 Sep 2018 19:01:45 +0000 Received: by mail-wr1-x441.google.com with SMTP id v90-v6so17993981wrc.0 for ; Sat, 08 Sep 2018 12:01:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=hNVtSKRQ+VacDUSfqw7ilNJ0bg4MkGEyjuW0UNR471Q=; b=SCtIJr0rYY8giydyXy7EyJnDnhbVk9wRk11IVch9XRbhF+FsiDo+I2EWCdHjVh6nBs yPfegV/BnKp4xObaw7QAjyt74B9HJlpDXaQ00xrtv19wRHChECtzdUsrbP8eGtm5jKQ/ xykBbhpIvDJxwoEAXniZ0CZImw6soBjUXA65OYtlW9y6ob0mpGigbBQH2+Y92jr6ARPS xtFSgD/Yh9GbGDvRIFdQNbqffO6ROmRDf4+0aduMCwVLJ6dQzux+b02zzvEihTt63j09 sWWN9dHswHagmXH5DFs0A3lzfv5Q6NJAbfTFCe1Ts5gKE74NJ26jcQfDj5qNSQRbCR4p 8zAw== 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=hNVtSKRQ+VacDUSfqw7ilNJ0bg4MkGEyjuW0UNR471Q=; b=LtYVPiPYMVSfmv3XBB3LHwbEUFK12tC23jSUv/GkBRMhtZB+/CkUaQFf3s1OQGQMoH 8JOKhAY1M/YpJPRRHBUVUnnkDPHy0TZURHJku7aKA1Wf7zIn7GhMVN8RNSTW7E5CvVIX b4ndPCpxzCnAUz3uygag1u5fDdEoCot67P99he247MAAr5fHHLI36IWKJFPOMdcEYIqr OTq5FIx0oXM5uzmtNWLaSXf4PhjaBhNpSj5j8xN+FNLVPEhU4tKYwfqSjBtBAKhLRP7f AAR0CabPOdVuy+wsk7J+hHpdp75Zoc6y4d9+AIzYQVYrVHG7gy9VcFYekZ9W2ky1+VQt N+kQ== X-Gm-Message-State: APzg51B7w/KOSz6UiXwdrRTJE+TuSv6oY3yHoreqUuzzOkJ2BkHpEomo an992gYesR5IkR2y8Kn+xTw= X-Google-Smtp-Source: ANB0VdYUfhB+Hsw1dvY1sL/BBflijVSxJ3j8E6CL4vGv0LZsEqrLbCkVJrIv4ffrDQqH/rAj+JlFrQ== X-Received: by 2002:adf:a3d9:: with SMTP id m25-v6mr10046271wrb.1.1536433293270; Sat, 08 Sep 2018 12:01:33 -0700 (PDT) Received: from localhost.localdomain ([90.175.16.221]) by smtp.gmail.com with ESMTPSA id a37-v6sm22889756wrc.21.2018.09.08.12.01.32 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 08 Sep 2018 12:01:32 -0700 (PDT) From: Vicente Bergas To: Enric Balletbo i Serra , Heiko Stuebner , William wu , linux-rockchip@lists.infradead.org Subject: [PATCH 4/4] arm64: dts: Sapphire board: Fix Type-C port supply Date: Sat, 8 Sep 2018 21:00:48 +0200 Message-Id: <20180908190048.14231-5-vicencb@gmail.com> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20180908190048.14231-1-vicencb@gmail.com> References: <9e64e878-07c8-912c-c597-7da7b3f96dd6@collabora.com> <20180908190048.14231-1-vicencb@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180908_120143_676578_358F08BA X-CRM114-Status: GOOD ( 11.26 ) 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: Vicente Bergas MIME-Version: 1.0 Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+patchwork-linux-rockchip=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP The reference is the schematic, page 11: https://dl.vamrs.com/products/sapphire_excavator/RK_SAPPHIRE_SOCBOARD_RK3399_LPDDR3D178P232SD8_V12_20161109HXS.pdf (alternate link) http://opensource.rock-chips.com/images/f/f0/RK_Sapphire_RK3399.rar Signed-off-by: Vicente Bergas --- .../arm64/boot/dts/rockchip/rk3399-sapphire.dtsi | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/rockchip/rk3399-sapphire.dtsi b/arch/arm64/boot/dts/rockchip/rk3399-sapphire.dtsi index b1cb50595..1188c8717 100644 --- a/arch/arm64/boot/dts/rockchip/rk3399-sapphire.dtsi +++ b/arch/arm64/boot/dts/rockchip/rk3399-sapphire.dtsi @@ -151,6 +151,16 @@ vin-supply = <&vcc_sys>; }; + vcc5v0_typec0: vcc5v0-typec0-regulator { + compatible = "regulator-fixed"; + enable-active-high; + gpio = <&gpio2 RK_PA0 GPIO_ACTIVE_HIGH>; + pinctrl-names = "default"; + pinctrl-0 = <&vcc5v0_typec0_en>; + regulator-name = "vcc5v0_typec0"; + vin-supply = <&vcc_sys>; + }; + vcc_sys: vcc-sys { compatible = "regulator-fixed"; regulator-name = "vcc_sys"; @@ -503,6 +513,10 @@ rockchip,pins = <4 RK_PD1 RK_FUNC_GPIO &pcfg_pull_none>; }; + vcc5v0_typec0_en: vcc5v0-typec0-en { + rockchip,pins = + <2 RK_PA0 RK_FUNC_GPIO &pcfg_pull_none>; + }; }; }; @@ -564,7 +578,7 @@ }; u2phy0_host: host-port { - phy-supply = <&vcc5v0_host>; + phy-supply = <&vcc5v0_typec0>; status = "okay"; }; };