lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <YTJJfJE4kFLt059y@robh.at.kernel.org>
Date:   Fri, 3 Sep 2021 11:12:44 -0500
From:   Rob Herring <robh@...nel.org>
To:     Swapnil Jakhade <sjakhade@...ence.com>
Cc:     vkoul@...nel.org, kishon@...com, p.zabel@...gutronix.de,
        linux-phy@...ts.infradead.org, linux-kernel@...r.kernel.org,
        devicetree@...r.kernel.org, mparab@...ence.com, lokeshvutla@...com
Subject: Re: [PATCH 03/14] dt-bindings: phy: cadence-sierra: Add binding to
 specify SSC mode

On Fri, Sep 03, 2021 at 07:00:43AM +0200, Swapnil Jakhade wrote:
> Add binding to specify Spread Spectrum Clocking mode used.
> 
> Signed-off-by: Swapnil Jakhade <sjakhade@...ence.com>
> ---
>  .../devicetree/bindings/phy/phy-cadence-sierra.yaml      | 9 +++++++++
>  include/dt-bindings/phy/phy-cadence.h                    | 4 ++++
>  2 files changed, 13 insertions(+)
> 
> diff --git a/Documentation/devicetree/bindings/phy/phy-cadence-sierra.yaml b/Documentation/devicetree/bindings/phy/phy-cadence-sierra.yaml
> index e71b32c9c0d1..a9e227d8b076 100644
> --- a/Documentation/devicetree/bindings/phy/phy-cadence-sierra.yaml
> +++ b/Documentation/devicetree/bindings/phy/phy-cadence-sierra.yaml
> @@ -113,6 +113,15 @@ patternProperties:
>          minimum: 1
>          maximum: 16
>  
> +      cdns,ssc-mode:
> +        description:
> +          Specifies the Spread Spectrum Clocking mode used. It can be NO_SSC,
> +          EXTERNAL_SSC or INTERNAL_SSC.
> +          Refer include/dt-bindings/phy/phy-cadence.h for the constants to be used.
> +        $ref: /schemas/types.yaml#/definitions/uint32
> +        enum: [0, 1, 2]
> +        default: 1
> +
>      required:
>        - reg
>        - resets
> diff --git a/include/dt-bindings/phy/phy-cadence.h b/include/dt-bindings/phy/phy-cadence.h
> index 4652bcb86265..0122c6067b17 100644
> --- a/include/dt-bindings/phy/phy-cadence.h
> +++ b/include/dt-bindings/phy/phy-cadence.h
> @@ -17,4 +17,8 @@
>  #define CDNS_SIERRA_PLL_CMNLC		0
>  #define CDNS_SIERRA_PLL_CMNLC1		1
>  
> +#define SIERRA_SERDES_NO_SSC		0
> +#define SIERRA_SERDES_EXTERNAL_SSC	1
> +#define SIERRA_SERDES_INTERNAL_SSC	2

Don't we already have defines for this property from the Torrent phy?

> +
>  #endif /* _DT_BINDINGS_CADENCE_SERDES_H */
> -- 
> 2.26.1
> 
> 

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