]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit45cdadce8e79e9d26fee6b0488a40c888444ef5d
tree2494271eb660f947dad49c39c3233de72b5c6e03
parentc22b3c95716f7c2cdb6a88b1ef71c868c7ba8e01
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