mirror of
https://github.com/torvalds/linux.git
synced 2026-05-31 10:33:41 +02:00
arm64: dts: qcom: correct gpio-keys properties
gpio-keys children do not use unit addresses. Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org> Link: https://lore.kernel.org/r/20220616005333.18491-22-krzysztof.kozlowski@linaro.org
This commit is contained in:
parent
b08f5cbd69
commit
5a4b0b853a
|
|
@ -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>;
|
||||
|
|
|
|||
|
|
@ -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>;
|
||||
|
|
|
|||
|
|
@ -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>;
|
||||
|
|
|
|||
|
|
@ -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>;
|
||||
|
|
|
|||
|
|
@ -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>;
|
||||
|
|
|
|||
|
|
@ -90,8 +90,6 @@ cam_vana_rear_vreg: cam_vana_rear_vreg {
|
|||
gpio-keys {
|
||||
status = "okay";
|
||||
compatible = "gpio-keys";
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
|
||||
key-camera-focus {
|
||||
label = "Camera Focus";
|
||||
|
|
|
|||
|
|
@ -42,8 +42,6 @@ extcon_usb: extcon-usb {
|
|||
gpio-keys {
|
||||
status = "okay";
|
||||
compatible = "gpio-keys";
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
autorepeat;
|
||||
|
||||
key-vol-dn {
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user