From patchwork Mon Oct 16 12:16:22 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 10008223 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id B5BF160230 for ; Mon, 16 Oct 2017 12:37:05 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A88852850F for ; Mon, 16 Oct 2017 12:37:05 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 9D366284D1; Mon, 16 Oct 2017 12:37:05 +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=-4.2 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, DKIM_VALID, FREEMAIL_FROM, RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.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 1DC8728563 for ; Mon, 16 Oct 2017 12:37:04 +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=bpJb4Pd0EpFpJ8BowEZhXyn8JIr0eanpiGeGWh89L6Q=; b=A7GxVf/mqB3cMtyksUzsR7Ex/y 3pleyQLc0SSp+XD9fhwStI/gu7rZR6jonGmFhNUykPxxL77PJv/yXs4j4o7tkgeDSWbRxlPLM7QiH NLlQjnJMod90BooW8lmEgbeEy37CrSFTXSA9vRzZHcX90sbUF6DAfykDWLYNBxHsdDzP4hvv0xH5d TBiX2RJhFUSc8mUog+TpTHDbpnQ7rxHKZoyz7qvTzwXtMAhBhL/TT4/UjplmjE9Z5CuASxl/m9X8q CLdnz+GRMGfj8vIUe7EiofroYi+dbjkBPpyGTLjicBOt3ILI6VT/dhgMROj5CEoJi0Va1WXvN6GJX 8WzUTHgQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1e44dk-00047l-9X; Mon, 16 Oct 2017 12:37:04 +0000 Received: from casper.infradead.org ([2001:8b0:10b:1236::1]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1e44a0-0001ey-S9; Mon, 16 Oct 2017 12:33:13 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=References:In-Reply-To:Message-Id:Date: Subject:Cc:To:From:Sender:Reply-To:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=SAWH4O4ydO7uWWG2bmMhmmC7GeCWyjPJkdulPq67TY8=; b=YRES643ki2bRczykbFA7Gqdha a9of6gzCvey/si0zVjqh4kdY/1eyLeg/uy9YIuxmzG7LM5jLGi8EzjUDf6uTPOQjUWIQQ7y5JbM5Y auAKE32UVz7wXWaIh4O+4KXCnRSos9N6NmSD9xkM3lCFEFSKz8obWmC8R2HNLWV8yQcG2tpZjMuH4 AYDQj13T5Aenq6KQdhWO9YKVjU443dQDxtTr1XjkOCDTAAdypHULKawIay8GI/8Bes8F53Jvtdw9i SaXKgfG2o/oCzTXCwRxa41I80opbGpGX6MLYpL01jHGZQaE6UDYiZ72ZqThwTchYRXNKF3EDAxUpA Ky4DvOXAw==; Received: from mail-pf0-x244.google.com ([2607:f8b0:400e:c00::244]) by casper.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1e44LP-0004qp-2I; Mon, 16 Oct 2017 12:18:12 +0000 Received: by mail-pf0-x244.google.com with SMTP id b85so15664771pfj.13; Mon, 16 Oct 2017 05:17:45 -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=SAWH4O4ydO7uWWG2bmMhmmC7GeCWyjPJkdulPq67TY8=; b=tWiQYFk6tJ8uu1Lv21mCXt4QS1wBE5g6Sd20ealisVf5qTTrCxoK57PPQnLrufgK9W Hdn38E4XMw+/4BsEmKBLzwkvbMi4DSEmsMSRmAceKyyTisIgYXiY3WCbh/96J/8bg0rF bKNRdD7NJATPEbQiL5C/BHxVb/JA9Hyf5LFDFQYfTlc87jS1U1KiFPagcXWR4AF8iYAO 0ksycMD8v2HLwemUOmjopmGhmySwEcj3mS90xK6/ovyRuPpc7e95iK7clnQ9odSKUc3m zGpXhkx0ibQWSl0Ye2llBrNIFTlzNcKUMSpSVLF+vtzpfdA30/v9vO85PaVDv0hcGdTM JPjg== 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=SAWH4O4ydO7uWWG2bmMhmmC7GeCWyjPJkdulPq67TY8=; b=VtQ7zdqoxHl3NsxI8bkApWBKrRi2BBqOMwgTbaLfqTnMBol53n0F+PSgdBPQi4vd4D L43fcVXxOiCwAZioV1PHKpAuVLtYpajIeDgsukZQR9jJFBv6SIAcfJnElCuN1dUNxwOb i0DggPS0S1GOIDN+QEfIj1Xs0hW9gDo0GxRF1+jpTgnqhIqDSYOyHiCNctaT/ikeJSQo VfgZKCxcf5wG4wsEZ9NV2jJC9LIulD9eCT739FlvEiggH1ekS4SEkN+0VtHs7TJ5sjaj BLaLpiXN4PaPD128h5Pd2QbUyXMGo3mRJHzh+QX9T9HLFbeql2RUY/olZv3xNFMfXbeV xRpg== X-Gm-Message-State: AMCzsaX8NpTXbBYiFKGGkKdGyeDbqFE9WeBGf3trvvBVmzULcKWu0gbS cZl1vzYdO8KdCWIzTxNH5peoEtkvEgQ= X-Google-Smtp-Source: AOwi7QCSC7wbYq9CEoGxazgtYWIyxPDIvuiOSYA8w9QNOmKSQxWJz1dcbsreq3AaRWDOJXRSyjd0BQ== X-Received: by 10.99.7.208 with SMTP id 199mr7842797pgh.158.1508156264132; Mon, 16 Oct 2017 05:17:44 -0700 (PDT) Received: from localhost.localdomain ([1.128.10.43]) by smtp.gmail.com with ESMTPSA id r18sm12753490pfi.59.2017.10.16.05.17.32 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 16 Oct 2017 05:17:43 -0700 (PDT) From: Jagan Teki X-Google-Original-From: Jagan Teki To: linux-arm-kernel@lists.infradead.org Subject: [PATCH 4/9] ARM: dts: rockchip: Add regulators for rk3288-vyasa Date: Mon, 16 Oct 2017 17:46:22 +0530 Message-Id: <1508156187-27519-5-git-send-email-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1508156187-27519-1-git-send-email-jagan@amarulasolutions.com> References: <1508156187-27519-1-git-send-email-jagan@amarulasolutions.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20171016_131807_382109_9C1DC418 X-CRM114-Status: UNSURE ( 8.40 ) X-CRM114-Notice: Please train this message. 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: Mark Rutland , devicetree@vger.kernel.org, Heiko Stuebner , Russell King , linux-kernel@vger.kernel.org, linux-rockchip@lists.infradead.org, Rob Herring , Jagan Teki , Michael Trimarchi MIME-Version: 1.0 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 Add supporting regulators for rk3288-vyasa board, dc12_vbat is parent regulatorand followed regulators as are child regulators. regulator naming conversion followed as per schematic for better readability and easy for identification. Signed-off-by: Jagan Teki --- arch/arm/boot/dts/rk3288-vyasa.dts | 40 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) diff --git a/arch/arm/boot/dts/rk3288-vyasa.dts b/arch/arm/boot/dts/rk3288-vyasa.dts index c14ebf9..0fa447f 100644 --- a/arch/arm/boot/dts/rk3288-vyasa.dts +++ b/arch/arm/boot/dts/rk3288-vyasa.dts @@ -56,13 +56,53 @@ device_type = "memory"; }; + dc12_vbat: dc12-vbat { + compatible = "regulator-fixed"; + regulator-name = "dc12_vbat"; + regulator-min-microvolt = <12000000>; + regulator-max-microvolt = <12000000>; + regulator-always-on; + regulator-boot-on; + }; + + vboot_3v3: vboot-3v3 { + compatible = "regulator-fixed"; + regulator-name = "vboot_3v3"; + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + regulator-always-on; + regulator-boot-on; + vin-supply = <&dc12_vbat>; + }; + vcc_sys: vsys-regulator { compatible = "regulator-fixed"; regulator-name = "vcc_sys"; + regulator-min-microvolt = <3700000>; + regulator-max-microvolt = <3700000>; + regulator-always-on; + regulator-boot-on; + vin-supply = <&dc12_vbat>; + }; + + vboot_5v: vboot-5v { + compatible = "regulator-fixed"; + regulator-name = "vboot_sv"; regulator-min-microvolt = <5000000>; regulator-max-microvolt = <5000000>; regulator-always-on; regulator-boot-on; + vin-supply = <&dc12_vbat>; + }; + + v3g_3v3: v3g-3v3 { + compatible = "regulator-fixed"; + regulator-name = "v3g_3v3"; + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + regulator-always-on; + regulator-boot-on; + vin-supply = <&dc12_vbat>; }; };