mirror of
https://github.com/torvalds/linux.git
synced 2026-04-18 23:03:57 -04:00
Pull i2c updates from Wolfram Sang: "Mostly fixes for DTs or DT handling this time. And a few driver bugfixes" * tag 'i2c-for-6.4-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux: (28 commits) i2c: xiic: xiic_xfer(): Fix runtime PM leak on error path i2c: cadence: cdns_i2c_master_xfer(): Fix runtime PM leak on error path i2c: omap: Improve error reporting for problems during .remove() i2c: cadence: Add reset controller support dt-bindings: i2c: cadence: Document `resets` property i2c: mediatek: add support for MT7981 SoC dt-bindings: i2c: i2c-mt65xx: add MediaTek MT7981 SoC dt-bindings: i2c: Drop unneeded quotes i2c: brcmstb: use devm_platform_ioremap_resource_byname() i2c: cadence: Detect maximum transfer size i2c: cadence: Allow to specify the FIFO depth dt-bindings: i2c: cadence: Document `fifo-depth` property i2c: xiic: Use devm_platform_get_and_ioremap_resource() i2c: mpc: Use i2c-scl-clk-low-timeout-us i2c property i2c: mpc: Use of_property_read_u32 instead of of_get_property dt-bindings: i2c: mpc: Mark "fsl,timeout" as deprecated i2c: xiic: hide OF related data for COMPILE_TEST i2c: synquacer: mark OF related data as maybe unused dt-bindings: i2c: i2c-mt65xx: Add compatible for MT6795 Helio X10 i2c: imx: Simplify using devm_clk_get_enabled() ...
68 lines
1.4 KiB
YAML
68 lines
1.4 KiB
YAML
# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
|
|
%YAML 1.2
|
|
---
|
|
$id: http://devicetree.org/schemas/i2c/apple,i2c.yaml#
|
|
$schema: http://devicetree.org/meta-schemas/core.yaml#
|
|
|
|
title: Apple/PASemi I2C controller
|
|
|
|
maintainers:
|
|
- Sven Peter <sven@svenpeter.dev>
|
|
|
|
description: |
|
|
Apple SoCs such as the M1 come with a I2C controller based on the one found
|
|
in machines with P. A. Semi's PWRficient processors.
|
|
The bus is used to communicate with e.g. USB PD chips or the speaker
|
|
amp.
|
|
|
|
allOf:
|
|
- $ref: /schemas/i2c/i2c-controller.yaml#
|
|
|
|
properties:
|
|
compatible:
|
|
items:
|
|
- enum:
|
|
- apple,t8103-i2c
|
|
- apple,t8112-i2c
|
|
- apple,t6000-i2c
|
|
- const: apple,i2c
|
|
|
|
reg:
|
|
maxItems: 1
|
|
|
|
clocks:
|
|
items:
|
|
- description: I2C bus reference clock
|
|
|
|
interrupts:
|
|
maxItems: 1
|
|
|
|
clock-frequency:
|
|
description: |
|
|
Desired I2C bus clock frequency in Hz. If not specified, 100 kHz will be
|
|
used. This frequency is generated by dividing the reference clock.
|
|
Allowed values are between ref_clk/(16*4) and ref_clk/(16*255).
|
|
|
|
power-domains:
|
|
maxItems: 1
|
|
|
|
required:
|
|
- compatible
|
|
- reg
|
|
- clocks
|
|
- interrupts
|
|
|
|
unevaluatedProperties: false
|
|
|
|
examples:
|
|
- |
|
|
i2c@35010000 {
|
|
compatible = "apple,t8103-i2c", "apple,i2c";
|
|
reg = <0x35010000 0x4000>;
|
|
interrupt-parent = <&aic>;
|
|
interrupts = <0 627 4>;
|
|
clocks = <&ref_clk>;
|
|
#address-cells = <1>;
|
|
#size-cells = <0>;
|
|
};
|