From patchwork Sun Jun 14 05:13:37 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Caesar Wang X-Patchwork-Id: 6603671 Return-Path: X-Original-To: patchwork-linux-rockchip@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id D0393C0020 for ; Sun, 14 Jun 2015 05:15:05 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 18A17206E1 for ; Sun, 14 Jun 2015 05:15:05 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 34A7B206DB for ; Sun, 14 Jun 2015 05:15:04 +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 1Z40G7-00064w-JQ; Sun, 14 Jun 2015 05:15:03 +0000 Received: from mail-pa0-f50.google.com ([209.85.220.50]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1Z40Fy-0005nw-Te for linux-rockchip@lists.infradead.org; Sun, 14 Jun 2015 05:14:55 +0000 Received: by pacgb13 with SMTP id gb13so14930693pac.1 for ; Sat, 13 Jun 2015 22:14:33 -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=pHT7qCKMf/CB6jO5eLRi26k63HODZKOjlgaKJk8FL1Q=; b=Z6YwYP7+11QZnHFdMTxeJfF8QBeScI98YGoiaSrbN8QbJC+fnOyuOIV5YUs1iW+7wQ 4xVgAGHehalYNDTuOr9p2LvaXcmO8s+rr6hmVmxBB9xcy3jZ6mydIoWLbDB7eu8LaVLI EEYNYquhUSYaSciqdufX8/JDK9djFakguUlRAUu4gDb4th2NksTcoLsNBC2mrSwsyb0j i5fbTzl2NDk2q5JEFXyjcrch1LUhgCqRu9DMszULs3i82ZAqXxnBR0nmONqbwLU7WbPS uKChVakXrzu7QyTJJzVTn4BthlEbT8IEhMWy8Mcqo/38X1etjPe58EFF9l7rcOeBo8KM p1mg== X-Received: by 10.66.217.161 with SMTP id oz1mr36541093pac.56.1434258873264; Sat, 13 Jun 2015 22:14:33 -0700 (PDT) Received: from localhost.localdomain ([103.47.144.47]) by mx.google.com with ESMTPSA id pe3sm8184849pdb.55.2015.06.13.22.14.24 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sat, 13 Jun 2015 22:14:32 -0700 (PDT) From: Caesar Wang To: heiko@sntech.de, khilman@linaro.org Subject: [PATCH v15 2/4] ARM: power-domain: rockchip: add the support type on RK3288 Date: Sun, 14 Jun 2015 13:13:37 +0800 Message-Id: <1434258820-26779-3-git-send-email-wxt@rock-chips.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1434258820-26779-1-git-send-email-wxt@rock-chips.com> References: <1434258820-26779-1-git-send-email-wxt@rock-chips.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20150613_221454_998223_AD76AAC3 X-CRM114-Status: UNSURE ( 8.33 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -0.7 (/) Cc: Mark Rutland , devicetree@vger.kernel.org, ulf.hansson@linaro.org, Pawel Moll , Ian Campbell , linux-kernel@vger.kernel.org, dmitry.torokhov@gmail.com, tomasz.figa@gmail.com, dianders@chromium.org, linux-rockchip@lists.infradead.org, Rob Herring , Kumar Gala , Caesar Wang X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , 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.6 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, 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 At the moment, we can support these power-domain type on RK3288. We can add more types on RK3288 in the future, that's need to do. Signed-off-by: Caesar Wang --- Changes in v15: - change the comment. Changes in v9: None include/dt-bindings/power-domain/rk3288.h | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 include/dt-bindings/power-domain/rk3288.h diff --git a/include/dt-bindings/power-domain/rk3288.h b/include/dt-bindings/power-domain/rk3288.h new file mode 100644 index 0000000..ca68c11 --- /dev/null +++ b/include/dt-bindings/power-domain/rk3288.h @@ -0,0 +1,11 @@ +#ifndef __DT_BINDINGS_POWER_DOMAIN_RK3288_H__ +#define __DT_BINDINGS_POWER_DOMAIN_RK3288_H__ + +/* RK3288 power domain index */ +#define RK3288_PD_GPU 0 +#define RK3288_PD_VIO 1 +#define RK3288_PD_VIDEO 2 +#define RK3288_PD_HEVC 3 +#define RK3288_PD_PERI 4 + +#endif