From ff20bd8e1a8dead5771fafef63092d01d1e954a7 Mon Sep 17 00:00:00 2001 From: syphyr Date: Fri, 19 Jan 2018 23:09:50 +0100 Subject: [PATCH] arch/arm: dts: Fix nonzero values for boolean property This is causing a warning on boot. Declaring a boolean property with a nonzero number of value cells is a common configuration error, since even a boolean property having a value of 0 will be treated as "true" by the DT framework. Change-Id: Ib85df6ac2fce38f1ee4fd2e97062799c07b879e9 --- .../msm8976/msm8976-sec-gts210vewifi-eur-battery-r04.dtsi | 4 ++-- .../dts/samsung/msm8976/msm8976-sec-gts210vewifi-eur-r00.dtsi | 4 ++-- .../dts/samsung/msm8976/msm8976-sec-gts210vewifi-eur-r01.dtsi | 4 ++-- .../dts/samsung/msm8976/msm8976-sec-gts210vewifi-eur-r02.dtsi | 4 ++-- .../dts/samsung/msm8976/msm8976-sec-gts210vewifi-eur-r04.dtsi | 4 ++-- 5 files changed, 10 insertions(+), 10 deletions(-) diff --git a/arch/arm/boot/dts/samsung/msm8976/msm8976-sec-gts210vewifi-eur-battery-r04.dtsi b/arch/arm/boot/dts/samsung/msm8976/msm8976-sec-gts210vewifi-eur-battery-r04.dtsi index c811a363beef..cd865a200ade 100644 --- a/arch/arm/boot/dts/samsung/msm8976/msm8976-sec-gts210vewifi-eur-battery-r04.dtsi +++ b/arch/arm/boot/dts/samsung/msm8976/msm8976-sec-gts210vewifi-eur-battery-r04.dtsi @@ -134,14 +134,14 @@ mux_sel { compatible = "samsung,sec-mux-sel"; - mux_sel,mux_sel_1_en = <1>; + mux_sel,mux_sel_1_en; mux_sel,mux_sel_1 = <&msm_gpio 143 0x0>; mux_sel,mux_sel_1_type = <3>; /* EAR_ADC_MUX_SEL | BATT_ID_MUX_SEL */ mux_sel,mux_sel_1_mpp = <2>; /* SEC_MPP2_MUX_SEL */ mux_sel,mux_sel_1_low = <1>; /* SEC_MUX_SEL_BATT_ID */ mux_sel,mux_sel_1_high = <0>; /* SEC_MUX_SEL_EAR_ADC */ - mux_sel,mux_sel_2_en = <1>; + mux_sel,mux_sel_2_en; mux_sel,mux_sel_2 = <&msm_gpio 88 0x0>; mux_sel,mux_sel_2_type = <20>; /* BATT_THM_MUX_SEL | AP_THM_MUX_SEL */ mux_sel,mux_sel_2_mpp = <4>; /* SEC_MPP4_MUX_SEL */ diff --git a/arch/arm/boot/dts/samsung/msm8976/msm8976-sec-gts210vewifi-eur-r00.dtsi b/arch/arm/boot/dts/samsung/msm8976/msm8976-sec-gts210vewifi-eur-r00.dtsi index e71b10f6b3b5..350750a6fdae 100644 --- a/arch/arm/boot/dts/samsung/msm8976/msm8976-sec-gts210vewifi-eur-r00.dtsi +++ b/arch/arm/boot/dts/samsung/msm8976/msm8976-sec-gts210vewifi-eur-r00.dtsi @@ -182,8 +182,8 @@ interrupts = <120 0>; interrupt-parent = <&msm_gpio>; - realtek,in3-differential = "true"; - realtek,in4-differential = "true"; + realtek,in3-differential; + realtek,in4-differential; realtek,gpio_reset = <&msm_gpio 144 0x0>; realtek,gpio_ldo = <&pm8950_gpios 7 0x00>; diff --git a/arch/arm/boot/dts/samsung/msm8976/msm8976-sec-gts210vewifi-eur-r01.dtsi b/arch/arm/boot/dts/samsung/msm8976/msm8976-sec-gts210vewifi-eur-r01.dtsi index cb65d00aa0b6..85f54ff2a3c4 100644 --- a/arch/arm/boot/dts/samsung/msm8976/msm8976-sec-gts210vewifi-eur-r01.dtsi +++ b/arch/arm/boot/dts/samsung/msm8976/msm8976-sec-gts210vewifi-eur-r01.dtsi @@ -182,8 +182,8 @@ interrupts = <120 0>; interrupt-parent = <&msm_gpio>; - realtek,in3-differential = "true"; - realtek,in4-differential = "true"; + realtek,in3-differential; + realtek,in4-differential; realtek,gpio_reset = <&msm_gpio 144 0x0>; realtek,gpio_ldo = <&pm8950_gpios 7 0x00>; diff --git a/arch/arm/boot/dts/samsung/msm8976/msm8976-sec-gts210vewifi-eur-r02.dtsi b/arch/arm/boot/dts/samsung/msm8976/msm8976-sec-gts210vewifi-eur-r02.dtsi index e70de1fb471f..86841119b324 100644 --- a/arch/arm/boot/dts/samsung/msm8976/msm8976-sec-gts210vewifi-eur-r02.dtsi +++ b/arch/arm/boot/dts/samsung/msm8976/msm8976-sec-gts210vewifi-eur-r02.dtsi @@ -182,8 +182,8 @@ interrupts = <120 0>; interrupt-parent = <&msm_gpio>; - realtek,in3-differential = "true"; - realtek,in4-differential = "true"; + realtek,in3-differential; + realtek,in4-differential; realtek,gpio_reset = <&msm_gpio 144 0x0>; realtek,gpio_ldo = <&pm8950_gpios 7 0x00>; diff --git a/arch/arm/boot/dts/samsung/msm8976/msm8976-sec-gts210vewifi-eur-r04.dtsi b/arch/arm/boot/dts/samsung/msm8976/msm8976-sec-gts210vewifi-eur-r04.dtsi index e74fd5f8ca2f..00e365c8ae36 100644 --- a/arch/arm/boot/dts/samsung/msm8976/msm8976-sec-gts210vewifi-eur-r04.dtsi +++ b/arch/arm/boot/dts/samsung/msm8976/msm8976-sec-gts210vewifi-eur-r04.dtsi @@ -183,8 +183,8 @@ interrupts = <120 0>; interrupt-parent = <&msm_gpio>; - realtek,in3-differential = "true"; - realtek,in4-differential = "true"; + realtek,in3-differential; + realtek,in4-differential; realtek,gpio_reset = <&msm_gpio 144 0x0>; realtek,gpio_ldo = <&pm8950_gpios 7 0x00>;