]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
i2c-cht-wc: Add device-properties for fusb302 integration
authorHans de Goede <hdegoede@redhat.com>
Wed, 11 Oct 2017 09:41:20 +0000 (11:41 +0200)
committerWolfram Sang <wsa@the-dreams.de>
Fri, 27 Oct 2017 13:51:51 +0000 (15:51 +0200)
commit0224d45c9d46401b6d7018a96cfe049c5da7d91c
tree9615ee7d2b6c0171f6f52a2aea55435e157653a3
parent728fe6cef27444b6575c5e7ab5de13274610488b
i2c-cht-wc: Add device-properties for fusb302 integration

Add device-properties to make the bq24292i charger connected to
the bus get its input-current-limit from the fusb302 Type-C port
controller which is used on boards with the cht-wc PMIC,
as well as regulator_init_data for the 5V boost converter on
the bq24292i.

Since this means we now hook-up the bq24292i to the fusb302 Type-C port
controller add a check for the ACPI device which instantiates the fusb302.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
drivers/i2c/busses/Kconfig
drivers/i2c/busses/i2c-cht-wc.c