mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Sam Ravnborg <sam@ravnborg.org>
To: Andrey Smirnov <andrew.smirnov@gmail.com>
Cc: hverkuil@xs4all.nl, mchehab@redhat.com, sameo@linux.intel.com,
	linux-media@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH v6 1/9] mfd: Add header files and Kbuild plumbing for SI476x MFD core
Date: Tue, 26 Feb 2013 19:19:52 +0100	[thread overview]
Message-ID: <20130226181952.GA25842@merkur.ravnborg.org> (raw)
In-Reply-To: <1361896295-26138-2-git-send-email-andrew.smirnov@gmail.com>

On Tue, Feb 26, 2013 at 08:31:27AM -0800, Andrey Smirnov wrote:
> From: Andrey Smirnov <andreysm@charmander.(none)>
> 
> This patch adds all necessary header files and Kbuild plumbing for the
> core driver for Silicon Laboratories Si476x series of AM/FM tuner
> chips.
> 
> The driver as a whole is implemented as an MFD device and this patch
> adds a core portion of it that provides all the necessary
> functionality to the two other drivers that represent radio and audio
> codec subsystems of the chip.

Some small nits.

First - this patch should be the final patch - as we otherwise fail to build
the driver due to missing files (if it gets enabled).

> 
> Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com>
> ---
>  drivers/mfd/Kconfig             |   13 +
>  drivers/mfd/Makefile            |    4 +
>  include/linux/mfd/si476x-core.h |  525 +++++++++++++++++++++++++++++++++++++++
>  3 files changed, 542 insertions(+)
>  create mode 100644 include/linux/mfd/si476x-core.h
> 
> diff --git a/drivers/mfd/Kconfig b/drivers/mfd/Kconfig
> index 1c0abd4..3214927 100644
> --- a/drivers/mfd/Kconfig
> +++ b/drivers/mfd/Kconfig
> @@ -970,6 +970,19 @@ config MFD_WL1273_CORE
>  	  driver connects the radio-wl1273 V4L2 module and the wl1273
>  	  audio codec.
>  
> +config MFD_SI476X_CORE
> +	tristate "Support for Silicon Laboratories 4761/64/68 AM/FM radio."
> +	depends on I2C
> +	select MFD_CORE
> +	default n
The above line is redundant - drop it.

> +	help
> +	  This is the core driver for the SI476x series of AM/FM
> +	  radio. This MFD driver connects the radio-si476x V4L2 module
> +	  and the si476x audio codec.
> +
> +	  To compile this driver as a module, choose M here: the
> +	  module will be called si476x-core.
> +
>  config MFD_OMAP_USB_HOST
>  	bool "Support OMAP USBHS core and TLL driver"
>  	depends on USB_EHCI_HCD_OMAP || USB_OHCI_HCD_OMAP3
> diff --git a/drivers/mfd/Makefile b/drivers/mfd/Makefile
> index 8b977f8..bf7627b 100644
> --- a/drivers/mfd/Makefile
> +++ b/drivers/mfd/Makefile
> @@ -131,6 +131,10 @@ obj-$(CONFIG_MFD_JZ4740_ADC)	+= jz4740-adc.o
>  obj-$(CONFIG_MFD_TPS6586X)	+= tps6586x.o
>  obj-$(CONFIG_MFD_VX855)		+= vx855.o
>  obj-$(CONFIG_MFD_WL1273_CORE)	+= wl1273-core.o
> +
> +si476x-core-objs := si476x-cmd.o si476x-prop.o si476x-i2c.o

Please use: si476x-core-y := si476x-cmd.o si476x-prop.o si476x-i2c.o

Functionality is the same - but the above is the recommended way today.
It allows you to do stuff like:

   si476x-core-$(BLA) += foobar.o



  reply	other threads:[~2013-02-26 18:19 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-02-26 16:31 [PATCH v6 0/9] Driver for Si476x series of chips Andrey Smirnov
2013-02-26 16:31 ` [PATCH v6 1/9] mfd: Add header files and Kbuild plumbing for SI476x MFD core Andrey Smirnov
2013-02-26 18:19   ` Sam Ravnborg [this message]
2013-02-26 16:31 ` [PATCH v6 2/9] mfd: Add commands abstraction layer for SI476X MFD Andrey Smirnov
2013-02-26 16:31 ` [PATCH v6 3/9] mfd: Add the main bulk of core driver for SI476x code Andrey Smirnov
2013-02-26 16:31 ` [PATCH v6 4/9] mfd: Add chip properties handling code for SI476X MFD Andrey Smirnov
2013-02-26 16:31 ` [PATCH v6 5/9] v4l2: Fix the type of V4L2_CID_TUNE_PREEMPHASIS in the documentation Andrey Smirnov
2013-02-26 16:31 ` [PATCH v6 6/9] v4l2: Add standard controls for FM receivers Andrey Smirnov
2013-02-26 16:31 ` [PATCH v6 7/9] v4l2: Add documentation for the FM RX controls Andrey Smirnov
2013-02-26 16:31 ` [PATCH v6 8/9] v4l2: Add private controls base for SI476X Andrey Smirnov
2013-02-26 16:31 ` [PATCH v6 9/9] v4l2: Add a V4L2 driver for SI476X MFD Andrey Smirnov
2013-02-26 17:36 ` [PATCH v6 0/9] Driver for Si476x series of chips Hans Verkuil

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=20130226181952.GA25842@merkur.ravnborg.org \
    --to=sam@ravnborg.org \
    --cc=andrew.smirnov@gmail.com \
    --cc=hverkuil@xs4all.nl \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-media@vger.kernel.org \
    --cc=mchehab@redhat.com \
    --cc=sameo@linux.intel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®