[PATCH 1/3] dt-bindings: i2c: add Amlogic A9 I2C controller
Xianwei Zhao
xianwei.zhao at amlogic.com
Mon Sep 28 20:11:16 PDT 2026
Hi Conor,
Thanks for your review.
On 2026/9/25 01:01, Conor Dooley wrote:
> Subject:
> Re: [PATCH 1/3] dt-bindings: i2c: add Amlogic A9 I2C controller
> From:
> Conor Dooley <conor at kernel.org>
> Date:
> 2026/9/25 01:01
>
> To:
> xianwei.zhao at amlogic.com
> CC:
> Junyi Zhao <junyi.zhao at amlogic.com>, Andi Shyti <andi.shyti at kernel.org>,
> Rob Herring <robh at kernel.org>, Krzysztof Kozlowski <krzk+dt at kernel.org>,
> Conor Dooley <conor+dt at kernel.org>, Xianwei Zhao
> <xianwei.zhaol at amlogic.com>, Junyi Zhao <junyi.zhaol at amlogic.com>,
> linux-i2c at vger.kernel.org, linux-amlogic at lists.infradead.org,
> devicetree at vger.kernel.org, linux-kernel at vger.kernel.org
>
>
> On Thu, Sep 24, 2026 at 08:39:34AM +0000, Xianwei Zhao via B4 Relay wrote:
>> From: Xianwei Zhao<xianwei.zhao at amlogic.com>
>>
>> Add a Device Tree binding for the I2C controller found on the
>> Amlogic A9 SoC.
>>
>> Signed-off-by: Xianwei Zhao<xianwei.zhao at amlogic.com>
> Since this is not in the existing meson file, does that mean that
> there's a substantial change in the IP design, other than the addition
> of dma support?
>
Yes. This is a new I2C controller that is different from the existing one.
>> ---
>> .../devicetree/bindings/i2c/amlogic,a9-i2c.yaml | 61 ++++++++++++++++++++++
>> 1 file changed, 61 insertions(+)
>>
>> diff --git a/Documentation/devicetree/bindings/i2c/amlogic,a9-i2c.yaml b/Documentation/devicetree/bindings/i2c/amlogic,a9-i2c.yaml
>> new file mode 100644
>> index 000000000000..681241a52680
>> --- /dev/null
>> +++ b/Documentation/devicetree/bindings/i2c/amlogic,a9-i2c.yaml
>> @@ -0,0 +1,61 @@
>> +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
>> +%YAML 1.2
>> +---
>> +$id:http://devicetree.org/schemas/i2c/amlogic,a9-i2c.yaml#
>> +$schema:http://devicetree.org/meta-schemas/core.yaml#
>> +
>> +title: Amlogic A9 I2C Controller
>> +
>> +maintainers:
>> + - Xianwei Zhao<xianwei.zhaol at amlogic.com>
>> + - Junyi Zhao<junyi.zhaol at amlogic.com>
>> +
>> +allOf:
>> + - $ref: /schemas/i2c/i2c-controller.yaml#
>> +
>> +properties:
>> + compatible:
>> + const: amlogic,a9-i2c
>> +
>> + reg:
>> + maxItems: 1
>> +
>> + interrupts:
>> + maxItems: 1
>> +
>> + clocks:
>> + maxItems: 1
>> +
>> + dmas:
>> + items:
>> + - description: DMA controller phandle and request line for RX
>> + - description: DMA controller phandle and request line for TX
>> +
>> + dma-names:
>> + items:
>> + - const: rx
>> + - const: tx
>> +
>> +required:
>> + - compatible
>> + - reg
>> + - interrupts
>> + - clocks
>> +
>> +unevaluatedProperties: false
>> +
>> +examples:
>> + - |
>> + i2c at 3a4400 {
>> + compatible = "amlogic,a9-i2c";
>> + reg = <0x3a4400 0x3c>;
>> + interrupts = <1 164 1>;
>> + clocks = <&clkc_periphs 11>;
>> + #address-cells = <1>;
>> + #size-cells = <0>;
>> +
>> + eeprom at 52 {
>> + compatible = "atmel,24c32";
>> + reg = <0x52>;
>> + };
> Remove this from your example please.
Will remove eeprom node from examples.
> pw-bot: changes-requested
>
> Thanks,
> Conor.
>
>> + };
>>
>> --
>> 2.52.0
>>
>>
More information about the linux-amlogic
mailing list