devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/2] Add support for cros-ec-extcon driver
@ 2017-03-01 11:19 Enric Balletbo i Serra
       [not found] ` <20170301111943.12170-1-enric.balletbo-ZGY8ohtN/8qB+jHODAdFcQ@public.gmane.org>
  2017-03-01 11:19 ` [PATCH v2 2/2] dt-bindings: extcon: Add support for cros-ec device Enric Balletbo i Serra
  0 siblings, 2 replies; 18+ messages in thread
From: Enric Balletbo i Serra @ 2017-03-01 11:19 UTC (permalink / raw)
  To: MyungJoo Ham, Rob Herring, Chanwoo Choi
  Cc: Lee Jones, linux-kernel, devicetree

Dear all,

Now that the drm/rockchip landed it's time to review the extcon cros-ec driver. The
cdn-dp driver uses this extcon driver to get cable status and the presence of display
out.

This driver is based on the one available in chromeos-4.4 kernel but removing
all the USB switch role stuff, as this depends on other infrastructures like 
the dwc3 role switch and the Type-C connector.

Note that these patches depends on the following patches to build.

[1] https://lkml.org/lkml/2017/2/14/655

The above patches have been acked and hopefully merged soon in linux-next.

Changes since v1:

 Requested by Chanwoo Choi
 - Rename files changing _ for -
 - Remove the unneeded blank line on bottom of header.
 - Remove kobject.h and cros_ec_commands.h includes.
 - Remove the debug message as is not necessary.
 - Use the tab for indentation instead of space for if sentence.
 - Define each variable on different lines when the variables should be
   initialized.
 - Remove EXTCON_USB and EXTCON_USB_HOST as are not really used for now.
 - Add one blank line to split out between state and property setting.
 - Add the author information (header and module)

 Requested by Rob Herring
 - Remove the Extcon word in the binding and replace it to describe better the
   h/w.
 - 'google,extcon-cros-ec' renamed to 'google,extcon-usbc-cros-ec' to indicate
   this is USB Type C related.

 Enric Balletbo
 - As Rob suggested to rename the compatible name to something indicating that
   is USB Type C related I also renamed the file names, extcon-cros-ec ->
   extcon-usbc-cros-ec, I think it's more clear.

Benson Leung (2):
  extcon: cros-ec: Add extcon-cros-ec driver to support display out.
  dt-bindings: extcon: Add support for cros-ec device

 .../bindings/extcon/extcon-usbc-cros-ec.txt        |  24 ++
 drivers/extcon/Kconfig                             |   7 +
 drivers/extcon/Makefile                            |   1 +
 drivers/extcon/extcon-usbc-cros-ec.c               | 415 +++++++++++++++++++++
 include/linux/mfd/cros_ec_commands.h               |  75 ++++
 5 files changed, 522 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/extcon/extcon-usbc-cros-ec.txt
 create mode 100644 drivers/extcon/extcon-usbc-cros-ec.c

-- 
2.9.3

^ permalink raw reply	[flat|nested] 18+ messages in thread

end of thread, other threads:[~2017-07-16  6:01 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-03-01 11:19 [PATCH v2 0/2] Add support for cros-ec-extcon driver Enric Balletbo i Serra
     [not found] ` <20170301111943.12170-1-enric.balletbo-ZGY8ohtN/8qB+jHODAdFcQ@public.gmane.org>
2017-03-01 11:19   ` [PATCH v2 1/2] extcon: cros-ec: Add extcon-cros-ec driver to support display out Enric Balletbo i Serra
2017-03-02  7:29     ` Chanwoo Choi
     [not found]       ` <58B7C9BF.1040708-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org>
2017-04-05  1:21         ` Chanwoo Choi
     [not found]           ` <58E44698.5020605-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org>
2017-04-10 14:52             ` Enric Balletbo i Serra
2017-04-24 11:58               ` Lee Jones
2017-04-20 10:16             ` Enric Balletbo i Serra
     [not found]               ` <b0a76ac2-b524-23b3-ef58-22114e8bf209-ZGY8ohtN/8qB+jHODAdFcQ@public.gmane.org>
2017-05-23  9:46                 ` Chanwoo Choi
     [not found]                   ` <59240507.1040005-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org>
2017-05-23  9:52                     ` Enric Balletbo i Serra
     [not found]                       ` <3f4c4b85-e9db-0531-e3da-2e671a8fa750-ZGY8ohtN/8qB+jHODAdFcQ@public.gmane.org>
2017-05-23  9:58                         ` Chanwoo Choi
     [not found]                           ` <592407B4.5040108-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org>
2017-05-23 22:24                             ` Benson Leung
     [not found]                               ` <CANLzEktUM4sitQFRTTbDZm6WsTSA8bAohAr-x_y0szkF9GmRVw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2017-07-12 10:28                                 ` Enric Balletbo Serra
     [not found]                                   ` <CAFqH_50v+7aAUro8QFsLX82gHwuM58Q8bpRTw7j1vXcexGLYQA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2017-07-13 10:26                                     ` Chanwoo Choi
     [not found]                                       ` <59674ABC.1000102-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org>
2017-07-13 10:45                                         ` Enric Balletbo Serra
2017-07-16  6:01                                           ` Chanwoo Choi
2017-03-14 17:02     ` Lee Jones
2017-03-01 11:19 ` [PATCH v2 2/2] dt-bindings: extcon: Add support for cros-ec device Enric Balletbo i Serra
2017-03-03  6:43   ` Rob Herring

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).