Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IPA v3 for 6.3.0/ipa #312

Closed

Conversation

spasswolf
Copy link

@spasswolf spasswolf commented May 14, 2023

Wrong again

vldly and others added 30 commits April 24, 2023 20:18
Some pins on MSM8953 SoC have only one function. Which means that there
isn't going to be any value to set "function" property to. Only other
settings can be modified for those pins.

This patch adds condition to disallow "function" for sdc and qdsd pins
and make it required only for the rest.

Signed-off-by: Vladimir Lypak <vladimir.lypak@gmail.com>
Add support for SAW version 2.1 and 4.0. Only latter version was
tested. I added v2.1 becauce based on codeaurora source only register
layout differs between revisions.

Signed-off-by: Vladimir Lypak <vladimir.lypak@gmail.com>
Samsung decided to implement entirely custom jack detection using
an extra IC for some reason. Because of that, the jack detection
in PM8916 does not work as-is. (It always detects that headphones
are plugged in...)

However, the headset/button detection is still working fine through
PM8916. To avoid implementing custom Samsung stuff, override the
jack detection to use the provided GPIO, but keep everything else.
This is just a stub for now. Later this would be used for features
like call recording.
q6voice combines the 3 q6voice-related services (q6mvm, q6cvp, q6cvs)
and allows to start/end voice calls at the moment.
The Q6 Voice DAI driver exposes the Q6 Voice subsystem to ASoC.
At the moment it provides a single CS-Voice DAI with a hostless FE.
Eventually usage should be simplified using a codec2codec link.

v2: Set AIFs SND_SOC_NOPM
Signed-off-by: Vladimir Lypak <vladimir.lypak@gmail.com>
Signed-off-by: Vladimir Lypak <vladimir.lypak@gmail.com>
Signed-off-by: Vladimir Lypak <vladimir.lypak@gmail.com>
This driver supports the Advanced Trickle Charge (ATC) Leds found on
some Qualcomm PMICs. These LEDs generally have three states: On,
Blinking and Off.

Documentation: devicetree: Document atc-led driver
alikates and others added 28 commits April 24, 2023 20:18
Signed-off-by: Alejandro Tafalla <atafalla@dnyon.com>
Signed-off-by: Alejandro Tafalla <atafalla@dnyon.com>
Signed-off-by: Danila Tikhonov <JIaxyga@protonmail.com>
Signed-off-by: Danila Tikhonov <JIaxyga@protonmail.com>
I have two moto g5's with both panel types and have tested that it works correctly on both

Signed-off-by: Nathan Jensen <nathanjensen1@outlook.com>
The commits is already present upstream and this version on top just
adds a second identical node for NFC.

This reverts commit 9c8615c.
This commit enable Asahi Kasei AK09918 and Liteon ltrf216a for xiaomi-vince.
It also add a missing property for battery: constant-charge-current-max-microamp

Signed-off-by: Gianluca Boiano <morf3089@gmail.com>
Signed-off-by: Gianluca Boiano <morf3089@gmail.com>
Document the 8 GPIOs found on PMI632.

Signed-off-by: Luca Weiss <luca@z3ntu.xyz>
Add support for the 8 GPIOs found on PMI632.

Signed-off-by: Luca Weiss <luca@z3ntu.xyz>
Document the availability of an LPG configuration for the PMI632 PMIC in
the Qualcomm Light Pulse Generator driver.

Signed-off-by: Luca Weiss <luca@z3ntu.xyz>
The PMI632 PMIC contains 5 PWM channels, 3 of which can be used for
LEDs.

For the LED pattern it doesn't have LUT like other PMICs but uses SDAM
instead. This is not currently implemented in the driver but since LPG
works fine without it, add support for the PMIC now.

Signed-off-by: Luca Weiss <luca@z3ntu.xyz>
The channel ADC5_USB_IN_V_16 is using 1/16 pre-scaling on at least
pm7250b and pmi632. Allow that in the schema.

Signed-off-by: Luca Weiss <luca@z3ntu.xyz>
Document support for the pmi632, often found with the sdm632 SoC.

Signed-off-by: Luca Weiss <luca@z3ntu.xyz>
The PMI632, commonly found on SoCs with SDM632 has various standard
functions like ADC, GPIOs, LPG and more.

Signed-off-by: Luca Weiss <luca@z3ntu.xyz>
The phone features a notification LED connected to the pmi632. Configure
the RGB led found on it.

