StarFive JH7110 PWM-DAC Controller
Schema identifier ($id): "http://devicetree.org/schemas/sound/starfive,jh7110-pwmdac.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
The PWM-DAC Controller uses PWM square wave generators plus RC filters to form a DAC for audio play in StarFive JH7110 SoC. This audio play controller supports 16 bit audio format, up to 48K sampling frequency, up to left and right dual channels.
Maintainers (maintainers): "Hal Feng <hal.feng@starfivetech.com>"
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):dai-common.yaml#
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "starfive,jh7110-pwmdac"
reg — required here #
Maximum number of items (maxItems): 1
clocks — required here #
Array item rules (items) #
Item 1
PWMDAC APB
Item 2
PWMDAC CORE
clock-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"apb"
Item 2
Exact value (
const):"core"
resets — required here #
Maximum number of items (maxItems): 1
PWMDAC APB
dmas — required here #
Maximum number of items (maxItems): 1
TX DMA Channel
dma-names — required here #
Exact value (const): "tx"
#sound-dai-cells — required here #
Exact value (const): 0
Required in this object (required): "compatible", "reg", "clocks", "clock-names", "resets", "dmas", "dma-names", "#sound-dai-cells"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
pwmdac@100b0000 {
compatible = "starfive,jh7110-pwmdac";
reg = <0x100b0000 0x1000>;
clocks = <&syscrg 157>,
<&syscrg 158>;
clock-names = "apb", "core";
resets = <&syscrg 96>;
dmas = <&dma 22>;
dma-names = "tx";
#sound-dai-cells = <0>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)