[v4,1/4] dt-bindings: power: Add power-domain header for JH7110

Message ID 20230519060202.15296-2-changhuang.liang@starfivetech.com
State New
Headers
Series Add JH7110 AON PMU support |

Commit Message

Changhuang Liang May 19, 2023, 6:01 a.m. UTC
  Add power-domain header for JH7110 SoC, it can use to operate dphy
power.

Signed-off-by: Changhuang Liang <changhuang.liang@starfivetech.com>
---
 include/dt-bindings/power/starfive,jh7110-pmu.h | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
  

Comments

Conor Dooley May 19, 2023, 6:42 p.m. UTC | #1
On Thu, May 18, 2023 at 11:01:59PM -0700, Changhuang Liang wrote:
> Add power-domain header for JH7110 SoC, it can use to operate dphy
> power.

That is not an accurate description of what you are doing here!
**IF** you resubmit for another reason, please change that wording
to match what you are doing here. Otherwise, I will fix it up on
application.

Thanks,
Conor
  
Changhuang Liang May 20, 2023, 11:10 a.m. UTC | #2
On 2023/5/20 2:42, Conor Dooley wrote:
> On Thu, May 18, 2023 at 11:01:59PM -0700, Changhuang Liang wrote:
>> Add power-domain header for JH7110 SoC, it can use to operate dphy
>> power.
> 
> That is not an accurate description of what you are doing here!
> **IF** you resubmit for another reason, please change that wording
> to match what you are doing here. Otherwise, I will fix it up on
> application.
> 

OK, thanks for your comment
  

Patch

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 <walker.chen@starfivetech.com>
  */
 #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