-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge tag 'ata-6.5-rc1' of git://git.kernel.org/pub/scm/linux/kernel/…
…git/dlemoal/libata Pull ata updates from Damien Le Moal: - Add support for the .remove_new callback to the ata_platform code to simplify device removal interface (Uwe) - Code simplification in ata_dev_revalidate() (Yahu) - Fix code indentation and coding style in the pata_parport protocol modules to avoid warnings from static code analyzers (me) - Clarify ata_eh_qc_retry() behavior with better comments (Niklas) - Simplify and improve ata_change_queue_depth() behavior to have a consistent behavior between libsas managed devices and libata managed devices (e.g. AHCI connected devices) (me) - Cleanup libata-scsi and libata-eh code to use the ata_ncq_enabled() and ata_ncq_supported() helpers instead of open coding flags tests (me) - Cleanup ahci_reset_controller() code (me) - Change the pata_octeon_cf and sata_svw drivers to use of_property_read_reg() to simplify the code (Rob, me) - Remove unnecessary include files from ahci_octeon driver (me) - Modify the DesignWare ahci dt bindings to add support for the Rockchip RK3588 AHCI (Sebastian) * tag 'ata-6.5-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/dlemoal/libata: (29 commits) dt-bindings: phy: rockchip: rk3588 has two reset lines dt-bindings: ata: dwc-ahci: add Rockchip RK3588 dt-bindings: ata: dwc-ahci: add PHY clocks ata: ahci_octeon: Remove unnecessary include ata: pata_octeon_cf: Add missing header include ata: ahci: Cleanup ahci_reset_controller() ata: Use of_property_read_reg() to parse "reg" ata: libata-scsi: Use ata_ncq_supported in ata_scsi_dev_config() ata: libata-eh: Use ata_ncq_enabled() in ata_eh_speed_down() ata: libata-sata: Improve ata_change_queue_depth() ata: libata-sata: Simplify ata_change_queue_depth() ata: libata-eh: Clarify ata_eh_qc_retry() behavior at call site ata: pata_parport: Fix on26 module code indentation and style ata: pata_parport: Fix on20 module code indentation and style ata: pata_parport: Fix ktti module code indentation and style ata: pata_parport: Fix kbic module code indentation and style ata: pata_parport: Fix friq module code indentation and style ata: pata_parport: Fix fit3 module code indentation and style ata: pata_parport: Fix fit2 module code indentation and style ata: pata_parport: Fix epia module code indentation and style ...
- Loading branch information
Showing
48 changed files
with
2,317 additions
and
1,927 deletions.
There are no files selected for viewing
124 changes: 124 additions & 0 deletions
124
Documentation/devicetree/bindings/ata/rockchip,dwc-ahci.yaml
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,124 @@ | ||
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) | ||
%YAML 1.2 | ||
--- | ||
$id: http://devicetree.org/schemas/ata/rockchip,dwc-ahci.yaml# | ||
$schema: http://devicetree.org/meta-schemas/core.yaml# | ||
|
||
title: Synopsys DWC AHCI SATA controller for Rockchip devices | ||
|
||
maintainers: | ||
- Serge Semin <fancer.lancer@gmail.com> | ||
|
||
description: | ||
This document defines device tree bindings for the Synopsys DWC | ||
implementation of the AHCI SATA controller found in Rockchip | ||
devices. | ||
|
||
select: | ||
properties: | ||
compatible: | ||
contains: | ||
enum: | ||
- rockchip,rk3568-dwc-ahci | ||
- rockchip,rk3588-dwc-ahci | ||
required: | ||
- compatible | ||
|
||
properties: | ||
compatible: | ||
items: | ||
- enum: | ||
- rockchip,rk3568-dwc-ahci | ||
- rockchip,rk3588-dwc-ahci | ||
- const: snps,dwc-ahci | ||
|
||
ports-implemented: | ||
const: 1 | ||
|
||
sata-port@0: | ||
$ref: /schemas/ata/snps,dwc-ahci-common.yaml#/$defs/dwc-ahci-port | ||
|
||
properties: | ||
reg: | ||
const: 0 | ||
|
||
unevaluatedProperties: false | ||
|
||
patternProperties: | ||
"^sata-port@[1-9a-e]$": false | ||
|
||
required: | ||
- compatible | ||
- reg | ||
- interrupts | ||
- clocks | ||
- clock-names | ||
- ports-implemented | ||
|
||
allOf: | ||
- $ref: snps,dwc-ahci-common.yaml# | ||
- if: | ||
properties: | ||
compatible: | ||
contains: | ||
enum: | ||
- rockchip,rk3588-dwc-ahci | ||
then: | ||
properties: | ||
clocks: | ||
maxItems: 5 | ||
clock-names: | ||
items: | ||
- const: sata | ||
- const: pmalive | ||
- const: rxoob | ||
- const: ref | ||
- const: asic | ||
- if: | ||
properties: | ||
compatible: | ||
contains: | ||
enum: | ||
- rockchip,rk3568-dwc-ahci | ||
then: | ||
properties: | ||
clocks: | ||
maxItems: 3 | ||
clock-names: | ||
items: | ||
- const: sata | ||
- const: pmalive | ||
- const: rxoob | ||
|
||
unevaluatedProperties: false | ||
|
||
examples: | ||
- | | ||
#include <dt-bindings/clock/rockchip,rk3588-cru.h> | ||
#include <dt-bindings/interrupt-controller/arm-gic.h> | ||
#include <dt-bindings/ata/ahci.h> | ||
#include <dt-bindings/phy/phy.h> | ||
sata@fe210000 { | ||
compatible = "rockchip,rk3588-dwc-ahci", "snps,dwc-ahci"; | ||
reg = <0xfe210000 0x1000>; | ||
clocks = <&cru ACLK_SATA0>, <&cru CLK_PMALIVE0>, | ||
<&cru CLK_RXOOB0>, <&cru CLK_PIPEPHY0_REF>, | ||
<&cru CLK_PIPEPHY0_PIPE_ASIC_G>; | ||
clock-names = "sata", "pmalive", "rxoob", "ref", "asic"; | ||
interrupts = <GIC_SPI 273 IRQ_TYPE_LEVEL_HIGH 0>; | ||
ports-implemented = <0x1>; | ||
#address-cells = <1>; | ||
#size-cells = <0>; | ||
sata-port@0 { | ||
reg = <0>; | ||
hba-port-cap = <HBA_PORT_FBSCP>; | ||
phys = <&combphy0_ps PHY_TYPE_SATA>; | ||
phy-names = "sata-phy"; | ||
snps,rx-ts-max = <32>; | ||
snps,tx-ts-max = <32>; | ||
}; | ||
}; | ||
... |
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
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
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
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
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.