-
qcom-drivers-for-6.5e81a16e7 · ·
Qualcomm driver updates for v6.5 Konrad Dybcio is promoted, from reviewer, to co-maintainer. The mdt_loader gets a fix to the detection of split binaries, where the previous logic sometimes concluded that the first segments was not split, in a split image. The unconditional calling of scm_pas_mem_setup() turns out to cause a regression and is reverted. The altmode subfunction of pmic_glink is enabled for SM8450. A new driver for exposing power statistics from the RPM, for debugging purposes, is introduced. OCMEM gets a debug prints of the hardware version, QMI helpers are transitioned to alloc_ordered_workqueue() and an error message in ramp_controller is improved. An API is introduced to the SMEM driver to allow other drivers to query the SoC id, rather than open-coding the parsing of the relevant SMEM item. This is then used to clean up the Qualcomm NVMEM-based cpufreq driver. Socinfo is extended with knowledge about IPQ5018, IPQ5312 and IPQ5302.
-
qcom-arm64-for-6.520dea72a · ·
Qualcomm ARM64 DeviceTree updates for v6.5 This introduces the RDP442 and RDP433 reference devices on IPQ5332 and IPQ9574, respectively. RDP418, RDP433, RDP449 and RDP453 on the IPQ9574 are added. On MSM8939 the Square T2 board and the Sony Xperia M4 Aqua is added. Support for Acer Apire 1, built on the Snapdragon 7c platform is introduced. Fxtec Pro1X on SM6115 is added. Lastly long floating support for SC8180X and the Lenovo Flex 5G, and the Primus reference device, has been added. On IPQ5332 and IPQ6018 QFPROM support is introduced, and as described above the RDP442 board on the prior. Download mode support and various reserved-memory regions are also introduced on IPQ6018. IPQ8074 gains another SPI controller. On IPQ9574 CPU frequency scaling, low speed busses, RNG, Watchdog, qfprom, SMEM and RPM are introduced. As are support for four new board, mentioned above. MSM8916 gains a range of structural improvements, to better suite the various boards supported. Regulator constraints are corrected and their states are adjusted to match reality (e.g. always-on regulators marked as always-on). BQ Aquaris X5 gains support for front flash LED. As mentioned above, MSM8939 support is introduced with support for boards from Sony and Square. MSM8953 gains DMA support in I2C masters. MSM8996-based Sony Xperia boards gains description of their RGB notification LED. On SA8775P support for UFS, USB, GPU clock and iommu controllers, PMU, AOSS, watchdog and missing low-speed controllers are added. On the Ride platform UFS, USB and an i2c bus are enabled. iommu properties are added to QSPI on both SC7180 and SC7280. LPASS clocks are adjusted and MDP node cleaned up slightly, on SC7180. As mentioned above, support for Acer Aspire 1 is introduced. Long lingering patches introducing SC8180X, the Lenovo Flex 5G and the Primus reference device has been merged. On SC8280XP ethernet is added and enabled on the automotive ride platform. An SDC controller is introduced and enabled on the SC8280XP CRD. On the Lenovo Thinkpad X13s and the CRD reference device the USB SuperSpeed phy is added to the Type-C graph, to enable support for orientation switching. Fairphone 3 gains support for its notification LED. On SDM845 the iommu stream for QSPI is defined, SHIFT SHIFT6mq gains support for flash LED and the RB3 (DB845c) board gains support for bonded/dual DSI-mode, to allow 4k output. On SM6115 CPU idle-states, crypto engine support and SuperSpeed USB PHY are introduced. As mentioned above Fxtec Pro1X is introduced. On the QRB4210 Robotics Platform RB2 USB, Audio and Compute DSPs, display, CAN-bus and GPIO LEDs are introduced, fixed regulators are described and the SD-card description is corrected. Support for crypto engine is added to SM8150, while Sony Xperia 1 and 5 gains SD-card support, camera regulators and GPIO line names sorted out. SM8250 also gets support for crypto engine, and Sony Xperia 1 II and 5 II gains support for hardware video accelerator. Crypto engine is introduced for SM8350 as well. The HDK gets the USB Type-C graph described for Superspeed orientation switching and DisplayPort output. On SM8450 video clock controller and crypto engine are added, missing opp levels are introduced and the USB Type-C graph is defined for orientation switching and altmode. SM8550 gains GPU and video clock controllers and missing opp levels are added. The WCD9385 audio codec is added for the SM8550 MTP and on the QRD PCIe, USB, audio display and flash LED are added.
-
qcom-arm64-defconfig-for-6.53098f349 · ·
Qualcomm ARM64 defconfig updates for v6.5 Enable the FSA4480 driver to enable USB Type-C altmode on devices such as SM8350 and SM8450 HDK. Enable the IPQ6018 APSS clock and PLL controller for CPU scaling, and enable GPU clock river for SA8775P.
-
-
-
qcom-arm64-fixes-for-6.4661a4f08 · ·
Qualcomm ARM64 DeviceTree fixes for 6.4 Register scheme for SM8550 LLCC is corrected to avoid using the wrong register offsets. SDRAM frequency for misidentified SC7180-lite boards is handled. The datatype for Soundwire interval on SM8550 is corrected. The resource controller on SC8280XP is added to the CPU cluster power-domain to get notified to send cached sleep and wake votes before going entering the lower power states. SA8155P power-domains that differ from what's inherited from the SM8150 DeviceTree are adjusted to make the platform boot again. Remoteproc firmware paths are corrected for Sony Xperia 10 IV. Cache properties are adjusted across a range of platforms, to meet changes in the binding. Panel compatibles are corrected for Xiaomi Mi Pad 5 Pro, to match binding. Invalid dai-cells are dropped from SC7280 devices, to match binding. The incorrect removal of "input-enable" from the LPASS pinctrl node of SC8280XP was reverted, to get dmic pins in the correct state again. The incorrect input-enable property is dropped from a msm8974, mdm9615 and apq8026 to resolve a range of DT validation warnings, incorrectly picked up through the ARM64 tree.
-
qcom-driver-fixes-for-6.4cbd77119 · ·
Qualcomm driver fixes for 6.4 Error paths is corrected across icc-bwmon, rpmh-rsc, ramp_controller and rmtfs. The ice module is renamed qcom_ice, to avoid clashing with existing "ice" driver. SA8155P-specific RPMh power-domains are introduced to avoid the code trying to access resources that exists on SM8150, but not on SA8155P. Lastly, changes to the EDAC driver to fix an issue where the driver performs mmio based on the wrong register map.
-
qcom-dts-fixes-for-6.4925a80af · ·
Qualcomm ARM32 fix for 6.4 A range of 32-bit Qualcomm platforms are missing cache-unified, which is now required by the binding, this is now corrected.
-
sent/20230524-pmi8998-charger-dts-12545236ce33-v250663293 · ·
Enable PMI8998 charger on supported devices These devices have been fairly heavily validated with the driver and are known to not explode. Add the pmi8998_charger node to pmi8998 and enable the charger for the OnePlus 6(T), PocoPhone F1 and SHIFT6mq. The charger depends on the RRADC for the input voltage and current. The RRADC was originally disabled by default, but there isn't really a need for this as it's used by all devices. Let's take the opportunity to enable it by default. The associated driver and dt-bindings that this series depends on can be found here: https://lore.kernel.org/linux-arm-msm/20230524-pmi8998-charger-v9-0-cd7f6d03c0ab@linaro.org/ Changes since v1: * Squash qcom,spmi-pmic bindings patch into the driver series rather than add it here. V1: https://lore.kernel.org/all/20230524-pmi8998-charger-dts-v1-0-f9334afc4505@linaro.org/ To: Andy Gross <agross@kernel.org> To: Bjorn Andersson <andersson@kernel.org> To: Konrad Dybcio <konrad.dybcio@linaro.org> To: Rob Herring <robh+dt@kernel.org> To: Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org> To: Conor Dooley <conor+dt@kernel.org> Cc: linux-arm-msm@vger.kernel.org Cc: devicetree@vger.kernel.org Cc: phone-devel@vger.kernel.org --- Caleb Connolly (4): arm64: dts: qcom: pmi8998: enable rradc by default arm64: dts: qcom: pmi8998: add charger node arm64: dts: qcom: sdm845-oneplus: enable pmi8998 charger arm64: dts: qcom: sdm845-shift-axolotl: enable pmi8998 charger Joel Selvaraj (1): arm64: dts: qcom: sdm845-xiaomi-beryllium: enable pmi8998 charger .../boot/dts/qcom/msm8998-oneplus-common.dtsi | 4 ---- arch/arm64/boot/dts/qcom/pmi8998.dtsi | 22 ++++++++++++++++++++-- arch/arm64/boot/dts/qcom/sdm845-db845c.dts | 4 ---- .../arm64/boot/dts/qcom/sdm845-oneplus-common.dtsi | 2 +- .../boot/dts/qcom/sdm845-oneplus-enchilada.dts | 4 ++++ arch/arm64/boot/dts/qcom/sdm845-oneplus-fajita.dts | 4 ++++ arch/arm64/boot/dts/qcom/sdm845-shift-axolotl.dts | 10 ++++++++++ .../dts/qcom/sdm845-xiaomi-beryllium-common.dtsi | 16 +++++++++++++--- 8 files changed, 52 insertions(+), 14 deletions(-) --- base-commit: cc054ff7ce5edcfeaf78d90b8d3e39be0c3eec5f // Caleb (they/them)
-
sent/20230524-pmi8998-charger-8209dbbf7648-v99c5b0587 · ·
power: supply: introduce support for the Qualcomm smb2 charger Add a driver for the Qualcomm PMI8998/PM660 Switch-Mode Battery Charger. This is the second generation SMB charger, and replaces the previous SMBB hardware found in older PMICs. Changes since v8: * Add charger bindings reference to qcom,spmi-pmic.yaml V8: https://lore.kernel.org/all/20230524-pmi8998-charger-v8-0-b87ffcd9864d@linaro.org/ Changes since v7: * Implement fixes suggested by Sebastian * Fix format warning V7: https://lore.kernel.org/linux-arm-msm/20230127230506.3140297-1-caleb.connolly@linaro.org/ To: Sebastian Reichel <sre@kernel.org> To: Rob Herring <robh+dt@kernel.org> To: Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org> To: Conor Dooley <conor+dt@kernel.org> To: Caleb Connolly <caleb.connolly@linaro.org> To: Andy Gross <agross@kernel.org> To: Bjorn Andersson <andersson@kernel.org> To: Konrad Dybcio <konrad.dybcio@linaro.org> To: Nathan Chancellor <nathan@kernel.org> To: Nick Desaulniers <ndesaulniers@google.com> To: Tom Rix <trix@redhat.com> Cc: linux-pm@vger.kernel.org Cc: devicetree@vger.kernel.org Cc: linux-arm-msm@vger.kernel.org Cc: phone-devel@vger.kernel.org --- Caleb Connolly (2): dt-bindings: power: supply: qcom,pmi8998-charger: add bindings for smb2 driver power: supply: add Qualcomm PMI8998 SMB2 Charger driver .../devicetree/bindings/mfd/qcom,spmi-pmic.yaml | 1 + .../power/supply/qcom,pmi8998-charger.yaml | 82 ++ drivers/power/supply/Kconfig | 9 + drivers/power/supply/Makefile | 1 + drivers/power/supply/qcom_pmi8998_charger.c | 1059 ++++++++++++++++++++ 5 files changed, 1152 insertions(+) --- base-commit: ac9a78681b921877518763ba0e89202254349d1b // Caleb (they/them)
-
-
sent/20230524-pmi8998-charger-dts-12545236ce33-v1f2135271 · ·
Enable PMI8998 charger on supported devices These devices have been fairly heavily validated with the driver and are known to not explode. Add the pmi8998_charger node to pmi8998 and enable the charger for the OnePlus 6(T), PocoPhone F1 and SHIFT6mq. The charger depends on the RRADC for the input voltage and current. The RRADC was originally disabled by default, but there isn't really a need for this as it's used by all devices. Let's take the opportunity to enable it by default. The associated driver and dt-bindings that this series depends on can be found here: https://lore.kernel.org/linux-arm-msm/20230524-pmi8998-charger-v8-0-b87ffcd9864d@linaro.org To: Andy Gross <agross@kernel.org> To: Bjorn Andersson <andersson@kernel.org> To: Konrad Dybcio <konrad.dybcio@linaro.org> To: Rob Herring <robh+dt@kernel.org> To: Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org> To: Conor Dooley <conor+dt@kernel.org> Cc: linux-arm-msm@vger.kernel.org Cc: devicetree@vger.kernel.org Cc: phone-devel@vger.kernel.org --- Caleb Connolly (5): dt-bindings: mfd: qcom,spmi-pmic: Document pmi8998 charger arm64: dts: qcom: pmi8998: enable rradc by default arm64: dts: qcom: pmi8998: add charger node arm64: dts: qcom: sdm845-oneplus: enable pmi8998 charger arm64: dts: qcom: sdm845-shift-axolotl: enable pmi8998 charger Joel Selvaraj (1): arm64: dts: qcom: sdm845-xiaomi-beryllium: enable pmi8998 charger .../devicetree/bindings/mfd/qcom,spmi-pmic.yaml | 1 + .../boot/dts/qcom/msm8998-oneplus-common.dtsi | 4 ---- arch/arm64/boot/dts/qcom/pmi8998.dtsi | 22 ++++++++++++++++++++-- arch/arm64/boot/dts/qcom/sdm845-db845c.dts | 4 ---- .../arm64/boot/dts/qcom/sdm845-oneplus-common.dtsi | 2 +- .../boot/dts/qcom/sdm845-oneplus-enchilada.dts | 4 ++++ arch/arm64/boot/dts/qcom/sdm845-oneplus-fajita.dts | 4 ++++ arch/arm64/boot/dts/qcom/sdm845-shift-axolotl.dts | 9 +++++++++ .../dts/qcom/sdm845-xiaomi-beryllium-common.dtsi | 15 ++++++++++++--- 9 files changed, 51 insertions(+), 14 deletions(-) --- base-commit: cc08021afd54862446ef11fd683558a7e57cdc6a // Caleb (they/them)
-
sent/20230524-pmi8998-charger-8209dbbf7648-v84814f9c8 · ·
power: supply: introduce support for the Qualcomm smb2 charger Add a driver for the Qualcomm PMI8998/PM660 Switch-Mode Battery Charger. This is the second generation SMB charger, and replaces the previous SMBB hardware found in older PMICs. Changes since v7: * Implement fixes suggested by Sebastian * Fix format warning V7: https://lore.kernel.org/linux-arm-msm/20230127230506.3140297-1-caleb.connolly@linaro.org/ To: Sebastian Reichel <sre@kernel.org> To: Rob Herring <robh+dt@kernel.org> To: Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org> To: Conor Dooley <conor+dt@kernel.org> To: Caleb Connolly <caleb.connolly@linaro.org> To: Andy Gross <agross@kernel.org> To: Bjorn Andersson <andersson@kernel.org> To: Konrad Dybcio <konrad.dybcio@linaro.org> To: Nathan Chancellor <nathan@kernel.org> To: Nick Desaulniers <ndesaulniers@google.com> To: Tom Rix <trix@redhat.com> Cc: linux-pm@vger.kernel.org Cc: devicetree@vger.kernel.org Cc: linux-arm-msm@vger.kernel.org Cc: phone-devel@vger.kernel.org --- Caleb Connolly (2): dt-bindings: power: supply: qcom,pmi8998-charger: add bindings for smb2 driver power: supply: add Qualcomm PMI8998 SMB2 Charger driver .../power/supply/qcom,pmi8998-charger.yaml | 82 ++ drivers/power/supply/Kconfig | 9 + drivers/power/supply/Makefile | 1 + drivers/power/supply/qcom_pmi8998_charger.c | 1059 ++++++++++++++++++++ 4 files changed, 1151 insertions(+) --- base-commit: ac9a78681b921877518763ba0e89202254349d1b change-id: 20230524-pmi8998-charger-8209dbbf7648 Best regards,