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

reset: meson: add dt-bindings for meson-axg audio arb

Add dt-bindings for the audio memory arbiter found on Amlogic's
A113 based SoCs

Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: Jerome Brunet <jbrunet@baylibre.com>
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>

authored by

Jerome Brunet and committed by
Philipp Zabel
53380735 6b39fd59

+38
+21
Documentation/devicetree/bindings/reset/amlogic,meson-axg-audio-arb.txt
··· 1 + * Amlogic audio memory arbiter controller 2 + 3 + The Amlogic Audio ARB is a simple device which enables or 4 + disables the access of Audio FIFOs to DDR on AXG based SoC. 5 + 6 + Required properties: 7 + - compatible: 'amlogic,meson-axg-audio-arb' 8 + - reg: physical base address of the controller and length of memory 9 + mapped region. 10 + - clocks: phandle to the fifo peripheral clock provided by the audio 11 + clock controller. 12 + - #reset-cells: must be 1. 13 + 14 + Example on the A113 SoC: 15 + 16 + arb: reset-controller@280 { 17 + compatible = "amlogic,meson-axg-audio-arb"; 18 + reg = <0x0 0x280 0x0 0x4>; 19 + #reset-cells = <1>; 20 + clocks = <&clkc_audio AUD_CLKID_DDR_ARB>; 21 + };
+17
include/dt-bindings/reset/amlogic,meson-axg-audio-arb.h
··· 1 + /* SPDX-License-Identifier: (GPL-2.0 OR MIT) 2 + * 3 + * Copyright (c) 2018 Baylibre SAS. 4 + * Author: Jerome Brunet <jbrunet@baylibre.com> 5 + */ 6 + 7 + #ifndef _DT_BINDINGS_AMLOGIC_MESON_AXG_AUDIO_ARB_H 8 + #define _DT_BINDINGS_AMLOGIC_MESON_AXG_AUDIO_ARB_H 9 + 10 + #define AXG_ARB_TODDR_A 0 11 + #define AXG_ARB_TODDR_B 1 12 + #define AXG_ARB_TODDR_C 2 13 + #define AXG_ARB_FRDDR_A 3 14 + #define AXG_ARB_FRDDR_B 4 15 + #define AXG_ARB_FRDDR_C 5 16 + 17 + #endif /* _DT_BINDINGS_AMLOGIC_MESON_AXG_AUDIO_ARB_H */