Squashed backup commit (no shallow-clone history issues) of xiaomi-mt6833-dev/kernel_xiaomi_mt6833 (lineage-23.2 branch, upstream commit 9eece662e) plus all fixes applied to get everpal_defconfig building clean against a modern (GCC 15.2.0) toolchain -- see the previous commit message on the lineage-23.2 branch (also in this repo history is not available here since this is a squashed snapshot; full incremental history lives in the local DL380 checkout and the upstream GitHub remote). Upstream: https://github.com/xiaomi-mt6833-dev/kernel_xiaomi_mt6833 (lineage-23.2)
43 lines
1.4 KiB
Plaintext
43 lines
1.4 KiB
Plaintext
Kernel driver i2c-ali1535
|
|
|
|
Supported adapters:
|
|
* Acer Labs, Inc. ALI 1535 (south bridge)
|
|
Datasheet: Now under NDA
|
|
http://www.ali.com.tw/
|
|
|
|
Authors:
|
|
Frodo Looijaard <frodol@dds.nl>,
|
|
Philip Edelbrock <phil@netroedge.com>,
|
|
Mark D. Studebaker <mdsxyz123@yahoo.com>,
|
|
Dan Eaton <dan.eaton@rocketlogix.com>,
|
|
Stephen Rousset<stephen.rousset@rocketlogix.com>
|
|
|
|
Description
|
|
-----------
|
|
|
|
This is the driver for the SMB Host controller on Acer Labs Inc. (ALI)
|
|
M1535 South Bridge.
|
|
|
|
The M1535 is a South bridge for portable systems. It is very similar to the
|
|
M15x3 South bridges also produced by Acer Labs Inc. Some of the registers
|
|
within the part have moved and some have been redefined slightly.
|
|
Additionally, the sequencing of the SMBus transactions has been modified to
|
|
be more consistent with the sequencing recommended by the manufacturer and
|
|
observed through testing. These changes are reflected in this driver and
|
|
can be identified by comparing this driver to the i2c-ali15x3 driver. For
|
|
an overview of these chips see http://www.acerlabs.com
|
|
|
|
The SMB controller is part of the M7101 device, which is an ACPI-compliant
|
|
Power Management Unit (PMU).
|
|
|
|
The whole M7101 device has to be enabled for the SMB to work. You can't
|
|
just enable the SMB alone. The SMB and the ACPI have separate I/O spaces.
|
|
We make sure that the SMB is enabled. We leave the ACPI alone.
|
|
|
|
|
|
Features
|
|
--------
|
|
|
|
This driver controls the SMB Host only. This driver does not use
|
|
interrupts.
|