lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:   Fri, 14 Feb 2020 10:24:51 +0800
From:   Shawn Guo <shawnguo@...nel.org>
To:     Guido Günther <agx@...xcpu.org>
Cc:     Rob Herring <robh+dt@...nel.org>,
        Mark Rutland <mark.rutland@....com>,
        Sascha Hauer <s.hauer@...gutronix.de>,
        Pengutronix Kernel Team <kernel@...gutronix.de>,
        Fabio Estevam <festevam@...il.com>,
        NXP Linux Team <linux-imx@....com>,
        "Angus Ainslie (Purism)" <angus@...ea.ca>,
        Martin Kepplinger <martink@...teo.de>,
        Anson Huang <Anson.Huang@....com>, devicetree@...r.kernel.org,
        linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] arm64: dts: imx8mq-librem5-devkit: Add proximity sensor

On Mon, Jan 20, 2020 at 05:12:55PM +0100, Guido Günther wrote:
> Support for the vcnl4040 landet a while ago so add it and the
> corresponding pinmux. The irq is currently unused in the driver so don't
> configure it yet.
> 
> Signed-off-by: Guido Günther <agx@...xcpu.org>
> ---
>  .../boot/dts/freescale/imx8mq-librem5-devkit.dts     | 12 ++++++++++++
>  1 file changed, 12 insertions(+)
> 
> diff --git a/arch/arm64/boot/dts/freescale/imx8mq-librem5-devkit.dts b/arch/arm64/boot/dts/freescale/imx8mq-librem5-devkit.dts
> index c8627f6614ae..b87c2e39b16c 100644
> --- a/arch/arm64/boot/dts/freescale/imx8mq-librem5-devkit.dts
> +++ b/arch/arm64/boot/dts/freescale/imx8mq-librem5-devkit.dts
> @@ -448,6 +448,12 @@
>  		VDDIO-supply = <&reg_1v8_p>;
>  	};
>  
> +	prox@60 {

I changed node name to proximity-sensor and applied the patch.

Shawn

> +		compatible = "vishay,vcnl4040";
> +		reg = <0x60>;
> +		pinctrl-0 = <&pinctrl_prox>;
> +	};
> +
>  	accel-gyro@6a {
>  		compatible = "st,lsm9ds1-imu";
>  		reg = <0x6a>;
> @@ -550,6 +556,12 @@
>  		>;
>  	};
>  
> +	pinctrl_prox: proxgrp {
> +		fsl,pins = <
> +			MX8MQ_IOMUXC_GPIO1_IO12_GPIO1_IO12	0x80  /* prox intr */
> +		>;
> +	};
> +
>  	pinctrl_pwr_en: pwrengrp {
>  		fsl,pins = <
>  			MX8MQ_IOMUXC_GPIO1_IO08_GPIO1_IO8	0x06
> -- 
> 2.23.0
> 
> 
> _______________________________________________
> linux-arm-kernel mailing list
> linux-arm-kernel@...ts.infradead.org
> http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