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: ata: Add 'ata-generic' binding

The 'ata-generic' binding has been around since 2008, but never
documented.

Cc: Alexander Shiyan <shc_work@mail.ru>
Acked-by: Damien Le Moal <damien.lemoal@opensource.wdc.com>
Link: https://lore.kernel.org/r/20221011135849.2785834-1-robh@kernel.org
Signed-off-by: Rob Herring <robh@kernel.org>

+58
+58
Documentation/devicetree/bindings/ata/ata-generic.yaml
··· 1 + # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2 + %YAML 1.2 3 + --- 4 + $id: http://devicetree.org/schemas/ata/ata-generic.yaml# 5 + $schema: http://devicetree.org/meta-schemas/core.yaml# 6 + 7 + title: Generic Parallel ATA Controller 8 + 9 + maintainers: 10 + - Linus Walleij <linus.walleij@linaro.org> 11 + 12 + description: 13 + Generic Parallel ATA controllers supporting PIO modes only. 14 + 15 + properties: 16 + compatible: 17 + items: 18 + - enum: 19 + - arm,vexpress-cf 20 + - fsl,mpc8349emitx-pata 21 + - const: ata-generic 22 + 23 + reg: 24 + items: 25 + - description: Command interface registers 26 + - description: Control interface registers 27 + 28 + reg-shift: 29 + enum: [ 1, 2 ] 30 + 31 + interrupts: 32 + maxItems: 1 33 + 34 + ata-generic,use16bit: 35 + type: boolean 36 + description: Use 16-bit accesses instead of 32-bit for data transfers 37 + 38 + pio-mode: 39 + description: Maximum ATA PIO transfer mode 40 + $ref: /schemas/types.yaml#/definitions/uint32 41 + maximum: 6 42 + default: 0 43 + 44 + required: 45 + - compatible 46 + - reg 47 + 48 + additionalProperties: false 49 + 50 + examples: 51 + - | 52 + compact-flash@1a000 { 53 + compatible = "arm,vexpress-cf", "ata-generic"; 54 + reg = <0x1a000 0x100>, 55 + <0x1a100 0xf00>; 56 + reg-shift = <2>; 57 + }; 58 + ...