[PATCH 2/5] ARM: STi: DT: add keyscan for stih415

Lee Jones lee.jones at linaro.org
Mon Mar 10 07:50:21 EDT 2014


> From: Giuseppe CONDORELLI <giuseppe.condorelli at st.com>
> 
> Add keyscan support for stih415.
> It is put disabled by default because it is not enabled on all boards
> Also there are PIOs conflict with already claimed lines.
> 
> Signed-off-by: Giuseppe Condorelli <giuseppe.condorelli at st.com>
> Signed-off-by: Gabriel Fernandez <gabriel.fernandez at st.com>
> ---
>  arch/arm/boot/dts/stih415-pinctrl.dtsi | 16 ++++++++++++++++
>  arch/arm/boot/dts/stih415.dtsi         | 10 ++++++++++
>  2 files changed, 26 insertions(+)

<snip>

> +		keyscan: keyscan at fe4b0000 {
> +			compatible = "st,keypad";
> +			status = "disabled";
> +			reg = <0xfe4b0000 0x2000>;
> +			interrupts = <GIC_SPI 212 IRQ_TYPE_NONE>;
> +			clocks	= <&CLK_SYSIN>;
> +			pinctrl-names	= "default";

Small nit here, but otherwise:
  Acked-by: Lee Jones <lee.jones at linaro.org>

> +			pinctrl-0 = <&pinctrl_keyscan>;
> +		};
>  	};
>  };

-- 
Lee Jones
Linaro STMicroelectronics Landing Team Lead
Linaro.org │ Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog



More information about the linux-arm-kernel mailing list