~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/Documentation/devicetree/bindings/sound/rockchip-spdif.yaml

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

Diff markup

Differences between /Documentation/devicetree/bindings/sound/rockchip-spdif.yaml (Architecture ppc) and /Documentation/devicetree/bindings/sound/rockchip-spdif.yaml (Architecture mips)


  1 # SPDX-License-Identifier: GPL-2.0                  1 # SPDX-License-Identifier: GPL-2.0
  2 %YAML 1.2                                           2 %YAML 1.2
  3 ---                                                 3 ---
  4 $id: http://devicetree.org/schemas/sound/rockc      4 $id: http://devicetree.org/schemas/sound/rockchip-spdif.yaml#
  5 $schema: http://devicetree.org/meta-schemas/co      5 $schema: http://devicetree.org/meta-schemas/core.yaml#
  6                                                     6 
  7 title: Rockchip SPDIF transceiver                   7 title: Rockchip SPDIF transceiver
  8                                                     8 
  9 description:                                        9 description:
 10   The S/PDIF audio block is a stereo transceiv     10   The S/PDIF audio block is a stereo transceiver that allows the
 11   processor to receive and transmit digital au     11   processor to receive and transmit digital audio via a coaxial or
 12   fibre cable.                                     12   fibre cable.
 13                                                    13 
 14 maintainers:                                       14 maintainers:
 15   - Heiko Stuebner <heiko@sntech.de>                15   - Heiko Stuebner <heiko@sntech.de>
 16                                                    16 
 17 properties:                                        17 properties:
 18   compatible:                                      18   compatible:
 19     oneOf:                                         19     oneOf:
 20       - const: rockchip,rk3066-spdif               20       - const: rockchip,rk3066-spdif
 21       - const: rockchip,rk3228-spdif               21       - const: rockchip,rk3228-spdif
 22       - const: rockchip,rk3328-spdif               22       - const: rockchip,rk3328-spdif
 23       - const: rockchip,rk3366-spdif               23       - const: rockchip,rk3366-spdif
 24       - const: rockchip,rk3368-spdif               24       - const: rockchip,rk3368-spdif
 25       - const: rockchip,rk3399-spdif               25       - const: rockchip,rk3399-spdif
 26       - const: rockchip,rk3568-spdif               26       - const: rockchip,rk3568-spdif
 27       - items:                                     27       - items:
 28           - enum:                                  28           - enum:
 29               - rockchip,rk3128-spdif              29               - rockchip,rk3128-spdif
 30               - rockchip,rk3188-spdif              30               - rockchip,rk3188-spdif
 31               - rockchip,rk3288-spdif              31               - rockchip,rk3288-spdif
 32               - rockchip,rk3308-spdif              32               - rockchip,rk3308-spdif
 33           - const: rockchip,rk3066-spdif           33           - const: rockchip,rk3066-spdif
 34                                                    34 
 35   reg:                                             35   reg:
 36     maxItems: 1                                    36     maxItems: 1
 37                                                    37 
 38   interrupts:                                      38   interrupts:
 39     maxItems: 1                                    39     maxItems: 1
 40                                                    40 
 41   clocks:                                          41   clocks:
 42     items:                                         42     items:
 43       - description: clock for SPDIF bus           43       - description: clock for SPDIF bus
 44       - description: clock for SPDIF controlle     44       - description: clock for SPDIF controller
 45                                                    45 
 46   clock-names:                                     46   clock-names:
 47     items:                                         47     items:
 48       - const: mclk                                48       - const: mclk
 49       - const: hclk                                49       - const: hclk
 50                                                    50 
 51   dmas:                                            51   dmas:
 52     maxItems: 1                                    52     maxItems: 1
 53                                                    53 
 54   dma-names:                                       54   dma-names:
 55     const: tx                                      55     const: tx
 56                                                    56 
 57   power-domains:                                   57   power-domains:
 58     maxItems: 1                                    58     maxItems: 1
 59                                                    59 
 60   rockchip,grf:                                    60   rockchip,grf:
 61     $ref: /schemas/types.yaml#/definitions/pha     61     $ref: /schemas/types.yaml#/definitions/phandle
 62     description:                                   62     description:
 63       The phandle of the syscon node for the G     63       The phandle of the syscon node for the GRF register.
 64       Required property on RK3288.                 64       Required property on RK3288.
 65                                                    65 
 66   "#sound-dai-cells":                              66   "#sound-dai-cells":
 67     const: 0                                       67     const: 0
 68                                                    68 
 69 required:                                          69 required:
 70   - compatible                                     70   - compatible
 71   - reg                                            71   - reg
 72   - interrupts                                     72   - interrupts
 73   - clocks                                         73   - clocks
 74   - clock-names                                    74   - clock-names
 75   - dmas                                           75   - dmas
 76   - dma-names                                      76   - dma-names
 77   - "#sound-dai-cells"                             77   - "#sound-dai-cells"
 78                                                    78 
 79 allOf:                                             79 allOf:
 80   - $ref: dai-common.yaml#                         80   - $ref: dai-common.yaml#
 81   - if:                                            81   - if:
 82       properties:                                  82       properties:
 83         compatible:                                83         compatible:
 84           contains:                                84           contains:
 85             const: rockchip,rk3288-spdif           85             const: rockchip,rk3288-spdif
 86     then:                                          86     then:
 87       required:                                    87       required:
 88         - rockchip,grf                             88         - rockchip,grf
 89                                                    89 
 90 unevaluatedProperties: false                       90 unevaluatedProperties: false
 91                                                    91 
 92 examples:                                          92 examples:
 93   - |                                              93   - |
 94     #include <dt-bindings/clock/rk3188-cru.h>      94     #include <dt-bindings/clock/rk3188-cru.h>
 95     #include <dt-bindings/interrupt-controller     95     #include <dt-bindings/interrupt-controller/arm-gic.h>
 96     spdif: spdif@1011e000 {                        96     spdif: spdif@1011e000 {
 97       compatible = "rockchip,rk3188-spdif", "r     97       compatible = "rockchip,rk3188-spdif", "rockchip,rk3066-spdif";
 98       reg = <0x1011e000 0x2000>;                   98       reg = <0x1011e000 0x2000>;
 99       interrupts = <GIC_SPI 32 IRQ_TYPE_LEVEL_     99       interrupts = <GIC_SPI 32 IRQ_TYPE_LEVEL_HIGH>;
100       clocks = <&cru SCLK_SPDIF>, <&cru HCLK_S    100       clocks = <&cru SCLK_SPDIF>, <&cru HCLK_SPDIF>;
101       clock-names = "mclk", "hclk";               101       clock-names = "mclk", "hclk";
102       dmas = <&dmac1_s 8>;                        102       dmas = <&dmac1_s 8>;
103       dma-names = "tx";                           103       dma-names = "tx";
104       #sound-dai-cells = <0>;                     104       #sound-dai-cells = <0>;
105     };                                            105     };
                                                      

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php