Message ID | 20200409195841.18901-17-pierre-louis.bossart@linux.intel.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | ASoC/SOF/clk/gpio/dt: add Hifiberry DAC+ PRO support | expand |
On Thu, Apr 09, 2020 at 02:58:41PM -0500, Pierre-Louis Bossart wrote: > The Hifiberry DAC+ PRO relies on two local audio oscillators exposed > with the clock framework. > +# SPDX-License-Identifier: GPL-2.0 Dual license requirement nowadays.
On 4/14/20 12:27 PM, Andy Shevchenko wrote: > On Thu, Apr 09, 2020 at 02:58:41PM -0500, Pierre-Louis Bossart wrote: >> The Hifiberry DAC+ PRO relies on two local audio oscillators exposed >> with the clock framework. > >> +# SPDX-License-Identifier: GPL-2.0 > > Dual license requirement nowadays. Darn, yes, I should know better. thanks for flagging this.
diff --git a/Documentation/devicetree/bindings/sound/hifiberry-dacpro.yaml b/Documentation/devicetree/bindings/sound/hifiberry-dacpro.yaml new file mode 100644 index 000000000000..9305a1a0ccd7 --- /dev/null +++ b/Documentation/devicetree/bindings/sound/hifiberry-dacpro.yaml @@ -0,0 +1,38 @@ +# SPDX-License-Identifier: GPL-2.0 +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/sound/hifiberry-dacpro.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Hifiberry DAC+ Pro clock driver + +maintainers: + - Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> + +description: | + The Hifiberry DAC+ PRO provides two oscillators for enhanced audio + quality. The clk driver allow for select and configuration of the + clock source. + +properties: + "#clock-cells": + const: 0 + + compatible: + items: + - const: hifiberry,dacpro-clk + reg: + maxItems: 1 + +required: + - "#clock-cells" + - compatible + +examples: + - | + dacpro_osc: dacpro_osc { + compatible = "hifiberry,dacpro-clk"; + #clock-cells = <0>; + }; + +...
The Hifiberry DAC+ PRO relies on two local audio oscillators exposed with the clock framework. Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> --- .../bindings/sound/hifiberry-dacpro.yaml | 38 +++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 Documentation/devicetree/bindings/sound/hifiberry-dacpro.yaml