[PATCH] drm/panel: s6e3ha8: add static modifier to supply list

2024-10-21 Thread Dzmitry Sankouski
Add 'static' modifier to panel supply list. Reported-by: kernel test robot Closes: https://lore.kernel.org/oe-kbuild-all/202410160810.0jangxb2-...@intel.com/ Fixes: 779679d3c164 ("drm/panel: Add support for S6E3HA8 panel driver") Signed-off-by: Dzmitry Sankouski --- Fix

[PATCH] drm/mipi-dsi: fix kernel doc on mipi_dsi_compression_mode_multi

2024-10-10 Thread Dzmitry Sankouski
ned-off-by: Dzmitry Sankouski --- drivers/gpu/drm/drm_mipi_dsi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/drm_mipi_dsi.c b/drivers/gpu/drm/drm_mipi_dsi.c index d8ee74701f1e..5e5c5f84daac 100644 --- a/drivers/gpu/drm/drm_mipi_dsi.c +++ b/drivers/gpu/drm/drm_

[PATCH v7 1/3] drm/mipi-dsi: add mipi_dsi_compression_mode_multi

2024-10-09 Thread Dzmitry Sankouski
mipi_dsi_compression_mode_multi can help with error handling. Reviewed-by: Neil Armstrong Signed-off-by: Dzmitry Sankouski --- Changes in v7: - fix kernel doc --- drivers/gpu/drm/drm_mipi_dsi.c | 16 include/drm/drm_mipi_dsi.h | 2 ++ 2 files changed, 18 insertions

[PATCH v7 3/3] drm/panel: Add support for S6E3HA8 panel driver

2024-10-09 Thread Dzmitry Sankouski
Add support for MIPI-DSI based S6E3HA8 AMOLED panel driver. This panel has 1440x2960 resolution, 5.8-inch physical size, and can be found in starqltechn device. Brightness regulation is not yet supported. Reviewed-by: Neil Armstrong Signed-off-by: Dzmitry Sankouski --- Changes for v6: - return

[PATCH v7 2/3] dt-bindings: panel: add Samsung s6e3ha8

2024-10-09 Thread Dzmitry Sankouski
Add binding for the Samsung s6e3ha8 panel found in the Samsung S9. Reviewed-by: Conor Dooley Signed-off-by: Dzmitry Sankouski --- Changes for v5: - fix required properties order - fix example indentation Changes in v4: - change dts example intendation from tabs to spaces - remove reset-gpios

[PATCH v7 0/3] Add Samsung S6E3HA8 panel driver

2024-10-09 Thread Dzmitry Sankouski
The s6e3ha8 is a 1440x2960 DPI AMOLED display panel from Samsung Mobile Displays (SMD) Signed-off-by: Dzmitry Sankouski --- Changes in v7: - fix kernel doc - Link to v6: https://lore.kernel.org/r/20241006-starqltechn_integration_upstream-v6-0-8336b9cd6...@gmail.com Changes in v6: - add new

[PATCH v6 3/3] drm/panel: Add support for S6E3HA8 panel driver

2024-10-06 Thread Dzmitry Sankouski
Add support for MIPI-DSI based S6E3HA8 AMOLED panel driver. This panel has 1440x2960 resolution, 5.8-inch physical size, and can be found in starqltechn device. Brightness regulation is not yet supported. Reviewed-by: Neil Armstrong Signed-off-by: Dzmitry Sankouski --- Changes for v6: - return

[PATCH v6 2/3] dt-bindings: panel: add Samsung s6e3ha8

2024-10-06 Thread Dzmitry Sankouski
Add binding for the Samsung s6e3ha8 panel found in the Samsung S9. Reviewed-by: Conor Dooley Signed-off-by: Dzmitry Sankouski --- Changes for v5: - fix required properties order - fix example indentation Changes in v4: - change dts example intendation from tabs to spaces - remove reset-gpios

[PATCH v6 1/3] drm/mipi-dsi: add mipi_dsi_compression_mode_multi

2024-10-06 Thread Dzmitry Sankouski
mipi_dsi_compression_mode_multi can help with error handling. Signed-off-by: Dzmitry Sankouski --- drivers/gpu/drm/drm_mipi_dsi.c | 16 include/drm/drm_mipi_dsi.h | 2 ++ 2 files changed, 18 insertions(+) diff --git a/drivers/gpu/drm/drm_mipi_dsi.c b/drivers/gpu/drm

[PATCH v6 0/3] Add Samsung S6E3HA8 panel driver

