linux-input.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v4 00/27] This is continued work on Samsung S9(SM-9600) starqltechn
@ 2024-09-13 15:07 Dzmitry Sankouski
  2024-09-13 15:07 ` [PATCH v4 01/27] power: supply: add undervoltage health status property Dzmitry Sankouski
                   ` (26 more replies)
  0 siblings, 27 replies; 50+ messages in thread
From: Dzmitry Sankouski @ 2024-09-13 15:07 UTC (permalink / raw)
  To: Sebastian Reichel, Bjorn Andersson, Michael Turquette,
	Stephen Boyd, Neil Armstrong, Jessica Zhang, Sam Ravnborg,
	Maarten Lankhorst, Maxime Ripard, Thomas Zimmermann, David Airlie,
	Rob Herring, Krzysztof Kozlowski, Conor Dooley, Lee Jones,
	Dmitry Torokhov, Pavel Machek, Liam Girdwood, Mark Brown,
	Uwe Kleine-König, Krzysztof Kozlowski, Chanwoo Choi,
	Simona Vetter, cros-qcom-dts-watchers, Konrad Dybcio,
	Simona Vetter, Konrad Dybcio
  Cc: linux-pm, linux-kernel, linux-arm-msm, linux-clk, dri-devel,
	devicetree, linux-input, linux-leds, linux-pwm, linux-samsung-soc,
	Dzmitry Sankouski

Add support for new features:
- sound (headphones and mics only)
- gpu
- panel
- buttons
- MAX77705 MFD:
  - charger
  - fuelgauge
  - haptic
  - led

Changes in version 2:
- s2dos05 regulator:
  - hex to decimal in regulator values
  - fix compatible value
  - remove interrupt specific code, because it's
    empty in vendor kernel, and I cannot test it on
    available hardware anyway.

Changes in version 3:
Version 3 has significant changes:
- more drivers added
- s2dos05 driver converted to MFD
- disable crypto patch removed(disabled on distro level)
- dts framebuffer node along with related patches removed,
because panel driver added
- fix 'make O=.output_arm64 CHECK_DTBS=y qcom/sdm845-samsung-starqltechn.dtb'
errors, but it still complains on 'monitored-battery' and
'power-supplies' though I have 'power-supply.yaml' link in charger
and fuel gauge bindings.

Signed-off-by: Dzmitry Sankouski <dsankouski@gmail.com>
---
Changes in v4:
- Rewrite max77705, max77705_charger, max77705_fuel_gauge from scratch
- Reorder patches:
  - squash max77705 subdevice bindings in core file because
    no resources there
  - split device tree changes
- Use _ as space for filenames in power/supply like the majority
- Replace gcc-845 freq_tbl frequencies patch with new approach,
  based on automatic m/n/pre_div value generation
- Link to v3: https://lore.kernel.org/r/20240618-starqltechn_integration_upstream-v3-0-e3f6662017ac@gmail.com

