mirror of
https://github.com/torvalds/linux.git
synced 2026-04-24 01:25:49 -04:00
Users of common properties shouldn't have a type definition as the common schemas already have one. Drop all the unnecessary type references in the tree. A meta-schema update to catch these is pending. Cc: Maxime Ripard <mripard@kernel.org> Cc: Linus Walleij <linus.walleij@linaro.org> Cc: Bartosz Golaszewski <bgolaszewski@baylibre.com> Cc: Bjorn Andersson <bjorn.andersson@linaro.org> Cc: Krzysztof Kozlowski <krzk@kernel.org> Cc: "David S. Miller" <davem@davemloft.net> Cc: Jakub Kicinski <kuba@kernel.org> Cc: Ohad Ben-Cohen <ohad@wizery.com> Cc: Cheng-Yi Chiang <cychiang@chromium.org> Cc: Benson Leung <bleung@chromium.org> Cc: Zhang Rui <rui.zhang@intel.com> Cc: Daniel Lezcano <daniel.lezcano@linaro.org> Cc: Stefan Wahren <wahrenst@gmx.net> Cc: Masahiro Yamada <yamada.masahiro@socionext.com> Cc: Odelu Kukatla <okukatla@codeaurora.org> Cc: linux-gpio@vger.kernel.org Cc: linux-pm@vger.kernel.org Cc: linux-can@vger.kernel.org Cc: netdev@vger.kernel.org Cc: linux-remoteproc@vger.kernel.org Cc: alsa-devel@alsa-project.org Cc: linux-usb@vger.kernel.org Signed-off-by: Rob Herring <robh@kernel.org> Acked-by: Dmity Baryshkov <dmitry.baryshkov@linaro.org> Acked-by: Mark Brown <broonie@kernel.org> Acked-by: Suman Anna <s-anna@ti.com> Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Acked-by: Marc Kleine-Budde <mkl@pengutronix.de> Reviewed-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org> Acked-by: Maxime Ripard <maxime@cerno.tech> Reviewed-by: Nicolas Saenz Julienne <nsaenzjulienne@suse.de> Link: https://lore.kernel.org/r/20210316194858.3527845-1-robh@kernel.org
74 lines
1.9 KiB
YAML
74 lines
1.9 KiB
YAML
# SPDX-License-Identifier: GPL-2.0-only
|
|
%YAML 1.2
|
|
---
|
|
$id: http://devicetree.org/schemas/sound/google,cros-ec-codec.yaml#
|
|
$schema: http://devicetree.org/meta-schemas/core.yaml#
|
|
|
|
title: Audio codec controlled by ChromeOS EC
|
|
|
|
maintainers:
|
|
- Cheng-Yi Chiang <cychiang@chromium.org>
|
|
|
|
description: |
|
|
Google's ChromeOS EC codec is a digital mic codec provided by the
|
|
Embedded Controller (EC) and is controlled via a host-command
|
|
interface. An EC codec node should only be found inside the "codecs"
|
|
subnode of a cros-ec node.
|
|
(see Documentation/devicetree/bindings/mfd/google,cros-ec.yaml).
|
|
|
|
properties:
|
|
compatible:
|
|
const: google,cros-ec-codec
|
|
|
|
"#sound-dai-cells":
|
|
const: 1
|
|
|
|
reg:
|
|
items:
|
|
- description: |
|
|
Physical base address and length of shared memory region from EC.
|
|
It contains 3 unsigned 32-bit integer. The first 2 integers
|
|
combine to become an unsigned 64-bit physical address.
|
|
The last one integer is the length of the shared memory.
|
|
|
|
memory-region:
|
|
maxItems: 1
|
|
description: |
|
|
Shared memory region to EC. A "shared-dma-pool".
|
|
See ../reserved-memory/reserved-memory.txt for details.
|
|
|
|
required:
|
|
- compatible
|
|
- '#sound-dai-cells'
|
|
|
|
additionalProperties: false
|
|
|
|
examples:
|
|
- |
|
|
reserved_mem: reserved-mem@52800000 {
|
|
compatible = "shared-dma-pool";
|
|
reg = <0x52800000 0x100000>;
|
|
no-map;
|
|
};
|
|
spi {
|
|
#address-cells = <1>;
|
|
#size-cells = <0>;
|
|
cros-ec@0 {
|
|
compatible = "google,cros-ec-spi";
|
|
reg = <0>;
|
|
|
|
codecs {
|
|
#address-cells = <2>;
|
|
#size-cells = <1>;
|
|
|
|
cros_ec_codec: ec-codec@10500000 {
|
|
compatible = "google,cros-ec-codec";
|
|
#sound-dai-cells = <1>;
|
|
reg = <0x0 0x10500000 0x80000>;
|
|
memory-region = <&reserved_mem>;
|
|
};
|
|
|
|
};
|
|
};
|
|
};
|