Skip to content

Commit

Permalink
dt-bindings: mmc: Add optional generic properties for mmc
Browse files Browse the repository at this point in the history
Add optional properties for mmc hosts which are used to set clk delays
for different speed modes in the controller.

Signed-off-by: Manish Narani <[email protected]>
Signed-off-by: Ulf Hansson <[email protected]>
Link : https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/Documentation/devicetree/bindings/mmc/mmc-controller.yaml?id=fec81c5bca2499b4a263667860018c2ce47f4f51
State: upstream (fec81c5)
  • Loading branch information
mnarani authored and Michal Simek committed Feb 12, 2020
1 parent 96e9c77 commit 0713b6f
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions Documentation/devicetree/bindings/mmc/mmc-controller.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -333,6 +333,18 @@ patternProperties:
required:
- reg

"^clk-phase-(legacy|sd-hs|mmc-(hs|hs[24]00|ddr52)|uhs-(sdr(12|25|50|104)|ddr50))$":
minItems: 2
maxItems: 2
allOf:
- $ref: /schemas/types.yaml#/definitions/uint32
- minimum: 0
maximum: 359
description:
Set the clock (phase) delays which are to be configured in the
controller while switching to particular speed mode. These values
are in pair of degrees.

dependencies:
cd-debounce-delay-ms: [ cd-gpios ]
fixed-emmc-driver-type: [ non-removable ]
Expand All @@ -351,6 +363,7 @@ examples:
keep-power-in-suspend;
wakeup-source;
mmc-pwrseq = <&sdhci0_pwrseq>;
clk-phase-sd-hs = <63>, <72>;
};
- |
Expand Down

0 comments on commit 0713b6f

Please sign in to comment.