All of lore.kernel.org
 help / color / mirror / Atom feed
From: Rob Herring <robh@kernel.org>
To: Ryan Lee <ryans.lee@maximintegrated.com>
Cc: lgirdwood@gmail.com, broonie@kernel.org, mark.rutland@arm.com,
	perex@perex.cz, tiwai@suse.com, kuninori.morimoto.gx@renesas.com,
	arnd@arndb.de, ckeepax@opensource.wolfsonmicro.com,
	lars@metafoo.de, bardliao@realtek.com, nh6z@nh6z.net,
	KCHSU0@nuvoton.com, axel.lin@ingics.com,
	romain.perier@collabora.com, petr@barix.com,
	srinivas.kandagatla@linaro.org, oder_chiou@realtek.com,
	Paul.Handrigan@cirrus.com, alsa-devel@alsa-project.org,
	devicetree@vger.kernel.org, linux-kernel@vger.kernel.org,
	dgreid@google.com
Subject: Re: [PATCH] ASoC: Add support for Maxim Integrated MAX98927 Amplifier
Date: Fri, 24 Mar 2017 10:26:13 -0500	[thread overview]
Message-ID: <20170324152613.qzvsviznhiz5f3sj@rob-hp-laptop> (raw)
In-Reply-To: <1489970423-29353-1-git-send-email-ryans.lee@maximintegrated.com>

On Mon, Mar 20, 2017 at 09:40:23AM +0900, Ryan Lee wrote:
> Signed-off-by: Ryan Lee <ryans.lee@maximintegrated.com>
> ---
> Resubmit the intial version of MAX98927 driver. Added all fixes into the initial patch.
> 
>  .../devicetree/bindings/sound/max98927.txt         |   39 +
>  sound/soc/codecs/Kconfig                           |    5 +
>  sound/soc/codecs/Makefile                          |    2 +
>  sound/soc/codecs/max98927.c                        | 1040 ++++++++++++++++++++
>  sound/soc/codecs/max98927.h                        |  267 +++++
>  5 files changed, 1353 insertions(+)
>  create mode 100755 Documentation/devicetree/bindings/sound/max98927.txt
>  mode change 100644 => 100755 sound/soc/codecs/Kconfig
>  mode change 100644 => 100755 sound/soc/codecs/Makefile
>  create mode 100755 sound/soc/codecs/max98927.c
>  create mode 100755 sound/soc/codecs/max98927.h
> 
> diff --git a/Documentation/devicetree/bindings/sound/max98927.txt b/Documentation/devicetree/bindings/sound/max98927.txt
> new file mode 100755
> index 0000000..d610879
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/sound/max98927.txt
> @@ -0,0 +1,39 @@
> +max98927 audio CODEC
> +
> +This device supports I2C.

Can we combine this and the other max9892x bindings. They all look 
similar.

> +
> +Required properties:
> +
> +  - compatible : "maxim,max98927"
> +
> +  - maxim,vmon-slot-no : slot number used to send voltage information

While vendor prefix is preferred, so is using the same property names. 
Either use the existing names or deprecate the old ones in favor of 
these.

> +                   or in inteleave mode this will be used as
> +                   interleave slot.
> +                   This property can be set to values from 0 to 15 for slot 0 to 15.
> +                   Default value is 0.
> +
> +  - maxim,imon-slot-no : slot number used to send current information
> +                   This property can be set to values from 0 to 15 for slot 0 to 15.
> +                   Default value is 0.
> +
> +  - maxim,interleave-mode : When using two MAX98927 in a system it is
> +                   possible to create ADC data that that will
> +                   overflow the frame size. Digital Audio Interleave
> +                   mode provides a means to output VMON and IMON data
> +                   from two devices on a single DOUT line when running
> +                   smaller frames sizes such as 32 BCLKS per LRCLK or
> +                   48 BCLKS per LRCLK.
> +                   This property can be set to values from 0 to 1 for off and on.
> +                   Default value is 0.
> +
> +  - reg : the I2C address of the device for I2C
> +
> +Example:
> +
> +codec: max98927@3a {
> +   compatible = "maxim,max98927";
> +   maxim,vmon-slot-no = <0>;
> +   maxim,imon-slot-no = <1>;
> +   maxim,interleave-mode = <0>;
> +   reg = <0x3a>;
> +};

WARNING: multiple messages have this Message-ID (diff)
From: Rob Herring <robh@kernel.org>
To: Ryan Lee <ryans.lee@maximintegrated.com>
Cc: mark.rutland@arm.com, alsa-devel@alsa-project.org,
	kuninori.morimoto.gx@renesas.com, lgirdwood@gmail.com,
	tiwai@suse.com, srinivas.kandagatla@linaro.org,
	romain.perier@collabora.com, bardliao@realtek.com,
	lars@metafoo.de, axel.lin@ingics.com, Paul.Handrigan@cirrus.com,
	devicetree@vger.kernel.org, arnd@arndb.de, nh6z@nh6z.net,
	broonie@kernel.org, ckeepax@opensource.wolfsonmicro.com,
	dgreid@google.com, oder_chiou@realtek.com, KCHSU0@nuvoton.com,
	linux-kernel@vger.kernel.org, petr@barix.com
Subject: Re: [PATCH] ASoC: Add support for Maxim Integrated MAX98927 Amplifier
Date: Fri, 24 Mar 2017 10:26:13 -0500	[thread overview]
Message-ID: <20170324152613.qzvsviznhiz5f3sj@rob-hp-laptop> (raw)
In-Reply-To: <1489970423-29353-1-git-send-email-ryans.lee@maximintegrated.com>

