* [PATCH v9 2/2] ASoC: sun50i-dmic: dt-bindings: add DT bindings for DMIC controller
@ 2022-08-30 15:07 ` Ban Tao
0 siblings, 0 replies; 21+ messages in thread
From: Ban Tao @ 2022-08-30 15:07 UTC (permalink / raw)
To: fengzheng923, lgirdwood, broonie, robh+dt,
krzysztof.kozlowski+dt, wens, jernej.skrabec, samuel, alsa-devel
Cc: devicetree, linux-arm-kernel, linux-sunxi, linux-kernel
DT binding documentation for this new ASoC driver.
Signed-off-by: Ban Tao <fengzheng923@gmail.com>
Reviewed-by: Rob Herring <robh@kernel.org>
Reviewed-by: Maxime Ripard <maxime@cerno.tech>
---
v1->v2:
1.Fix some build errors.
v2->v3:
1.Fix some build errors.
v3->v4:
1.None.
v4->v5:
1.Add interrupt.
2.Keep clock and reset index.
v5->v6:
1.None.
v6->v7:
1.None.
v7->v8:
1.Fix some build errors.
v8->v9:
1.None.
---
.../bindings/sound/allwinner,sun50i-h6-dmic.yaml | 79 ++++++++++++++++++++++
1 file changed, 79 insertions(+)
create mode 100644 Documentation/devicetree/bindings/sound/allwinner,sun50i-h6-dmic.yaml
diff --git a/Documentation/devicetree/bindings/sound/allwinner,sun50i-h6-dmic.yaml b/Documentation/devicetree/bindings/sound/allwinner,sun50i-h6-dmic.yaml
new file mode 100644
index 0000000..0cfc07f
--- /dev/null
+++ b/Documentation/devicetree/bindings/sound/allwinner,sun50i-h6-dmic.yaml
@@ -0,0 +1,79 @@
+# SPDX-License-Identifier: (GPL-2.0+ OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/sound/allwinner,sun50i-h6-dmic.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Allwinner H6 DMIC Device Tree Bindings
+
+maintainers:
+ - Ban Tao <fengzheng923@gmail.com>
+
+properties:
+ "#sound-dai-cells":
+ const: 0
+
+ compatible:
+ const: allwinner,sun50i-h6-dmic
+
+ reg:
+ maxItems: 1
+
+ interrupts:
+ maxItems: 1
+
+ clocks:
+ items:
+ - description: Bus Clock
+ - description: Module Clock
+
+ clock-names:
+ items:
+ - const: bus
+ - const: mod
+
+ dmas:
+ items:
+ - description: RX DMA Channel
+
+ dma-names:
+ items:
+ - const: rx
+
+ resets:
+ maxItems: 1
+
+required:
+ - "#sound-dai-cells"
+ - compatible
+ - reg
+ - interrupts
+ - clocks
+ - clock-names
+ - dmas
+ - dma-names
+ - resets
+
+additionalProperties: false
+
+examples:
+ - |
+ #include <dt-bindings/interrupt-controller/arm-gic.h>
+ #include <dt-bindings/interrupt-controller/irq.h>
+
+ #include <dt-bindings/clock/sun50i-h6-ccu.h>
+ #include <dt-bindings/reset/sun50i-h6-ccu.h>
+
+ dmic: dmic@5095000 {
+ #sound-dai-cells = <0>;
+ compatible = "allwinner,sun50i-h6-dmic";
+ reg = <0x05095000 0x400>;
+ interrupts = <GIC_SPI 22 IRQ_TYPE_LEVEL_HIGH>;
+ clocks = <&ccu CLK_BUS_DMIC>, <&ccu CLK_DMIC>;
+ clock-names = "bus", "mod";
+ dmas = <&dma 7>;
+ dma-names = "rx";
+ resets = <&ccu RST_BUS_DMIC>;
+ };
+
+...
--
2.7.4
^ permalink raw reply related [flat|nested] 21+ messages in thread
* [PATCH v9 2/2] ASoC: sun50i-dmic: dt-bindings: add DT bindings for DMIC controller
@ 2022-08-30 15:07 ` Ban Tao
0 siblings, 0 replies; 21+ messages in thread
From: Ban Tao @ 2022-08-30 15:07 UTC (permalink / raw)
To: fengzheng923, lgirdwood, broonie, robh+dt,
krzysztof.kozlowski+dt, wens, jernej.skrabec, samuel, alsa-devel
Cc: devicetree, linux-sunxi, linux-arm-kernel, linux-kernel
DT binding documentation for this new ASoC driver.
Signed-off-by: Ban Tao <fengzheng923@gmail.com>
Reviewed-by: Rob Herring <robh@kernel.org>
Reviewed-by: Maxime Ripard <maxime@cerno.tech>
---
v1->v2:
1.Fix some build errors.
v2->v3:
1.Fix some build errors.
v3->v4:
1.None.
v4->v5:
1.Add interrupt.
2.Keep clock and reset index.
v5->v6:
1.None.
v6->v7:
1.None.
v7->v8:
1.Fix some build errors.
v8->v9:
1.None.
---
.../bindings/sound/allwinner,sun50i-h6-dmic.yaml | 79 ++++++++++++++++++++++
1 file changed, 79 insertions(+)
create mode 100644 Documentation/devicetree/bindings/sound/allwinner,sun50i-h6-dmic.yaml
diff --git a/Documentation/devicetree/bindings/sound/allwinner,sun50i-h6-dmic.yaml b/Documentation/devicetree/bindings/sound/allwinner,sun50i-h6-dmic.yaml
new file mode 100644
index 0000000..0cfc07f
--- /dev/null
+++ b/Documentation/devicetree/bindings/sound/allwinner,sun50i-h6-dmic.yaml
@@ -0,0 +1,79 @@
+# SPDX-License-Identifier: (GPL-2.0+ OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/sound/allwinner,sun50i-h6-dmic.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Allwinner H6 DMIC Device Tree Bindings
+
+maintainers:
+ - Ban Tao <fengzheng923@gmail.com>
+
+properties:
+ "#sound-dai-cells":
+ const: 0
+
+ compatible:
+ const: allwinner,sun50i-h6-dmic
+
+ reg:
+ maxItems: 1
+
+ interrupts:
+ maxItems: 1
+
+ clocks:
+ items:
+ - description: Bus Clock
+ - description: Module Clock
+
+ clock-names:
+ items:
+ - const: bus
+ - const: mod
+
+ dmas:
+ items:
+ - description: RX DMA Channel
+
+ dma-names:
+ items:
+ - const: rx
+
+ resets:
+ maxItems: 1
+
+required:
+ - "#sound-dai-cells"
+ - compatible
+ - reg
+ - interrupts
+ - clocks
+ - clock-names
+ - dmas
+ - dma-names
+ - resets
+
+additionalProperties: false
+
+examples:
+ - |
+ #include <dt-bindings/interrupt-controller/arm-gic.h>
+ #include <dt-bindings/interrupt-controller/irq.h>
+
+ #include <dt-bindings/clock/sun50i-h6-ccu.h>
+ #include <dt-bindings/reset/sun50i-h6-ccu.h>
+
+ dmic: dmic@5095000 {
+ #sound-dai-cells = <0>;
+ compatible = "allwinner,sun50i-h6-dmic";
+ reg = <0x05095000 0x400>;
+ interrupts = <GIC_SPI 22 IRQ_TYPE_LEVEL_HIGH>;
+ clocks = <&ccu CLK_BUS_DMIC>, <&ccu CLK_DMIC>;
+ clock-names = "bus", "mod";
+ dmas = <&dma 7>;
+ dma-names = "rx";
+ resets = <&ccu RST_BUS_DMIC>;
+ };
+
+...
--
2.7.4
^ permalink raw reply related [flat|nested] 21+ messages in thread
* [PATCH v9 2/2] ASoC: sun50i-dmic: dt-bindings: add DT bindings for DMIC controller
@ 2022-08-30 15:07 ` Ban Tao
0 siblings, 0 replies; 21+ messages in thread
From: Ban Tao @ 2022-08-30 15:07 UTC (permalink / raw)
To: fengzheng923, lgirdwood, broonie, robh+dt,
krzysztof.kozlowski+dt, wens, jernej.skrabec, samuel, alsa-devel
Cc: devicetree, linux-arm-kernel, linux-sunxi, linux-kernel
DT binding documentation for this new ASoC driver.
Signed-off-by: Ban Tao <fengzheng923@gmail.com>
Reviewed-by: Rob Herring <robh@kernel.org>
Reviewed-by: Maxime Ripard <maxime@cerno.tech>
---
v1->v2:
1.Fix some build errors.
v2->v3:
1.Fix some build errors.
v3->v4:
1.None.
v4->v5:
1.Add interrupt.
2.Keep clock and reset index.
v5->v6:
1.None.
v6->v7:
1.None.
v7->v8:
1.Fix some build errors.
v8->v9:
1.None.
---
.../bindings/sound/allwinner,sun50i-h6-dmic.yaml | 79 ++++++++++++++++++++++
1 file changed, 79 insertions(+)
create mode 100644 Documentation/devicetree/bindings/sound/allwinner,sun50i-h6-dmic.yaml
diff --git a/Documentation/devicetree/bindings/sound/allwinner,sun50i-h6-dmic.yaml b/Documentation/devicetree/bindings/sound/allwinner,sun50i-h6-dmic.yaml
new file mode 100644
index 0000000..0cfc07f
--- /dev/null
+++ b/Documentation/devicetree/bindings/sound/allwinner,sun50i-h6-dmic.yaml
@@ -0,0 +1,79 @@
+# SPDX-License-Identifier: (GPL-2.0+ OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/sound/allwinner,sun50i-h6-dmic.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Allwinner H6 DMIC Device Tree Bindings
+
+maintainers:
+ - Ban Tao <fengzheng923@gmail.com>
+
+properties:
+ "#sound-dai-cells":
+ const: 0
+
+ compatible:
+ const: allwinner,sun50i-h6-dmic
+
+ reg:
+ maxItems: 1
+
+ interrupts:
+ maxItems: 1
+
+ clocks:
+ items:
+ - description: Bus Clock
+ - description: Module Clock
+
+ clock-names:
+ items:
+ - const: bus
+ - const: mod
+
+ dmas:
+ items:
+ - description: RX DMA Channel
+
+ dma-names:
+ items:
+ - const: rx
+
+ resets:
+ maxItems: 1
+
+required:
+ - "#sound-dai-cells"
+ - compatible
+ - reg
+ - interrupts
+ - clocks
+ - clock-names
+ - dmas
+ - dma-names
+ - resets
+
+additionalProperties: false
+
+examples:
+ - |
+ #include <dt-bindings/interrupt-controller/arm-gic.h>
+ #include <dt-bindings/interrupt-controller/irq.h>
+
+ #include <dt-bindings/clock/sun50i-h6-ccu.h>
+ #include <dt-bindings/reset/sun50i-h6-ccu.h>
+
+ dmic: dmic@5095000 {
+ #sound-dai-cells = <0>;
+ compatible = "allwinner,sun50i-h6-dmic";
+ reg = <0x05095000 0x400>;
+ interrupts = <GIC_SPI 22 IRQ_TYPE_LEVEL_HIGH>;
+ clocks = <&ccu CLK_BUS_DMIC>, <&ccu CLK_DMIC>;
+ clock-names = "bus", "mod";
+ dmas = <&dma 7>;
+ dma-names = "rx";
+ resets = <&ccu RST_BUS_DMIC>;
+ };
+
+...
--
2.7.4
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply related [flat|nested] 21+ messages in thread
* Re: [PATCH v9 2/2] ASoC: sun50i-dmic: dt-bindings: add DT bindings for DMIC controller
2022-08-30 15:07 ` Ban Tao
(?)
@ 2022-08-30 17:35 ` Krzysztof Kozlowski
-1 siblings, 0 replies; 21+ messages in thread
From: Krzysztof Kozlowski @ 2022-08-30 17:35 UTC (permalink / raw)
To: Ban Tao, lgirdwood, broonie, robh+dt, krzysztof.kozlowski+dt,
wens, jernej.skrabec, samuel, alsa-devel
Cc: devicetree, linux-arm-kernel, linux-sunxi, linux-kernel
On 30/08/2022 18:07, Ban Tao wrote:
> DT binding documentation for this new ASoC driver.
Thank you for your patch. There is something to discuss/improve.
>
> .../bindings/sound/allwinner,sun50i-h6-dmic.yaml | 79 ++++++++++++++++++++++
> 1 file changed, 79 insertions(+)
> create mode 100644 Documentation/devicetree/bindings/sound/allwinner,sun50i-h6-dmic.yaml
>
> diff --git a/Documentation/devicetree/bindings/sound/allwinner,sun50i-h6-dmic.yaml b/Documentation/devicetree/bindings/sound/allwinner,sun50i-h6-dmic.yaml
> new file mode 100644
> index 0000000..0cfc07f
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/sound/allwinner,sun50i-h6-dmic.yaml
> @@ -0,0 +1,79 @@
> +# SPDX-License-Identifier: (GPL-2.0+ OR BSD-2-Clause)
> +%YAML 1.2
> +---
> +$id: http://devicetree.org/schemas/sound/allwinner,sun50i-h6-dmic.yaml#
> +$schema: http://devicetree.org/meta-schemas/core.yaml#
> +
> +title: Allwinner H6 DMIC Device Tree Bindings
s/Device Tree Bindings//
> +
> +maintainers:
> + - Ban Tao <fengzheng923@gmail.com>
> +
> +properties:
> + "#sound-dai-cells":
> + const: 0
> +
> + compatible:
> + const: allwinner,sun50i-h6-dmic
Put compatible first in the list of properties (also in required:).
Rest is ok, so keep the Rb-tags you already got.
Best regards,
Krzysztof
^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: [PATCH v9 2/2] ASoC: sun50i-dmic: dt-bindings: add DT bindings for DMIC controller
@ 2022-08-30 17:35 ` Krzysztof Kozlowski
0 siblings, 0 replies; 21+ messages in thread
From: Krzysztof Kozlowski @ 2022-08-30 17:35 UTC (permalink / raw)
To: Ban Tao, lgirdwood, broonie, robh+dt, krzysztof.kozlowski+dt,
wens, jernej.skrabec, samuel, alsa-devel
Cc: devicetree, linux-sunxi, linux-arm-kernel, linux-kernel
On 30/08/2022 18:07, Ban Tao wrote:
> DT binding documentation for this new ASoC driver.
Thank you for your patch. There is something to discuss/improve.
>
> .../bindings/sound/allwinner,sun50i-h6-dmic.yaml | 79 ++++++++++++++++++++++
> 1 file changed, 79 insertions(+)
> create mode 100644 Documentation/devicetree/bindings/sound/allwinner,sun50i-h6-dmic.yaml
>
> diff --git a/Documentation/devicetree/bindings/sound/allwinner,sun50i-h6-dmic.yaml b/Documentation/devicetree/bindings/sound/allwinner,sun50i-h6-dmic.yaml
> new file mode 100644
> index 0000000..0cfc07f
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/sound/allwinner,sun50i-h6-dmic.yaml
> @@ -0,0 +1,79 @@
> +# SPDX-License-Identifier: (GPL-2.0+ OR BSD-2-Clause)
> +%YAML 1.2
> +---
> +$id: http://devicetree.org/schemas/sound/allwinner,sun50i-h6-dmic.yaml#
> +$schema: http://devicetree.org/meta-schemas/core.yaml#
> +
> +title: Allwinner H6 DMIC Device Tree Bindings
s/Device Tree Bindings//
> +
> +maintainers:
> + - Ban Tao <fengzheng923@gmail.com>
> +
> +properties:
> + "#sound-dai-cells":
> + const: 0
> +
> + compatible:
> + const: allwinner,sun50i-h6-dmic
Put compatible first in the list of properties (also in required:).
Rest is ok, so keep the Rb-tags you already got.
Best regards,
Krzysztof
^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: [PATCH v9 2/2] ASoC: sun50i-dmic: dt-bindings: add DT bindings for DMIC controller
@ 2022-08-30 17:35 ` Krzysztof Kozlowski
0 siblings, 0 replies; 21+ messages in thread
From: Krzysztof Kozlowski @ 2022-08-30 17:35 UTC (permalink / raw)
To: Ban Tao, lgirdwood, broonie, robh+dt, krzysztof.kozlowski+dt,
wens, jernej.skrabec, samuel, alsa-devel
Cc: devicetree, linux-arm-kernel, linux-sunxi, linux-kernel
On 30/08/2022 18:07, Ban Tao wrote:
> DT binding documentation for this new ASoC driver.
Thank you for your patch. There is something to discuss/improve.
>
> .../bindings/sound/allwinner,sun50i-h6-dmic.yaml | 79 ++++++++++++++++++++++
> 1 file changed, 79 insertions(+)
> create mode 100644 Documentation/devicetree/bindings/sound/allwinner,sun50i-h6-dmic.yaml
>
> diff --git a/Documentation/devicetree/bindings/sound/allwinner,sun50i-h6-dmic.yaml b/Documentation/devicetree/bindings/sound/allwinner,sun50i-h6-dmic.yaml
> new file mode 100644
> index 0000000..0cfc07f
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/sound/allwinner,sun50i-h6-dmic.yaml
> @@ -0,0 +1,79 @@
> +# SPDX-License-Identifier: (GPL-2.0+ OR BSD-2-Clause)
> +%YAML 1.2
> +---
> +$id: http://devicetree.org/schemas/sound/allwinner,sun50i-h6-dmic.yaml#
> +$schema: http://devicetree.org/meta-schemas/core.yaml#
> +
> +title: Allwinner H6 DMIC Device Tree Bindings
s/Device Tree Bindings//
> +
> +maintainers:
> + - Ban Tao <fengzheng923@gmail.com>
> +
> +properties:
> + "#sound-dai-cells":
> + const: 0
> +
> + compatible:
> + const: allwinner,sun50i-h6-dmic
Put compatible first in the list of properties (also in required:).
Rest is ok, so keep the Rb-tags you already got.
Best regards,
Krzysztof
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: [PATCH v9 2/2] ASoC: sun50i-dmic: dt-bindings: add DT bindings for DMIC controller
2022-08-30 17:35 ` Krzysztof Kozlowski
(?)
@ 2022-08-30 18:01 ` Mark Brown
-1 siblings, 0 replies; 21+ messages in thread
From: Mark Brown @ 2022-08-30 18:01 UTC (permalink / raw)
To: Krzysztof Kozlowski
Cc: Ban Tao, lgirdwood, robh+dt, krzysztof.kozlowski+dt, wens,
jernej.skrabec, samuel, alsa-devel, devicetree, linux-arm-kernel,
linux-sunxi, linux-kernel
[-- Attachment #1: Type: text/plain, Size: 401 bytes --]
On Tue, Aug 30, 2022 at 08:35:09PM +0300, Krzysztof Kozlowski wrote:
> On 30/08/2022 18:07, Ban Tao wrote:
> > DT binding documentation for this new ASoC driver.
> > +properties:
> > + "#sound-dai-cells":
> > + const: 0
> > +
> > + compatible:
> > + const: allwinner,sun50i-h6-dmic
> Put compatible first in the list of properties (also in required:).
Can the tooling be taught about this?
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 484 bytes --]
^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: [PATCH v9 2/2] ASoC: sun50i-dmic: dt-bindings: add DT bindings for DMIC controller
@ 2022-08-30 18:01 ` Mark Brown
0 siblings, 0 replies; 21+ messages in thread
From: Mark Brown @ 2022-08-30 18:01 UTC (permalink / raw)
To: Krzysztof Kozlowski
Cc: devicetree, alsa-devel, Ban Tao, samuel, lgirdwood,
jernej.skrabec, linux-kernel, wens, robh+dt,
krzysztof.kozlowski+dt, linux-sunxi, linux-arm-kernel
[-- Attachment #1: Type: text/plain, Size: 401 bytes --]
On Tue, Aug 30, 2022 at 08:35:09PM +0300, Krzysztof Kozlowski wrote:
> On 30/08/2022 18:07, Ban Tao wrote:
> > DT binding documentation for this new ASoC driver.
> > +properties:
> > + "#sound-dai-cells":
> > + const: 0
> > +
> > + compatible:
> > + const: allwinner,sun50i-h6-dmic
> Put compatible first in the list of properties (also in required:).
Can the tooling be taught about this?
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 484 bytes --]
^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: [PATCH v9 2/2] ASoC: sun50i-dmic: dt-bindings: add DT bindings for DMIC controller
@ 2022-08-30 18:01 ` Mark Brown
0 siblings, 0 replies; 21+ messages in thread
From: Mark Brown @ 2022-08-30 18:01 UTC (permalink / raw)
To: Krzysztof Kozlowski
Cc: Ban Tao, lgirdwood, robh+dt, krzysztof.kozlowski+dt, wens,
jernej.skrabec, samuel, alsa-devel, devicetree, linux-arm-kernel,
linux-sunxi, linux-kernel
[-- Attachment #1.1: Type: text/plain, Size: 401 bytes --]
On Tue, Aug 30, 2022 at 08:35:09PM +0300, Krzysztof Kozlowski wrote:
> On 30/08/2022 18:07, Ban Tao wrote:
> > DT binding documentation for this new ASoC driver.
> > +properties:
> > + "#sound-dai-cells":
> > + const: 0
> > +
> > + compatible:
> > + const: allwinner,sun50i-h6-dmic
> Put compatible first in the list of properties (also in required:).
Can the tooling be taught about this?
[-- Attachment #1.2: signature.asc --]
[-- Type: application/pgp-signature, Size: 484 bytes --]
[-- Attachment #2: Type: text/plain, Size: 176 bytes --]
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: [PATCH v9 2/2] ASoC: sun50i-dmic: dt-bindings: add DT bindings for DMIC controller
2022-08-30 18:01 ` Mark Brown
(?)
@ 2022-08-30 18:11 ` Krzysztof Kozlowski
-1 siblings, 0 replies; 21+ messages in thread
From: Krzysztof Kozlowski @ 2022-08-30 18:11 UTC (permalink / raw)
To: Mark Brown
Cc: Ban Tao, lgirdwood, robh+dt, krzysztof.kozlowski+dt, wens,
jernej.skrabec, samuel, alsa-devel, devicetree, linux-arm-kernel,
linux-sunxi, linux-kernel
On 30/08/2022 21:01, Mark Brown wrote:
> On Tue, Aug 30, 2022 at 08:35:09PM +0300, Krzysztof Kozlowski wrote:
>> On 30/08/2022 18:07, Ban Tao wrote:
>>> DT binding documentation for this new ASoC driver.
>
>>> +properties:
>>> + "#sound-dai-cells":
>>> + const: 0
>>> +
>>> + compatible:
>>> + const: allwinner,sun50i-h6-dmic
>
>> Put compatible first in the list of properties (also in required:).
>
> Can the tooling be taught about this?
Probably could save me some time in writing reviews... Let me look.
Best regards,
Krzysztof
^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: [PATCH v9 2/2] ASoC: sun50i-dmic: dt-bindings: add DT bindings for DMIC controller
@ 2022-08-30 18:11 ` Krzysztof Kozlowski
0 siblings, 0 replies; 21+ messages in thread
From: Krzysztof Kozlowski @ 2022-08-30 18:11 UTC (permalink / raw)
To: Mark Brown
Cc: devicetree, alsa-devel, Ban Tao, samuel, lgirdwood,
jernej.skrabec, linux-kernel, wens, robh+dt,
krzysztof.kozlowski+dt, linux-sunxi, linux-arm-kernel
On 30/08/2022 21:01, Mark Brown wrote:
> On Tue, Aug 30, 2022 at 08:35:09PM +0300, Krzysztof Kozlowski wrote:
>> On 30/08/2022 18:07, Ban Tao wrote:
>>> DT binding documentation for this new ASoC driver.
>
>>> +properties:
>>> + "#sound-dai-cells":
>>> + const: 0
>>> +
>>> + compatible:
>>> + const: allwinner,sun50i-h6-dmic
>
>> Put compatible first in the list of properties (also in required:).
>
> Can the tooling be taught about this?
Probably could save me some time in writing reviews... Let me look.
Best regards,
Krzysztof
^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: [PATCH v9 2/2] ASoC: sun50i-dmic: dt-bindings: add DT bindings for DMIC controller
@ 2022-08-30 18:11 ` Krzysztof Kozlowski
0 siblings, 0 replies; 21+ messages in thread
From: Krzysztof Kozlowski @ 2022-08-30 18:11 UTC (permalink / raw)
To: Mark Brown
Cc: Ban Tao, lgirdwood, robh+dt, krzysztof.kozlowski+dt, wens,
jernej.skrabec, samuel, alsa-devel, devicetree, linux-arm-kernel,
linux-sunxi, linux-kernel
On 30/08/2022 21:01, Mark Brown wrote:
> On Tue, Aug 30, 2022 at 08:35:09PM +0300, Krzysztof Kozlowski wrote:
>> On 30/08/2022 18:07, Ban Tao wrote:
>>> DT binding documentation for this new ASoC driver.
>
>>> +properties:
>>> + "#sound-dai-cells":
>>> + const: 0
>>> +
>>> + compatible:
>>> + const: allwinner,sun50i-h6-dmic
>
>> Put compatible first in the list of properties (also in required:).
>
> Can the tooling be taught about this?
Probably could save me some time in writing reviews... Let me look.
Best regards,
Krzysztof
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: [PATCH v9 2/2] ASoC: sun50i-dmic: dt-bindings: add DT bindings for DMIC controller
2022-08-30 17:35 ` Krzysztof Kozlowski
` (2 preceding siblings ...)
(?)
@ 2022-09-07 13:03 ` 班涛
2022-09-08 9:22 ` Krzysztof Kozlowski
-1 siblings, 1 reply; 21+ messages in thread
From: 班涛 @ 2022-09-07 13:03 UTC (permalink / raw)
To: Krzysztof Kozlowski
Cc: devicetree, alsa-devel, samuel, lgirdwood, jernej.skrabec,
linux-kernel, robh+dt, wens, broonie, krzysztof.kozlowski+dt,
linux-sunxi, linux-arm-kernel
Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> 于2022年8月31日周三 01:35写道:
> On 30/08/2022 18:07, Ban Tao wrote:
> > DT binding documentation for this new ASoC driver.
>
> Thank you for your patch. There is something to discuss/improve.
>
> >
>
> > .../bindings/sound/allwinner,sun50i-h6-dmic.yaml | 79
> ++++++++++++++++++++++
> > 1 file changed, 79 insertions(+)
> > create mode 100644
> Documentation/devicetree/bindings/sound/allwinner,sun50i-h6-dmic.yaml
> >
> > diff --git
> a/Documentation/devicetree/bindings/sound/allwinner,sun50i-h6-dmic.yaml
> b/Documentation/devicetree/bindings/sound/allwinner,sun50i-h6-dmic.yaml
> > new file mode 100644
> > index 0000000..0cfc07f
> > --- /dev/null
> > +++
> b/Documentation/devicetree/bindings/sound/allwinner,sun50i-h6-dmic.yaml
> > @@ -0,0 +1,79 @@
> > +# SPDX-License-Identifier: (GPL-2.0+ OR BSD-2-Clause)
> > +%YAML 1.2
> > +---
> > +$id: http://devicetree.org/schemas/sound/allwinner,sun50i-h6-dmic.yaml#
> > +$schema: http://devicetree.org/meta-schemas/core.yaml#
> > +
> > +title: Allwinner H6 DMIC Device Tree Bindings
>
> s/Device Tree Bindings//
>
So, modify it to 'Allwinner H6 DMIC Devices Tree Bindings', sure?
>
> > +
> > +maintainers:
> > + - Ban Tao <fengzheng923@gmail.com>
> > +
> > +properties:
> > + "#sound-dai-cells":
> > + const: 0
> > +
> > + compatible:
> > + const: allwinner,sun50i-h6-dmic
>
> Put compatible first in the list of properties (also in required:).
>
> Rest is ok, so keep the Rb-tags you already got.
>
> Best regards,
> Krzysztof
>
^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: [PATCH v9 2/2] ASoC: sun50i-dmic: dt-bindings: add DT bindings for DMIC controller
2022-09-07 13:03 ` 班涛
2022-09-08 9:22 ` Krzysztof Kozlowski
@ 2022-09-08 9:22 ` Krzysztof Kozlowski
0 siblings, 0 replies; 21+ messages in thread
From: Krzysztof Kozlowski @ 2022-09-08 9:22 UTC (permalink / raw)
To: 班涛
Cc: lgirdwood, broonie, robh+dt, krzysztof.kozlowski+dt, wens,
jernej.skrabec, samuel, alsa-devel, devicetree, linux-arm-kernel,
linux-sunxi, linux-kernel
On 07/09/2022 15:03, 班涛 wrote:
>>> +++
>> b/Documentation/devicetree/bindings/sound/allwinner,sun50i-h6-dmic.yaml
>>> @@ -0,0 +1,79 @@
>>> +# SPDX-License-Identifier: (GPL-2.0+ OR BSD-2-Clause)
>>> +%YAML 1.2
>>> +---
>>> +$id: http://devicetree.org/schemas/sound/allwinner,sun50i-h6-dmic.yaml#
>>> +$schema: http://devicetree.org/meta-schemas/core.yaml#
>>> +
>>> +title: Allwinner H6 DMIC Device Tree Bindings
>>
>> s/Device Tree Bindings//
>>
>
> So, modify it to 'Allwinner H6 DMIC Devices Tree Bindings', sure?
You pasted the same message, so what is the modification? I wrote you a
search&replace pattern.
Best regards,
Krzysztof
^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: [PATCH v9 2/2] ASoC: sun50i-dmic: dt-bindings: add DT bindings for DMIC controller
@ 2022-09-08 9:22 ` Krzysztof Kozlowski
0 siblings, 0 replies; 21+ messages in thread
From: Krzysztof Kozlowski @ 2022-09-08 9:22 UTC (permalink / raw)
To: 班涛
Cc: lgirdwood, broonie, robh+dt, krzysztof.kozlowski+dt, wens,
jernej.skrabec, samuel, alsa-devel, devicetree, linux-arm-kernel,
linux-sunxi, linux-kernel
On 07/09/2022 15:03, 班涛 wrote:
>>> +++
>> b/Documentation/devicetree/bindings/sound/allwinner,sun50i-h6-dmic.yaml
>>> @@ -0,0 +1,79 @@
>>> +# SPDX-License-Identifier: (GPL-2.0+ OR BSD-2-Clause)
>>> +%YAML 1.2
>>> +---
>>> +$id: http://devicetree.org/schemas/sound/allwinner,sun50i-h6-dmic.yaml#
>>> +$schema: http://devicetree.org/meta-schemas/core.yaml#
>>> +
>>> +title: Allwinner H6 DMIC Device Tree Bindings
>>
>> s/Device Tree Bindings//
>>
>
> So, modify it to 'Allwinner H6 DMIC Devices Tree Bindings', sure?
You pasted the same message, so what is the modification? I wrote you a
search&replace pattern.
Best regards,
Krzysztof
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: [PATCH v9 2/2] ASoC: sun50i-dmic: dt-bindings: add DT bindings for DMIC controller
@ 2022-09-08 9:22 ` Krzysztof Kozlowski
0 siblings, 0 replies; 21+ messages in thread
From: Krzysztof Kozlowski @ 2022-09-08 9:22 UTC (permalink / raw)
To: 班涛
Cc: devicetree, alsa-devel, samuel, lgirdwood, jernej.skrabec,
linux-kernel, robh+dt, wens, broonie, krzysztof.kozlowski+dt,
linux-sunxi, linux-arm-kernel
On 07/09/2022 15:03, 班涛 wrote:
>>> +++
>> b/Documentation/devicetree/bindings/sound/allwinner,sun50i-h6-dmic.yaml
>>> @@ -0,0 +1,79 @@
>>> +# SPDX-License-Identifier: (GPL-2.0+ OR BSD-2-Clause)
>>> +%YAML 1.2
>>> +---
>>> +$id: http://devicetree.org/schemas/sound/allwinner,sun50i-h6-dmic.yaml#
>>> +$schema: http://devicetree.org/meta-schemas/core.yaml#
>>> +
>>> +title: Allwinner H6 DMIC Device Tree Bindings
>>
>> s/Device Tree Bindings//
>>
>
> So, modify it to 'Allwinner H6 DMIC Devices Tree Bindings', sure?
You pasted the same message, so what is the modification? I wrote you a
search&replace pattern.
Best regards,
Krzysztof
^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: [PATCH v9 2/2] ASoC: sun50i-dmic: dt-bindings: add DT bindings for DMIC controller
2022-09-08 9:22 ` Krzysztof Kozlowski
(?)
(?)
@ 2022-09-11 6:18 ` 班涛
2022-09-11 13:28 ` Krzysztof Kozlowski
-1 siblings, 1 reply; 21+ messages in thread
From: 班涛 @ 2022-09-11 6:18 UTC (permalink / raw)
To: Krzysztof Kozlowski
Cc: devicetree, alsa-devel, samuel, lgirdwood, jernej.skrabec,
linux-kernel, robh+dt, wens, broonie, krzysztof.kozlowski+dt,
linux-sunxi, linux-arm-kernel
Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> 于2022年9月8日周四 17:22写道:
> On 07/09/2022 15:03, 班涛 wrote:
> >>> +++
> >> b/Documentation/devicetree/bindings/sound/allwinner,sun50i-h6-dmic.yaml
> >>> @@ -0,0 +1,79 @@
> >>> +# SPDX-License-Identifier: (GPL-2.0+ OR BSD-2-Clause)
> >>> +%YAML 1.2
> >>> +---
> >>> +$id:
> http://devicetree.org/schemas/sound/allwinner,sun50i-h6-dmic.yaml#
> >>> +$schema: http://devicetree.org/meta-schemas/core.yaml#
> >>> +
> >>> +title: Allwinner H6 DMIC Device Tree Bindings
> >>
> >> s/Device Tree Bindings//
> >>
> >
> > So, modify it to 'Allwinner H6 DMIC Devices Tree Bindings', sure?
>
> You pasted the same message, so what is the modification? I wrote you a
> search&replace pattern.
>
"s/Device Tree Bindings//"
I don't understand what you mean.
>
>
>
> Best regards,
> Krzysztof
>
^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: [PATCH v9 2/2] ASoC: sun50i-dmic: dt-bindings: add DT bindings for DMIC controller
2022-09-11 6:18 ` 班涛
2022-09-11 13:28 ` Krzysztof Kozlowski
@ 2022-09-11 13:28 ` Krzysztof Kozlowski
0 siblings, 0 replies; 21+ messages in thread
From: Krzysztof Kozlowski @ 2022-09-11 13:28 UTC (permalink / raw)
To: 班涛
Cc: lgirdwood, broonie, robh+dt, krzysztof.kozlowski+dt, wens,
jernej.skrabec, samuel, alsa-devel, devicetree, linux-arm-kernel,
linux-sunxi, linux-kernel
On 11/09/2022 08:18, 班涛 wrote:
> Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> 于2022年9月8日周四 17:22写道:
>
>> On 07/09/2022 15:03, 班涛 wrote:
>>>>> +++
>>>> b/Documentation/devicetree/bindings/sound/allwinner,sun50i-h6-dmic.yaml
>>>>> @@ -0,0 +1,79 @@
>>>>> +# SPDX-License-Identifier: (GPL-2.0+ OR BSD-2-Clause)
>>>>> +%YAML 1.2
>>>>> +---
>>>>> +$id:
>> http://devicetree.org/schemas/sound/allwinner,sun50i-h6-dmic.yaml#
>>>>> +$schema: http://devicetree.org/meta-schemas/core.yaml#
>>>>> +
>>>>> +title: Allwinner H6 DMIC Device Tree Bindings
>>>>
>>>> s/Device Tree Bindings//
>>>>
>>>
>>> So, modify it to 'Allwinner H6 DMIC Devices Tree Bindings', sure?
>>
>> You pasted the same message, so what is the modification? I wrote you a
>> search&replace pattern.
>>
>
> "s/Device Tree Bindings//"
> I don't understand what you mean.
It's a search&replace command from Unix tools...
https://www.cyberciti.biz/faq/how-to-use-sed-to-find-and-replace-text-in-files-in-linux-unix-shell/
https://vim.fandom.com/wiki/Search_and_replace#Basic_search_and_replace
Just remove that string.
Best regards,
Krzysztof
^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: [PATCH v9 2/2] ASoC: sun50i-dmic: dt-bindings: add DT bindings for DMIC controller
@ 2022-09-11 13:28 ` Krzysztof Kozlowski
0 siblings, 0 replies; 21+ messages in thread
From: Krzysztof Kozlowski @ 2022-09-11 13:28 UTC (permalink / raw)
To: 班涛
Cc: devicetree, alsa-devel, samuel, lgirdwood, jernej.skrabec,
linux-kernel, robh+dt, wens, broonie, krzysztof.kozlowski+dt,
linux-sunxi, linux-arm-kernel
On 11/09/2022 08:18, 班涛 wrote:
> Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> 于2022年9月8日周四 17:22写道:
>
>> On 07/09/2022 15:03, 班涛 wrote:
>>>>> +++
>>>> b/Documentation/devicetree/bindings/sound/allwinner,sun50i-h6-dmic.yaml
>>>>> @@ -0,0 +1,79 @@
>>>>> +# SPDX-License-Identifier: (GPL-2.0+ OR BSD-2-Clause)
>>>>> +%YAML 1.2
>>>>> +---
>>>>> +$id:
>> http://devicetree.org/schemas/sound/allwinner,sun50i-h6-dmic.yaml#
>>>>> +$schema: http://devicetree.org/meta-schemas/core.yaml#
>>>>> +
>>>>> +title: Allwinner H6 DMIC Device Tree Bindings
>>>>
>>>> s/Device Tree Bindings//
>>>>
>>>
>>> So, modify it to 'Allwinner H6 DMIC Devices Tree Bindings', sure?
>>
>> You pasted the same message, so what is the modification? I wrote you a
>> search&replace pattern.
>>
>
> "s/Device Tree Bindings//"
> I don't understand what you mean.
It's a search&replace command from Unix tools...
https://www.cyberciti.biz/faq/how-to-use-sed-to-find-and-replace-text-in-files-in-linux-unix-shell/
https://vim.fandom.com/wiki/Search_and_replace#Basic_search_and_replace
Just remove that string.
Best regards,
Krzysztof
^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: [PATCH v9 2/2] ASoC: sun50i-dmic: dt-bindings: add DT bindings for DMIC controller
@ 2022-09-11 13:28 ` Krzysztof Kozlowski
0 siblings, 0 replies; 21+ messages in thread
From: Krzysztof Kozlowski @ 2022-09-11 13:28 UTC (permalink / raw)
To: 班涛
Cc: lgirdwood, broonie, robh+dt, krzysztof.kozlowski+dt, wens,
jernej.skrabec, samuel, alsa-devel, devicetree, linux-arm-kernel,
linux-sunxi, linux-kernel
On 11/09/2022 08:18, 班涛 wrote:
> Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> 于2022年9月8日周四 17:22写道:
>
>> On 07/09/2022 15:03, 班涛 wrote:
>>>>> +++
>>>> b/Documentation/devicetree/bindings/sound/allwinner,sun50i-h6-dmic.yaml
>>>>> @@ -0,0 +1,79 @@
>>>>> +# SPDX-License-Identifier: (GPL-2.0+ OR BSD-2-Clause)
>>>>> +%YAML 1.2
>>>>> +---
>>>>> +$id:
>> http://devicetree.org/schemas/sound/allwinner,sun50i-h6-dmic.yaml#
>>>>> +$schema: http://devicetree.org/meta-schemas/core.yaml#
>>>>> +
>>>>> +title: Allwinner H6 DMIC Device Tree Bindings
>>>>
>>>> s/Device Tree Bindings//
>>>>
>>>
>>> So, modify it to 'Allwinner H6 DMIC Devices Tree Bindings', sure?
>>
>> You pasted the same message, so what is the modification? I wrote you a
>> search&replace pattern.
>>
>
> "s/Device Tree Bindings//"
> I don't understand what you mean.
It's a search&replace command from Unix tools...
https://www.cyberciti.biz/faq/how-to-use-sed-to-find-and-replace-text-in-files-in-linux-unix-shell/
https://vim.fandom.com/wiki/Search_and_replace#Basic_search_and_replace
Just remove that string.
Best regards,
Krzysztof
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: [PATCH v9 2/2] ASoC: sun50i-dmic: dt-bindings: add DT bindings for DMIC controller
2022-09-11 13:28 ` Krzysztof Kozlowski
(?)
(?)
@ 2022-09-13 14:21 ` 班涛
-1 siblings, 0 replies; 21+ messages in thread
From: 班涛 @ 2022-09-13 14:21 UTC (permalink / raw)
To: Krzysztof Kozlowski
Cc: devicetree, alsa-devel, samuel, lgirdwood, jernej.skrabec,
linux-kernel, robh+dt, wens, broonie, krzysztof.kozlowski+dt,
linux-sunxi, linux-arm-kernel
Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> 于2022年9月11日周日 21:28写道:
> On 11/09/2022 08:18, 班涛 wrote:
> > Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> 于2022年9月8日周四
> 17:22写道:
> >
> >> On 07/09/2022 15:03, 班涛 wrote:
> >>>>> +++
> >>>>
> b/Documentation/devicetree/bindings/sound/allwinner,sun50i-h6-dmic.yaml
> >>>>> @@ -0,0 +1,79 @@
> >>>>> +# SPDX-License-Identifier: (GPL-2.0+ OR BSD-2-Clause)
> >>>>> +%YAML 1.2
> >>>>> +---
> >>>>> +$id:
> >> http://devicetree.org/schemas/sound/allwinner,sun50i-h6-dmic.yaml#
> >>>>> +$schema: http://devicetree.org/meta-schemas/core.yaml#
> >>>>> +
> >>>>> +title: Allwinner H6 DMIC Device Tree Bindings
> >>>>
> >>>> s/Device Tree Bindings//
> >>>>
> >>>
> >>> So, modify it to 'Allwinner H6 DMIC Devices Tree Bindings', sure?
> >>
> >> You pasted the same message, so what is the modification? I wrote you a
> >> search&replace pattern.
> >>
> >
> > "s/Device Tree Bindings//"
> > I don't understand what you mean.
>
> It's a search&replace command from Unix tools...
>
>
> https://www.cyberciti.biz/faq/how-to-use-sed-to-find-and-replace-text-in-files-in-linux-unix-shell/
>
> https://vim.fandom.com/wiki/Search_and_replace#Basic_search_and_replace
>
> Just remove that string.
>
Ok, I have released the V10 version, please review.
>
>
> Best regards,
> Krzysztof
>
^ permalink raw reply [flat|nested] 21+ messages in thread
end of thread, other threads:[~2022-09-13 14:22 UTC | newest]
Thread overview: 21+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-08-30 15:07 [PATCH v9 2/2] ASoC: sun50i-dmic: dt-bindings: add DT bindings for DMIC controller Ban Tao
2022-08-30 15:07 ` Ban Tao
2022-08-30 15:07 ` Ban Tao
2022-08-30 17:35 ` Krzysztof Kozlowski
2022-08-30 17:35 ` Krzysztof Kozlowski
2022-08-30 17:35 ` Krzysztof Kozlowski
2022-08-30 18:01 ` Mark Brown
2022-08-30 18:01 ` Mark Brown
2022-08-30 18:01 ` Mark Brown
2022-08-30 18:11 ` Krzysztof Kozlowski
2022-08-30 18:11 ` Krzysztof Kozlowski
2022-08-30 18:11 ` Krzysztof Kozlowski
2022-09-07 13:03 ` 班涛
2022-09-08 9:22 ` Krzysztof Kozlowski
2022-09-08 9:22 ` Krzysztof Kozlowski
2022-09-08 9:22 ` Krzysztof Kozlowski
2022-09-11 6:18 ` 班涛
2022-09-11 13:28 ` Krzysztof Kozlowski
2022-09-11 13:28 ` Krzysztof Kozlowski
2022-09-11 13:28 ` Krzysztof Kozlowski
2022-09-13 14:21 ` 班涛
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.