Received: by 2002:a05:6a10:17d3:0:0:0:0 with SMTP id hz19csp1027361pxb; Sat, 17 Apr 2021 04:32:45 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwtsNkCjhFXJJSe6EHabH6Bum48bozA5SO0l5fiGKj+FaoDxt5A/cE/pe8feMx77cofNiI2 X-Received: by 2002:a17:902:bc4a:b029:e9:8ae7:4091 with SMTP id t10-20020a170902bc4ab02900e98ae74091mr13821882plz.20.1618659165805; Sat, 17 Apr 2021 04:32:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1618659165; cv=none; d=google.com; s=arc-20160816; b=kJkJVhCwsnKgA5R6BNCH7s4yfG/GfyUzMAbVLcsWMqW3LT+UNIpwzze/s4HAAoNCH9 sFM+ANbvNISzoJeOwpt4LJPWIt+3OpNq8+3BLroeKRkvRHUV9qG0iKrrc0p2GU7inLNb aXEoyvj/rUJvjS31boK/cZ8oOjicu3AkunHLRRfo4cmK0uWzEtdJQsufT6tx47h80ItO et7Fq/AMa9i6HCwVzytZq0BTJO2poLgREKhPyZbXGB6Ljg3nqhcJqoJbot94u43vaW/E rZxWL6IfQhQ/Eb2ZCBeYJVcEbtB+UA1ZsXnwuEMTaBV7ismJALnnhKMazYH6ivJPA0fD K31w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:references:in-reply-to:message-id:date:subject :cc:to:from:dkim-signature; bh=TRa3Sz1jxpiHgGK3l0+BR6ViiX/+KtB8X1pc8tNr5BA=; b=Z9y/TD4fLk9+scnTHdRwNVCloZmmVoOGICckOaRF+J50/Iui+QXj3yXhQ87wAUFzO3 fBwi5RF/VrK31RpjCBU0cokEjkR5/5g6cGWhwgFd+BHSkafz7K+Rljq7k+Sp//q3ueum f42cs1ZIT4voBDgSJzE4SqLgwjZbmUu4ZbLO1/1JQlFH7Fvo2EBMBLUDtyvPvn+TleDa jrMb19RvbjYZYDQGAt91wB/zFvxsT26RL9rM0FVT94snIgA5XLeCjXkB7Y2wwXD13Ibw 7IeYyKdm78wnxDwFoFb0dEalfAnBJFZH3vylwlAzadqM/+gRRJ+hjeuc9ld+Vk3f3F61 /YIw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=UxWpkQZT; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id x17si10227430plm.273.2021.04.17.04.32.34; Sat, 17 Apr 2021 04:32:45 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=UxWpkQZT; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235901AbhDQLbO (ORCPT + 99 others); Sat, 17 Apr 2021 07:31:14 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36416 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236226AbhDQLam (ORCPT ); Sat, 17 Apr 2021 07:30:42 -0400 Received: from mail-ej1-x62a.google.com (mail-ej1-x62a.google.com [IPv6:2a00:1450:4864:20::62a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B5D0CC061761; Sat, 17 Apr 2021 04:30:15 -0700 (PDT) Received: by mail-ej1-x62a.google.com with SMTP id e14so45809514ejz.11; Sat, 17 Apr 2021 04:30:15 -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=TRa3Sz1jxpiHgGK3l0+BR6ViiX/+KtB8X1pc8tNr5BA=; b=UxWpkQZTVCLbvHFEZEnU0eLmU9PmJkiTiGud3ua3H5TUUuDboNjUZU1wvVA9Vauvmz q8H5nlYTFr61FSWWW+oMxCErulReHvStoHZXm4a9YimMQNaMFV2kHzEj0DTkyPXnkHAM aG8ST760j6b7rSWPCEW/NFjHWltTsW3LLfDVhXBU0pDyp5fdovYsvpe8uoOlkuOsKYDn 5VN4/KcYfAV8GAdB8nbSzQL30JFP4S3XPBZ7opVohHSabPWOGGy2gTETcOBQArrg5Mz4 HrJhLIF8Ap914URwfnlUwLrPKVbQCNh2ESV5lxZr+9uD7A4u075V+9QNAS281h4I3Zbt Qq4A== 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=TRa3Sz1jxpiHgGK3l0+BR6ViiX/+KtB8X1pc8tNr5BA=; b=swcb5NzPqFfMpSKoba9dzVVoEncey4PkMR/QQFocUfR0z+uwJMw1ALHPb8bdjgwoyv 4o3YOdm/y/ilYLMP3KtboG6eqgoLjLW/We0lMmf6bFa261dMSc6BW/+EUP/hAnAZFkMv b1T61icGrcFitGAjegMhbNGw6S8QaXTqDzJXfY9Bxjy5iWZ3DdrOf9QREYgtnMinEqji kGYcNeJsg4cKAnVUAFLtZjGYeqnuaTIHe6zTDtIG5bPnWY4cDO9IuqGCshPjaXbV5oFE 37XeP2TG/edwk8PoLEpv9DGUkVHDFjVGpA2/kfXLq/p2ykoDIDrtuOdEaws8JJzO2mGg bw0Q== X-Gm-Message-State: AOAM531qjKhDPZLvbGh4s13F8JBQUlWPnv9X5j0s0NlNDthsW4RgPaHi gO6WAOw4SVAeckC7z6Cfh9Q= X-Received: by 2002:a17:906:c419:: with SMTP id u25mr13021703ejz.332.1618659014468; Sat, 17 Apr 2021 04:30:14 -0700 (PDT) Received: from debian.home (81-204-249-205.fixed.kpn.net. [81.204.249.205]) by smtp.gmail.com with ESMTPSA id f20sm3022875ejw.36.2021.04.17.04.30.13 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Sat, 17 Apr 2021 04:30:14 -0700 (PDT) From: Johan Jonker To: heiko@sntech.de Cc: robh+dt@kernel.org, zhangqing@rock-chips.com, enric.balletbo@collabora.com, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH v9 10/15] dt-bindings: add power-domain header for RK3568 SoCs Date: Sat, 17 Apr 2021 13:29:47 +0200 Message-Id: <20210417112952.8516-11-jbx6244@gmail.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20210417112952.8516-1-jbx6244@gmail.com> References: <20210417112952.8516-1-jbx6244@gmail.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Elaine Zhang According to a description from TRM, add all the power domains Signed-off-by: Elaine Zhang Reviewed-by: Enric Balletbo i Serra Signed-off-by: Johan Jonker Acked-by: Rob Herring --- include/dt-bindings/power/rk3568-power.h | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 include/dt-bindings/power/rk3568-power.h diff --git a/include/dt-bindings/power/rk3568-power.h b/include/dt-bindings/power/rk3568-power.h new file mode 100644 index 000000000..6cc1af1a9 --- /dev/null +++ b/include/dt-bindings/power/rk3568-power.h @@ -0,0 +1,32 @@ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef __DT_BINDINGS_POWER_RK3568_POWER_H__ +#define __DT_BINDINGS_POWER_RK3568_POWER_H__ + +/* VD_CORE */ +#define RK3568_PD_CPU_0 0 +#define RK3568_PD_CPU_1 1 +#define RK3568_PD_CPU_2 2 +#define RK3568_PD_CPU_3 3 +#define RK3568_PD_CORE_ALIVE 4 + +/* VD_PMU */ +#define RK3568_PD_PMU 5 + +/* VD_NPU */ +#define RK3568_PD_NPU 6 + +/* VD_GPU */ +#define RK3568_PD_GPU 7 + +/* VD_LOGIC */ +#define RK3568_PD_VI 8 +#define RK3568_PD_VO 9 +#define RK3568_PD_RGA 10 +#define RK3568_PD_VPU 11 +#define RK3568_PD_CENTER 12 +#define RK3568_PD_RKVDEC 13 +#define RK3568_PD_RKVENC 14 +#define RK3568_PD_PIPE 15 +#define RK3568_PD_LOGIC_ALIVE 16 + +#endif -- 2.11.0