diff options
author | 2016-07-27 22:24:06 +0800 | |
---|---|---|
committer | 2016-08-23 19:08:21 +0100 | |
commit | 78ec79bfd59e126e1cb394302bfa531a420b3ecd (patch) | |
tree | 355a1db225db7a09ffe886165933f9df2b7e1091 /arch | |
parent | iio: adc: rockchip_saradc: reset saradc controller before programming it (diff) | |
download | linux-78ec79bfd59e126e1cb394302bfa531a420b3ecd.tar.gz linux-78ec79bfd59e126e1cb394302bfa531a420b3ecd.tar.bz2 linux-78ec79bfd59e126e1cb394302bfa531a420b3ecd.zip |
arm64: dts: rockchip: add reset saradc node for rk3368 SoCs
SARADC controller needs to be reset before programming it, otherwise
it will not function properly.
Signed-off-by: Caesar Wang <wxt@rock-chips.com>
Acked-by: Heiko Stuebner <heiko@sntech.de>
Cc: <Stable@vger.kernel.org>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm64/boot/dts/rockchip/rk3368.dtsi | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/rockchip/rk3368.dtsi b/arch/arm64/boot/dts/rockchip/rk3368.dtsi index d02a900378e1..4f44d1191bfd 100644 --- a/arch/arm64/boot/dts/rockchip/rk3368.dtsi +++ b/arch/arm64/boot/dts/rockchip/rk3368.dtsi @@ -270,6 +270,8 @@ #io-channel-cells = <1>; clocks = <&cru SCLK_SARADC>, <&cru PCLK_SARADC>; clock-names = "saradc", "apb_pclk"; + resets = <&cru SRST_SARADC>; + reset-names = "saradc-apb"; status = "disabled"; }; |