From patchwork Tue Sep 8 06:18:21 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Caesar Wang X-Patchwork-Id: 7138611 Return-Path: X-Original-To: patchwork-linux-rockchip@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 8E1079F1CD for ; Tue, 8 Sep 2015 06:21:09 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id B369F206EE for ; Tue, 8 Sep 2015 06:21:08 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 82EA720706 for ; Tue, 8 Sep 2015 06:21:07 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1ZZCHD-0004pv-5u; Tue, 08 Sep 2015 06:21:07 +0000 Received: from mail-qg0-f53.google.com ([209.85.192.53]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1ZZCH3-0004Nj-R5; Tue, 08 Sep 2015 06:20:58 +0000 Received: by qgx61 with SMTP id 61so74969325qgx.3; Mon, 07 Sep 2015 23:20:36 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=6RTNGoZIMTyIXFi9DyPdQ4mxL6x6aiFvjNgktKWqFSw=; b=ZJtKFYKZ0sY98sMPqUxPF/QVvDFBdi1b8tkBmBrV8ECl+NfGK+j0cjQkL1VA8d/SL9 KMAnYCh9p4YkqnlqQeXs6aZbLtnJlgK1Jaiyg44HzG6PhHABTDdFyen5w/zM0AYDB6XQ zlF9AfCpSPOcDHprfHGVyU3Kx11ePhU36lA8chAh/AB9tZtwOwqEapC6apDQD7NDI8X9 DD3DVCjta5qhNidX+r/MBIknR3SjBPPP89mFO1q5eYaE1Q6CI3vqDWJc3JVAcm2RphXp tkyCSpdXP6BqqV9uUR9NvDGFR16o+r2RUX5b9aO9Wq5y0UYV6AG1NFNAajCUZZciPA9m 70pg== X-Received: by 10.140.98.238 with SMTP id o101mr32127594qge.70.1441693236678; Mon, 07 Sep 2015 23:20:36 -0700 (PDT) Received: from localhost.localdomain ([173.239.41.18]) by smtp.gmail.com with ESMTPSA id k89sm1258551qgk.36.2015.09.07.23.20.29 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 07 Sep 2015 23:20:35 -0700 (PDT) From: Caesar Wang To: khilman@linaro.org, heiko@sntech.de Subject: [PATCH v18 2/4] ARM: power-domain: rockchip: add all the domain type on RK3288 SoCs Date: Tue, 8 Sep 2015 14:18:21 +0800 Message-Id: <1441693103-26712-3-git-send-email-wxt@rock-chips.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1441693103-26712-1-git-send-email-wxt@rock-chips.com> References: <1441693103-26712-1-git-send-email-wxt@rock-chips.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20150907_232057_994686_FAD1B534 X-CRM114-Status: GOOD ( 13.56 ) X-Spam-Score: -2.4 (--) X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, ulf.hansson@linaro.org, linux@arm.linux.org.uk, arnd@arndb.de, ijc+devicetree@hellion.org.uk, linus.walleij@linaro.org, dmitry.torokhov@gmail.com, linux-kernel@vger.kernel.org, dianders@chromium.org, linux-rockchip@lists.infradead.org, robh+dt@kernel.org, tomasz.figa@gmail.com, mturquette@baylibre.com, linux-arm-kernel@lists.infradead.org, Caesar Wang MIME-Version: 1.0 Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+patchwork-linux-rockchip=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP According to a description from TRM, add all the power domains. At the moment, we can support some domains on RK3288. We can add more types on RK3288 in the future, that's need to do. Signed-off-by: Caesar Wang --- Changes in v18: None Changes in v17: - delete the ugly chart in the commit. Changes in v16: - Add more domain decription. Changes in v15: - change the comment. Changes in v14: None Changes in v13: None Changes in v12: None Changes in v11: None Changes in v10: None Changes in v9: None Changes in v8: None Changes in v7: None Changes in v6: None Changes in v5: None Changes in v4: None Changes in v3: None Changes in v2: None include/dt-bindings/power-domain/rk3288.h | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 include/dt-bindings/power-domain/rk3288.h -- 1.9.1 diff --git a/include/dt-bindings/power-domain/rk3288.h b/include/dt-bindings/power-domain/rk3288.h new file mode 100644 index 0000000..db5e810 --- /dev/null +++ b/include/dt-bindings/power-domain/rk3288.h @@ -0,0 +1,31 @@ +#ifndef __DT_BINDINGS_POWER_DOMAIN_RK3288_H__ +#define __DT_BINDINGS_POWER_DOMAIN_RK3288_H__ + +/** + * RK3288 Power Domain and Voltage Domain Summary. + */ + +/* VD_CORE */ +#define RK3288_PD_A17_0 0 +#define RK3288_PD_A17_1 1 +#define RK3288_PD_A17_2 2 +#define RK3288_PD_A17_3 3 +#define RK3288_PD_SCU 4 +#define RK3288_PD_DEBUG 5 +#define RK3288_PD_MEM 6 + +/* VD_LOGIC */ +#define RK3288_PD_BUS 7 +#define RK3288_PD_PERI 8 +#define RK3288_PD_VIO 9 +#define RK3288_PD_ALIVE 10 +#define RK3288_PD_HEVC 11 +#define RK3288_PD_VIDEO 12 + +/* VD_GPU */ +#define RK3288_PD_GPU 13 + +/* VD_PMU */ +#define RK3288_PD_PMU 14 + +#endif