[RESEND PATCH v3 0/2] i2c: i2c-mux-gpio: Enable this driver in ACPI land
From: Evan Green
Date: Wed Nov 18 2020 - 18:41:10 EST
The i2c-mux-gpio driver is a handy driver to have in your bag of tricks,
but it currently only works with DT-based firmware. Enable this driver
on ACPI platforms as well.
The first patch is a little dinky. Peter, if it turns out you'd rather
just take this all as a single patch, feel free to squash the first
patch into the second. Or I can resend a squashed patch if needed.
Changes in v3:
- Introduced minor &pdev->dev to dev refactor (Peter)
- Update commit message again (Peter)
- Added missing \n (Peter)
- adr64 overflow check (Peter)
- Don't initialize child (Peter)
- Limit scope of dev_handle (Peter)
Changes in v2:
- Make it compile properly when !CONFIG_ACPI (Randy)
- Update commit message regarding i2c-parent (Peter)
Evan Green (2):
i2c: i2c-mux-gpio: Factor out pdev->dev in _probe_dt()
i2c: i2c-mux-gpio: Enable this driver in ACPI land
drivers/i2c/muxes/i2c-mux-gpio.c | 112 ++++++++++++++++++++++---------
1 file changed, 82 insertions(+), 30 deletions(-)
--
2.26.2