Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

dt-bindings: i2c: intel,ixp4xx-i2c: Convert to DT schema

Convert the IOP3xx and IXP4xx XScale bindings to DT schema. This
conversion also adds the interrupts property, as it is used by the driver
and existing DTS files but was not documented in the original binding.

Signed-off-by: Shi Hao <i.shihao.999@gmail.com>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>
Signed-off-by: Andi Shyti <andi.shyti@kernel.org>
Link: https://lore.kernel.org/r/20260330054439.9545-1-i.shihao.999@gmail.com

authored by

Shi Hao and committed by
Andi Shyti
d3e2c747 8461f5e3

+41 -20
-20
Documentation/devicetree/bindings/i2c/i2c-iop3xx.txt
··· 1 - i2c Controller on XScale platforms such as IOP3xx and IXP4xx 2 - 3 - Required properties: 4 - - compatible : Must be one of 5 - "intel,iop3xx-i2c" 6 - "intel,ixp4xx-i2c"; 7 - - reg 8 - - #address-cells = <1>; 9 - - #size-cells = <0>; 10 - 11 - Optional properties: 12 - - Child nodes conforming to i2c bus binding 13 - 14 - Example: 15 - 16 - i2c@c8011000 { 17 - compatible = "intel,ixp4xx-i2c"; 18 - reg = <0xc8011000 0x18>; 19 - interrupts = <33 IRQ_TYPE_LEVEL_LOW>; 20 - };
+41
Documentation/devicetree/bindings/i2c/intel,ixp4xx-i2c.yaml
··· 1 + # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2 + %YAML 1.2 3 + --- 4 + $id: http://devicetree.org/schemas/i2c/intel,ixp4xx-i2c.yaml# 5 + $schema: http://devicetree.org/meta-schemas/core.yaml# 6 + 7 + title: I2c Controller on XScale platforms such as IOP3xx and IXP4xx 8 + 9 + maintainers: 10 + - Andi Shyti <andi.shyti@kernel.org> 11 + 12 + allOf: 13 + - $ref: /schemas/i2c/i2c-controller.yaml# 14 + 15 + properties: 16 + compatible: 17 + enum: 18 + - intel,iop3xx-i2c 19 + - intel,ixp4xx-i2c 20 + 21 + reg: 22 + maxItems: 1 23 + 24 + interrupts: 25 + maxItems: 1 26 + 27 + required: 28 + - compatible 29 + - reg 30 + 31 + unevaluatedProperties: false 32 + 33 + examples: 34 + - | 35 + #include <dt-bindings/interrupt-controller/irq.h> 36 + 37 + i2c@c8011000 { 38 + compatible = "intel,ixp4xx-i2c"; 39 + reg = <0xc8011000 0x18>; 40 + interrupts = <33 IRQ_TYPE_LEVEL_LOW>; 41 + };