From patchwork Tue Jan 28 19:48:03 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michal Wilczynski X-Patchwork-Id: 13953118 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id DE501C0219C for ; Tue, 28 Jan 2025 19:48:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:References:MIME-Version:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=8I2h0OE52E3s4Icy7VWytZr2ZadiTdwb1SKp/FDC/bI=; b=LXSTdj+YiltixI MEi5vEx5hiE2/Ak77a9cDUDWq+YJeBuE9tOogsxIDRVzrzJ287RUniQEk4Cgxz9bIw3Z61r6VXTZs dRyL59jvQ9ogCbVKKxI6IKZeidByISPmk1II4U56vR49KsILHoaC4WQHCnkTU0OnM6Hjjeu46jQTd FtBYh1Sw5X0OCoG60BEG8Z08H8lxB8aTFSE332TT++OCegl151Av3bUjHP1menMc4ULEE2wxHFb69 gwQi5A2V5YLOw9hPCffQyVD0qED4pNJcaYm4WGLuhXK7HapOmK1CocV6Td9B8VLW7zDUinw5yQ30f leE2EPuTaPv8HYT/tyOw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1tcrZr-00000005jXy-21QW; Tue, 28 Jan 2025 19:48:51 +0000 Received: from mailout1.w1.samsung.com ([210.118.77.11]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1tcrZh-00000005jO7-34vj for linux-riscv@lists.infradead.org; Tue, 28 Jan 2025 19:48:45 +0000 Received: from eucas1p1.samsung.com (unknown [182.198.249.206]) by mailout1.w1.samsung.com (KnoxPortal) with ESMTP id 20250128194832euoutp01a1ef4befcd04834c589f6d2939f01767~e8wXXwDY31608516085euoutp01L for ; Tue, 28 Jan 2025 19:48:32 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout1.w1.samsung.com 20250128194832euoutp01a1ef4befcd04834c589f6d2939f01767~e8wXXwDY31608516085euoutp01L DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1738093712; bh=X0GeOqAcfKSNQETfogg6Y6n6vVY+VqvT5dghKGxN1vk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=UC7EwqUtR6GV1ISfGV4zCVq2D9gLFDW7mRzSPH3iUTZHG59aC8y47RLFT8D0DuHsj +6pXvIUgwn3C/dRlokU9qj2MOza4P/tjLbr5FvBskuMOto8c2kwR5Ug5QLg5VLGGSz rjBk14Re6xjsKrIu3wzYBrDCklydZh4OxB3xwsbw= Received: from eusmges3new.samsung.com (unknown [203.254.199.245]) by eucas1p1.samsung.com (KnoxPortal) with ESMTP id 20250128194832eucas1p11616f434ee4a8b3ed8ac7a54b0d2590b~e8wW67NUI1601016010eucas1p1s; Tue, 28 Jan 2025 19:48:32 +0000 (GMT) Received: from eucas1p2.samsung.com ( [182.198.249.207]) by eusmges3new.samsung.com (EUCPMTA) with SMTP id E7.A2.20397.F8439976; Tue, 28 Jan 2025 19:48:31 +0000 (GMT) Received: from eusmtrp2.samsung.com (unknown [182.198.249.139]) by eucas1p2.samsung.com (KnoxPortal) with ESMTPA id 20250128194831eucas1p258522118b2f21abd8f6d4cdde277fe07~e8wWegYAA2013920139eucas1p2-; Tue, 28 Jan 2025 19:48:31 +0000 (GMT) Received: from eusmgms1.samsung.com (unknown [182.198.249.179]) by eusmtrp2.samsung.com (KnoxPortal) with ESMTP id 20250128194831eusmtrp2e7cfa255e0d831c0badb4d95367df6b1~e8wWdBWKY3008430084eusmtrp2Y; Tue, 28 Jan 2025 19:48:31 +0000 (GMT) X-AuditID: cbfec7f5-e59c770000004fad-ce-6799348ff178 Received: from eusmtip1.samsung.com ( [203.254.199.221]) by eusmgms1.samsung.com (EUCPMTA) with SMTP id 44.E0.19920.F8439976; Tue, 28 Jan 2025 19:48:31 +0000 (GMT) Received: from AMDC4942.home (unknown [106.210.136.40]) by eusmtip1.samsung.com (KnoxPortal) with ESMTPA id 20250128194830eusmtip11e2dfb80d53bccb3e4f0336ee46abcac~e8wVMJkHL0819608196eusmtip1K; Tue, 28 Jan 2025 19:48:30 +0000 (GMT) From: Michal Wilczynski To: mturquette@baylibre.com, sboyd@kernel.org, robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, drew@pdp7.com, guoren@kernel.org, wefu@redhat.com, jassisinghbrar@gmail.com, paul.walmsley@sifive.com, palmer@dabbelt.com, aou@eecs.berkeley.edu, frank.binns@imgtec.com, matt.coster@imgtec.com, maarten.lankhorst@linux.intel.com, mripard@kernel.org, tzimmermann@suse.de, airlied@gmail.com, simona@ffwll.ch, ulf.hansson@linaro.org, jszhang@kernel.org, p.zabel@pengutronix.de, m.szyprowski@samsung.com Cc: linux-clk@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-riscv@lists.infradead.org, dri-devel@lists.freedesktop.org, linux-pm@vger.kernel.org, Michal Wilczynski Subject: [PATCH v4 05/18] dt-bindings: power: Add TH1520 SoC power domains Date: Tue, 28 Jan 2025 20:48:03 +0100 Message-Id: <20250128194816.2185326-6-m.wilczynski@samsung.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20250128194816.2185326-1-m.wilczynski@samsung.com> MIME-Version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RHe2HMz0oV4UxIrq1KL8uOLSnNSiw8x mgLdPZFZSjQ5H5jg8kriDc0MTA1NzCwNTC3NjJXEed0un08TEkhPLEnNTk0tSC2C6WPi4JRq YJLNq/kWw+XnYNho9nO+ZO6/LME10luu7nauOHNNwEzz6mll6zVv475NiIuVeVWR+Dy6ZOFr VYW3hTdeLA/c5nj4SWHNwVkfFxV2qAsyLtNMnGVXrev9qvChXOm856unc298++hmaFiheSxD CN/MhP+/O9mzYk3LOOa7VH8JnCvl/rppt9gNxyj3HYesbDIlJC4oKFxZlpzC670q8VKhverR OduutjAte7zBpEEoWe4mt1iscvZHl63n2ELNTBrkb7KaCn5PO16urResmsGX9fl/zq/qV/+u 7OVk89v4OL7+/EnJpWI/Au5werW1MKeaC7hc4zK2iuRumRSW6fey1su6orzz9PZTPMJu+5uU WIozEg21mIuKEwGyxImtuAMAAA== X-CMS-MailID: 20250128194831eucas1p258522118b2f21abd8f6d4cdde277fe07 X-Msg-Generator: CA X-RootMTR: 20250128194831eucas1p258522118b2f21abd8f6d4cdde277fe07 X-EPHeader: CA CMS-TYPE: 201P X-CMS-RootMailID: 20250128194831eucas1p258522118b2f21abd8f6d4cdde277fe07 References: <20250128194816.2185326-1-m.wilczynski@samsung.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20250128_114842_080523_D755B262 X-CRM114-Status: GOOD ( 14.04 ) X-BeenThere: linux-riscv@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-riscv" Errors-To: linux-riscv-bounces+linux-riscv=archiver.kernel.org@lists.infradead.org Add power domain ID's for the TH1520 SoC power domains. Signed-off-by: Michal Wilczynski Acked-by: Krzysztof Kozlowski --- MAINTAINERS | 1 + .../dt-bindings/power/thead,th1520-power.h | 19 +++++++++++++++++++ 2 files changed, 20 insertions(+) create mode 100644 include/dt-bindings/power/thead,th1520-power.h diff --git a/MAINTAINERS b/MAINTAINERS index 9a98b52fffdc..4106b0e26589 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -20351,6 +20351,7 @@ F: drivers/mailbox/mailbox-th1520.c F: drivers/net/ethernet/stmicro/stmmac/dwmac-thead.c F: drivers/pinctrl/pinctrl-th1520.c F: include/dt-bindings/clock/thead,th1520-clk-ap.h +F: include/dt-bindings/power/thead,th1520-power.h F: include/linux/firmware/thead/thead,th1520-aon.h RNBD BLOCK DRIVERS diff --git a/include/dt-bindings/power/thead,th1520-power.h b/include/dt-bindings/power/thead,th1520-power.h new file mode 100644 index 000000000000..8395bd1459f3 --- /dev/null +++ b/include/dt-bindings/power/thead,th1520-power.h @@ -0,0 +1,19 @@ +/* SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) */ +/* + * Copyright (C) 2022 Alibaba Group Holding Limited. + * Copyright (c) 2024 Samsung Electronics Co., Ltd. + * Author: Michal Wilczynski + */ + +#ifndef __DT_BINDINGS_POWER_TH1520_H +#define __DT_BINDINGS_POWER_TH1520_H + +#define TH1520_AUDIO_PD 0 +#define TH1520_VDEC_PD 1 +#define TH1520_NPU_PD 2 +#define TH1520_VENC_PD 3 +#define TH1520_GPU_PD 4 +#define TH1520_DSP0_PD 5 +#define TH1520_DSP1_PD 6 + +#endif