mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-20 09:34:44 +08:00
07f8f060ed
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: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Reviewed-by: Rob Herring <robh@kernel.org> Link: https://lore.kernel.org/r/20221204094717.74016-1-krzysztof.kozlowski@linaro.org Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
33 lines
860 B
YAML
33 lines
860 B
YAML
# 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
|