[PATCH v2 1/3] dt-bindings: mmc: Add support for rk3576 dw-mshc

Detlev Casanova posted 3 patches 1 year, 6 months ago
There is a newer version of this series
[PATCH v2 1/3] dt-bindings: mmc: Add support for rk3576 dw-mshc
Posted by Detlev Casanova 1 year, 6 months ago
Add the compatible string for rockchip,rk3576-dw-mshc and add support
for the rockchip,v2-tuning flag, a new feature of this core.

Signed-off-by: Detlev Casanova <detlev.casanova@collabora.com>
---
 .../devicetree/bindings/mmc/rockchip-dw-mshc.yaml          | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/Documentation/devicetree/bindings/mmc/rockchip-dw-mshc.yaml b/Documentation/devicetree/bindings/mmc/rockchip-dw-mshc.yaml
index 211cd0b0bc5f3..86c986a7adb23 100644
--- a/Documentation/devicetree/bindings/mmc/rockchip-dw-mshc.yaml
+++ b/Documentation/devicetree/bindings/mmc/rockchip-dw-mshc.yaml
@@ -39,6 +39,7 @@ properties:
               - rockchip,rk3368-dw-mshc
               - rockchip,rk3399-dw-mshc
               - rockchip,rk3568-dw-mshc
+              - rockchip,rk3576-dw-mshc
               - rockchip,rk3588-dw-mshc
               - rockchip,rv1108-dw-mshc
               - rockchip,rv1126-dw-mshc
@@ -95,6 +96,12 @@ properties:
       If not specified, the host will do tuning for 360 times,
       namely tuning for each degree.
 
+  rockchip,v2-tuning:
+    $ref: /schemas/types.yaml#/definitions/flag
+    description:
+      Specify when the v2 tuning is supported. In this case, the hardware
+      inherits pre-stage loader's phase settings.
+
 required:
   - compatible
   - reg
-- 
2.46.0
Re: [PATCH v2 1/3] dt-bindings: mmc: Add support for rk3576 dw-mshc
Posted by Krzysztof Kozlowski 1 year, 6 months ago
On 08/08/2024 18:47, Detlev Casanova wrote:
> Add the compatible string for rockchip,rk3576-dw-mshc and add support
> for the rockchip,v2-tuning flag, a new feature of this core.
> 
> Signed-off-by: Detlev Casanova <detlev.casanova@collabora.com>
> ---
>  .../devicetree/bindings/mmc/rockchip-dw-mshc.yaml          | 7 +++++++
>  1 file changed, 7 insertions(+)
> 
> diff --git a/Documentation/devicetree/bindings/mmc/rockchip-dw-mshc.yaml b/Documentation/devicetree/bindings/mmc/rockchip-dw-mshc.yaml
> index 211cd0b0bc5f3..86c986a7adb23 100644
> --- a/Documentation/devicetree/bindings/mmc/rockchip-dw-mshc.yaml
> +++ b/Documentation/devicetree/bindings/mmc/rockchip-dw-mshc.yaml
> @@ -39,6 +39,7 @@ properties:
>                - rockchip,rk3368-dw-mshc
>                - rockchip,rk3399-dw-mshc
>                - rockchip,rk3568-dw-mshc
> +              - rockchip,rk3576-dw-mshc
>                - rockchip,rk3588-dw-mshc
>                - rockchip,rv1108-dw-mshc
>                - rockchip,rv1126-dw-mshc
> @@ -95,6 +96,12 @@ properties:
>        If not specified, the host will do tuning for 360 times,
>        namely tuning for each degree.
>  
> +  rockchip,v2-tuning:
> +    $ref: /schemas/types.yaml#/definitions/flag
> +    description:
> +      Specify when the v2 tuning is supported. In this case, the hardware
> +      inherits pre-stage loader's phase settings.

Is supported? This sounds compatible specific, so drop it. Unless it is
bootloader dependent, but how?

Best regards,
Krzysztof