Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp603132rwb; Fri, 18 Nov 2022 06:02:00 -0800 (PST) X-Google-Smtp-Source: AA0mqf79Aos29keuTdJ7iz9OLiMO0o0jn8STHmcv9mGhWWx6FeUM0t7GFeCNKWZnMjUZfOssVwGb X-Received: by 2002:a17:906:dfef:b0:7ae:db2:f10a with SMTP id lc15-20020a170906dfef00b007ae0db2f10amr6157216ejc.709.1668780120696; Fri, 18 Nov 2022 06:02:00 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668780120; cv=none; d=google.com; s=arc-20160816; b=PWakttGNQhBldgCs3RjcNxEpnA/kHvFbjN45rJV1F+pSF5cjoJE1EmCtW+6oflNwT+ fGhXqaqTSlxwkTPfPrtVhsTyuV2AxzTCv+KbVuuG19848DqZSBrToBvME+YG8CnbD51x ZGS6fT1729AJHmrsEd25gQK3zYGDkHRAXnB75u5AtN+dKVHW+gmjvXv0yiT9D2+v32cl zSYDZusSX/NBAKbKV59lxSWIW7FkBKnpncFutc8rIAQtnuIAbXXKJbaSCGPtgHgMuO9J /ucOHGAKrNXlwpsLD6EnumXwSTcDtpZ6HRWUPWqhvbgGdXXMX9iPxHyLwRTwRhr5MoOW X4XQ== 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 Return-Path: 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.01.35; Fri, 18 Nov 2022 06:02:00 -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 + 91 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 Content-Type: text/plain 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 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 -- 2.17.1