Re: [PATCH 3/3] arm64: dts: qcom: msm8916-samsung-j5-common: Add Hall sensor

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 28/09/2022 13:06, Lin, Meng-Bo wrote:
> Samsung Galaxy J5 2015 and 2016 have a Hall sensor on GPIO pin 52.
> Add GPIO Hall sensor for them.
> 
> Signed-off-by: Lin, Meng-Bo <linmengbo0689@xxxxxxxxxxxxxx>
> ---
>  .../boot/dts/qcom/msm8916-samsung-j3.dts      |  4 +++
>  .../dts/qcom/msm8916-samsung-j5-common.dtsi   | 26 +++++++++++++++++++
>  2 files changed, 30 insertions(+)


>  	gpio-keys {
>  		compatible = "gpio-keys";
>  
> @@ -193,6 +211,14 @@ l18 {
>  };
>  
>  &msmgpio {
> +	gpio_hall_sensor_default: gpio-hall-sensor-default

suffix "state"

Best regards,
Krzysztof




[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]


  Powered by Linux