Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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: 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>

authored by

Krzysztof Kozlowski and committed by
Ulf Hansson
07f8f060 4a44cd24

+35 -4
+1 -3
Documentation/devicetree/bindings/mmc/sdhci-am654.yaml
··· 11 11 - Ulf Hansson <ulf.hansson@linaro.org> 12 12 13 13 allOf: 14 - - $ref: mmc-controller.yaml# 14 + - $ref: sdhci-common.yaml# 15 15 16 16 properties: 17 17 compatible: ··· 48 48 items: 49 49 - const: clk_ahb 50 50 - const: clk_xin 51 - 52 - sdhci-caps-mask: true 53 51 54 52 dma-coherent: 55 53 type: boolean
+32
Documentation/devicetree/bindings/mmc/sdhci-common.yaml
··· 1 + # SPDX-License-Identifier: GPL-2.0 OR BSD-2-Clause 2 + %YAML 1.2 3 + --- 4 + $id: http://devicetree.org/schemas/mmc/sdhci-common.yaml# 5 + $schema: http://devicetree.org/meta-schemas/core.yaml# 6 + 7 + title: SDHCI Controller Common Properties 8 + 9 + maintainers: 10 + - Adrian Hunter <adrian.hunter@intel.com> 11 + 12 + description: 13 + Common properties present on Secure Digital Host Controller Interface (SDHCI) 14 + devices. 15 + 16 + properties: 17 + sdhci-caps: 18 + $ref: /schemas/types.yaml#/definitions/uint64 19 + description: 20 + Additionally present SDHCI capabilities - values for SDHCI_CAPABILITIES 21 + and SDHCI_CAPABILITIES_1 registers. 22 + 23 + sdhci-caps-mask: 24 + $ref: /schemas/types.yaml#/definitions/uint64 25 + description: 26 + Masked SDHCI capabilities to remove from SDHCI_CAPABILITIES and 27 + SDHCI_CAPABILITIES_1 registers. 28 + 29 + allOf: 30 + - $ref: mmc-controller.yaml# 31 + 32 + additionalProperties: true
+1 -1
Documentation/devicetree/bindings/mmc/sdhci-msm.yaml
··· 169 169 - interrupts 170 170 171 171 allOf: 172 - - $ref: mmc-controller.yaml# 172 + - $ref: sdhci-common.yaml# 173 173 174 174 - if: 175 175 properties:
+1
MAINTAINERS
··· 18508 18508 M: Adrian Hunter <adrian.hunter@intel.com> 18509 18509 L: linux-mmc@vger.kernel.org 18510 18510 S: Supported 18511 + F: Documentation/devicetree/bindings/mmc/sdhci-common.yaml 18511 18512 F: drivers/mmc/host/sdhci* 18512 18513 18513 18514 SECURE DIGITAL HOST CONTROLLER INTERFACE (SDHCI) MICROCHIP DRIVER