From patchwork Sun Sep 23 15:23:50 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Heiko Stuebner X-Patchwork-Id: 10611771 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 3024815A6 for ; Sun, 23 Sep 2018 15:24:43 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 1D5702931E for ; Sun, 23 Sep 2018 15:24:43 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 1133A294E5; Sun, 23 Sep 2018 15:24:43 +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_SIGNED, DKIM_VALID,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 9B4562931E for ; Sun, 23 Sep 2018 15:24:42 +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=+JWgAl4o4wDMcWOCn+fWMl3cI/Kyc73jOXTSk5H1itc=; b=M5Im+szrSOw5TZFXh1t4JBGa+Z dMKjG4goTdddGY1b8CHiLWwW2Vse+1SSpoDMs3B6LqNJsBQyOW/sxFSLiJott+wi86M4DYNLn6DMY baedOcUhafZnKVRiB+iGrDp3O4KQvoWleblX+cVqk3kvUIc3wqAKmNlsHEmAmPbkUYtbrJG1pvbs5 8uTXfAoCaNAV/Dlevhd0HDF9GPvvQd4WExV8k98Lw/mmQBG9tP4FaBUrQnrntl9mPJE3FhUFNF5Xn H3g4SJLyQKx7Hppx34pVL1HHbpr8crvjRgFPUA5+XiPWGSZrDPP5Xqzaf5PpRzxf+8slvDEjyCO9J BkSCp8ew==; 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 1g46FO-0003nL-Ut; Sun, 23 Sep 2018 15:24:35 +0000 Received: from gloria.sntech.de ([185.11.138.130]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1g46FB-0003i5-Gu; Sun, 23 Sep 2018 15:24:23 +0000 Received: from p54b2678b.dip0.t-ipconnect.de ([84.178.103.139] helo=phil.fritz.box) by gloria.sntech.de with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.89) (envelope-from ) id 1g46Ew-0005Tu-KJ; Sun, 23 Sep 2018 17:24:06 +0200 From: Heiko Stuebner To: linux-rockchip@lists.infradead.org Subject: [PATCH v2 1/7] dt-bindings: add power-domain header for RK3188 SoCs Date: Sun, 23 Sep 2018 17:23:50 +0200 Message-Id: <20180923152356.30154-2-heiko@sntech.de> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20180923152356.30154-1-heiko@sntech.de> References: <20180923152356.30154-1-heiko@sntech.de> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180923_082421_760844_512F2ADF X-CRM114-Status: UNSURE ( 9.18 ) 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@arm.com, devicetree@vger.kernel.org, Heiko Stuebner , chauveau.julien@gmail.com, robh+dt@kernel.org, linux-arm-kernel@lists.infradead.org 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 rk3188 power-domains as described by the TRM. Signed-off-by: Heiko Stuebner --- include/dt-bindings/power/rk3188-power.h | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 include/dt-bindings/power/rk3188-power.h diff --git a/include/dt-bindings/power/rk3188-power.h b/include/dt-bindings/power/rk3188-power.h new file mode 100644 index 000000000000..820db55fc4b7 --- /dev/null +++ b/include/dt-bindings/power/rk3188-power.h @@ -0,0 +1,23 @@ +#ifndef __DT_BINDINGS_POWER_RK3188_POWER_H__ +#define __DT_BINDINGS_POWER_RK3188_POWER_H__ + +/* VD_CORE */ +#define RK3188_PD_A9_0 0 +#define RK3188_PD_A9_1 1 +#define RK3188_PD_A9_2 2 +#define RK3188_PD_A9_3 3 +#define RK3188_PD_DBG 4 +#define RK3188_PD_SCU 5 + +/* VD_LOGIC */ +#define RK3188_PD_VIDEO 6 +#define RK3188_PD_VIO 7 +#define RK3188_PD_GPU 8 +#define RK3188_PD_PERI 9 +#define RK3188_PD_CPU 10 +#define RK3188_PD_ALIVE 11 + +/* VD_PMU */ +#define RK3188_PD_RTC 12 + +#endif