7 Sep
2020
7 Sep
'20
7:50 p.m.
On Mon, Sep 07, 2020 at 09:37:12PM +0800, Tzung-Bi Shih wrote:
On Thu, Aug 20, 2020 at 3:40 AM Mark Brown broonie@kernel.org wrote:
That's for binding the MFD subdevice to an OF node, you don't need to do that for a device like this - you can just use the of_node of the parent to get at the properties.
There is an issue we overlooked. In sound/soc/codecs/mt6359.c,
After removing the line at (1), mt6359_parse_dt() cannot read the DT properties.
Here are a few options we can come out with.
- adds back the compatible string in the DTS
- gets of_node of parent in mt6359.c, and iterates all children nodes
to get the desired properties
Do this, but instead of iterating all the child nodes just look for the named CODEC node that you define in the bindings if you don't want to put the properties in the root MFD node.