---
Dzmitry Sankouski (27):
      power: supply: add undervoltage health status property
      clk: qcom: clk-rcg2: name refactoring
      gcc-sdm845: Add general purpose clock ops
      dt-bindings: panel: add Samsung s6e3ha8
      dt-bindings: mfd: add maxim,max77705
      dt-bindings: mfd: add samsung,s2dos05
      drm/panel: Add support for S6E3HA8 panel driver
      mfd: max77693: remove unused declarations
      mfd: Add new driver for MAX77705 PMIC
      input: max77693: add max77705 haptic support
      power: supply: max77705: Add charger driver for Maxim 77705
      power: supply: max77705: Add fuel gauge driver for Maxim 77705
      leds: max77705: Add LEDs support
      mfd: sec-core: add s2dos05 support
      regulator: add s2dos05 regulator support
      arm64: dts: qcom: sdm845: enable gmu
      arm64: dts: qcom: starqltechn: remove wifi
      arm64: dts: qcom: starqltechn: fix usb regulator mistake
      arm64: dts: qcom: starqltechn: refactor node order
      arm64: dts: qcom: starqltechn: remove excess reserved gpios
      arm64: dts: qcom: starqltechn: add gpio keys
      arm64: dts: qcom: starqltechn: add max77705 PMIC
      arm64: dts: qcom: starqltechn: add display PMIC
      arm64: dts: qcom: starqltechn: add touchscreen support
      arm64: dts: qcom: starqltechn: add initial sound support
      arm64: dts: qcom: starqltechn: add graphics support
      arm64: dts: qcom: starqltechn: add modem support

 .../bindings/display/panel/samsung,s6e3ha8.yaml    |  75 +++
 .../devicetree/bindings/mfd/maxim,max77705.yaml    | 169 ++++++
 .../devicetree/bindings/mfd/samsung,s2dos05.yaml   |  99 ++++
 MAINTAINERS                                        |  12 +
 arch/arm64/boot/dts/qcom/sdm845-cheza.dtsi         |   4 -
 arch/arm64/boot/dts/qcom/sdm845-db845c.dts         |   4 -
 arch/arm64/boot/dts/qcom/sdm845-mtp.dts            |   4 -
 .../arm64/boot/dts/qcom/sdm845-oneplus-common.dtsi |   4 -
 .../boot/dts/qcom/sdm845-samsung-starqltechn.dts   | 573 +++++++++++++++++++-
 arch/arm64/boot/dts/qcom/sdm845-shift-axolotl.dts  |   4 -
 .../boot/dts/qcom/sdm845-sony-xperia-tama.dtsi     |   4 -
 .../dts/qcom/sdm845-xiaomi-beryllium-common.dtsi   |   4 -
 arch/arm64/boot/dts/qcom/sdm845-xiaomi-polaris.dts |   4 -
 arch/arm64/boot/dts/qcom/sdm845.dtsi               |   2 -
 drivers/clk/qcom/clk-rcg.h                         |   1 +
 drivers/clk/qcom/clk-rcg2.c                        | 243 ++++++++-
 drivers/clk/qcom/gcc-sdm845.c                      |  21 +-
 drivers/gpu/drm/panel/Kconfig                      |   7 +
 drivers/gpu/drm/panel/Makefile                     |   1 +
 drivers/gpu/drm/panel/panel-samsung-s6e3ha8.c      | 350 ++++++++++++
 drivers/input/misc/Kconfig                         |   4 +-
 drivers/input/misc/Makefile                        |   1 +
 drivers/input/misc/max77693-haptic.c               |  15 +-
 drivers/leds/Kconfig                               |   6 +
 drivers/leds/Makefile                              |   1 +
 drivers/leds/leds-max77705.c                       | 158 ++++++
 drivers/mfd/Kconfig                                |  12 +
 drivers/mfd/Makefile                               |   2 +
 drivers/mfd/max77705.c                             | 248 +++++++++
 drivers/mfd/sec-core.c                             |  11 +
 drivers/power/supply/Kconfig                       |  13 +
 drivers/power/supply/Makefile                      |   2 +
 drivers/power/supply/max77705_charger.c            | 585 +++++++++++++++++++++
 drivers/power/supply/max77705_fuel_gauge.c         | 348 ++++++++++++
 drivers/regulator/Kconfig                          |   8 +
 drivers/regulator/Makefile                         |   1 +
 drivers/regulator/s2dos05-regulator.c              | 176 +++++++
 include/linux/mfd/max77693-common.h                |   6 +-
 include/linux/mfd/max77693-private.h               |  11 -
 include/linux/mfd/max77705-private.h               | 180 +++++++
 include/linux/mfd/max77705_charger.h               | 215 ++++++++
 include/linux/mfd/samsung/core.h                   |   1 +
 include/linux/power/max77705_fuelgauge.h           |  65 +++
 include/linux/power_supply.h                       |   1 +
 include/linux/regulator/s2dos05.h                  |  73 +++
 45 files changed, 3627 insertions(+), 101 deletions(-)
---
base-commit: 5acd9952f95fb4b7da6d09a3be39195a80845eb6
change-id: 20240617-starqltechn_integration_upstream-bc86850b2fe3

Best regards,
-- 
Dzmitry Sankouski <dsankouski@gmail.com>


^ permalink raw reply	[flat|nested] 50+ messages in thread

end of thread, other threads:[~2024-09-23  9:07 UTC | newest]

