Commit 5a4b0b85 authored by Krzysztof Kozlowski's avatar Krzysztof Kozlowski Committed by Bjorn Andersson
Browse files

arm64: dts: qcom: correct gpio-keys properties

parent b08f5cbd
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -92,14 +92,12 @@ hdmi_con: endpoint {

	gpio-keys {
		compatible = "gpio-keys";
		#address-cells = <1>;
		#size-cells = <0>;
		autorepeat;

		pinctrl-names = "default";
		pinctrl-0 = <&msm_key_volp_n_default>;

		button@0 {
		button {
			label = "Volume Up";
			linux,code = <KEY_VOLUMEUP>;
			gpios = <&msmgpio 107 GPIO_ACTIVE_LOW>;
+1 −3
Original line number Diff line number Diff line
@@ -84,14 +84,12 @@ div1_mclk: divclk1 {

	gpio-keys {
		compatible = "gpio-keys";
		#address-cells = <1>;
		#size-cells = <0>;
		autorepeat;

		pinctrl-names = "default";
		pinctrl-0 = <&volume_up_gpio>;

		button@0 {
		button {
			label = "Volume Up";
			linux,code = <KEY_VOLUMEUP>;
			gpios = <&pm8994_gpios 2 GPIO_ACTIVE_LOW>;
+1 −3
Original line number Diff line number Diff line
@@ -53,11 +53,9 @@ framebuffer0: framebuffer@3400000 {

	gpio-keys {
		compatible = "gpio-keys";
		#address-cells = <1>;
		#size-cells = <0>;
		autorepeat;

		button@0 {
		button {
			label = "Volume Up";
			gpios = <&pm8994_gpios 3 GPIO_ACTIVE_LOW>;
			linux,input-type = <1>;
+4 −6
Original line number Diff line number Diff line
@@ -29,11 +29,9 @@ / {

	gpio-keys {
		compatible = "gpio-keys";
		#address-cells = <1>;
		#size-cells = <0>;
		autorepeat;

		button@0 {
		button-0 {
			label = "Volume Down";
			gpios = <&pm8994_gpios 2 GPIO_ACTIVE_LOW>;
			linux,input-type = <1>;
@@ -42,7 +40,7 @@ button@0 {
			debounce-interval = <15>;
		};

		button@1 {
		button-1 {
			label = "Volume Up";
			gpios = <&pm8994_gpios 3 GPIO_ACTIVE_LOW>;
			linux,input-type = <1>;
@@ -51,7 +49,7 @@ button@1 {
			debounce-interval = <15>;
		};

		button@2 {
		button-2 {
			label = "Camera Snapshot";
			gpios = <&pm8994_gpios 4 GPIO_ACTIVE_LOW>;
			linux,input-type = <1>;
@@ -60,7 +58,7 @@ button@2 {
			debounce-interval = <15>;
		};

		button@3 {
		button-3 {
			label = "Camera Focus";
			gpios = <&pm8994_gpios 5 GPIO_ACTIVE_LOW>;
			linux,input-type = <1>;
+0 −2
Original line number Diff line number Diff line
@@ -108,8 +108,6 @@ key-alt {
	gpio-keys {
		compatible = "gpio-keys";
		label = "Side buttons";
		#address-cells = <1>;
		#size-cells = <0>;
		pinctrl-names = "default";
		pinctrl-0 = <&vol_up_pin_a>, <&cam_focus_pin_a>,
			    <&cam_snapshot_pin_a>;
Loading