Commit 300b91f8 authored by Francesco Dolcini's avatar Francesco Dolcini Committed by Wen Zhiwei
Browse files

dt-bindings: net: fec: add pps channel property

stable inclusion
from stable-v6.6.68
commit fd4d53318e96c19f5a8a87bab0f3997cc7e03a96
category: bugfix
bugzilla: https://gitee.com/openeuler/kernel/issues/IBMDV1

Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=fd4d53318e96c19f5a8a87bab0f3997cc7e03a96



--------------------------------

commit 1aa772be0444a2bd06957f6d31865e80e6ae4244 upstream.

Add fsl,pps-channel property to select where to connect the PPS signal.
This depends on the internal SoC routing and on the board, for example
on the i.MX8 SoC it can be connected to an external pin (using channel 1)
or to internal eDMA as DMA request (channel 0).

Signed-off-by: default avatarFrancesco Dolcini <francesco.dolcini@toradex.com>
Acked-by: default avatarConor Dooley <conor.dooley@microchip.com>
Signed-off-by: default avatarPaolo Abeni <pabeni@redhat.com>
Signed-off-by: default avatarCsókás, Bence <csokas.bence@prolan.hu>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: default avatarWen Zhiwei <wenzhiwei@kylinos.cn>
parent 122805f3
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -182,6 +182,13 @@ properties:
    description:
      Register bits of stop mode control, the format is <&gpr req_gpr req_bit>.

  fsl,pps-channel:
    $ref: /schemas/types.yaml#/definitions/uint32
    default: 0
    description:
      Specifies to which timer instance the PPS signal is routed.
    enum: [0, 1, 2, 3]

  mdio:
    $ref: mdio.yaml#
    unevaluatedProperties: false