diff options
author | Joe Mason <[email protected]> | 2024-06-01 11:53:57 +0000 |
---|---|---|
committer | Bjorn Andersson <[email protected]> | 2024-06-05 22:02:30 -0500 |
commit | 62ae64ceb9a55333f3b259fef8acd0bf1598638a (patch) | |
tree | 46ae543720df4d25be5ed34eaa6aaeb25f1a87aa /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 336e26f80d79d0d686220b4ff062fb9a0db025ab (diff) |
arm64: dts: qcom: msm8916-samsung-gprimeltecan: Add NFC
The Samsung Galaxy Grand Prime CAN has a Samsung S3FWRN5 NFC chip that
works quite well with the s3fwrn5 driver in the Linux NFC subsystem.
The clock setup for the NFC chip is a bit special (although this
seems to be a common approach used for Qualcomm devices with NFC):
The NFC chip has an output GPIO that is asserted whenever the clock
is needed to function properly. On the A3/A5 this is wired up to
PM8916 GPIO2, which is then configured with a special function
(NFC_CLK_REQ or BB_CLK2_REQ).
Enabling the rpmcc RPM_SMD_BB_CLK2_PIN clock will then instruct
PM8916 to automatically enable the clock whenever the NFC chip
requests it. The advantage is that the clock is only enabled when
needed and we don't need to manage it ourselves from the NFC driver.
Signed-off-by: Joe Mason <[email protected]>
[Stephan: Put NFC pinctrl into common dtsi to share it with other variants]
Signed-off-by: Stephan Gerhold <[email protected]>
[Raymond: Use interrupts-extended. Keep &blsp_i2c6 enabled by default]
Signed-off-by: Raymond Hackley <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Bjorn Andersson <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions