Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1186041

Re: [PATCH 1/2] ASoC: rockchip: Add machine driver for max98090 codec

From Paul Bolle <pebolle@tiscali.nl>
Newsgroups linux.kernel
Subject Re: [PATCH 1/2] ASoC: rockchip: Add machine driver for max98090 codec
Date 2015-07-16 18:10 +0200
Message-ID <pMTTt-3dY-27@gated-at.bofh.it> (permalink)
References (3 earlier) <pMPwu-5cU-19@gated-at.bofh.it> <pMPPQ-5zU-19@gated-at.bofh.it> <pMQ9e-6cF-45@gated-at.bofh.it> <pMSb0-GS-13@gated-at.bofh.it> <pMTgM-2eq-45@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Hi Gerry,

On do, 2015-07-16 at 23:25 +0800, Jiang Liu wrote:
> May be that is hidden in some device tree files.
> MODULE_ALIAS() is used by a driver to announce that it supports
> such types of devices. And bus enumerator will create those
> devices by probing hardware or parsing some configuration files.

Then someone could simply point me to the device tree file where that
"platform:" alias comes from. (Note that I, of course, do check the tree
for the substrings involved before tossing questions like these onto
lkml.)

Besides, as far as I can tell, for device tree support the magic
actually hides in
    MODULE_DEVICE_TABLE(of, rockchip_max98090_of_match);

Which, I think, implies that any MODULE_ALIAS("platform:[...]") is
pointless for systems booting with device tree support.

Thanks,


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

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

Re: [PATCH 1/2] ASoC: rockchip: Add machine driver for max98090 codec zhengxing <zhengxing@rock-chips.com> - 2015-07-16 13:30 +0200
  Re: [PATCH 1/2] ASoC: rockchip: Add machine driver for max98090  codec Paul Bolle <pebolle@tiscali.nl> - 2015-07-16 13:50 +0200
    Re: [PATCH 1/2] ASoC: rockchip: Add machine driver for max98090 codec Jiang Liu <jiang.liu@linux.intel.com> - 2015-07-16 17:30 +0200
      Re: [PATCH 1/2] ASoC: rockchip: Add machine driver for max98090  codec Paul Bolle <pebolle@tiscali.nl> - 2015-07-16 18:10 +0200

csiph-web