mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-07 03:15:31 +09:00
arm64: dts: rockchip: modify l-sensor node for rk3399 tablet product
Change-Id: I41c90b8d24b79009cbb1320e19de2e4a1a400a97 Signed-off-by: jerry.zhang <jerry.zhang@rock-chips.com>
This commit is contained in:
@@ -780,14 +780,14 @@
|
||||
layout = <3>;
|
||||
};
|
||||
|
||||
sensor@20 {
|
||||
sensor@10 {
|
||||
status = "okay";
|
||||
compatible = "capella,light_cm3218";
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&cm3218_irq_gpio>;
|
||||
reg = <0x10>;
|
||||
type = <SENSOR_TYPE_LIGHT>;
|
||||
irq-gpio = <&gpio4 24 IRQ_TYPE_EDGE_RISING>;
|
||||
irq-gpio = <&gpio4 24 IRQ_TYPE_EDGE_FALLING>;
|
||||
irq_enable = <1>;
|
||||
poll_delay_ms = <30>;
|
||||
};
|
||||
@@ -1013,7 +1013,7 @@
|
||||
|
||||
cm3218 {
|
||||
cm3218_irq_gpio: cm3218-irq-gpio {
|
||||
rockchip,pins = <4 24 RK_FUNC_GPIO &pcfg_pull_none>;
|
||||
rockchip,pins = <4 24 RK_FUNC_GPIO &pcfg_pull_up>;
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user