Re: [RESEND PATCH v5 4/4] dt-bindings: devfreq: rk3399_dmc: Remove references of unexistant defines

2021-03-09 Thread Chanwoo Choi
On 3/9/21 8:38 AM, Daniel Lezcano wrote:
> From: Gaël PORTAY 
> 
> Those DDR related defines do not exist. Replace their references with
> their numerical constant.
> 
> Signed-off-by: Gaël PORTAY 
> Reviewed-by: Rob Herring 
> Signed-off-by: Daniel Lezcano 
> ---
>  .../bindings/devfreq/rk3399_dmc.txt   | 73 +--
>  1 file changed, 34 insertions(+), 39 deletions(-)
> 
> diff --git a/Documentation/devicetree/bindings/devfreq/rk3399_dmc.txt 
> b/Documentation/devicetree/bindings/devfreq/rk3399_dmc.txt
> index a41bcfef95c8..ddde2c4f97df 100644
> --- a/Documentation/devicetree/bindings/devfreq/rk3399_dmc.txt
> +++ b/Documentation/devicetree/bindings/devfreq/rk3399_dmc.txt
> @@ -79,24 +79,23 @@ Following properties relate to DDR timing:
>  
>  - rockchip,ddr3_drv :  When the DRAM type is DDR3, this 
> parameter defines
> the DRAM side driver strength in ohms. Default
> -   value is DDR3_DS_40ohm.
> +   value is 40.
>  
>  - rockchip,ddr3_odt :  When the DRAM type is DDR3, this 
> parameter defines
> the DRAM side ODT strength in ohms. Default 
> value
> -   is DDR3_ODT_120ohm.
> +   is 120.
>  
>  - rockchip,phy_ddr3_ca_drv :   When the DRAM type is DDR3, this parameter 
> defines
> the phy side CA line (incluing command line,
> address line and clock line) driver strength.
> -   Default value is PHY_DRV_ODT_40.
> +   Default value is 40.
>  
>  - rockchip,phy_ddr3_dq_drv :   When the DRAM type is DDR3, this parameter 
> defines
> the PHY side DQ line (including DQS/DQ/DM 
> line)
> -   driver strength. Default value is 
> PHY_DRV_ODT_40.
> +   driver strength. Default value is 40.
>  
>  - rockchip,phy_ddr3_odt :  When the DRAM type is DDR3, this parameter 
> defines
> -   the PHY side ODT strength. Default value is
> -   PHY_DRV_ODT_240.
> +   the PHY side ODT strength. Default value is 
> 240.
>  
>  - rockchip,lpddr3_odt_dis_freq : When the DRAM type is LPDDR3, this 
> parameter defines
> then ODT disable frequency in MHz (Mega Hz).
> @@ -106,25 +105,23 @@ Following properties relate to DDR timing:
>  
>  - rockchip,lpddr3_drv :When the DRAM type is LPDDR3, this 
> parameter defines
> the DRAM side driver strength in ohms. Default
> -   value is LP3_DS_34ohm.
> +   value is 34.
>  
>  - rockchip,lpddr3_odt :When the DRAM type is LPDDR3, this 
> parameter defines
> the DRAM side ODT strength in ohms. Default 
> value
> -   is LP3_ODT_240ohm.
> +   is 240.
>  
>  - rockchip,phy_lpddr3_ca_drv : When the DRAM type is LPDDR3, this 
> parameter defines
> the PHY side CA line (including command line,
> address line and clock line) driver strength.
> -   Default value is PHY_DRV_ODT_40.
> +   Default value is 40.
>  
>  - rockchip,phy_lpddr3_dq_drv : When the DRAM type is LPDDR3, this 
> parameter defines
> the PHY side DQ line (including DQS/DQ/DM 
> line)
> -   driver strength. Default value is
> -   PHY_DRV_ODT_40.
> +   driver strength. Default value is 40.
>  
>  - rockchip,phy_lpddr3_odt :When dram type is LPDDR3, this parameter 
> define
> -   the phy side odt strength, default value is
> -   PHY_DRV_ODT_240.
> +   the phy side odt strength, default value is 
> 240.
>  
>  - rockchip,lpddr4_odt_dis_freq : When the DRAM type is LPDDR4, this parameter
> defines the ODT disable frequency in
> @@ -134,32 +131,30 @@ Following properties relate to DDR timing:
>  
>  - rockchip,lpddr4_drv :When the DRAM type is LPDDR4, this 
> parameter defines
> the DRAM side driver strength in ohms. Default
> -   value is LP4_PDDS_60ohm.
> +   value is 60.
>  
>  - rockchip,lpddr4_dq_odt : When the DRAM type is LPDDR4, this parameter 
> defines
> the DRAM side ODT on DQS/DQ line strength in 
> ohms.
> -   Default value is LP4_DQ_ODT_40ohm.
> +

