From patchwork Fri Nov 18 13:32:13 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Walker Chen X-Patchwork-Id: 22339 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp208488wrr; Fri, 18 Nov 2022 06:00:27 -0800 (PST) X-Google-Smtp-Source: AA0mqf4KIL1ASi8tq3TUs23T/PCzbdBFpz/jQH4P7WyZPCff4OIevZVpqZA9e1w51ueOanB9IGXz X-Received: by 2002:a17:907:918d:b0:78d:2eea:28c7 with SMTP id bp13-20020a170907918d00b0078d2eea28c7mr6115825ejb.266.1668780026951; Fri, 18 Nov 2022 06:00:26 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668780026; cv=none; d=google.com; s=arc-20160816; b=szB4KaGv+k9ZPsbqQgpDWQOVyvFmgTs4BKTUDCswNUn/Cun6v3HQlGCgKCx/pGfVB+ pDRmOXUDMen3JU89N5Q68MHja6urLkS/C5gJzqctamsCVQu4UQYReYzNQOyqpmComWXP 7wNnRwevIP9x8pNAhyzsBmxwPlOl8v18Ya0zXlvy+5rYTnFdYn8vyyb8EUW9o/SdhvaD TWmlbdYWVaxx+YiA5MI3Z6RJMQIl3tfVNUX5hS+2X6TBN9VxouU+DxnuHUglA7onLDit jFPMkx8+sIGKYksERXZzH88+UzdzvA2cqWj0c3OKChNGvRuc6kzBNV2kX3wMvPsqME4k Fevg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from; bh=UK3h/4E5vXBNqY/13Fttvb8p9v9Cj+sX6uMrYNAkG0A=; b=JrwtGlFaUW7OOZO8VOoDpXne904rW+ceds8aBHRNfYVu98/p2AcrwiUpkJZvpvpHMv SbDpLoXib8I2fMq2pDUeayM1CTNJIAgFa1+5d0CxTMq8t4cnL9EBw3mtmkaaZxzk/3Bc CYmJlUxvMfPYO1P99h0Lq2+98uBMxwf4iAnpAjAyx2ENIbM6MMXfAHNmUuOiMvhl8zVF 4IR2kgYUNBxz8tEoyVJMa9XGbbdrQuDGOsW4jcIPVu1ZZp//nJ5HMdRN6GFFq0iwhs9k p1Y6nZmIw6o8nozKyaDkL9fEjcukphCdpFURhu2h8WroiLLxxPklojqDrv1wjTrLN5QS vxYw== ARC-Authentication-Results: i=1; mx.google.com; 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: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id dr9-20020a170907720900b007877eb5687csi3022380ejc.249.2022.11.18.06.00.01; Fri, 18 Nov 2022 06:00:26 -0800 (PST) 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; 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 S241950AbiKRNne (ORCPT + 99 others); Fri, 18 Nov 2022 08:43:34 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35460 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241574AbiKRNnc (ORCPT ); Fri, 18 Nov 2022 08:43:32 -0500 Received: from ex01.ufhost.com (ex01.ufhost.com [61.152.239.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 83972CD5; Fri, 18 Nov 2022 05:43:29 -0800 (PST) Received: from EXMBX166.cuchost.com (unknown [175.102.18.54]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "EXMBX166", Issuer "EXMBX166" (not verified)) by ex01.ufhost.com (Postfix) with ESMTP id 421B724DBC2; Fri, 18 Nov 2022 21:32:28 +0800 (CST) Received: from EXMBX068.cuchost.com (172.16.6.68) by EXMBX166.cuchost.com (172.16.6.76) with Microsoft SMTP Server (TLS) id 15.0.1497.42; Fri, 18 Nov 2022 21:32:28 +0800 Received: from localhost.localdomain (183.27.96.116) by EXMBX068.cuchost.com (172.16.6.68) with Microsoft SMTP Server (TLS) id 15.0.1497.42; Fri, 18 Nov 2022 21:32:27 +0800 From: Walker Chen To: , , CC: Rob Herring , Krzysztof Kozlowski , Conor Dooley , "Rafael J . Wysocki" , Walker Chen , Subject: [PATCH v1 1/4] dt-bindings: power: Add StarFive JH7110 power domain definitions Date: Fri, 18 Nov 2022 21:32:13 +0800 Message-ID: <20221118133216.17037-2-walker.chen@starfivetech.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20221118133216.17037-1-walker.chen@starfivetech.com> References: <20221118133216.17037-1-walker.chen@starfivetech.com> MIME-Version: 1.0 X-Originating-IP: [183.27.96.116] X-ClientProxiedBy: EXCAS066.cuchost.com (172.16.6.26) To EXMBX068.cuchost.com (172.16.6.68) X-YovoleRuleAgent: yovoleflag X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_NONE, SPF_PASS 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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1749842685870084495?= X-GMAIL-MSGID: =?utf-8?q?1749842685870084495?= Add power domain definitions for the StarFive JH7110 SoC. Signed-off-by: Walker Chen --- include/dt-bindings/power/jh7110-power.h | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 include/dt-bindings/power/jh7110-power.h diff --git a/include/dt-bindings/power/jh7110-power.h b/include/dt-bindings/power/jh7110-power.h new file mode 100644 index 000000000000..24160c46fbaf --- /dev/null +++ b/include/dt-bindings/power/jh7110-power.h @@ -0,0 +1,18 @@ +/* SPDX-License-Identifier: (GPL-2.0) */ +/* + * Copyright (C) 2022 StarFive Technology Co., Ltd. + * Author: Walker Chen + */ +#ifndef __DT_BINDINGS_POWER_JH7110_POWER_H__ +#define __DT_BINDINGS_POWER_JH7110_POWER_H__ + +#define JH7110_PD_SYSTOP 0 +#define JH7110_PD_CPU 1 +#define JH7110_PD_GPUA 2 +#define JH7110_PD_VDEC 3 +#define JH7110_PD_VOUT 4 +#define JH7110_PD_ISP 5 +#define JH7110_PD_VENC 6 +#define JH7110_PD_GPUB 7 + +#endif