From patchwork Fri May 19 06:01:59 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Changhuang Liang X-Patchwork-Id: 96201 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp1015646vqo; Thu, 18 May 2023 23:09:19 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4J8t6YdUbhuksTGYXeTpELtl7vCGefm2guQPQLHNRANi4+bBTEpJ0frl90J+MwTDY5YV9M X-Received: by 2002:a05:6a21:3802:b0:101:1951:d4ae with SMTP id yi2-20020a056a21380200b001011951d4aemr858105pzb.14.1684476559661; Thu, 18 May 2023 23:09:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684476559; cv=none; d=google.com; s=arc-20160816; b=fBI+Vj+BTjDDv0mberlySGKz4Wm+Y+oK5tAzuBYa2iHas45iQlsWUbM/edZtlLSSHH zwIXF9NfbN79kKs/5Lzpxt3XCbgfnemB+eMoGKvg6QAOKDRyizcww8P/tdP+bZ50c6/i 9zqqIvh5Ev3Q/1SmuS3JC+Ean0yEIlw75MX0ekqTBCJbL5yXjGdPE7ePXLmvbY8l9xvC 4Au9sjqtM7Nqbkh8bl9hV1iTIv+mmCkwuOK4bx6zf4hK3YTPOhb0GxL8tiG8HBtgOo3/ XfqoEg+Ame7Ia04jaZWfLIpjpYOvY8DKBPgB+lDpyACYH6H4E2NgaYTSfYG/K9Oh/M9J cI2g== 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 :references:in-reply-to:message-id:date:subject:cc:to:from; bh=GJz7BxsiyjlGuyXXLiUsAYPs6h3ES9wiLmmiFjF87Bw=; b=AS6oI4qbIfueSfWPT6dR3GB9WqCSimw0LKvZe3kzOB0Mi31tYZtIgxmncqjmga2Dz6 VpltQckAbZ6Huh6syBWUPREHgooGx4A4bQvTaNc1VPLxKFF1GU+J9PgoyTEjshwvAMT8 0LV8zuGIObzlIR3HVYfhVUVz5ksOt4sDV5mgLdsYC8GgJRXtO1+fxdf2xeaUHibdA/fb GBOFgygmdV8NfxUuWqKqJbccQydqURiAr89DBWfoQ+o8JAbxpsnAkAAq6LqSW4AXK7qR 6xlCO6Dbgifiz5ECOSjr0wIHELsQSBYvHkmjNNNtRKv27gANSIfPvC91qdao0z2ZaNlt GQtQ== 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 n22-20020a637216000000b005309f24f93esi3113467pgc.587.2023.05.18.23.09.07; Thu, 18 May 2023 23:09:19 -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; 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 S229850AbjESGCN convert rfc822-to-8bit (ORCPT + 99 others); Fri, 19 May 2023 02:02:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38098 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229452AbjESGCL (ORCPT ); Fri, 19 May 2023 02:02:11 -0400 Received: from fd01.gateway.ufhost.com (fd01.gateway.ufhost.com [61.152.239.71]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F083310DF; Thu, 18 May 2023 23:02:07 -0700 (PDT) Received: from EXMBX165.cuchost.com (unknown [175.102.18.54]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "EXMBX165", Issuer "EXMBX165" (not verified)) by fd01.gateway.ufhost.com (Postfix) with ESMTP id 2B5F380A4; Fri, 19 May 2023 14:02:05 +0800 (CST) Received: from EXMBX062.cuchost.com (172.16.6.62) by EXMBX165.cuchost.com (172.16.6.75) with Microsoft SMTP Server (TLS) id 15.0.1497.42; Fri, 19 May 2023 14:02:05 +0800 Received: from ubuntu.localdomain (113.72.146.100) by EXMBX062.cuchost.com (172.16.6.62) with Microsoft SMTP Server (TLS) id 15.0.1497.42; Fri, 19 May 2023 14:02:04 +0800 From: Changhuang Liang To: Rob Herring , Krzysztof Kozlowski , Conor Dooley CC: Walker Chen , Changhuang Liang , Hal Feng , , Subject: [PATCH v4 1/4] dt-bindings: power: Add power-domain header for JH7110 Date: Thu, 18 May 2023 23:01:59 -0700 Message-ID: <20230519060202.15296-2-changhuang.liang@starfivetech.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230519060202.15296-1-changhuang.liang@starfivetech.com> References: <20230519060202.15296-1-changhuang.liang@starfivetech.com> MIME-Version: 1.0 X-Originating-IP: [113.72.146.100] X-ClientProxiedBy: EXCAS062.cuchost.com (172.16.6.22) To EXMBX062.cuchost.com (172.16.6.62) X-YovoleRuleAgent: yovoleflag X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_PASS, 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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1766301693218477578?= X-GMAIL-MSGID: =?utf-8?q?1766301693218477578?= Add power-domain header for JH7110 SoC, it can use to operate dphy power. Signed-off-by: Changhuang Liang --- include/dt-bindings/power/starfive,jh7110-pmu.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/include/dt-bindings/power/starfive,jh7110-pmu.h b/include/dt-bindings/power/starfive,jh7110-pmu.h index 132bfe401fc8..341e2a0676ba 100644 --- a/include/dt-bindings/power/starfive,jh7110-pmu.h +++ b/include/dt-bindings/power/starfive,jh7110-pmu.h @@ -1,6 +1,6 @@ /* SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) */ /* - * Copyright (C) 2022 StarFive Technology Co., Ltd. + * Copyright (C) 2022-2023 StarFive Technology Co., Ltd. * Author: Walker Chen */ #ifndef __DT_BINDINGS_POWER_JH7110_POWER_H__ @@ -14,4 +14,7 @@ #define JH7110_PD_ISP 5 #define JH7110_PD_VENC 6 +#define JH7110_PD_DPHY_TX 0 +#define JH7110_PD_DPHY_RX 1 + #endif