Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

dt-bindings: dma: ti: k3-bcdma: Add bindings for BCDMA CSI RX

AM62A SoC has a dedicated BCDMA that serves Camera Serial Interface
(CSI) IP. Add new compatible for the same. Unlike system
BCDMA, this instance only has RX DMA channels and lack TX or block copy
channel. Thus make those properties optional. Additionally CSI RX has
independent power domain, add the binding for the same.

Signed-off-by: Vignesh Raghavendra <vigneshr@ti.com>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Acked-by: Peter Ujfalusi <peter.ujfalusi@gmail.com>
Link: https://lore.kernel.org/r/20221213164304.1126945-2-vigneshr@ti.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>

authored by

Vignesh Raghavendra and committed by
Vinod Koul
58617149 cc7aac1d

+59 -18
+59 -18
Documentation/devicetree/bindings/dma/ti/k3-bcdma.yaml
··· 28 28 PDMAs can be configured via BCDMA split channel's peer registers to match with 29 29 the configuration of the legacy peripheral. 30 30 31 - allOf: 32 - - $ref: /schemas/dma/dma-controller.yaml# 33 - - $ref: /schemas/arm/keystone/ti,k3-sci-common.yaml# 34 - 35 31 properties: 36 32 compatible: 37 - const: ti,am64-dmss-bcdma 33 + enum: 34 + - ti,am62a-dmss-bcdma-csirx 35 + - ti,am64-dmss-bcdma 36 + 37 + reg: 38 + minItems: 3 39 + maxItems: 5 40 + 41 + reg-names: 42 + minItems: 3 43 + maxItems: 5 38 44 39 45 "#dma-cells": 40 46 const: 3 ··· 71 65 72 66 cell 3: ASEL value for the channel 73 67 74 - reg: 75 - maxItems: 5 76 - 77 - reg-names: 78 - items: 79 - - const: gcfg 80 - - const: bchanrt 81 - - const: rchanrt 82 - - const: tchanrt 83 - - const: ringrt 84 - 85 68 msi-parent: true 69 + 70 + power-domains: 71 + description: 72 + Power domain if available 73 + maxItems: 1 86 74 87 75 ti,asel: 88 76 $ref: /schemas/types.yaml#/definitions/uint32 ··· 123 123 - msi-parent 124 124 - ti,sci 125 125 - ti,sci-dev-id 126 - - ti,sci-rm-range-bchan 127 - - ti,sci-rm-range-tchan 128 126 - ti,sci-rm-range-rchan 127 + 128 + allOf: 129 + - $ref: /schemas/dma/dma-controller.yaml# 130 + - $ref: /schemas/arm/keystone/ti,k3-sci-common.yaml# 131 + 132 + - if: 133 + properties: 134 + compatible: 135 + contains: 136 + const: ti,am62a-dmss-bcdma-csirx 137 + then: 138 + properties: 139 + ti,sci-rm-range-bchan: false 140 + ti,sci-rm-range-tchan: false 141 + 142 + reg: 143 + maxItems: 3 144 + 145 + reg-names: 146 + items: 147 + - const: gcfg 148 + - const: rchanrt 149 + - const: ringrt 150 + 151 + required: 152 + - power-domains 153 + 154 + else: 155 + properties: 156 + reg: 157 + minItems: 5 158 + 159 + reg-names: 160 + items: 161 + - const: gcfg 162 + - const: bchanrt 163 + - const: rchanrt 164 + - const: tchanrt 165 + - const: ringrt 166 + 167 + required: 168 + - ti,sci-rm-range-bchan 169 + - ti,sci-rm-range-tchan 129 170 130 171 unevaluatedProperties: false 131 172