2023-11-22 08:39:23

by Santhosh Kumar K

[permalink] [raw]
Subject: [PATCH] dt-bindings: iio: adc: ti,am3359-adc: Allow dmas property to be optional

ADC module can function without DMA, so there may not be dma channel
always associated with device. Hence, remove "dmas", "dma-names" from list
of required properties.

Signed-off-by: Santhosh Kumar K <[email protected]>
---
Documentation/devicetree/bindings/mfd/ti,am3359-tscadc.yaml | 2 --
1 file changed, 2 deletions(-)

diff --git a/Documentation/devicetree/bindings/mfd/ti,am3359-tscadc.yaml b/Documentation/devicetree/bindings/mfd/ti,am3359-tscadc.yaml
index 23a63265be3c..70b5dfce07d2 100644
--- a/Documentation/devicetree/bindings/mfd/ti,am3359-tscadc.yaml
+++ b/Documentation/devicetree/bindings/mfd/ti,am3359-tscadc.yaml
@@ -61,8 +61,6 @@ required:
- interrupts
- clocks
- clock-names
- - dmas
- - dma-names

additionalProperties: false

--
2.34.1


2023-11-22 08:47:55

by Miquel Raynal

[permalink] [raw]
Subject: Re: [PATCH] dt-bindings: iio: adc: ti,am3359-adc: Allow dmas property to be optional

Hi Santhosh,

[email protected] wrote on Wed, 22 Nov 2023 14:06:08 +0530:

> ADC module can function without DMA, so there may not be dma channel
> always associated with device. Hence, remove "dmas", "dma-names" from list
> of required properties.
>
> Signed-off-by: Santhosh Kumar K <[email protected]>

Reviewed-by: Miquel Raynal <[email protected]>

> ---
> Documentation/devicetree/bindings/mfd/ti,am3359-tscadc.yaml | 2 --
> 1 file changed, 2 deletions(-)
>
> diff --git a/Documentation/devicetree/bindings/mfd/ti,am3359-tscadc.yaml b/Documentation/devicetree/bindings/mfd/ti,am3359-tscadc.yaml
> index 23a63265be3c..70b5dfce07d2 100644
> --- a/Documentation/devicetree/bindings/mfd/ti,am3359-tscadc.yaml
> +++ b/Documentation/devicetree/bindings/mfd/ti,am3359-tscadc.yaml
> @@ -61,8 +61,6 @@ required:
> - interrupts
> - clocks
> - clock-names
> - - dmas
> - - dma-names
>
> additionalProperties: false
>


Thanks,
Miquèl

2023-11-22 17:34:03

by Conor Dooley

[permalink] [raw]
Subject: Re: [PATCH] dt-bindings: iio: adc: ti,am3359-adc: Allow dmas property to be optional

On Wed, Nov 22, 2023 at 02:06:08PM +0530, Santhosh Kumar K wrote:
> ADC module can function without DMA, so there may not be dma channel
> always associated with device. Hence, remove "dmas", "dma-names" from list
> of required properties.
>
> Signed-off-by: Santhosh Kumar K <[email protected]>

Acked-by: Conor Dooley <[email protected]>

Cheers,
Conor.


Attachments:
(No filename) (371.00 B)
signature.asc (235.00 B)
Download all attachments

2023-11-23 10:22:44

by Lee Jones

[permalink] [raw]
Subject: Re: [PATCH] dt-bindings: iio: adc: ti,am3359-adc: Allow dmas property to be optional

On Wed, 22 Nov 2023, Santhosh Kumar K wrote:

> ADC module can function without DMA, so there may not be dma channel
> always associated with device. Hence, remove "dmas", "dma-names" from list
> of required properties.
>
> Signed-off-by: Santhosh Kumar K <[email protected]>
> ---
> Documentation/devicetree/bindings/mfd/ti,am3359-tscadc.yaml | 2 --
> 1 file changed, 2 deletions(-)
>
> diff --git a/Documentation/devicetree/bindings/mfd/ti,am3359-tscadc.yaml b/Documentation/devicetree/bindings/mfd/ti,am3359-tscadc.yaml
> index 23a63265be3c..70b5dfce07d2 100644
> --- a/Documentation/devicetree/bindings/mfd/ti,am3359-tscadc.yaml
> +++ b/Documentation/devicetree/bindings/mfd/ti,am3359-tscadc.yaml

This is not an IIO patch. Please collect the tags you've received and
resubmit it with the correct subject line.

> @@ -61,8 +61,6 @@ required:
> - interrupts
> - clocks
> - clock-names
> - - dmas
> - - dma-names
>
> additionalProperties: false
>
> --
> 2.34.1
>

--
Lee Jones [李琼斯]