Signed-off-by: Luca Weiss <luca@z3ntu.xyz>
This commit enable ROHM BU52061NVX for xiaomi-vince.

Signed-off-by: Gianluca Boiano <morf3089@gmail.com>
Signed-off-by: Gianluca Boiano <morf3089@gmail.com>
…rometer

This commit enable Bosch BMI120 accelerometer found on some xiaomi-vince
variants.

Signed-off-by: Gianluca Boiano <morf3089@gmail.com>
- Add battery info
- Add sound configuration
- Add i2c-gpio sensors
- Add SimpleFB
- Sort alphabetically

Signed-off-by: Danila Tikhonov <danila@jiaxyga.com>
…8975

Signed-off-by: Danila Tikhonov <danila@jiaxyga.com>
Currently the digital codec driver does not probe because it depends on
wcd_codec, which was disabled on xiaomi devices.

Signed-off-by: Alejandro Tafalla <atafalla@dnyon.com>
Immediate commands are needed by the IPA network driver, so that it can
send commands via BAM to the microcontroller

Signed-off-by: Sireesh Kodali <sireeshkodali1@gmail.com>
Immediate commands are needed by the IPA driver to send commands to the
IPA controller over BAM. To support immediate commands, all we need to
do is set the relevant flag in the descriptor.

Signed-off-by: Sireesh Kodali <sireeshkodali1@gmail.com>
Add enum ipa_version entries for IPA v2.0, v2.5 and v2.6l. Since
Those versions use BAM as their DMA interface.

Signed-off-by: Yassine Oudjana <y.oudjana@protonmail.com>
Since not all IPA versions use GSI, rename gsi_ee_id and its entries
to dma_ee_id and DMA_EE_* respectively.

[alikates]: command for renaming:

find . -type f -exec sed -i "s/GSI_EE_/DMA_EE_/g" {} \; -exec sed -i "s/gsi_ee_/dma_ee_/g" {} \;

Signed-off-by: Yassine Oudjana <y.oudjana@protonmail.com>
@stephan-gh stephan-gh closed this May 14, 2023
M0Rf30 pushed a commit to M0Rf30/linux that referenced this pull request Apr 13, 2024
[ Upstream commit a51cd6b ]

In case when is64 == 1 in emit(A64_REV32(is64, dst, dst), ctx) the
generated insn reverses byte order for both high and low 32-bit words,
resuling in an incorrect swap as indicated by the jit test:

[ 9757.262607] test_bpf: msm8916-mainline#312 BSWAP 16: 0x0123456789abcdef -> 0xefcd jited:1 8 PASS
[ 9757.264435] test_bpf: msm8916-mainline#313 BSWAP 32: 0x0123456789abcdef -> 0xefcdab89 jited:1 ret 1460850314 != -271733879 (0x5712ce8a != 0xefcdab89)FAIL (1 times)
[ 9757.266260] test_bpf: msm8916-mainline#314 BSWAP 64: 0x0123456789abcdef -> 0x67452301 jited:1 8 PASS
[ 9757.268000] test_bpf: msm8916-mainline#315 BSWAP 64: 0x0123456789abcdef >> 32 -> 0xefcdab89 jited:1 8 PASS
[ 9757.269686] test_bpf: msm8916-mainline#316 BSWAP 16: 0xfedcba9876543210 -> 0x1032 jited:1 8 PASS
[ 9757.271380] test_bpf: msm8916-mainline#317 BSWAP 32: 0xfedcba9876543210 -> 0x10325476 jited:1 ret -1460850316 != 271733878 (0xa8ed3174 != 0x10325476)FAIL (1 times)
[ 9757.273022] test_bpf: msm8916-mainline#318 BSWAP 64: 0xfedcba9876543210 -> 0x98badcfe jited:1 7 PASS
[ 9757.274721] test_bpf: msm8916-mainline#319 BSWAP 64: 0xfedcba9876543210 >> 32 -> 0x10325476 jited:1 9 PASS

Fix this by forcing 32bit variant of rev32.

Fixes: 1104247 ("bpf, arm64: Support unconditional bswap")
Signed-off-by: Artem Savkov <asavkov@redhat.com>
Tested-by: Puranjay Mohan <puranjay12@gmail.com>
Acked-by: Puranjay Mohan <puranjay12@gmail.com>
Acked-by: Xu Kuohai <xukuohai@huawei.com>
Message-ID: <20240321081809.158803-1-asavkov@redhat.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet