All of lore.kernel.org
 help / color / mirror / Atom feed
From: Greg KH <gregkh@linuxfoundation.org>
To: akhil.goyal@freescale.com
Cc: arnd@arndb.de, lars@metafoo.de, robin.getz@analog.com,
	Michael.Hennerich@analog.com, lars-peter.clausen@analog.com,
	linux-kernel@vger.kernel.org, pankaj.chauhan@freescale.com
Subject: Re: [PATCH v2 1/4] drivers/misc: Support for RF interface device framework
Date: Mon, 12 Aug 2013 15:53:54 -0700	[thread overview]
Message-ID: <20130812225354.GA30734@kroah.com> (raw)
In-Reply-To: <1376291633-4682-2-git-send-email-akhil.goyal@freescale.com>

On Mon, Aug 12, 2013 at 12:43:50PM +0530, akhil.goyal@freescale.com wrote:
> From: Akhil Goyal <akhil.goyal@freescale.com>
> 
> The radio device framework introduces a way to accommodate the
> RF(radio frequency) signal paths.  One signal path is represented
> as a RF device (rf0, rf1 etc), and it can contain multiple
> components which have their individual vendor specific drivers.
> The framework provides mechanism by which individual components
> can register with RF framework, and the framework will handle the
> binding of individual component devices to a RF device. RF device
> exports the control interfaces to user space, and this user space
> interface is independent of component (vendor specific) drivers.
> 
> In a multimode system there can be multiple rfdev devices, depending
> on number of radios connected.
> 
> In this patch, the rf controller(AIC) and RFIC drivers
> register their respective devices with this framework. This framework
> does binding of RFIC device with RF controller device and exposes
> the combination as a logical rfdev to user space.

You are creating a bunch of character device nodes, yet there is no
"device" behind it yet.  Also, you do not export these to userspace at
all, so no "modern" system can access these device nodes at all (hint,
try this on your desktop system...)

You should really tie into the driver model properly, to get the device
node creation, as well as showing to userspace exactly which devices is
connected on the "rf bus" that you need to create, because you have a
bunch of different devices that can be attached here, with no real way
to show userspace what is going on.

Please fix up the code to do this, as it is, this is not mergable at
all.  And I'm finding it hard to understand how you tested it out...

thanks,

greg k-h

  parent reply	other threads:[~2013-08-12 22:53 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-08-12  7:13 [PATCH v2 0/4][Resend] Radio device framework akhil.goyal
2013-08-12  7:13 ` [PATCH v2 1/4] drivers/misc: Support for RF interface " akhil.goyal
2013-08-12  7:13   ` [PATCH v2 2/4] drivers/misc/rf: AIC: Freescale Antenna Interface controller driver akhil.goyal
2013-08-12  7:13     ` [PATCH v2 3/4] binding: Add device tree bindings for freescale AIC akhil.goyal
2013-08-12  7:13       ` [PATCH v2 4/4] BSC9131rdb/dts: Add nodes for supporting AIC akhil.goyal
2013-08-12 22:53   ` Greg KH [this message]
2013-08-14  5:59     ` [PATCH v2 1/4] drivers/misc: Support for RF interface device framework Akhil Goyal
  -- strict thread matches above, loose matches on Subject: below --
2013-07-08  9:49 [PATCH v2 0/4] Radio " akhil.goyal
2013-07-08  9:49 ` [PATCH v2 1/4] drivers/misc: Support for RF interface " akhil.goyal

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=20130812225354.GA30734@kroah.com \
    --to=gregkh@linuxfoundation.org \
    --cc=Michael.Hennerich@analog.com \
    --cc=akhil.goyal@freescale.com \
    --cc=arnd@arndb.de \
    --cc=lars-peter.clausen@analog.com \
    --cc=lars@metafoo.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=pankaj.chauhan@freescale.com \
    --cc=robin.getz@analog.com \
    /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.