On Mon, Mar 20, 2017 at 09:40:23AM +0900, Ryan Lee wrote:
> Signed-off-by: Ryan Lee <ryans.lee@maximintegrated.com>
> ---
> Resubmit the intial version of MAX98927 driver. Added all fixes into the initial patch.
> 
>  .../devicetree/bindings/sound/max98927.txt         |   39 +
>  sound/soc/codecs/Kconfig                           |    5 +
>  sound/soc/codecs/Makefile                          |    2 +
>  sound/soc/codecs/max98927.c                        | 1040 ++++++++++++++++++++
>  sound/soc/codecs/max98927.h                        |  267 +++++
>  5 files changed, 1353 insertions(+)
>  create mode 100755 Documentation/devicetree/bindings/sound/max98927.txt
>  mode change 100644 => 100755 sound/soc/codecs/Kconfig
>  mode change 100644 => 100755 sound/soc/codecs/Makefile
>  create mode 100755 sound/soc/codecs/max98927.c
>  create mode 100755 sound/soc/codecs/max98927.h
> 
> diff --git a/Documentation/devicetree/bindings/sound/max98927.txt b/Documentation/devicetree/bindings/sound/max98927.txt
> new file mode 100755
> index 0000000..d610879
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/sound/max98927.txt
> @@ -0,0 +1,39 @@
> +max98927 audio CODEC
> +
> +This device supports I2C.

Can we combine this and the other max9892x bindings. They all look 
similar.

> +
> +Required properties:
> +
> +  - compatible : "maxim,max98927"
> +
> +  - maxim,vmon-slot-no : slot number used to send voltage information

While vendor prefix is preferred, so is using the same property names. 
Either use the existing names or deprecate the old ones in favor of 
these.

> +                   or in inteleave mode this will be used as
> +                   interleave slot.
> +                   This property can be set to values from 0 to 15 for slot 0 to 15.
> +                   Default value is 0.
> +
> +  - maxim,imon-slot-no : slot number used to send current information
> +                   This property can be set to values from 0 to 15 for slot 0 to 15.
> +                   Default value is 0.
> +
> +  - maxim,interleave-mode : When using two MAX98927 in a system it is
> +                   possible to create ADC data that that will
> +                   overflow the frame size. Digital Audio Interleave
> +                   mode provides a means to output VMON and IMON data
> +                   from two devices on a single DOUT line when running
> +                   smaller frames sizes such as 32 BCLKS per LRCLK or
> +                   48 BCLKS per LRCLK.
> +                   This property can be set to values from 0 to 1 for off and on.
> +                   Default value is 0.
> +
> +  - reg : the I2C address of the device for I2C
> +
> +Example:
> +
> +codec: max98927@3a {
> +   compatible = "maxim,max98927";
> +   maxim,vmon-slot-no = <0>;
> +   maxim,imon-slot-no = <1>;
> +   maxim,interleave-mode = <0>;
> +   reg = <0x3a>;
> +};

  parent reply	other threads:[~2017-03-24 15:27 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-03-20  0:40 [PATCH] ASoC: Add support for Maxim Integrated MAX98927 Amplifier Ryan Lee
2017-03-20  0:40 ` Ryan Lee
2017-03-20 14:14 ` [alsa-devel] " Charles Keepax
2017-03-20 14:14   ` Charles Keepax
2017-03-27  5:32   ` [PATCH v2] " Ryan Lee
2017-03-27  5:32     ` Ryan Lee
2017-03-27 18:46     ` Rob Herring
2017-03-27 18:46       ` Rob Herring
2017-03-27  5:45   ` [alsa-devel] [PATCH] " Ryans Lee
2017-03-27  5:45     ` Ryans Lee
2017-03-24 15:26 ` Rob Herring [this message]
2017-03-24 15:26   ` Rob Herring
2017-03-28 15:32   ` [PATCH v3] " Ryan Lee
2017-03-28 15:32     ` Ryan Lee
2017-03-28 16:39     ` Mark Brown
2017-03-28 16:39       ` Mark Brown
2017-03-29  0:49       ` Ryan Lee
2017-03-29  0:49         ` Ryan Lee
2017-03-28 15:36   ` [PATCH] " Ryans Lee
2017-03-28 15:36     ` Ryans Lee

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=20170324152613.qzvsviznhiz5f3sj@rob-hp-laptop \
    --to=robh@kernel.org \
    --cc=KCHSU0@nuvoton.com \
    --cc=Paul.Handrigan@cirrus.com \
    --cc=alsa-devel@alsa-project.org \
    --cc=arnd@arndb.de \
    --cc=axel.lin@ingics.com \
    --cc=bardliao@realtek.com \
    --cc=broonie@kernel.org \
    --cc=ckeepax@opensource.wolfsonmicro.com \
    --cc=devicetree@vger.kernel.org \
    --cc=dgreid@google.com \
    --cc=kuninori.morimoto.gx@renesas.com \
    --cc=lars@metafoo.de \
    --cc=lgirdwood@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mark.rutland@arm.com \
    --cc=nh6z@nh6z.net \
    --cc=oder_chiou@realtek.com \
    --cc=perex@perex.cz \
    --cc=petr@barix.com \
    --cc=romain.perier@collabora.com \
    --cc=ryans.lee@maximintegrated.com \
    --cc=srinivas.kandagatla@linaro.org \
    --cc=tiwai@suse.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.