[RESEND PATCH v5 4/4] dt-bindings: devfreq: rk3399_dmc: Remove references of unexistant defines

2021-03-08 Thread Daniel Lezcano
From: Gaël PORTAY 

Those DDR related defines do not exist. Replace their references with
their numerical constant.

Signed-off-by: Gaël PORTAY 
Reviewed-by: Rob Herring 
Signed-off-by: Daniel Lezcano 
---
 .../bindings/devfreq/rk3399_dmc.txt   | 73 +--
 1 file changed, 34 insertions(+), 39 deletions(-)

diff --git a/Documentation/devicetree/bindings/devfreq/rk3399_dmc.txt 
b/Documentation/devicetree/bindings/devfreq/rk3399_dmc.txt
index a41bcfef95c8..ddde2c4f97df 100644
--- a/Documentation/devicetree/bindings/devfreq/rk3399_dmc.txt
+++ b/Documentation/devicetree/bindings/devfreq/rk3399_dmc.txt
@@ -79,24 +79,23 @@ Following properties relate to DDR timing:
 
 - rockchip,ddr3_drv :When the DRAM type is DDR3, this parameter 
defines
  the DRAM side driver strength in ohms. Default
- value is DDR3_DS_40ohm.
+ value is 40.
 
 - rockchip,ddr3_odt :When the DRAM type is DDR3, this parameter 
defines
  the DRAM side ODT strength in ohms. Default 
value
- is DDR3_ODT_120ohm.
+ is 120.
 
 - rockchip,phy_ddr3_ca_drv : When the DRAM type is DDR3, this parameter 
defines
  the phy side CA line (incluing command line,
  address line and clock line) driver strength.
- Default value is PHY_DRV_ODT_40.
+ Default value is 40.
 
 - rockchip,phy_ddr3_dq_drv : When the DRAM type is DDR3, this parameter 
defines
  the PHY side DQ line (including DQS/DQ/DM 
line)
- driver strength. Default value is 
PHY_DRV_ODT_40.
+ driver strength. Default value is 40.
 
 - rockchip,phy_ddr3_odt :When the DRAM type is DDR3, this parameter 
defines
- the PHY side ODT strength. Default value is
- PHY_DRV_ODT_240.
+ the PHY side ODT strength. Default value is 
240.
 
 - rockchip,lpddr3_odt_dis_freq : When the DRAM type is LPDDR3, this parameter 
defines
  then ODT disable frequency in MHz (Mega Hz).
@@ -106,25 +105,23 @@ Following properties relate to DDR timing:
 
 - rockchip,lpddr3_drv :  When the DRAM type is LPDDR3, this 
parameter defines
  the DRAM side driver strength in ohms. Default
- value is LP3_DS_34ohm.
+ value is 34.
 
 - rockchip,lpddr3_odt :  When the DRAM type is LPDDR3, this 
parameter defines
  the DRAM side ODT strength in ohms. Default 
value
- is LP3_ODT_240ohm.
+ is 240.
 
 - rockchip,phy_lpddr3_ca_drv :   When the DRAM type is LPDDR3, this parameter 
defines
  the PHY side CA line (including command line,
  address line and clock line) driver strength.
- Default value is PHY_DRV_ODT_40.
+ Default value is 40.
 
 - rockchip,phy_lpddr3_dq_drv :   When the DRAM type is LPDDR3, this parameter 
defines
  the PHY side DQ line (including DQS/DQ/DM 
line)
- driver strength. Default value is
- PHY_DRV_ODT_40.
+ driver strength. Default value is 40.
 
 - rockchip,phy_lpddr3_odt :  When dram type is LPDDR3, this parameter 
define
- the phy side odt strength, default value is
- PHY_DRV_ODT_240.
+ the phy side odt strength, default value is 
240.
 
 - rockchip,lpddr4_odt_dis_freq : When the DRAM type is LPDDR4, this parameter
  defines the ODT disable frequency in
@@ -134,32 +131,30 @@ Following properties relate to DDR timing:
 
 - rockchip,lpddr4_drv :  When the DRAM type is LPDDR4, this 
parameter defines
  the DRAM side driver strength in ohms. Default
- value is LP4_PDDS_60ohm.
+ value is 60.
 
 - rockchip,lpddr4_dq_odt :   When the DRAM type is LPDDR4, this parameter 
defines
  the DRAM side ODT on DQS/DQ line strength in 
ohms.
- Default value is LP4_DQ_ODT_40ohm.
+ Default value is 40.
 
 - rockchip,lpddr4_ca_odt :   When the DRAM type is LPDDR4, this parameter 
defines
  the DRAM side