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

dt-bindings: clock: reset: Add AXG AO Clock and Reset Bindings

Add dt-bindings headers for the Meson-AXG's AO clock and
reset controller.

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

authored by

Yixun Lan and committed by
Jerome Brunet
9c7aea8e 0ac2e1d4

+46
+26
include/dt-bindings/clock/axg-aoclkc.h
··· 1 + /* SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) */ 2 + /* 3 + * Copyright (c) 2016 BayLibre, SAS 4 + * Author: Neil Armstrong <narmstrong@baylibre.com> 5 + * 6 + * Copyright (c) 2018 Amlogic, inc. 7 + * Author: Qiufang Dai <qiufang.dai@amlogic.com> 8 + */ 9 + 10 + #ifndef DT_BINDINGS_CLOCK_AMLOGIC_MESON_AXG_AOCLK 11 + #define DT_BINDINGS_CLOCK_AMLOGIC_MESON_AXG_AOCLK 12 + 13 + #define CLKID_AO_REMOTE 0 14 + #define CLKID_AO_I2C_MASTER 1 15 + #define CLKID_AO_I2C_SLAVE 2 16 + #define CLKID_AO_UART1 3 17 + #define CLKID_AO_UART2 4 18 + #define CLKID_AO_IR_BLASTER 5 19 + #define CLKID_AO_SAR_ADC 6 20 + #define CLKID_AO_CLK81 7 21 + #define CLKID_AO_SAR_ADC_SEL 8 22 + #define CLKID_AO_SAR_ADC_DIV 9 23 + #define CLKID_AO_SAR_ADC_CLK 10 24 + #define CLKID_AO_ALT_XTAL 11 25 + 26 + #endif
+20
include/dt-bindings/reset/axg-aoclkc.h
··· 1 + /* SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) */ 2 + /* 3 + * Copyright (c) 2016 BayLibre, SAS 4 + * Author: Neil Armstrong <narmstrong@baylibre.com> 5 + * 6 + * Copyright (c) 2018 Amlogic, inc. 7 + * Author: Qiufang Dai <qiufang.dai@amlogic.com> 8 + */ 9 + 10 + #ifndef DT_BINDINGS_RESET_AMLOGIC_MESON_AXG_AOCLK 11 + #define DT_BINDINGS_RESET_AMLOGIC_MESON_AXG_AOCLK 12 + 13 + #define RESET_AO_REMOTE 0 14 + #define RESET_AO_I2C_MASTER 1 15 + #define RESET_AO_I2C_SLAVE 2 16 + #define RESET_AO_UART1 3 17 + #define RESET_AO_UART2 4 18 + #define RESET_AO_IR_BLASTER 5 19 + 20 + #endif