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 {