public inbox for devicetree@vger.kernel.org
 help / color / mirror / Atom feed
From: Rob Herring <robh-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>
To: Amitkumar Karwar <akarwar-eYqpPyKDWXRBDgjK7y7TUQ@public.gmane.org>
Cc: linux-bluetooth-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	Nishant Sarmukadam
	<nishants-eYqpPyKDWXRBDgjK7y7TUQ@public.gmane.org>,
	wnhuang-F7+t8E8rja9Wk0Htik3J/w@public.gmane.org,
	devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	Xinming Hu <huxm-eYqpPyKDWXRBDgjK7y7TUQ@public.gmane.org>
Subject: Re: [PATCH v3 1/2] bluetooth: btmrvl: register platform specific driver
Date: Mon, 8 Feb 2016 16:05:09 -0600	[thread overview]
Message-ID: <20160208220509.GA20229@rob-hp-laptop> (raw)
In-Reply-To: <1454927231-17662-1-git-send-email-akarwar-eYqpPyKDWXRBDgjK7y7TUQ@public.gmane.org>

On Mon, Feb 08, 2016 at 02:27:10AM -0800, Amitkumar Karwar wrote:
> From: Xinming Hu <huxm-eYqpPyKDWXRBDgjK7y7TUQ@public.gmane.org>
> 
> Platform device and driver provide easy way to
> interact with device-tree-enabled system.
> 
> This patch registers platform driver and reorganise
> existing device tree specific code.
> 
> Signed-off-by: Xinming Hu <huxm-eYqpPyKDWXRBDgjK7y7TUQ@public.gmane.org>
> Signed-off-by: Amitkumar Karwar <akarwar-eYqpPyKDWXRBDgjK7y7TUQ@public.gmane.org>
> ---
> v3: Add NULL check for 'btmrvl_plt_dev'
> ---
>  Documentation/devicetree/bindings/btmrvl.txt |  8 ++--

This needs to move somewhere else.

>  drivers/bluetooth/Makefile                   |  1 +
>  drivers/bluetooth/btmrvl_drv.h               | 16 ++++++++
>  drivers/bluetooth/btmrvl_main.c              |  8 +++-
>  drivers/bluetooth/btmrvl_platform.c          | 60 ++++++++++++++++++++++++++++
>  5 files changed, 88 insertions(+), 5 deletions(-)
>  create mode 100644 drivers/bluetooth/btmrvl_platform.c
> 
> diff --git a/Documentation/devicetree/bindings/btmrvl.txt b/Documentation/devicetree/bindings/btmrvl.txt
> index 58f964b..25b804b 100644
> --- a/Documentation/devicetree/bindings/btmrvl.txt
> +++ b/Documentation/devicetree/bindings/btmrvl.txt
> @@ -3,7 +3,7 @@ btmrvl
>  
>  Required properties:
>  
> -  - compatible : must be "btmrvl,cfgdata"
> +  - compatible : must be "marvell,btmrvl"

While the new name is less worse than the old one, I'm not inclined to 
take any changes for this binding because it is problematic. Given you 
don't care this is an incompatible change, then the binding can be 
completely redone.

It should reflect the actual chip name (e.g. sd8???) and be a child node 
of its connection to the host (a UART). See UART slave discussions.

>  
>  Optional properties:
>  
> @@ -15,11 +15,11 @@ Optional properties:
>  
>  Example:
>  
> -GPIO pin 13 is configured as a wakeup source and GAP is set to 100 msecs
> -in below example.
> +GPIO pin 13 and gap 100ms are configured for host wakeup, calibration
> +data is also available in below example.
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

  parent reply	other threads:[~2016-02-08 22:05 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-02-08 10:27 [PATCH v3 1/2] bluetooth: btmrvl: register platform specific driver Amitkumar Karwar
2016-02-08 10:27 ` [PATCH v3 2/2] bluetooth: btmrvl: parse host wakeup configuration from device tree Amitkumar Karwar
     [not found] ` <1454927231-17662-1-git-send-email-akarwar-eYqpPyKDWXRBDgjK7y7TUQ@public.gmane.org>
2016-02-08 22:05   ` Rob Herring [this message]
2016-02-16 10:06     ` [PATCH v3 1/2] bluetooth: btmrvl: register platform specific driver Amitkumar Karwar

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=20160208220509.GA20229@rob-hp-laptop \
    --to=robh-dgejt+ai2ygdnm+yrofe0a@public.gmane.org \
    --cc=akarwar-eYqpPyKDWXRBDgjK7y7TUQ@public.gmane.org \
    --cc=devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=huxm-eYqpPyKDWXRBDgjK7y7TUQ@public.gmane.org \
    --cc=linux-bluetooth-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=nishants-eYqpPyKDWXRBDgjK7y7TUQ@public.gmane.org \
    --cc=wnhuang-F7+t8E8rja9Wk0Htik3J/w@public.gmane.org \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox