public inbox for linux-arm-kernel@lists.infradead.org 
 help / color / mirror / Atom feed
From: swarren@wwwdotorg•org (Stephen Warren)
To: linux-arm-kernel@lists•infradead.org
Subject: [PATCH v2] extcon: palmas: Modified the compatible type to *ti, palmas-usb-vid*
Date: Fri, 16 Aug 2013 16:21:10 -0600	[thread overview]
Message-ID: <520EA5D6.3040409@wwwdotorg.org> (raw)
In-Reply-To: <1376648448-27447-1-git-send-email-kishon@ti.com>

On 08/16/2013 04:20 AM, Kishon Vijay Abraham I wrote:
> The Palmas device contains only a USB VID detector, so modified the
> compatible type to *ti,palmas-usb-vid*.

> diff --git a/Documentation/devicetree/bindings/extcon/extcon-palmas.txt b/Documentation/devicetree/bindings/extcon/extcon-palmas.txt

>  PALMAS USB COMPARATOR
>  Required Properties:
> - - compatible : Should be "ti,palmas-usb" or "ti,twl6035-usb"
> + - compatible : Should be "ti,palmas-usb-vid".

Has the old value been published in a release kernel? If so, it makes
sense to document both values, but say the old one is deprecated, and ...

> diff --git a/drivers/extcon/extcon-palmas.c b/drivers/extcon/extcon-palmas.c

>  static struct of_device_id of_palmas_match_tbl[] = {
> -	{ .compatible = "ti,palmas-usb", },
> -	{ .compatible = "ti,twl6035-usb", },
> +	{ .compatible = "ti,palmas-usb-vid", },

... perhaps just add the new value here, and don't remove the old values?

If not, ignore this.

  reply	other threads:[~2013-08-16 22:21 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-08-16 10:20 [PATCH v2] extcon: palmas: Modified the compatible type to *ti, palmas-usb-vid* Kishon Vijay Abraham I
2013-08-16 22:21 ` Stephen Warren [this message]
2013-08-19  5:05   ` Kishon Vijay Abraham I
2013-08-19  8:33     ` [PATCH v2] extcon: palmas: Modified the compatible type to *ti,palmas-usb-vid* Chanwoo Choi
2013-08-19  8:47     ` [PATCH v2] extcon: palmas: Modified the compatible type to *ti, palmas-usb-vid* Kishon Vijay Abraham I
2013-08-19  9:24       ` [PATCH v2] extcon: palmas: Modified the compatible type to *ti,palmas-usb-vid* Chanwoo Choi
2013-08-19  9:29         ` [PATCH v2] extcon: palmas: Modified the compatible type to *ti, palmas-usb-vid* Kishon Vijay Abraham I
2013-08-19 10:21           ` Benoit Cousson
2013-08-19 10:26             ` Kishon Vijay Abraham I
2013-08-19 16:11     ` Stephen Warren

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=520EA5D6.3040409@wwwdotorg.org \
    --to=swarren@wwwdotorg$(echo .)org \
    --cc=linux-arm-kernel@lists$(echo .)infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
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