Add support for ToF sensor on Yoshino platform
Status from this message: Applied, thanks!
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v5 Latest5 patches 7 repliesApplied
- v45 patches 3 repliesSuperseded
- v35 patches 2 repliesSuperseded
Earlier versions · 2
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v2 | 5 patches | 1 reply | Superseded | |
| v1 | 5 patches | 0 replies | Superseded |
Changes in v5 from the cover letter
- "This patch adds..." -> "Add ..." (Krzysztof)
Patches in v5 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | dt-bindings: proximity: vl53l0x: Document optional supply and GPIO propertiesDocumentation/ | +5 | 0 replies | |
| 2/5 | proximity: vl53l0x: Prefer pre-initialized interrupt flagsdrivers/ | +6 | 0 replies | |
| 3/5 | proximity: vl53l0x: Handle the VDD regulatordrivers/ | +37 | 5 replies | |
| 4/5 | proximity: vl53l0x: Handle the reset GPIOdrivers/ | +11 | 0 replies | |
| 5/5 | arm64: dts: qcom: msm8998-xperia: Introduce ToF sensor supportarch/ | +33 | 1 reply |
Reviews trailers per patch
1 of 5 patches has a Reviewed-by or Acked-by.
| Patch | Krzysztof Kozlowski |
|---|---|
| 1/5 | A-b |
| 2/5 | |
| 3/5 | |
| 4/5 | |
| 5/5 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v5 0/5] Add support for ToF sensor on Yoshino platform
This series adds support for the ToF proximity sensor installed on Yoshino devices. As part of this series, support handling the reset GPIO and VDD supply by the VL53L0X driver. Also stop hardcoding the interrupt type, since on Yoshino devices it seems that edge triggering doesn't work properly.
Tested on Sony Xperia XZ1 (poplar).
v2:
- Fix a nasty issue: turns out grouping the pinctrl makes it not apply, which was the main cause of edge interrupts not working correctly and having to use level interrupts, which caused a large amount of false detections.
- handle the irq type more gracefully: if it's not provided, default to falling edge, but if it's provided, then use the provided one. v3:
- add irq.h header (forgot to commit)
- reword commit message (already initialized -> pre-initialized) v4:
- reorder powering on and power off action (Jonathan)
- sort pinctrls by GPIO number (Konrad)
v5:
- "This patch adds..." -> "Add ..." (Krzysztof)
Markuss Broks (5):
dt-bindings: proximity: vl53l0x: Document optional supply and GPIO
properties
proximity: vl53l0x: Get interrupt type from DT
proximity: vl53l0x: Handle the VDD regulator
proximity: vl53l0x: Handle the reset GPIO
arm64: dts: qcom: msm8998-xperia: Introduce ToF sensor support
.../bindings/iio/proximity/st,vl53l0x.yaml | 5 ++ .../dts/qcom/msm8998-sony-xperia-yoshino.dtsi | 34 +++++++++++++ drivers/iio/proximity/vl53l0x-i2c.c | 50 ++++++++++++++++++- 3 files changed, 88 insertions(+), 1 deletion(-)
Signature · 1 line
2.35.1