Commit 07f8f060 authored by Krzysztof Kozlowski's avatar Krzysztof Kozlowski Committed by Ulf Hansson

dt-bindings: mmc: sdhci: document sdhci-caps and sdhci-caps-mask

The Linux SDHCI driver core reads 'sdhci-caps' and 'sdhci-caps-mask'
properties and few devices already use it (e.g. Qualcomm SM8450), so add
them to a shared SDHCI bindings.
Signed-off-by: default avatarKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Reviewed-by: default avatarRob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/20221204094717.74016-1-krzysztof.kozlowski@linaro.orgSigned-off-by: default avatarUlf Hansson <ulf.hansson@linaro.org>
parent 4a44cd24
...@@ -11,7 +11,7 @@ maintainers: ...@@ -11,7 +11,7 @@ maintainers:
- Ulf Hansson <ulf.hansson@linaro.org> - Ulf Hansson <ulf.hansson@linaro.org>
allOf: allOf:
- $ref: mmc-controller.yaml# - $ref: sdhci-common.yaml#
properties: properties:
compatible: compatible:
...@@ -49,8 +49,6 @@ properties: ...@@ -49,8 +49,6 @@ properties:
- const: clk_ahb - const: clk_ahb
- const: clk_xin - const: clk_xin
sdhci-caps-mask: true
dma-coherent: dma-coherent:
type: boolean type: boolean
......
# SPDX-License-Identifier: GPL-2.0 OR BSD-2-Clause
%YAML 1.2
---
$id: http://devicetree.org/schemas/mmc/sdhci-common.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#
title: SDHCI Controller Common Properties
maintainers:
- Adrian Hunter <adrian.hunter@intel.com>
description:
Common properties present on Secure Digital Host Controller Interface (SDHCI)
devices.
properties:
sdhci-caps:
$ref: /schemas/types.yaml#/definitions/uint64
description:
Additionally present SDHCI capabilities - values for SDHCI_CAPABILITIES
and SDHCI_CAPABILITIES_1 registers.
sdhci-caps-mask:
$ref: /schemas/types.yaml#/definitions/uint64
description:
Masked SDHCI capabilities to remove from SDHCI_CAPABILITIES and
SDHCI_CAPABILITIES_1 registers.
allOf:
- $ref: mmc-controller.yaml#
additionalProperties: true
...@@ -169,7 +169,7 @@ required: ...@@ -169,7 +169,7 @@ required:
- interrupts - interrupts
allOf: allOf:
- $ref: mmc-controller.yaml# - $ref: sdhci-common.yaml#
- if: - if:
properties: properties:
......
...@@ -18508,6 +18508,7 @@ SECURE DIGITAL HOST CONTROLLER INTERFACE (SDHCI) DRIVER ...@@ -18508,6 +18508,7 @@ SECURE DIGITAL HOST CONTROLLER INTERFACE (SDHCI) DRIVER
M: Adrian Hunter <adrian.hunter@intel.com> M: Adrian Hunter <adrian.hunter@intel.com>
L: linux-mmc@vger.kernel.org L: linux-mmc@vger.kernel.org
S: Supported S: Supported
F: Documentation/devicetree/bindings/mmc/sdhci-common.yaml
F: drivers/mmc/host/sdhci* F: drivers/mmc/host/sdhci*
SECURE DIGITAL HOST CONTROLLER INTERFACE (SDHCI) MICROCHIP DRIVER SECURE DIGITAL HOST CONTROLLER INTERFACE (SDHCI) MICROCHIP DRIVER
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment