forked from torvalds/linux
-
Notifications
You must be signed in to change notification settings - Fork 131
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixes from jk: - Set of_node of i2c bus devices, so the core code will enumerate for devices. - Rip out slave mode code - Simplify debugging printouts - Don't mask-out valid interrupt bits - Rework init procedure to match docs. We should enable the mode after the initial setup. - Use per-adapter device - It's "done", not "down". - Don't futz with the interrupt control register - Clean up interrupt definitions. Use common defs for the enable & status, and make the names a little more clear (TIMEOUT instead of TO, and ALERT instead of ALT, and make the address detection interrupts consistent). - Get rid fo xfer_mode, it could only be BYTE_XFER anyway. - Remove master_xfer callbacks, do_master_xfer could only have one value. - Remove master_xfer_len. It could only ever be 1. This allows us to remove xfer_len in master_xfer_done. - Simplify message state info - Rework driver state machine - Use separate controller & bus platform devices, use an irq controller for busses - Update for IRQ changes, fixes build failure after rebasting on 4.3. See d17cab4 for why I removed set_irq_flags. Signed-off-by: Joel Stanley <[email protected]> Signed-off-by: Jeremy Kerr <[email protected]>
- Loading branch information
Showing
5 changed files
with
491 additions
and
1,871 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.