2024-10-06 Thread Dzmitry Sankouski
The s6e3ha8 is a 1440x2960 DPI AMOLED display panel from Samsung Mobile Displays (SMD) Signed-off-by: Dzmitry Sankouski --- Changes in v6: - add new patch with mipi_dsi_compression_mode_multi function - Link to v5: https://lore.kernel.org/r/20240926-starqltechn_integration_upstream-v5-0

[PATCH v5 1/2] dt-bindings: panel: add Samsung s6e3ha8

2024-09-26 Thread Dzmitry Sankouski
Add binding for the Samsung s6e3ha8 panel found in the Samsung S9. Signed-off-by: Dzmitry Sankouski --- Changes for v5: - fix required properties order - fix example indentation Changes in v4: - change dts example intendation from tabs to spaces - remove reset-gpios description

[PATCH v5 2/2] drm/panel: Add support for S6E3HA8 panel driver

2024-09-26 Thread Dzmitry Sankouski
Add support for MIPI-DSI based S6E3HA8 AMOLED panel driver. This panel has 1440x2960 resolution, 5.8-inch physical size, and can be found in starqltechn device. Brightness regulation is not yet supported. Signed-off-by: Dzmitry Sankouski --- Changes for v5: - return ctx.accum_err instead of 0

[PATCH v5 0/2] Add Samsung S6E3HA8 panel driver

2024-09-26 Thread Dzmitry Sankouski
The s6e3ha8 is a 1440x2960 DPI AMOLED display panel from Samsung Mobile Displays (SMD) Signed-off-by: Dzmitry Sankouski --- Changes in v5: - Split patchset per subsystem - Link to v4: https://lore.kernel.org/r/20240913-starqltechn_integration_upstream-v4-0-2d2efd5c5...@gmail.com --- Dzmitry

Re: [PATCH v4 15/27] regulator: add s2dos05 regulator support

2024-09-19 Thread Dzmitry Sankouski
> > diff --git a/include/linux/regulator/s2dos05.h > > b/include/linux/regulator/s2dos05.h > > new file mode 100644 > > index ..2e89fcbce769 > > --- /dev/null > > +++ b/include/linux/regulator/s2dos05.h > > @@ -0,0 +1,73 @@ > > +/* SPDX-License-Identifier: GPL-2.0+ */ > > Are you sure

Re: [PATCH v4 23/27] arm64: dts: qcom: starqltechn: add display PMIC

