Received: by 2002:a05:6602:18e:0:0:0:0 with SMTP id m14csp4106555ioo; Mon, 30 May 2022 18:25:36 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzr3o8M9AVDxJZicIts49UMuF6hPI+CGUQRbDOlMsr8yxGRWBo6KuI7HJ/xdm5BvdsmInZm X-Received: by 2002:a17:907:86a6:b0:6ff:21f0:9e5a with SMTP id qa38-20020a17090786a600b006ff21f09e5amr20786275ejc.164.1653960336246; Mon, 30 May 2022 18:25:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1653960336; cv=none; d=google.com; s=arc-20160816; b=Atauix5UXZSHdoMWofOLnGyeqMPpokohcTOhAkVoOyHbgNwa5eDCv8bAJuAUQpgmyn q2TpMgqjhzosuSHzC+oEPO+zpbkGuuerz1nPq92PSTyowxNYjJwoqKKgg/6zKNyCJEJT +Sze/aEJ13AFZrsMWpJCHh38xxrfZvSIxW7HbrknFWK/O45Tk43HtEhIuXB3deMb9SjB JQRRoh4tlYHAPjEqqjxUzO+YX5qdBpD3Y922Oudpp535aIEHs5eqsL4okUs00yQHHJTN JA8IZtXo8Fh8P1DB8B8UHyL8M9yvUmLdrV5PoLHkTbXXMzW12BLA8rLDMYzSSjd7GxhG SzVg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=TBMGHe/9NOqZ3Kh+JOrF68tVZuQ1XNvw/gFRCoIpoLM=; b=XC/24JYyfeNOsaqCbSr0aP4JoLUw7+/GNy63pFgtOOtvD1uXMA5NZRTfYYMamBiPhr nMUntBJ4XgMYgXL2FvZ55YE+dzFiHORf0DHSCzCLs9QjokG23DnUHq6keqlQA/dWQ1f5 DEBRWXMGVg5NtpQMiYovHVNfq8yfSJaOxod9UBoNSaz3NpCql26OHbtgXL2JJkaUrQQG TihhDDQmeY8Rc864OtxXvrPcuhppbz9/kos4YEzLE0O8gPr1ObbFTVd0H/nZ7VuCrSQq 8WQzfyGipwZNxbk2bMLSk45XiZbHYU2BRgNnS2tAexj9LjAAqYHErkToZbA9N6n0eN/I k8Rw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20210112.gappssmtp.com header.s=20210112 header.b=P6EJUlIk; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id s11-20020a50d48b000000b00427ce39b5dcsi1139553edi.513.2022.05.30.18.25.11; Mon, 30 May 2022 18:25:36 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@baylibre-com.20210112.gappssmtp.com header.s=20210112 header.b=P6EJUlIk; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238708AbiE3Umd (ORCPT + 99 others); Mon, 30 May 2022 16:42:33 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49540 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239933AbiE3Uma (ORCPT ); Mon, 30 May 2022 16:42:30 -0400 Received: from mail-wr1-x431.google.com (mail-wr1-x431.google.com [IPv6:2a00:1450:4864:20::431]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F090325291 for ; Mon, 30 May 2022 13:42:28 -0700 (PDT) Received: by mail-wr1-x431.google.com with SMTP id h5so7995385wrb.0 for ; Mon, 30 May 2022 13:42:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20210112.gappssmtp.com; s=20210112; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=TBMGHe/9NOqZ3Kh+JOrF68tVZuQ1XNvw/gFRCoIpoLM=; b=P6EJUlIkaQX/GAxBBZworgItiQjIuaWiqEBkZRvFN4ucg3iAj0Ml0k3grIAjx3OFjp w0lfN8SApSeQqK7P5hjZgGNmUbXDq7blnl9L2Y0Sb0qiEwoZ34cWoMTKgdHLmyb+40lS 2MCr9PjlXd4z3eJjh42Qqawvch3nzt0TNlSwjOngUQ5aQUSvkjtF6JedOdKxn1kRaznk 4ulkTbMtYqwZ99h0SkMY+94ea0xdzNyMWgq66vKOsoeYlgy0o8MRoGClQJ9cBUDzOoQj GEDrc2psEt7zDqLpKLZ0iMkR55oAFlF4CJd0ZDcGDPNaiYRzjjyqXNQZ4K3HoWxIOyaz nF/A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=TBMGHe/9NOqZ3Kh+JOrF68tVZuQ1XNvw/gFRCoIpoLM=; b=Xwb4UyEc5hwFmRl/z/iDTG2zZQt3uYtE9vs0mWCZKP4bJhi/eEO0W2AimfMq2QQ1Kq Vi0Z4q7+l3sJinCJm1X6xi5ixolZtf7d/ORwKM97J9zV45ZHR+rouzBzZE/aBGhTLx9l Wd9gudRhv+JGabw/Iu46LGVf0l36XeJh1KGpgmHtdovVjJjBINWDqA4uKciEM4YYW014 gdu2TnpFue/2/3cnYxTs0diTdMFivpAXgHLQoozVM7uc9EwsBa0ksnmaYx1u416S6Omy XX9kZjQGdxbm4aMzHe2BhR7xFD7f8RUGq0xUZ9BaQyoX7nd3zcdiyTLyW9A9MqZrQ2Fy nCVQ== X-Gm-Message-State: AOAM531BkKGfavZMnzHeVAWXdycEYySzhabSypoHGrhl9otYz1m4H0g6 PgQLL4Q2iYJDZ96yYXUT37Q6yg== X-Received: by 2002:a5d:59af:0:b0:20f:d3fc:c5ba with SMTP id p15-20020a5d59af000000b0020fd3fcc5bamr34780364wrr.436.1653943347514; Mon, 30 May 2022 13:42:27 -0700 (PDT) Received: from localhost.localdomain ([88.160.162.107]) by smtp.gmail.com with ESMTPSA id w13-20020a7bc74d000000b0039b17714eb2sm262253wmk.34.2022.05.30.13.42.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 30 May 2022 13:42:26 -0700 (PDT) From: Fabien Parent To: Rob Herring , Krzysztof Kozlowski , Matthias Brugger , Weiyi Lu Cc: Fabien Parent , Matthias Brugger , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org Subject: [PATCH 1/4] dt-bindings: power: Add MT8365 power domains Date: Mon, 30 May 2022 22:42:11 +0200 Message-Id: <20220530204214.913251-1-fparent@baylibre.com> X-Mailer: git-send-email 2.36.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add power domains dt-bindings for MT8365. Signed-off-by: Fabien Parent --- .../power/mediatek,power-controller.yaml | 2 ++ include/dt-bindings/power/mt8365-power.h | 19 +++++++++++++++++++ 2 files changed, 21 insertions(+) create mode 100644 include/dt-bindings/power/mt8365-power.h diff --git a/Documentation/devicetree/bindings/power/mediatek,power-controller.yaml b/Documentation/devicetree/bindings/power/mediatek,power-controller.yaml index 135c6f722091..2c6d3e4246b2 100644 --- a/Documentation/devicetree/bindings/power/mediatek,power-controller.yaml +++ b/Documentation/devicetree/bindings/power/mediatek,power-controller.yaml @@ -29,6 +29,7 @@ properties: - mediatek,mt8186-power-controller - mediatek,mt8192-power-controller - mediatek,mt8195-power-controller + - mediatek,mt8365-power-controller '#power-domain-cells': const: 1 @@ -67,6 +68,7 @@ patternProperties: "include/dt-bindings/power/mt8183-power.h" - for MT8183 type power domain. "include/dt-bindings/power/mt8192-power.h" - for MT8192 type power domain. "include/dt-bindings/power/mt8195-power.h" - for MT8195 type power domain. + "include/dt-bindings/power/mt8365-power.h" - for MT8365 type power domain. maxItems: 1 clocks: diff --git a/include/dt-bindings/power/mt8365-power.h b/include/dt-bindings/power/mt8365-power.h new file mode 100644 index 000000000000..4f50997a13b4 --- /dev/null +++ b/include/dt-bindings/power/mt8365-power.h @@ -0,0 +1,19 @@ +/* SPDX-License-Identifier: GPL-2.0 */ +/* + * Copyright (c) 2022 MediaTek Inc. + */ + +#ifndef _DT_BINDINGS_POWER_MT8365_POWER_H +#define _DT_BINDINGS_POWER_MT8365_POWER_H + +#define MT8365_POWER_DOMAIN_MM 0 +#define MT8365_POWER_DOMAIN_CONN 1 +#define MT8365_POWER_DOMAIN_MFG 2 +#define MT8365_POWER_DOMAIN_AUDIO 3 +#define MT8365_POWER_DOMAIN_CAM 4 +#define MT8365_POWER_DOMAIN_DSP 5 +#define MT8365_POWER_DOMAIN_VDEC 6 +#define MT8365_POWER_DOMAIN_VENC 7 +#define MT8365_POWER_DOMAIN_APU 8 + +#endif /* _DT_BINDINGS_POWER_MT8365_POWER_H */ -- 2.36.1