[PATCH 5/5] ARM: dts: qcom: pma8084: Add pwrkey entry

Bjorn Andersson bjorn.andersson at linaro.org
Fri Jun 10 13:29:14 PDT 2016


On Wed 18 May 22:00 PDT 2016, Andy Gross wrote:

> This patch adds the power key device tree node.
> 
> Signed-off-by: Andy Gross <andy.gross at linaro.org>

Reviewed-by: Bjorn Andersson <bjorn.andersson at linaro.org>

> ---
>  arch/arm/boot/dts/qcom-pma8084.dtsi | 8 ++++++++
>  1 file changed, 8 insertions(+)
> 
> diff --git a/arch/arm/boot/dts/qcom-pma8084.dtsi b/arch/arm/boot/dts/qcom-pma8084.dtsi
> index ea7fce3..82d2580 100644
> --- a/arch/arm/boot/dts/qcom-pma8084.dtsi
> +++ b/arch/arm/boot/dts/qcom-pma8084.dtsi
> @@ -18,6 +18,14 @@
>  			interrupts = <0x0 0x61 0x1 IRQ_TYPE_EDGE_RISING>;
>  		};
>  
> +		pwrkey at 800 {
> +			compatible = "qcom,pm8941-pwrkey";
> +			reg = <0x800>;
> +			interrupts = <0x0 0x8 0 IRQ_TYPE_EDGE_BOTH>;
> +			debounce = <15625>;
> +			bias-pull-up;
> +		};
> +
>  		pma8084_gpios: gpios at c000 {
>  			compatible = "qcom,pma8084-gpio", "qcom,spmi-gpio";
>  			reg = <0xc000>;
> -- 
> 1.9.1
> 
> 
> _______________________________________________
> linux-arm-kernel mailing list
> linux-arm-kernel at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/linux-arm-kernel



More information about the linux-arm-kernel mailing list