Thread overview: 50+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-09-13 15:07 [PATCH v4 00/27] This is continued work on Samsung S9(SM-9600) starqltechn Dzmitry Sankouski
2024-09-13 15:07 ` [PATCH v4 01/27] power: supply: add undervoltage health status property Dzmitry Sankouski
2024-09-14  8:38   ` Sebastian Reichel
2024-09-13 15:07 ` [PATCH v4 02/27] clk: qcom: clk-rcg2: name refactoring Dzmitry Sankouski
2024-09-13 18:56   ` Stephen Boyd
2024-09-13 15:07 ` [PATCH v4 03/27] gcc-sdm845: Add general purpose clock ops Dzmitry Sankouski
2024-09-13 15:07 ` [PATCH v4 04/27] dt-bindings: panel: add Samsung s6e3ha8 Dzmitry Sankouski
2024-09-16 20:08   ` Krzysztof Kozlowski
2024-09-13 15:07 ` [PATCH v4 05/27] dt-bindings: mfd: add maxim,max77705 Dzmitry Sankouski
2024-09-13 16:37   ` Rob Herring (Arm)
2024-09-13 21:55   ` Rob Herring
2024-09-13 15:07 ` [PATCH v4 06/27] dt-bindings: mfd: add samsung,s2dos05 Dzmitry Sankouski
2024-09-16  9:13   ` Krzysztof Kozlowski
2024-09-19 12:50     ` Dzmitry Sankouski
2024-09-13 15:07 ` [PATCH v4 07/27] drm/panel: Add support for S6E3HA8 panel driver Dzmitry Sankouski
2024-09-21 20:34   ` Dmitry Baryshkov
2024-09-13 15:07 ` [PATCH v4 08/27] mfd: max77693: remove unused declarations Dzmitry Sankouski
2024-09-16  9:09   ` Krzysztof Kozlowski
2024-09-18 12:53     ` Dzmitry Sankouski
2024-09-19  7:00       ` Krzysztof Kozlowski
2024-09-19  8:40         ` Dzmitry Sankouski
2024-09-19 10:07           ` Krzysztof Kozlowski
2024-09-13 15:07 ` [PATCH v4 09/27] mfd: Add new driver for MAX77705 PMIC Dzmitry Sankouski
2024-09-13 15:07 ` [PATCH v4 10/27] input: max77693: add max77705 haptic support Dzmitry Sankouski
2024-09-13 15:07 ` [PATCH v4 11/27] power: supply: max77705: Add charger driver for Maxim 77705 Dzmitry Sankouski
2024-09-13 15:07 ` [PATCH v4 12/27] power: supply: max77705: Add fuel gauge " Dzmitry Sankouski
2024-09-13 15:07 ` [PATCH v4 13/27] leds: max77705: Add LEDs support Dzmitry Sankouski
2024-09-13 15:07 ` [PATCH v4 14/27] mfd: sec-core: add s2dos05 support Dzmitry Sankouski
2024-09-16  9:09   ` Krzysztof Kozlowski
2024-09-13 15:07 ` [PATCH v4 15/27] regulator: add s2dos05 regulator support Dzmitry Sankouski
2024-09-16  9:21   ` Krzysztof Kozlowski
2024-09-19 14:28     ` Dzmitry Sankouski
2024-09-23  9:07       ` Krzysztof Kozlowski
2024-09-13 15:07 ` [PATCH v4 16/27] arm64: dts: qcom: sdm845: enable gmu Dzmitry Sankouski
2024-09-13 19:02   ` Steev Klimaszewski
2024-09-13 15:08 ` [PATCH v4 17/27] arm64: dts: qcom: starqltechn: remove wifi Dzmitry Sankouski
2024-09-13 15:08 ` [PATCH v4 18/27] arm64: dts: qcom: starqltechn: fix usb regulator mistake Dzmitry Sankouski
2024-09-13 15:08 ` [PATCH v4 19/27] arm64: dts: qcom: starqltechn: refactor node order Dzmitry Sankouski
2024-09-13 15:08 ` [PATCH v4 20/27] arm64: dts: qcom: starqltechn: remove excess reserved gpios Dzmitry Sankouski
2024-09-13 15:08 ` [PATCH v4 21/27] arm64: dts: qcom: starqltechn: add gpio keys Dzmitry Sankouski
2024-09-13 15:08 ` [PATCH v4 22/27] arm64: dts: qcom: starqltechn: add max77705 PMIC Dzmitry Sankouski
2024-09-16  9:17   ` Krzysztof Kozlowski
2024-09-13 15:08 ` [PATCH v4 23/27] arm64: dts: qcom: starqltechn: add display PMIC Dzmitry Sankouski
2024-09-16  9:15   ` Krzysztof Kozlowski
2024-09-19 13:17     ` Dzmitry Sankouski
2024-09-19 14:00       ` Krzysztof Kozlowski
2024-09-13 15:08 ` [PATCH v4 24/27] arm64: dts: qcom: starqltechn: add touchscreen support Dzmitry Sankouski
2024-09-13 15:08 ` [PATCH v4 25/27] arm64: dts: qcom: starqltechn: add initial sound support Dzmitry Sankouski
2024-09-13 15:08 ` [PATCH v4 26/27] arm64: dts: qcom: starqltechn: add graphics support Dzmitry Sankouski
2024-09-13 15:08 ` [PATCH v4 27/27] arm64: dts: qcom: starqltechn: add modem support Dzmitry Sankouski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).