summaryrefslogtreecommitdiffstats
path: root/meta-agl-refhw-gen3/recipes-bsp/arm-trusted-firmware/files
diff options
context:
space:
mode:
authorHiroyuki Ishii <ishii.hiroyuki002@jp.panasonic.com>2021-10-12 09:48:23 +0900
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>2021-10-28 12:57:01 +0000
commit845701b515cc12663601eac0a89b27390f3a7736 (patch)
tree3122ffe9564065e33dbf5017960b88292b5ef6e4 /meta-agl-refhw-gen3/recipes-bsp/arm-trusted-firmware/files
parente6fd02084bf95bafef7089381184cf33dc584e43 (diff)
Enable buffered-mode for accel/gyro sensors
During asm330lhh's driver initialization, there is a kernel message which indicates failure of mapping irq like following: irq: type mismatch, failed to map hwirq-39 for interrupt-controller@f1010000! This is because of wrong statement in agl-refhw-common.dtsi and results disabling buffered-mode of asm330lhh. With this change, the irq can be correctly mapped and buffered-mode is enabled, i.e. buffer directory comes up like following: /sys/devices/platform/soc/e66d0000.i2c/i2c-3/3-006a/iio:device<n>/buffer * Updates from Scott Murray: - Changes merged into the main reference hardware patch as discussed in Gerrit. - st,drdy-int-pin declaration added to mark int1 pin as explicitly used, matching other users of the driver. - i2c3 bus speed increased to 400 KHz. The ASM330LHH is the only device on it and is 400 KHz capable, which testing bears out. If any of the higher ODRs will be used in buffered mode, this seems desirable. BUG-AGL: SPEC-4098 Signed-off-by: Hiroyuki Ishii <ishii.hiroyuki002@jp.panasonic.com> Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: I598b1195a20d9e4611d2e505779ebeebfcbd8757
Diffstat (limited to 'meta-agl-refhw-gen3/recipes-bsp/arm-trusted-firmware/files')
0 files changed, 0 insertions, 0 deletions