2024-09-19 Thread Dzmitry Sankouski
> > + pmic@60 { > > + compatible = "samsung,s2dos05"; > > + reg = <0x60>; > > + > > + regulators { > > + s2dos05_ldo1: ldo1 { > > + regulator-active-discharge = <1

Re: [PATCH v4 06/27] dt-bindings: mfd: add samsung,s2dos05

2024-09-19 Thread Dzmitry Sankouski
пн, 16 сент. 2024 г. в 12:14, Krzysztof Kozlowski : > > On Fri, Sep 13, 2024 at 06:07:49PM +0300, Dzmitry Sankouski wrote: > > Add samsung,s2dos05 MFD module binding. > > > > Signed-off-by: Dzmitry Sankouski > > > > --- > > Changes in v4: > &g

Re: [PATCH v4 08/27] mfd: max77693: remove unused declarations

2024-09-19 Thread Dzmitry Sankouski
чт, 19 сент. 2024 г. в 10:00, Krzysztof Kozlowski : > > On 18/09/2024 14:53, Dzmitry Sankouski wrote: > > пн, 16 сент. 2024 г. в 12:10, Krzysztof Kozlowski : > >> > >> On Fri, Sep 13, 2024 at 06:07:51PM +0300, Dzmitry Sankouski wrote: > >>> Remove `enu

Re: [PATCH v4 08/27] mfd: max77693: remove unused declarations

2024-09-18 Thread Dzmitry Sankouski
пн, 16 сент. 2024 г. в 12:10, Krzysztof Kozlowski : > > On Fri, Sep 13, 2024 at 06:07:51PM +0300, Dzmitry Sankouski wrote: > > Remove `enum max77693_irq_source` declaration because unused. > > > > Signed-off-by: Dzmitry Sankouski > > --- > > inclu

[PATCH v4 27/27] arm64: dts: qcom: starqltechn: add modem support

2024-09-13 Thread Dzmitry Sankouski
Add support for modem and ipa(IP Accelerator). Add spss reserved memory node. Signed-off-by: Dzmitry Sankouski --- .../boot/dts/qcom/sdm845-samsung-starqltechn.dts | 39 ++ 1 file changed, 39 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sdm845-samsung

[PATCH v4 26/27] arm64: dts: qcom: starqltechn: add graphics support

2024-09-13 Thread Dzmitry Sankouski
Add support for gpu and panel. Signed-off-by: Dzmitry Sankouski --- .../boot/dts/qcom/sdm845-samsung-starqltechn.dts | 67 ++ 1 file changed, 67 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sdm845-samsung-starqltechn.dts b/arch/arm64/boot/dts/qcom/sdm845-samsung

[PATCH v4 25/27] arm64: dts: qcom: starqltechn: add initial sound support

2024-09-13 Thread Dzmitry Sankouski
Add support for sound (headphones and mics only) Also redefine slpi reserved memory, because adsp_mem overlaps with slpi_mem inherited from sdm845.dtsi. Signed-off-by: Dzmitry Sankouski --- .../boot/dts/qcom/sdm845-samsung-starqltechn.dts | 213 + 1 file changed, 213

[PATCH v4 24/27] arm64: dts: qcom: starqltechn: add touchscreen support

2024-09-13 Thread Dzmitry Sankouski
Add support for samsung,s6sy761 touchscreen. Signed-off-by: Dzmitry Sankouski --- .../boot/dts/qcom/sdm845-samsung-starqltechn.dts | 28 ++ 1 file changed, 28 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sdm845-samsung-starqltechn.dts b/arch/arm64/boot/dts/qcom

[PATCH v4 23/27] arm64: dts: qcom: starqltechn: add display PMIC

2024-09-13 Thread Dzmitry Sankouski
Add support for s2dos05 display / touchscreen PMIC Signed-off-by: Dzmitry Sankouski --- .../boot/dts/qcom/sdm845-samsung-starqltechn.dts | 77 ++ 1 file changed, 77 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sdm845-samsung-starqltechn.dts b/arch/arm64/boot/dts

[PATCH v4 22/27] arm64: dts: qcom: starqltechn: add max77705 PMIC

2024-09-13 Thread Dzmitry Sankouski
Add support for max77705 MFD device. Supported sub-devices: charger, fuelgauge, haptic, led Signed-off-by: Dzmitry Sankouski --- .../boot/dts/qcom/sdm845-samsung-starqltechn.dts | 103 + 1 file changed, 103 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sdm845

[PATCH v4 21/27] arm64: dts: qcom: starqltechn: add gpio keys

2024-09-13 Thread Dzmitry Sankouski
Add support for phone buttons. Signed-off-by: Dzmitry Sankouski --- .../boot/dts/qcom/sdm845-samsung-starqltechn.dts | 36 ++ 1 file changed, 36 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sdm845-samsung-starqltechn.dts b/arch/arm64/boot/dts/qcom/sdm845-samsung

[PATCH v4 20/27] arm64: dts: qcom: starqltechn: remove excess reserved gpios

2024-09-13 Thread Dzmitry Sankouski
Starqltechn has 2 reserved gpio ranges <27 4>, <85 4>. <27 4> is spi for eSE(embedded Secure Element). <85 4> is spi for fingerprint. Remove excess reserved gpio regions. Fixes: d711b22eee55 ("arm64: dts: qcom: starqltechn: add initial device tree for starqlte

[PATCH v4 17/27] arm64: dts: qcom: starqltechn: remove wifi

2024-09-13 Thread Dzmitry Sankouski
Starqltechn has broadcom chip for wifi, so sdm845 wifi part can be disabled. Fixes: d711b22eee55 ("arm64: dts: qcom: starqltechn: add initial device tree for starqltechn") Reviewed-by: Konrad Dybcio Signed-off-by: Dzmitry Sankouski --- arch/arm64/boot/dts/qcom/sdm845-samsung-starq

[PATCH v4 19/27] arm64: dts: qcom: starqltechn: refactor node order

2024-09-13 Thread Dzmitry Sankouski
Fixes: d711b22eee55 ("arm64: dts: qcom: starqltechn: add initial device tree for starqltechn") Signed-off-by: Dzmitry Sankouski --- arch/arm64/boot/dts/qcom/sdm845-samsung-starqltechn.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/q

[PATCH v4 18/27] arm64: dts: qcom: starqltechn: fix usb regulator mistake

2024-09-13 Thread Dzmitry Sankouski
Usb regulator was wrongly pointed to vreg_l1a_0p875. However, on starqltechn it's powered from vreg_l5a_0p8. Fixes: d711b22eee55 ("arm64: dts: qcom: starqltechn: add initial device tree for starqltechn") Signed-off-by: Dzmitry Sankouski --- arch/arm64/boot/dts/qcom

[PATCH v4 16/27] arm64: dts: qcom: sdm845: enable gmu

2024-09-13 Thread Dzmitry Sankouski
Leave gmu enabled, because it's only probed when GPU is. Signed-off-by: Dzmitry Sankouski --- arch/arm64/boot/dts/qcom/sdm845-cheza.dtsi | 4 arch/arm64/boot/dts/qcom/sdm845-db845c.dts | 4 arch/arm64/boot/dts/qcom/sdm845-mt

[PATCH v4 15/27] regulator: add s2dos05 regulator support

2024-09-13 Thread Dzmitry Sankouski
S2dos05 has 1 buck and 4 LDO regulators, used for powering panel/touchscreen. Signed-off-by: Dzmitry Sankouski --- Changes in v4: - remove excessive linux/module.h import - use generic regulator helpers - use of_match - use devm_* for mem allocations - use // style comment - drop all junk

[PATCH v4 14/27] mfd: sec-core: add s2dos05 support

2024-09-13 Thread Dzmitry Sankouski
S2dos05 is a panel/touchscreen PMIC, often found in Samsung phones. We define 2 sub-devices for which drivers will be added in subsequent patches. Signed-off-by: Dzmitry Sankouski --- drivers/mfd/sec-core.c | 11 +++ include/linux/mfd/samsung/core.h | 1 + 2 files changed, 12

[PATCH v4 13/27] leds: max77705: Add LEDs support

2024-09-13 Thread Dzmitry Sankouski
This adds basic support for LEDs for the max77705 PMIC. Signed-off-by: Dzmitry Sankouski --- Changes in v4: - inline BLINK_(ON|OFF) macro - remove camel case - drop backwards compatibility(new driver) - drop module alias --- MAINTAINERS | 1 + drivers/leds/Kconfig

[PATCH v4 12/27] power: supply: max77705: Add fuel gauge driver for Maxim 77705

2024-09-13 Thread Dzmitry Sankouski
Add driver for Maxim 77705 fuel gauge (part of max77705 MFD driver) providing power supply class information to userspace. The driver is configured through DTS (battery and system related settings). Signed-off-by: Dzmitry Sankouski --- Changes for V4: - rework driver from scratch - change word

[PATCH v4 11/27] power: supply: max77705: Add charger driver for Maxim 77705

2024-09-13 Thread Dzmitry Sankouski
Add driver for Maxim 77705 switch-mode charger (part of max77705 MFD driver) providing power supply class information to userspace. The driver is configured through DTS (battery and system related settings). Signed-off-by: Dzmitry Sankouski --- Changes for V4: - start from scratch - change

[PATCH v4 03/27] gcc-sdm845: Add general purpose clock ops

2024-09-13 Thread Dzmitry Sankouski
- if doesn't fit, delete divisor and multiplier by 2 until fit - return determined rate Limitations: - The driver doesn't select a parent clock (it may be selected by client in device tree with assigned-clocks, assigned-clock-parents properties) Signed-off-by: Dzmitry Sankouski

[PATCH v4 10/27] input: max77693: add max77705 haptic support

2024-09-13 Thread Dzmitry Sankouski
Add support for haptic controller on MAX77705 Multifunction device. This driver supports external pwm and LRA (Linear Resonant Actuator) motor. User can control the haptic device via force feedback framework. Signed-off-by: Dzmitry Sankouski --- Changes in v4: - add max77705 haptic support to

[PATCH v4 09/27] mfd: Add new driver for MAX77705 PMIC

2024-09-13 Thread Dzmitry Sankouski
Add the core MFD driver for max77705 PMIC. We define five sub-devices for which the drivers will be added in subsequent patches. Signed-off-by: Dzmitry Sankouski --- Changes for V4: - rework driver from scratch - migrate to regmap_add_irq_chip, remove max77705-irq.c, rename max77705-core.c to

[PATCH v4 07/27] drm/panel: Add support for S6E3HA8 panel driver

2024-09-13 Thread Dzmitry Sankouski
Add support for MIPI-DSI based S6E3HA8 AMOLED panel driver. This panel has 1440x2960 resolution, 5.8-inch physical size, and can be found in starqltechn device. Brightness regulation is not yet supported. Signed-off-by: Dzmitry Sankouski Changes in v4: - inline power related functions - rework

[PATCH v4 08/27] mfd: max77693: remove unused declarations

2024-09-13 Thread Dzmitry Sankouski
Remove `enum max77693_irq_source` declaration because unused. Signed-off-by: Dzmitry Sankouski --- include/linux/mfd/max77693-private.h | 11 --- 1 file changed, 11 deletions(-) diff --git a/include/linux/mfd/max77693-private.h b/include/linux/mfd/max77693-private.h index 20c5e02ed9da

[PATCH v4 06/27] dt-bindings: mfd: add samsung,s2dos05

2024-09-13 Thread Dzmitry Sankouski
Add samsung,s2dos05 MFD module binding. Signed-off-by: Dzmitry Sankouski --- Changes in v4: - split long(>80) lines - fix indentation - merge with regulators binding - drop pmic suffix - drop unused labels in example - correct description --- .../devicetree/bindings/mfd/samsung,s2dos05.y

[PATCH v4 05/27] dt-bindings: mfd: add maxim,max77705

2024-09-13 Thread Dzmitry Sankouski
Add maxim,max77705 core binding part. Signed-off-by: Dzmitry Sankouski --- Changes in v4: - change dts example intendation from tabs to spaces - remove interrupt-names property - remove obvious reg description - split long(>80) lines --- .../devicetree/bindings/mfd/maxim,max77705.y

[PATCH v4 04/27] dt-bindings: panel: add Samsung s6e3ha8

2024-09-13 Thread Dzmitry Sankouski
Add binding for the Samsung s6e3ha8 panel found in the Samsung S9. Signed-off-by: Dzmitry Sankouski --- Changes in v4: - change dts example intendation from tabs to spaces - remove reset-gpios description --- .../bindings/display/panel/samsung,s6e3ha8.yaml| 75

[PATCH v4 02/27] clk: qcom: clk-rcg2: name refactoring

2024-09-13 Thread Dzmitry Sankouski
clk-rcg2.c uses 2 variable names for pre divisor register value: pre_div and hid_div. Replace hid_div with pre_div. Update calc_rate docs to reflect, that pre_div is not pure divisor, but a register value, and requires conversion. Signed-off-by: Dzmitry Sankouski --- drivers/clk/qcom/clk-rcg2

[PATCH v4 01/27] power: supply: add undervoltage health status property

2024-09-13 Thread Dzmitry Sankouski
Add POWER_SUPPLY_HEALTH_UNDERVOLTAGE status for power supply to report under voltage lockout failures. Signed-off-by: Dzmitry Sankouski --- include/linux/power_supply.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/linux/power_supply.h b/include/linux/power_supply.h index

[PATCH v4 00/27] This is continued work on Samsung S9(SM-9600) starqltechn

2024-09-13 Thread Dzmitry Sankouski
r 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-e3f666201...@gmail.com --- Dzmitry Sankouski (27):

Re: [PATCH v4 27/28] gcc-sdm845: Add general purpose clock ops

2024-09-13 Thread Dzmitry Sankouski
вт, 10 сент. 2024 г. в 12:59, Uwe Kleine-König : > > Hello, > > On Fri, Jul 19, 2024 at 03:55:04PM +0300, Dzmitry Sankouski wrote: > > SDM845 has "General Purpose" clocks that can be muxed to > > SoC pins to clock various external devices. > > Those cl

Re: [PATCH v3 04/23] dt-bindings: mfd: add maxim,max77705

2024-09-13 Thread Dzmitry Sankouski
чт, 20 июн. 2024 г. в 18:46, Krzysztof Kozlowski : > > On 18/06/2024 15:59, Dzmitry Sankouski wrote: > > maxim,max77705 is MAX77705 pmic binding part > > > > Signed-off-by: Dzmitry Sankouski > > --- > > .../devicetree/bindings/mfd/maxim,max77705.yaml| 112

[PATCH v4 27/28] gcc-sdm845: Add general purpose clock ops

2024-07-19 Thread Dzmitry Sankouski
rcg2 clock driver, is not efficient, because it allows only defined frequencies. Introduce clk_rcg2_gp_ops, which automatically calculate clock mnd values for arbitrary clock rate. Signed-off-by: Dzmitry Sankouski --- drivers/clk/qcom/clk-rcg.h| 1 + drivers/clk/qcom/clk-rcg2

Re: [PATCH v3 02/23] gcc-sdm845: Add rates to the GP clocks

2024-07-19 Thread Dzmitry Sankouski
; >> On 6/18/24 19:50, Dmitry Baryshkov wrote: > >>> On Tue, Jun 18, 2024 at 04:59:36PM GMT, Dzmitry Sankouski wrote: > >>>> sdm845 has "General Purpose" clocks that can be muxed to > >>>> SoC pins. > >>>> > >>>> T

Re: [PATCH v3 23/23] arm64: dts: qcom: starqltechn: add new features

2024-07-08 Thread Dzmitry Sankouski
вт, 18 июн. 2024 г. в 17:12, Konrad Dybcio : > > ... > > > gpio-reserved-ranges = <0 4>, <27 4>, <81 4>, <85 4>; > > Do you know what these are for? > > Konrad <85 4> is spi for fingerprint. <27 4> is spi for eSE(embedded Secure Element) The rest shouldn't be reserved. -- Best regards, Dz

Re: [PATCH v3 18/23] regulator: add s2dos05 regulator support

2024-06-19 Thread Dzmitry Sankouski
вт, 18 июн. 2024 г. в 17:08, Mark Brown : > > On Tue, Jun 18, 2024 at 04:59:52PM +0300, Dzmitry Sankouski wrote: > > > index ..3c58a1bd2262 > > --- /dev/null > > +++ b/drivers/regulator/s2dos05-regulator.c > > @@ -0,0 +1,362 @@ > &g

Re: [PATCH v3 11/23] drm/panel: Add support for S6E3HA8 panel driver

2024-06-19 Thread Dzmitry Sankouski
вт, 18 июн. 2024 г. в 21:39, Dmitry Baryshkov : > > > + ret = mipi_dsi_compression_mode(dsi, true); > > + if (ret < 0) { > > + dev_err(dev, "Failed to set compression mode: %d\n", ret); > > + return ret; > > + } > > Interesting, compression mode is being set befo

[PATCH v3 23/23] arm64: dts: qcom: starqltechn: add new features

2024-06-18 Thread Dzmitry Sankouski
Add support for new features: - sound (headphones and mics only) - gpu - panel - buttons - MAX77705 MFD:    - charger    - fuelgauge    - haptic    - led Signed-off-by: Dzmitry Sankouski --- .../boot/dts/qcom/sdm845-samsung-starqltechn.dts | 593 - 1 file changed, 592

[PATCH v3 18/23] regulator: add s2dos05 regulator support

2024-06-18 Thread Dzmitry Sankouski
S2dos05 has 1 buck and 4 LDO regulators, used for powering panel/touchscreen. Signed-off-by: Dzmitry Sankouski --- MAINTAINERS | 1 + drivers/regulator/Kconfig | 8 + drivers/regulator/Makefile| 1 + drivers/regulator/s2dos05-regulator.c

[PATCH v3 08/23] dt-bindings: led: add maxim,max77705-leds

2024-06-18 Thread Dzmitry Sankouski
add maxim,max77705 leds binding part Signed-off-by: Dzmitry Sankouski --- .../devicetree/bindings/leds/maxim,max77705.yaml | 45 ++ 1 file changed, 45 insertions(+) diff --git a/Documentation/devicetree/bindings/leds/maxim,max77705.yaml b/Documentation/devicetree

Re: [PATCH v3 22/23] arm64: dts: qcom: starqltechn: fix usb regulator mistake

2024-06-18 Thread Dzmitry Sankouski
вт, 18 июн. 2024 г. в 17:08, Konrad Dybcio : > > > > On 6/18/24 15:59, Dzmitry Sankouski wrote: > > Usb regulator was wrongly pointed to vreg_l1a_0p875. > > However, on starqltechn it's powered from vreg_l5a_0p8. > > > > Fixes: d711b22eee55 ("arm

[PATCH v3 04/23] dt-bindings: mfd: add maxim,max77705

2024-06-18 Thread Dzmitry Sankouski
maxim,max77705 is MAX77705 pmic binding part Signed-off-by: Dzmitry Sankouski --- .../devicetree/bindings/mfd/maxim,max77705.yaml| 112 + MAINTAINERS| 1 + 2 files changed, 113 insertions(+) diff --git a/Documentation/devicetree

[PATCH v3 22/23] arm64: dts: qcom: starqltechn: fix usb regulator mistake

2024-06-18 Thread Dzmitry Sankouski
Usb regulator was wrongly pointed to vreg_l1a_0p875. However, on starqltechn it's powered from vreg_l5a_0p8. Fixes: d711b22eee55 ("arm64: dts: qcom: starqltechn: add initial device tree for starqltechn") Signed-off-by: Dzmitry Sankouski --- arch/arm64/boot/dts/qcom

[PATCH v3 21/23] arm64: dts: qcom: starqltechn: remove framebuffer

2024-06-18 Thread Dzmitry Sankouski
Remove framebuffer because a panel driver introduced. Signed-off-by: Dzmitry Sankouski --- arch/arm64/boot/dts/qcom/sdm845-samsung-starqltechn.dts | 9 - 1 file changed, 9 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/sdm845-samsung-starqltechn.dts b/arch/arm64/boot/dts/qcom

[PATCH v3 20/23] arm64: dts: qcom: starqltechn: remove wifi

2024-06-18 Thread Dzmitry Sankouski
Starqltechn has broadcom chip for wifi, so sdm845 wifi part can be disabled. Fixes: d711b22eee55 ("arm64: dts: qcom: starqltechn: add initial device tree for starqltechn") Signed-off-by: Dzmitry Sankouski --- arch/arm64/boot/dts/qcom/sdm845-samsung-starqltechn.dts | 8 1 fi

[PATCH v3 19/23] power: supply: s2dos05: Add fuel gauge driver for s2dos05

2024-06-18 Thread Dzmitry Sankouski
ense-Identifier: GPL-2.0+ +/* + * s2dos05-fg.c + * + * Copyright (c) 2015 Samsung Electronics Co., Ltd + * http://www.samsung.com + * Copyright (c) 2024 Dzmitry Sankouski + * + */ +#include +#include +#include +#include +#include +#include + +#define SYNC_MODE 1 +#define ASYNC_

[PATCH v3 17/23] mfd: add s2dos series core driver

2024-06-18 Thread Dzmitry Sankouski
S2DOS05 is a panel/touchscreen PMIC, often found in Samsung phones. We define 2 sub-devices for which drivers will be added in subsequent patches. Signed-off-by: Dzmitry Sankouski --- MAINTAINERS| 1 + drivers/mfd/Kconfig| 13 +++ drivers/mfd

[PATCH v3 16/23] leds: max77705: Add LEDs support

2024-06-18 Thread Dzmitry Sankouski
This adds basic support for LEDs for the max77705 PMIC. Signed-off-by: Dzmitry Sankouski --- MAINTAINERS | 1 + drivers/leds/Kconfig | 6 ++ drivers/leds/Makefile| 1 + drivers/leds/leds-max77705.c | 166 +++ 4 files

[PATCH v3 15/23] power: supply: max77705: Add fuel gauge driver for Maxim 77705

2024-06-18 Thread Dzmitry Sankouski
Add driver for Maxim 77705 fuel gauge (part of max77705 MFD driver) providing power supply class information to userspace. The driver is configured through DTS (battery and system related settings). Signed-off-by: Dzmitry Sankouski --- drivers/power/supply/Kconfig | 7 + drivers

[PATCH v3 14/23] power: supply: max77705: Add charger driver for Maxim 77705

2024-06-18 Thread Dzmitry Sankouski
configure charge end at less than 100% Signed-off-by: Dzmitry Sankouski --- drivers/power/supply/Kconfig| 6 + drivers/power/supply/Makefile | 1 + drivers/power/supply/max77705_charger.c | 772 include/linux/mfd/max77705_charger.h| 225

[PATCH v3 13/23] input: add max77705 haptic driver

2024-06-18 Thread Dzmitry Sankouski
Add support for haptic controller on MAX77705 Multifunction device. This driver supports external pwm and LRA (Linear Resonant Actuator) motor. User can control the haptic device via force feedback framework. Signed-off-by: Dzmitry Sankouski --- drivers/input/misc/Kconfig | 11

[PATCH v3 11/23] drm/panel: Add support for S6E3HA8 panel driver

2024-06-18 Thread Dzmitry Sankouski
Add support for MIPI-DSI based S6E3HA8 AMOLED panel driver. This panel has 1440x2960 resolution, 5.8-inch physical size, and can be found in starqltechn device. Brightness regulation is not yet supported. Signed-off-by: Dzmitry Sankouski --- MAINTAINERS | 1

[PATCH v3 12/23] mfd: Add new driver for MAX77705 PMIC

2024-06-18 Thread Dzmitry Sankouski
Add the core MFD driver for max77705 PMIC. We define five sub-devices for which the drivers will be added in subsequent patches. Signed-off-by: Dzmitry Sankouski Co-authored-by: Rose Hudson --- MAINTAINERS | 2 + drivers/mfd/Kconfig | 12 ++ drivers

[PATCH v3 10/23] dt-bindings: regulator: add samsung,s2dos05

2024-06-18 Thread Dzmitry Sankouski
add samsung,s2dos05 regulator binding part Signed-off-by: Dzmitry Sankouski --- .../bindings/regulator/samsung,s2dos05.yaml| 36 ++ MAINTAINERS| 1 + 2 files changed, 37 insertions(+) diff --git a/Documentation/devicetree

[PATCH v3 09/23] dt-bindings: mfd: add samsung,s2dos05

2024-06-18 Thread Dzmitry Sankouski
add samsung,s2dos05 core MFD module binding Signed-off-by: Dzmitry Sankouski --- .../devicetree/bindings/mfd/samsung,s2dos05.yaml | 89 ++ MAINTAINERS| 1 + 2 files changed, 90 insertions(+) diff --git a/Documentation/devicetree

[PATCH v3 07/23] dt-bindings: power: supply: add maxim,max77705

2024-06-18 Thread Dzmitry Sankouski
add maxim,max77705 fuel gauge binding part Signed-off-by: Dzmitry Sankouski --- .../bindings/power/supply/maxim,max77705-fg.yaml | 35 ++ 1 file changed, 35 insertions(+) diff --git a/Documentation/devicetree/bindings/power/supply/maxim,max77705-fg.yaml b/Documentation

[PATCH v3 06/23] dt-bindings: power: supply: add maxim,max77705 charger

2024-06-18 Thread Dzmitry Sankouski
add maxim,max77705 charger binding part Signed-off-by: Dzmitry Sankouski --- .../power/supply/maxim,max77705-charger.yaml | 30 ++ 1 file changed, 30 insertions(+) diff --git a/Documentation/devicetree/bindings/power/supply/maxim,max77705-charger.yaml b

[PATCH v3 05/23] dt-bindings: input: add maxim,max77705-haptic

2024-06-18 Thread Dzmitry Sankouski
maxim,max77705-haptic is MAX77705 pmic binding part Signed-off-by: Dzmitry Sankouski --- .../devicetree/bindings/input/maxim,max77705.yaml | 31 ++ 1 file changed, 31 insertions(+) diff --git a/Documentation/devicetree/bindings/input/maxim,max77705.yaml b/Documentation

[PATCH v3 03/23] dt-bindings: panel: add Samsung s6e3ha8

2024-06-18 Thread Dzmitry Sankouski
Add binding for the Samsung s6e3ha8 panel found in the Samsung S9. Signed-off-by: Dzmitry Sankouski --- .../bindings/display/panel/samsung,s6e3ha8.yaml| 76 ++ MAINTAINERS| 5 ++ 2 files changed, 81 insertions(+) diff --git a

[PATCH v3 02/23] gcc-sdm845: Add rates to the GP clocks

2024-06-18 Thread Dzmitry Sankouski
(clk: qcom: gcc-msm8916: Add rates to the GP clocks) Signed-off-by: Dzmitry Sankouski --- drivers/clk/qcom/gcc-sdm845.c | 14 ++ 1 file changed, 14 insertions(+) diff --git a/drivers/clk/qcom/gcc-sdm845.c b/drivers/clk/qcom/gcc-sdm845.c index ea4c3bf4fb9b..0efd3364e8f5 100644 --- a/drive

[PATCH v3 01/23] power: supply: add undervoltage health status property

2024-06-18 Thread Dzmitry Sankouski
Add POWER_SUPPLY_HEALTH_UNDERVOLTAGE status for power supply to report under voltage lockout failures. Signed-off-by: Dzmitry Sankouski --- include/linux/power_supply.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/linux/power_supply.h b/include/linux/power_supply.h index

[PATCH v3 00/23] This is continued work on Samsung S9(SM-9600) starqltechn

2024-06-18 Thread Dzmitry Sankouski
fuel gauge bindings. Signed-off-by: Dzmitry Sankouski --- Dzmitry Sankouski (23): power: supply: add undervoltage health status property gcc-sdm845: Add rates to the GP clocks dt-bindings: panel: add Samsung s6e3ha8 dt-bindings: mfd: add maxim,max77705 dt-bindin