Message ID | 87h7etusv4.wl-kuninori.morimoto.gx@renesas.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | ASoC: Add Rich Graph Card support | expand |
On Fri, Sep 10, 2021 at 10:22:39AM +0900, Kuninori Morimoto wrote: > + multi: > + description: Multi-CPU/Codec node > + dpcm: > + description: DPCM node > + codec2codec: > + description: Codec to Codec node I think I need to have another look through this sometime next week but other than the naming thing discussed in the other subthread I think the only issues I see at a high level are the standard concern about putting DPCM into an ABI which I think we're stuck with having to do right now, and also if we can merge multi and CODEC-CODEC links more. There's bits you've called out in your changelog as needing further work but I think it's OK to add things incrementally. Overall it's looking pretty good, thanks for working on this.
Hi Mark Thank you for your reply > > + multi: > > + description: Multi-CPU/Codec node > > + dpcm: > > + description: DPCM node > > + codec2codec: > > + description: Codec to Codec node > > I think I need to have another look through this sometime next week but > other than the naming thing discussed in the other subthread I think the > only issues I see at a high level are the standard concern about putting > DPCM into an ABI which I think we're stuck with having to do right now, > and also if we can merge multi and CODEC-CODEC links more. There's bits > you've called out in your changelog as needing further work but I think > it's OK to add things incrementally. > > Overall it's looking pretty good, thanks for working on this. Thank you. I'm looking forward to your detail review, and happy to create v4 Thank you for your help !! Best regards --- Kuninori Morimoto
On Mon, Oct 04, 2021 at 10:50:44AM +0900, Kuninori Morimoto wrote: > I'm looking forward to your detail review, > and happy to create v4 Please just go ahead and send v4, I don't think I've got anything really.
diff --git a/Documentation/devicetree/bindings/sound/rich-graph-card.yaml b/Documentation/devicetree/bindings/sound/rich-graph-card.yaml new file mode 100644 index 000000000000..f998c50da8f7 --- /dev/null +++ b/Documentation/devicetree/bindings/sound/rich-graph-card.yaml @@ -0,0 +1,57 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/sound/rich-graph-card.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Rich Graph Card Device Tree Bindings + +maintainers: + - Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> + +properties: + compatible: + enum: + - rich-graph-card + links: + $ref: /schemas/types.yaml#/definitions/phandle-array + label: + maxItems: 1 + routing: + description: | + A list of the connections between audio components. + Each entry is a pair of strings, the first being the + connection's sink, the second being the connection's source. + $ref: /schemas/types.yaml#/definitions/non-unique-string-array + multi: + description: Multi-CPU/Codec node + dpcm: + description: DPCM node + codec2codec: + description: Codec to Codec node + +required: + - compatible + - links + +additionalProperties: false + +examples: + - | + sound { + compatible = "rich-graph-card"; + + links = <&cpu_port>; + }; + + cpu { + compatible = "cpu-driver"; + + cpu_port: port { cpu_ep: endpoint { remote-endpoint = <&codec_ep>; }; }; + }; + + codec { + compatible = "codec-driver"; + + port { codec_ep: endpoint { remote-endpoint = <&cpu_ep>; }; }; + };