]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
i2c: xiic: skip input clock setup on non-OF systems
authorAbdurrahman Hussain <abdurrahman@nexthop.ai>
Mon, 23 Feb 2026 15:59:22 +0000 (15:59 +0000)
committerAndi Shyti <andi.shyti@kernel.org>
Wed, 1 Apr 2026 23:28:03 +0000 (01:28 +0200)
commitdd0422eb1566a823587ede7780aef9c9c7a45b04
tree704bfdae89f0d8631ee7ad8a8d41aea5a407e01f
parent91430a8ea9cebbe47c1723871492d5c135faf999
i2c: xiic: skip input clock setup on non-OF systems

Currently Linux does not implement ACPI ClockInput() resource to describe
clocks, unlike DT. However the xiic driver is happy if something
magically enables the clock before the driver probes, and does not
turn it off again. The clock should always be considered optional for
ACPI.

Signed-off-by: Abdurrahman Hussain <abdurrahman@nexthop.ai>
Signed-off-by: Andi Shyti <andi.shyti@kernel.org>
Link: https://lore.kernel.org/r/20260223-i2c-xiic-v12-7-b6c9ce4e4f3c@nexthop.ai
drivers/i2c/busses/i2c-xiic.c