]> git.baikalelectronics.ru Git - kernel.git/commit
i2c: cadence: Implement save restore
authorShubhrajyoti Datta <shubhrajyoti.datta@xilinx.com>
Tue, 13 Jul 2021 07:00:11 +0000 (12:30 +0530)
committerWolfram Sang <wsa@kernel.org>
Wed, 25 Aug 2021 21:07:05 +0000 (23:07 +0200)
commitacf0e81a3abf10a09f6eae06278b43fccd1bd3ff
tree2d1dfa4e0b23330bfee1c1a101a85eeafda7bc79
parent0442aba546502f6e8c20b9e9935251fe1176fda2
i2c: cadence: Implement save restore

The zynqmp platform now supports chip-off so the registers can
lose context.
Implement save restore for i2c module.
Since we have only a couple of registers
an unconditional restore is done.

Acked-by: Michal Simek <michal.simek@xilinx.com>
Signed-off-by: Shubhrajyoti Datta <shubhrajyoti.datta@xilinx.com>
Signed-off-by: Wolfram Sang <wsa@kernel.org>
drivers/i2c/busses/i2c-cadence.c