diff mbox series

arm64: dts: qcom: sc7280: Rename sar sensor labels

Message ID 20220623223119.1858863-1-gwendal@chromium.org
State Accepted
Commit 9c54f1711fc2516faf1f8d31217462184157b429
Headers show
Series arm64: dts: qcom: sc7280: Rename sar sensor labels | expand

Commit Message

Gwendal Grignou June 23, 2022, 10:31 p.m. UTC
To ease matching configuration of sysfs attributes for particular
sensor, match label reported by iio 'label' attribute with the location
label generated by ChromeOS config tool.

Signed-off-by: Gwendal Grignou <gwendal@chromium.org>
---
 arch/arm64/boot/dts/qcom/sc7280-herobrine.dtsi | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Comments

Stephen Boyd June 23, 2022, 11:54 p.m. UTC | #1
Quoting Gwendal Grignou (2022-06-23 15:31:19)
> To ease matching configuration of sysfs attributes for particular
> sensor, match label reported by iio 'label' attribute with the location
> label generated by ChromeOS config tool.
>
> Signed-off-by: Gwendal Grignou <gwendal@chromium.org>
> ---

Reviewed-by: Stephen Boyd <swboyd@chromium.org>

>  arch/arm64/boot/dts/qcom/sc7280-herobrine.dtsi | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/arch/arm64/boot/dts/qcom/sc7280-herobrine.dtsi b/arch/arm64/boot/dts/qcom/sc7280-herobrine.dtsi
> index 9cb1bc8ed6b5c..8b96fad5fdd4c 100644
> --- a/arch/arm64/boot/dts/qcom/sc7280-herobrine.dtsi
> +++ b/arch/arm64/boot/dts/qcom/sc7280-herobrine.dtsi
> @@ -388,7 +388,7 @@ ap_sar_sensor0: proximity@28 {
>
>                 vdd-supply = <&pp1800_prox>;
>
> -               label = "proximity-wifi-lte0";
> +               label = "proximity-wifi_cellular-0";
>                 status = "disabled";
>         };
>
> @@ -404,7 +404,7 @@ ap_sar_sensor1: proximity@2c {
>
>                 vdd-supply = <&pp1800_prox>;
>
> -               label = "proximity-wifi-lte1";
> +               label = "proximity-wifi_cellular-1";
>                 status = "disabled";
>         };
>  };
> --
> 2.37.0.rc0.104.g0611611a94-goog
>
Doug Anderson June 23, 2022, 11:55 p.m. UTC | #2
Hi,

On Thu, Jun 23, 2022 at 3:31 PM Gwendal Grignou <gwendal@chromium.org> wrote:
>
> To ease matching configuration of sysfs attributes for particular
> sensor, match label reported by iio 'label' attribute with the location
> label generated by ChromeOS config tool.
>
> Signed-off-by: Gwendal Grignou <gwendal@chromium.org>
> ---
>  arch/arm64/boot/dts/qcom/sc7280-herobrine.dtsi | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)

Reviewed-by: Douglas Anderson <dianders@chromium.org>
Bjorn Andersson July 3, 2022, 3:56 a.m. UTC | #3
On Thu, 23 Jun 2022 15:31:19 -0700, Gwendal Grignou wrote:
> To ease matching configuration of sysfs attributes for particular
> sensor, match label reported by iio 'label' attribute with the location
> label generated by ChromeOS config tool.
> 
> 

Applied, thanks!

[1/1] arm64: dts: qcom: sc7280: Rename sar sensor labels
      commit: 9c54f1711fc2516faf1f8d31217462184157b429

Best regards,
diff mbox series

Patch

diff --git a/arch/arm64/boot/dts/qcom/sc7280-herobrine.dtsi b/arch/arm64/boot/dts/qcom/sc7280-herobrine.dtsi
index 9cb1bc8ed6b5c..8b96fad5fdd4c 100644
--- a/arch/arm64/boot/dts/qcom/sc7280-herobrine.dtsi
+++ b/arch/arm64/boot/dts/qcom/sc7280-herobrine.dtsi
@@ -388,7 +388,7 @@  ap_sar_sensor0: proximity@28 {
 
 		vdd-supply = <&pp1800_prox>;
 
-		label = "proximity-wifi-lte0";
+		label = "proximity-wifi_cellular-0";
 		status = "disabled";
 	};
 
@@ -404,7 +404,7 @@  ap_sar_sensor1: proximity@2c {
 
 		vdd-supply = <&pp1800_prox>;
 
-		label = "proximity-wifi-lte1";
+		label = "proximity-wifi_cellular-1";
 		status = "disabled";
 	};
 };