staging: typec: fusb302: Set max supply voltage to 5V
authorHans de Goede <hdegoede@redhat.com>
Wed, 30 Aug 2017 09:48:06 +0000 (11:48 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 31 Aug 2017 16:23:12 +0000 (18:23 +0200)
commit9a8fc4dd36041e017f3ee87a380686c80822b233
tree2494271eb660f947dad49c39c3233de72b5c6e03
parentea62cfc71b6f7f0ae9bb93b60335a6dedcaa69e6
staging: typec: fusb302: Set max supply voltage to 5V

Anything higher then 5V may damage hardware not capable of it, so
the only sane default here is 5V. If a board is able to handle a
higher voltage that should come from board specific data such as
device-tree and not be hard coded into the fusb302 code.

Cc: "Yueyao (Nathan) Zhu" <yueyao@google.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/typec/fusb302/fusb302.c