i2c: cros-ec-tunnel: Make the device acpi compatible
authorAkshu Agrawal <akshu.agrawal@amd.com>
Mon, 11 Nov 2019 16:14:28 +0000 (21:44 +0530)
committerWolfram Sang <wsa@the-dreams.de>
Mon, 11 Nov 2019 20:38:03 +0000 (21:38 +0100)
commit9af1563a54865a2973d4c0cbeaa95809cf4b14e0
tree145b00f21912e076b3013f7fdeeda3324799142c
parentd77eceb2de99f5d7e0c645bad15511fe1af59e09
i2c: cros-ec-tunnel: Make the device acpi compatible

Add ACPI entry and use device_property_read to get fw value
which is common to both dtsi and acpi.

Signed-off-by: Akshu Agrawal <akshu.agrawal@amd.com>
Acked-by: Raul E Rangel <rrangel@chromium.org>
Reviewed-by: Enric Balletbo i Serra <enric.balletbo@collabora.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
drivers/i2c/busses/i2c-cros-ec-tunnel.c