From eebb50e54773bacd46daa6604551734c94379dde Mon Sep 17 00:00:00 2001 From: Yunsu Kim Date: Mon, 11 Jun 2018 17:02:28 +0900 Subject: [PATCH] [9610] arm64: dtsi: add dts config define for FM Radio Initialization Change-Id: Ieb63ae99d8440da56b1c29e17e3b2e01428b0ae1 Signed-off-by: Yunsu Kim --- .../boot/dts/exynos/exynos9610-pinctrl.dtsi | 7 +++++++ arch/arm64/boot/dts/exynos/exynos9610.dtsi | 16 ++++++++++++++++ 2 files changed, 23 insertions(+) diff --git a/arch/arm64/boot/dts/exynos/exynos9610-pinctrl.dtsi b/arch/arm64/boot/dts/exynos/exynos9610-pinctrl.dtsi index 4b91eeb73cf0..1590b913d07f 100644 --- a/arch/arm64/boot/dts/exynos/exynos9610-pinctrl.dtsi +++ b/arch/arm64/boot/dts/exynos/exynos9610-pinctrl.dtsi @@ -841,6 +841,13 @@ #interrupt-cells = <2>; }; + fm_lna_en: fm-lna-en { + samsung,pins = "gpg1-0"; + samsung,pin-function = <1>; + samsung,pin-pud = <0>; + samsung,pin-val = <0>; + }; + /* USI_PERI_CAMI2C_0 */ hsi2c12_bus: hsi2c12-bus { samsung,pins = "gpc0-0", "gpc0-1"; diff --git a/arch/arm64/boot/dts/exynos/exynos9610.dtsi b/arch/arm64/boot/dts/exynos/exynos9610.dtsi index 6ecec42452fe..d6fc9c93fc21 100644 --- a/arch/arm64/boot/dts/exynos/exynos9610.dtsi +++ b/arch/arm64/boot/dts/exynos/exynos9610.dtsi @@ -3018,4 +3018,20 @@ }; }; + fm@14AC0000 { + compatible = "samsung,exynos9610-fm"; + reg = <0x0 0x14AC0000 0x2000>, + <0x0 0x14800800 0x10>; + elna_gpio = <&gpg1 0 0x1>; /* FM_LNA_EN */ + pinctrl-names = "default"; + pinctrl-0 = <&fm_lna_en>; + clocks = <&clock MUX_AUD_FM>, + <&clock GATE_ABOX_QCH_FM>, + <&clock DOUT_CLK_AUD_FM>; /* mux_aud_fm, qch_fm, clk_aud_fm */ + clock-names = "mux_aud_fm", "qch_fm", "clk_aud_fm"; + without_elna = <1>; + samsung,syscon-phandle = <&pmu_system_controller>; + samsung,power-domain = <&pd_dispaud>; + status = "disabled"; + }; }; -- 2.20.1