RE: [PATCH 2/2] ARM: dts: Add keypad row entries for exynos4x12

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

 



Sachin Kamat wrote:
> 
> This patch adds keypad row support for Exynos4x12.
> 
> Signed-off-by: Sachin Kamat <sachin.kamat@xxxxxxxxxx>
> ---
>  arch/arm/boot/dts/exynos4x12-pinctrl.dtsi |   56
> +++++++++++++++++++++++++++++
>  1 files changed, 56 insertions(+), 0 deletions(-)
> 
> diff --git a/arch/arm/boot/dts/exynos4x12-pinctrl.dtsi
> b/arch/arm/boot/dts/exynos4x12-pinctrl.dtsi
> index 0b293fb..bdfdf51 100644
> --- a/arch/arm/boot/dts/exynos4x12-pinctrl.dtsi
> +++ b/arch/arm/boot/dts/exynos4x12-pinctrl.dtsi
> @@ -778,6 +778,62 @@
>  			samsung,pin-drv = <3>;
>  		};
> 
> +		keypad_row0: keypad-row0 {
> +			samsung,pins = "gpx2-0";
> +			samsung,pin-function = <3>;
> +			samsung,pin-pud = <3>;
> +			samsung,pin-drv = <0>;
> +		};
> +
> +		keypad_row1: keypad-row1 {
> +			samsung,pins = "gpx2-1";
> +			samsung,pin-function = <3>;
> +			samsung,pin-pud = <3>;
> +			samsung,pin-drv = <0>;
> +		};
> +
> +		keypad_row2: keypad-row2 {
> +			samsung,pins = "gpx2-2";
> +			samsung,pin-function = <3>;
> +			samsung,pin-pud = <3>;
> +			samsung,pin-drv = <0>;
> +		};
> +
> +		keypad_row3: keypad-row3 {
> +			samsung,pins = "gpx2-3";
> +			samsung,pin-function = <3>;
> +			samsung,pin-pud = <3>;
> +			samsung,pin-drv = <0>;
> +		};
> +
> +		keypad_row4: keypad-row4 {
> +			samsung,pins = "gpx2-4";
> +			samsung,pin-function = <3>;
> +			samsung,pin-pud = <3>;
> +			samsung,pin-drv = <0>;
> +		};
> +
> +		keypad_row5: keypad-row5 {
> +			samsung,pins = "gpx2-5";
> +			samsung,pin-function = <3>;
> +			samsung,pin-pud = <3>;
> +			samsung,pin-drv = <0>;
> +		};
> +
> +		keypad_row6: keypad-row6 {
> +			samsung,pins = "gpx2-6";
> +			samsung,pin-function = <3>;
> +			samsung,pin-pud = <3>;
> +			samsung,pin-drv = <0>;
> +		};
> +
> +		keypad_row7: keypad-row7 {
> +			samsung,pins = "gpx2-7";
> +			samsung,pin-function = <3>;
> +			samsung,pin-pud = <3>;
> +			samsung,pin-drv = <0>;
> +		};
> +
>  		keypad_col0: keypad-col0 {
>  			samsung,pins = "gpx1-0";
>  			samsung,pin-function = <3>;
> --
> 1.7.4.1

No, the nodes for keypad should be defined at each own board dt file.
Because it depends on board not SoC even though some boards can be same each
other.

- Kukjin

--
To unsubscribe from this list: send the line "unsubscribe linux-samsung-soc" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux SoC Development]     [Linux Rockchip Development]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Linux SCSI]     [Yosemite News]

  Powered by Linux