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: 10847649 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 D1F501515 for ; Mon, 11 Mar 2019 15:03:59 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B8D3629157 for ; Mon, 11 Mar 2019 15:03:59 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id ACFCA291A4; Mon, 11 Mar 2019 15:03:59 +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 A4F9A29155 for ; Mon, 11 Mar 2019 15:03: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: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=8w8gE/AGDmfpzpxYtM8FWRICd90EXg7v/kJHSoprLW0=; b=qGMPGijApP73EE btYKaIgxhb7tr7hpKqIYG00Li6VzyxjIaQTYE6LTpPoEEWZzlNvDF2Pm3h9PgZ+qXfLWc1sIY0cON iRsHJgJtrLoHl58RPZc8QYQ1u9idpQvIYS1KbgcrcZamhtLtFFCTgEWp1TttExM6rcuFjyIJCjIdt dXOeFgxleHn/goRo3ny6A5T3XUy/+W2ycRjfqbg5qu8Ikh4wQMVVKCDrKBPibt3KP6+IEN21QoHwB iD3QgEMpHQc0bZdl+eZJq08P9nKo68755cuhhYtWS74s8rjA37F3BHRxRNC8K6VMidZ3f1vr2ppRK PQMirKyQeMWR3Hat+COw==; 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 1h3MT2-0001af-94; Mon, 11 Mar 2019 15:03:52 +0000 Received: from mail-pf1-x444.google.com ([2607:f8b0:4864:20::444]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1h3MSz-0001Qk-1v for linux-arm-kernel@lists.infradead.org; Mon, 11 Mar 2019 15:03:50 +0000 Received: by mail-pf1-x444.google.com with SMTP id d25so3887430pfn.8 for ; Mon, 11 Mar 2019 08:03:49 -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:mime-version :content-transfer-encoding; bh=ysitMl37W5wvDTaO55M/bquP5eX6f+fWiuhxScsiSvI=; b=aYCKIJPbDtW9gx9YYp4eNdKogfeqwQGkAF+HXkZUilq/ur0wRb9mGjt5qMyAeYOuI3 f6rFiPJPWuMzfl5Ew6k5sgsCVn+NzmK//CJSnMLny2rxGRbU3mphM4onrDwvbbfUyw+t lF4eW4i4Dh3DrmV1tUt9OHspuYz9ByhCgOzvw= 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=ysitMl37W5wvDTaO55M/bquP5eX6f+fWiuhxScsiSvI=; b=g2inUbtiyCt63CA2qcQy0l+TFsXV1TAbOY03sO5ImiPfKzavcKjlVXrNd4EWBQL8Ud uhzJc0VqEIx0Vyu3ZoTawwUaXopN+5tPlpj50C4BG0ni5tqlLDMqNVcib8rVVApqy/iB gs9VWN5n9W3RAX2de5sF7YR5Q2V/AizRv76FYDhO5zeBonmnWPajSBmxTWfnnioJJg1g jfj9iASSGw0YvUcYBtwgPqQa3dKC9fMILtDlNio9eeQ4MrewIQb1jZZ0a00rHJ+QqJj9 ybfPM+xnCiRVZEPYGmr3vlvcl/52QSlVtgTlPofqDSqapUjlDT+dmoj9/L6RKtA6T9Ke 9QlQ== X-Gm-Message-State: APjAAAWknG85i0sYi3U0gsyKBA7aFvjQ6zLKM6Hk94DGd6S3P3CDgBl1 M9qNjb7CobRAs1CwIRBVw0VQed+l8ek= X-Google-Smtp-Source: APXvYqxMKPWhmDkwbjkdOybHYp9nV7KRRh/NXpzDkZzZQ/QbrK9DlEkC1IbXWY1n+h0coxmTqbz6Xg== 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 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-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190311_080349_098279_8D3B3292 X-CRM114-Status: GOOD ( 10.47 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: 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-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP 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: 10847653 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 775FC139A for ; Mon, 11 Mar 2019 15:04:11 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 5EA5A28B01 for ; Mon, 11 Mar 2019 15:04:11 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 52584291AC; Mon, 11 Mar 2019 15:04:11 +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 EA76E29171 for ; Mon, 11 Mar 2019 15:04:10 +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=Kd8JZDA1JHHnKvGP8hypWDFC6IqMmO5P2X9YrsqH5q0=; b=T0miu0x+VY4qSq WLBblGyFGIf2t68Eqv0puxwDtBWUEf0FKwkSjxXtHYw1vMKt5mh5MnNto3o4/0ho+rYE2zc86PIKS EgEUEt3nqv79LyZGkL1gaQTU66BdxizpugyNfW/6kK6jo5iCebINt8KW4386/luIsKelWe9oLpwxq McybhIPfZEvU4zemWzGD+m0gS2gLGKm1QE6sUvQPNXN5dXgPadcULt9/2uY0REa6YEXPdJGl6vNvf B37jvuMyvTHNH/ZZLX5MMU9DyKG8bst34xgYjk4unQnXmSfNQxPSjDdNcl8AjEGVjohwCPVZ7hAZg ffVY7yggw2G6v5TjaAOg==; 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 1h3MTC-0001rq-Sz; Mon, 11 Mar 2019 15:04:02 +0000 Received: from mail-pg1-x543.google.com ([2607:f8b0:4864:20::543]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1h3MT3-0001cR-D2 for linux-arm-kernel@lists.infradead.org; Mon, 11 Mar 2019 15:03:56 +0000 Received: by mail-pg1-x543.google.com with SMTP id h11so4256589pgl.0 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=sR0rCTsvj0wc0cPVepDqyqOR/PgdozwrzyOyXLRgaJ7GUI+6fvjgaMnKKzhnYUMseT rXcsnDj6aNNBRpiyVpA8+ipdypgr/h77RNFfc2D4NOKrmYrVRz6Bos1xSdeKu74M5QOh Mj0VuV/IDbaQho4lKS/3wEFf4B/HU00gsUzih6/pwVjKjA+JjrDhQOYIkQ9L1OF+VVuy qEi0TWv1VNprt69sJMipX00NIC3tUD+y575lTiTPqs3hFAOhCcFmlrw2+SFbAiXONpO4 DTDd+21KzZ/ffXwrgnYqtSc2U48XGsz4+wBgCTT7ceKNmaozNHDu4z9FkxJ4i+4I5B8a Tn2A== X-Gm-Message-State: APjAAAXprRMMJeAP6cH7JtiN3ChAdiMGV0133v7plpjoq6Q8gPLQQM03 0ST1N6jZOAWWPJCG6ktFFFLTrA== 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_080353_792527_BD4CFB79 X-CRM114-Status: GOOD ( 12.61 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: 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-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=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 { 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: 10847657 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 022D91850 for ; Mon, 11 Mar 2019 15:04:19 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id DE40C29152 for ; Mon, 11 Mar 2019 15:04:18 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id D2AE72918E; Mon, 11 Mar 2019 15:04:18 +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 8212F29152 for ; Mon, 11 Mar 2019 15:04:18 +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=LNIlSPzPHEZ8t77+0+aZL8zT1G4Ycne/7QnIwaDUIh0=; b=J0cPTrCvG+72/8 M44AJFbMmRJdregReGiK1dHzBVkA726x9UJ8MR1B6VdUq0B9i88bjpf1mxmut/Zj+TFeryGB8/M5g +eTbr8e/btmFNHHbjQc1iKsLzoYPF7lsjw9l1HBTVJXLoQMPIQ3dDWMEo2WIGIm02BFk42mMRBIJy fO63A4JEeAnEMeDVO6IP1//hnkI46TkplFTN80sSFUN1D8YsMcK44pfZkWuBQCnt/iugRpKm3onFt TY6+2imCIiqYs2buC9+RiXTlhcSnry6/jkcFrUqdkfWUc31yxnVT0XSYv8Ud4NTioojjxicXMXoha 8V9RKS6y3xPAvY066B7w==; 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 1h3MTP-00029O-RC; Mon, 11 Mar 2019 15:04:15 +0000 Received: from mail-pf1-x442.google.com ([2607:f8b0:4864:20::442]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1h3MT7-0001jj-LC for linux-arm-kernel@lists.infradead.org; Mon, 11 Mar 2019 15:04:01 +0000 Received: by mail-pf1-x442.google.com with SMTP id h1so3887621pfo.7 for ; Mon, 11 Mar 2019 08:03:57 -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=339cuj1SwivCqfuHe+ww4z/In8uNdl0g0CZZZUchuN0=; b=bTZUoHA46lNvvnCfHGEY+l+GowjdEGMVPri71RA2jlWOlOCVAc0ew+V/enPHzTVkvN NU11krMrkzcKxL6MMR9prDFF6+0MI/LAxtbyGAF9/KIEjCf+BlHceT/CrYc9Cghgxt98 HNpgEWWgJkCu2N9NZMJxty2jfSxj3JLgFMfqo= 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=339cuj1SwivCqfuHe+ww4z/In8uNdl0g0CZZZUchuN0=; b=dFgoBaqz4EOM4Kj+4C2G8vzokaP6QIrbWCoS1iN79XU0NdYI1vuRHJMPYQbmg75Hu+ zQ2Bsfyp3RY0wG4c8bh0svpjA85zQ7clkRBjMronwLC13lzB9rT96i3OzsCs0ga4J+SP CiuihscYg5UTgmUSUIVXB9ZnVW2GizWgXemFZmstN0RA2JiZOeHHEvx0NQVVmDgsc8qs VfPl1t4xfCRTc17M/z5NIrvdjlQrX5cSoFp1GOjLqwFhWq7Fr16ArclZ5fb9/lxlyrEU 7PF90IqN6AGY8Kc+Rdwfw664qPTfSHmojVPB+kjVSHe2QSlfwHSUwCldYH/IyYJPWU6v t/gw== X-Gm-Message-State: APjAAAW0Vzlh+568vO+pPgUMY1F2YpuP3qLP/0sIx2x+zXisak1qG0lM opXhjJOETpQ3LodIU30wtaoT3A== X-Google-Smtp-Source: APXvYqwxCKHgNRv1edO14Zth/h4eCdfBnVoBpfLgSv9pLwN+kjvmNmQT79kAIxOgajCOh1ziyShLdQ== 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 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-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190311_080357_900345_E05994C3 X-CRM114-Status: GOOD ( 12.75 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: 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-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP 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";