Re: [PATCH 5/6] dt-bindings: Add documentation for Rockchip hdmi-audio

From: Kuankuan.Yang
Date: Mon Dec 15 2014 - 08:10:57 EST


Hi Mark & Russell:

thanks for your replay, what your say is right, those dt is merely describing the Linux kernel internals.
Instead of transmit cpu-of-node & codec-name & codec-dai-name through dt, i can give those an const
name to rockchip-hdmi-audio.c .

In that way, dt will only need compatible for creating sound device. is it ok ?
sound {
compatible = "rockchip,rk3288-hdmi-audio";
status = "okay";
}
could you give me some advises.


Best Regards.

å 2014å12æ15æ 20:02, Mark Brown åé:
On Mon, Dec 15, 2014 at 10:40:29AM +0000, Russell King - ARM Linux wrote:

Including details like this (because ASoC needs a separate DT node) is
the wrong approach.
And indeed there should be no Linux-internal reason for that - we should
be able to use whatever DT node makes sense, if there's some reason
that's not possible we should fix that (we do have several drivers doing
this sort of thing already though).


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/