All of lore.kernel.org
 help / color / mirror / Atom feed
From: Simon Glass <sjg@chromium.org>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 01/11] misc: Allow child devices
Date: Thu, 27 Dec 2018 13:24:36 -0700	[thread overview]
Message-ID: <20181227202446.229042-2-sjg@chromium.org> (raw)
In-Reply-To: <20181227202446.229042-1-sjg@chromium.org>

Allow misc devices to have children, so that we can use this uclass for
cases where a child device (e.g. I2S) needs to access a misc driver for
transferring data.

Signed-off-by: Simon Glass <sjg@chromium.org>
---

 drivers/misc/misc-uclass.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/misc/misc-uclass.c b/drivers/misc/misc-uclass.c
index f240cda5c05..f432bc91997 100644
--- a/drivers/misc/misc-uclass.c
+++ b/drivers/misc/misc-uclass.c
@@ -68,4 +68,5 @@ int misc_set_enabled(struct udevice *dev, bool val)
 UCLASS_DRIVER(misc) = {
 	.id		= UCLASS_MISC,
 	.name		= "misc",
+	.post_bind	= dm_scan_fdt_dev,
 };
-- 
2.20.1.415.g653613c723-goog

  reply	other threads:[~2018-12-27 20:24 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-12-27 20:24 [U-Boot] [PATCH 00/11] sound: Add sound support for Nyan Simon Glass
2018-12-27 20:24 ` Simon Glass [this message]
2018-12-27 20:24 ` [U-Boot] [PATCH 02/11] sound: samsung: Fix 'regiter' typo Simon Glass
2018-12-27 20:24 ` [U-Boot] [PATCH 03/11] sound: i2s: Tidy up a few comments Simon Glass
2018-12-27 20:24 ` [U-Boot] [PATCH 04/11] sound: Allow audio codecs to be used by other SoCs Simon Glass
2018-12-27 20:24 ` [U-Boot] [PATCH 05/11] tegra: Correct tegra124 clock name Simon Glass
2018-12-27 20:24 ` [U-Boot] [PATCH 06/11] tegra: Add a delay in clock_start_periph_pll() Simon Glass
2018-12-27 20:24 ` [U-Boot] [PATCH 07/11] tegra: sound: Add an audio hub driver Simon Glass
2018-12-27 20:24 ` [U-Boot] [PATCH 08/11] tegra: sound: Add an I2S driver Simon Glass
2018-12-27 20:24 ` [U-Boot] [PATCH 09/11] sound: tegra: Add a sound driver Simon Glass
2018-12-27 20:24 ` [U-Boot] [PATCH 10/11] tegra: nyan-big: Enable sound Simon Glass
2018-12-27 20:24 ` [U-Boot] [PATCH 11/11] tegra: nyan: Add a README Simon Glass
2019-01-20 20:32 ` [U-Boot] [PATCH 00/11] sound: Add sound support for Nyan Simon Glass
2019-01-20 21:46   ` Tom Warren
2019-01-21 23:43     ` Simon Glass
2019-02-08  4:14       ` Simon Glass
2019-02-08  9:50         ` Jon Hunter
2019-03-31  2:01           ` Simon Glass
2019-01-21 23:42 ` [U-Boot] [PATCH 04/11] sound: Allow audio codecs to be used by other SoCs sjg at google.com
2019-01-21 23:42 ` [U-Boot] [PATCH 03/11] sound: i2s: Tidy up a few comments sjg at google.com
2019-01-21 23:42 ` [U-Boot] [PATCH 02/11] sound: samsung: Fix 'regiter' typo sjg at google.com
2019-01-21 23:42 ` [U-Boot] [PATCH 01/11] misc: Allow child devices sjg at google.com

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20181227202446.229042-2-sjg@chromium.org \
    --to=sjg@chromium.org \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.