2018-08-07 18:11:22 +02:00
|
|
|
|
2025-04-09 21:37:29 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2011-12-23 17:28:08 +09:00
|
|
|
|
2025-04-09 21:37:27 +01:00
|
|
|
|
2011-12-23 17:28:08 +09:00
|
|
|
|
2025-04-09 21:37:29 +01:00
|
|
|
|
2011-12-23 17:28:08 +09:00
|
|
|
|
|
|
|
|
|
2012-07-11 21:07:16 +09:00
|
|
|
|
|
|
|
|
|
2013-07-01 23:02:19 +01:00
|
|
|
|
2014-11-18 17:59:40 +09:00
|
|
|
|
mfd: sec: Add support for S2MU005 PMIC
Samsung's S2MU005 PMIC includes subdevices for a charger, an MUIC (Micro
USB Interface Controller), and flash and RGB LED controllers.
S2MU005's interrupt registers divided into three domains, each for the
charger, flash LEDs, and the MUIC, packed into a single regmap IRQ chip
construct.
In devices other than S2MPG1X, the revision can be retrieved from the
first register of the PMIC regmap. In S2MU005 however, the location is
in offset 0x73. Introduce a switch-case block to allow selecting the
REG_ID register. S2MU005 also has a field mask for the revision. Apply
it using FIELD_GET() and get the extracted value.
Add initial support for S2MU005 in the PMIC driver, along with its three
interrupt chips, and support for allowing to fetch revision based on the
device variant.
Co-developed-by: Łukasz Lebiedziński <kernel@lvkasz.us>
Signed-off-by: Łukasz Lebiedziński <kernel@lvkasz.us>
Signed-off-by: Kaustabh Chakraborty <kauschluss@disroot.org>
Link: https://patch.msgid.link/20260516-s2mu005-pmic-v7-4-73f9702fb461@disroot.org
Signed-off-by: Lee Jones <lee@kernel.org>
2026-05-16 03:08:36 +05:30
|
|
|
|
2025-04-09 21:37:26 +01:00
|
|
|
|
|
|
|
|
|
2025-04-09 21:37:27 +01:00
|
|
|
|
2025-04-09 21:37:26 +01:00
|
|
|
|
2011-12-23 17:28:08 +09:00
|
|
|
|
2025-04-09 21:37:28 +01:00
|
|
|
|
2011-12-23 17:28:08 +09:00
|
|
|
|
2026-01-13 14:03:11 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2013-11-18 14:33:06 +01:00
|
|
|
|
2025-04-09 21:37:42 +01:00
|
|
|
|
2026-01-13 14:03:11 +00:00
|
|
|
|
2025-04-09 21:37:42 +01:00
|
|
|
|
2011-12-23 17:28:08 +09:00
|
|
|
|
|
|
|
|
|
2024-09-26 12:47:31 +03:00
|
|
|
|
2025-04-09 21:37:42 +01:00
|
|
|
|
2024-09-26 12:47:31 +03:00
|
|
|
|
|
|
|
|
|
2026-01-13 14:03:11 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2025-04-09 21:37:30 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2026-01-13 14:03:11 +00:00
|
|
|
|
2025-04-09 21:37:30 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
mfd: sec: Add support for S2MPG11 PMIC via ACPM
Add support for Samsung's S2MPG11 PMIC, which is a Power Management IC
for mobile applications with buck converters, various LDOs, power
meters, NTC thermistor inputs, and additional GPIO interfaces. It
typically complements an S2MPG10 PMIC in a main/sub configuration as
the sub-PMIC.
Like S2MPG10, communication is not via I2C, but via the Samsung ACPM
firmware.
While at it, we can also switch to asynchronous probe, which helps with
probe performance, as the drivers for s2mpg10 and s2mpg11 can probe in
parallel.
Note: The firmware uses the ACPM channel ID and the Speedy channel ID
to select the PMIC address. Since these are firmware properties, they
can not be retrieved from DT, but instead are deducted from the
compatible for now.
Signed-off-by: André Draszik <andre.draszik@linaro.org>
Link: https://patch.msgid.link/20260122-s2mpg1x-regulators-v7-9-3b1f9831fffd@linaro.org
Signed-off-by: Lee Jones <lee@kernel.org>
2026-01-22 15:43:36 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2026-01-13 14:03:11 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2013-11-18 14:33:06 +01:00
|
|
|
|
2025-04-09 21:37:42 +01:00
|
|
|
|
2026-01-13 14:03:11 +00:00
|
|
|
|
2025-04-09 21:37:42 +01:00
|
|
|
|
2012-07-11 21:07:55 +09:00
|
|
|
|
|
|
|
|
|
2026-01-13 14:03:11 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2014-11-18 17:59:39 +09:00
|
|
|
|
2025-04-09 21:37:42 +01:00
|
|
|
|
2026-01-13 14:03:11 +00:00
|
|
|
|
2025-04-09 21:37:42 +01:00
|
|
|
|
2014-11-18 17:59:39 +09:00
|
|
|
|
|
|
|
|
|
2014-02-28 11:41:44 +01:00
|
|
|
|
2025-04-09 21:37:42 +01:00
|
|
|
|
2026-01-13 14:03:11 +00:00
|
|
|
|
2025-04-09 21:37:42 +01:00
|
|
|
|
2014-02-28 11:41:44 +01:00
|
|
|
|
|
|
|
|
|
2015-11-20 16:07:51 +05:30
|
|
|
|
2025-04-09 21:37:42 +01:00
|
|
|
|
2026-01-13 14:03:11 +00:00
|
|
|
|
2025-04-09 21:37:42 +01:00
|
|
|
|
2015-11-20 16:07:51 +05:30
|
|
|
|
|
|
|
|
|
2014-03-14 17:21:57 +05:30
|
|
|
|
2025-04-09 21:37:42 +01:00
|
|
|
|
2026-01-13 14:03:11 +00:00
|
|
|
|
2014-03-14 17:21:57 +05:30
|
|
|
|
|
|
|
|
|
2014-06-25 16:14:44 +09:00
|
|
|
|
2025-04-09 21:37:42 +01:00
|
|
|
|
2014-06-25 16:14:44 +09:00
|
|
|
|
|
|
|
|
|
2026-01-13 14:03:11 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2025-03-01 01:07:13 +05:30
|
|
|
|
2025-04-09 21:37:42 +01:00
|
|
|
|
2026-01-13 14:03:11 +00:00
|
|
|
|
2025-03-01 01:07:13 +05:30
|
|
|
|
|
|
|
|
|
mfd: sec: Add support for S2MU005 PMIC
Samsung's S2MU005 PMIC includes subdevices for a charger, an MUIC (Micro
USB Interface Controller), and flash and RGB LED controllers.
S2MU005's interrupt registers divided into three domains, each for the
charger, flash LEDs, and the MUIC, packed into a single regmap IRQ chip
construct.
In devices other than S2MPG1X, the revision can be retrieved from the
first register of the PMIC regmap. In S2MU005 however, the location is
in offset 0x73. Introduce a switch-case block to allow selecting the
REG_ID register. S2MU005 also has a field mask for the revision. Apply
it using FIELD_GET() and get the extracted value.
Add initial support for S2MU005 in the PMIC driver, along with its three
interrupt chips, and support for allowing to fetch revision based on the
device variant.
Co-developed-by: Łukasz Lebiedziński <kernel@lvkasz.us>
Signed-off-by: Łukasz Lebiedziński <kernel@lvkasz.us>
Signed-off-by: Kaustabh Chakraborty <kauschluss@disroot.org>
Link: https://patch.msgid.link/20260516-s2mu005-pmic-v7-4-73f9702fb461@disroot.org
Signed-off-by: Lee Jones <lee@kernel.org>
2026-05-16 03:08:36 +05:30
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2015-10-07 09:44:39 +09:00
|
|
|
|
|
|
|
|
|
mfd: sec: Add support for S2MU005 PMIC
Samsung's S2MU005 PMIC includes subdevices for a charger, an MUIC (Micro
USB Interface Controller), and flash and RGB LED controllers.
S2MU005's interrupt registers divided into three domains, each for the
charger, flash LEDs, and the MUIC, packed into a single regmap IRQ chip
construct.
In devices other than S2MPG1X, the revision can be retrieved from the
first register of the PMIC regmap. In S2MU005 however, the location is
in offset 0x73. Introduce a switch-case block to allow selecting the
REG_ID register. S2MU005 also has a field mask for the revision. Apply
it using FIELD_GET() and get the extracted value.
Add initial support for S2MU005 in the PMIC driver, along with its three
interrupt chips, and support for allowing to fetch revision based on the
device variant.
Co-developed-by: Łukasz Lebiedziński <kernel@lvkasz.us>
Signed-off-by: Łukasz Lebiedziński <kernel@lvkasz.us>
Signed-off-by: Kaustabh Chakraborty <kauschluss@disroot.org>
Link: https://patch.msgid.link/20260516-s2mu005-pmic-v7-4-73f9702fb461@disroot.org
Signed-off-by: Lee Jones <lee@kernel.org>
2026-05-16 03:08:36 +05:30
|
|
|
|
2015-10-07 09:44:39 +09:00
|
|
|
|
mfd: sec: Add support for S2MPG11 PMIC via ACPM
Add support for Samsung's S2MPG11 PMIC, which is a Power Management IC
for mobile applications with buck converters, various LDOs, power
meters, NTC thermistor inputs, and additional GPIO interfaces. It
typically complements an S2MPG10 PMIC in a main/sub configuration as
the sub-PMIC.
Like S2MPG10, communication is not via I2C, but via the Samsung ACPM
firmware.
While at it, we can also switch to asynchronous probe, which helps with
probe performance, as the drivers for s2mpg10 and s2mpg11 can probe in
parallel.
Note: The firmware uses the ACPM channel ID and the Speedy channel ID
to select the PMIC address. Since these are firmware properties, they
can not be retrieved from DT, but instead are deducted from the
compatible for now.
Signed-off-by: André Draszik <andre.draszik@linaro.org>
Link: https://patch.msgid.link/20260122-s2mpg1x-regulators-v7-9-3b1f9831fffd@linaro.org
Signed-off-by: Lee Jones <lee@kernel.org>
2026-01-22 15:43:36 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
mfd: sec: Add support for S2MU005 PMIC
Samsung's S2MU005 PMIC includes subdevices for a charger, an MUIC (Micro
USB Interface Controller), and flash and RGB LED controllers.
S2MU005's interrupt registers divided into three domains, each for the
charger, flash LEDs, and the MUIC, packed into a single regmap IRQ chip
construct.
In devices other than S2MPG1X, the revision can be retrieved from the
first register of the PMIC regmap. In S2MU005 however, the location is
in offset 0x73. Introduce a switch-case block to allow selecting the
REG_ID register. S2MU005 also has a field mask for the revision. Apply
it using FIELD_GET() and get the extracted value.
Add initial support for S2MU005 in the PMIC driver, along with its three
interrupt chips, and support for allowing to fetch revision based on the
device variant.
Co-developed-by: Łukasz Lebiedziński <kernel@lvkasz.us>
Signed-off-by: Łukasz Lebiedziński <kernel@lvkasz.us>
Signed-off-by: Kaustabh Chakraborty <kauschluss@disroot.org>
Link: https://patch.msgid.link/20260516-s2mu005-pmic-v7-4-73f9702fb461@disroot.org
Signed-off-by: Lee Jones <lee@kernel.org>
2026-05-16 03:08:36 +05:30
|
|
|
|
2025-04-09 21:37:30 +01:00
|
|
|
|
mfd: sec: Add support for S2MU005 PMIC
Samsung's S2MU005 PMIC includes subdevices for a charger, an MUIC (Micro
USB Interface Controller), and flash and RGB LED controllers.
S2MU005's interrupt registers divided into three domains, each for the
charger, flash LEDs, and the MUIC, packed into a single regmap IRQ chip
construct.
In devices other than S2MPG1X, the revision can be retrieved from the
first register of the PMIC regmap. In S2MU005 however, the location is
in offset 0x73. Introduce a switch-case block to allow selecting the
REG_ID register. S2MU005 also has a field mask for the revision. Apply
it using FIELD_GET() and get the extracted value.
Add initial support for S2MU005 in the PMIC driver, along with its three
interrupt chips, and support for allowing to fetch revision based on the
device variant.
Co-developed-by: Łukasz Lebiedziński <kernel@lvkasz.us>
Signed-off-by: Łukasz Lebiedziński <kernel@lvkasz.us>
Signed-off-by: Kaustabh Chakraborty <kauschluss@disroot.org>
Link: https://patch.msgid.link/20260516-s2mu005-pmic-v7-4-73f9702fb461@disroot.org
Signed-off-by: Lee Jones <lee@kernel.org>
2026-05-16 03:08:36 +05:30
|
|
|
|
|
|
|
|
|
|
|
|
|
|
mfd: sec: Add support for S2MPG11 PMIC via ACPM
Add support for Samsung's S2MPG11 PMIC, which is a Power Management IC
for mobile applications with buck converters, various LDOs, power
meters, NTC thermistor inputs, and additional GPIO interfaces. It
typically complements an S2MPG10 PMIC in a main/sub configuration as
the sub-PMIC.
Like S2MPG10, communication is not via I2C, but via the Samsung ACPM
firmware.
While at it, we can also switch to asynchronous probe, which helps with
probe performance, as the drivers for s2mpg10 and s2mpg11 can probe in
parallel.
Note: The firmware uses the ACPM channel ID and the Speedy channel ID
to select the PMIC address. Since these are firmware properties, they
can not be retrieved from DT, but instead are deducted from the
compatible for now.
Signed-off-by: André Draszik <andre.draszik@linaro.org>
Link: https://patch.msgid.link/20260122-s2mpg1x-regulators-v7-9-3b1f9831fffd@linaro.org
Signed-off-by: Lee Jones <lee@kernel.org>
2026-01-22 15:43:36 +00:00
|
|
|
|
mfd: sec: Add support for S2MU005 PMIC
Samsung's S2MU005 PMIC includes subdevices for a charger, an MUIC (Micro
USB Interface Controller), and flash and RGB LED controllers.
S2MU005's interrupt registers divided into three domains, each for the
charger, flash LEDs, and the MUIC, packed into a single regmap IRQ chip
construct.
In devices other than S2MPG1X, the revision can be retrieved from the
first register of the PMIC regmap. In S2MU005 however, the location is
in offset 0x73. Introduce a switch-case block to allow selecting the
REG_ID register. S2MU005 also has a field mask for the revision. Apply
it using FIELD_GET() and get the extracted value.
Add initial support for S2MU005 in the PMIC driver, along with its three
interrupt chips, and support for allowing to fetch revision based on the
device variant.
Co-developed-by: Łukasz Lebiedziński <kernel@lvkasz.us>
Signed-off-by: Łukasz Lebiedziński <kernel@lvkasz.us>
Signed-off-by: Kaustabh Chakraborty <kauschluss@disroot.org>
Link: https://patch.msgid.link/20260516-s2mu005-pmic-v7-4-73f9702fb461@disroot.org
Signed-off-by: Lee Jones <lee@kernel.org>
2026-05-16 03:08:36 +05:30
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
mfd: sec: Add support for S2MPG11 PMIC via ACPM
Add support for Samsung's S2MPG11 PMIC, which is a Power Management IC
for mobile applications with buck converters, various LDOs, power
meters, NTC thermistor inputs, and additional GPIO interfaces. It
typically complements an S2MPG10 PMIC in a main/sub configuration as
the sub-PMIC.
Like S2MPG10, communication is not via I2C, but via the Samsung ACPM
firmware.
While at it, we can also switch to asynchronous probe, which helps with
probe performance, as the drivers for s2mpg10 and s2mpg11 can probe in
parallel.
Note: The firmware uses the ACPM channel ID and the Speedy channel ID
to select the PMIC address. Since these are firmware properties, they
can not be retrieved from DT, but instead are deducted from the
compatible for now.
Signed-off-by: André Draszik <andre.draszik@linaro.org>
Link: https://patch.msgid.link/20260122-s2mpg1x-regulators-v7-9-3b1f9831fffd@linaro.org
Signed-off-by: Lee Jones <lee@kernel.org>
2026-01-22 15:43:36 +00:00
|
|
|
|
2025-04-09 21:37:30 +01:00
|
|
|
|
mfd: sec: Add support for S2MU005 PMIC
Samsung's S2MU005 PMIC includes subdevices for a charger, an MUIC (Micro
USB Interface Controller), and flash and RGB LED controllers.
S2MU005's interrupt registers divided into three domains, each for the
charger, flash LEDs, and the MUIC, packed into a single regmap IRQ chip
construct.
In devices other than S2MPG1X, the revision can be retrieved from the
first register of the PMIC regmap. In S2MU005 however, the location is
in offset 0x73. Introduce a switch-case block to allow selecting the
REG_ID register. S2MU005 also has a field mask for the revision. Apply
it using FIELD_GET() and get the extracted value.
Add initial support for S2MU005 in the PMIC driver, along with its three
interrupt chips, and support for allowing to fetch revision based on the
device variant.
Co-developed-by: Łukasz Lebiedziński <kernel@lvkasz.us>
Signed-off-by: Łukasz Lebiedziński <kernel@lvkasz.us>
Signed-off-by: Kaustabh Chakraborty <kauschluss@disroot.org>
Link: https://patch.msgid.link/20260516-s2mu005-pmic-v7-4-73f9702fb461@disroot.org
Signed-off-by: Lee Jones <lee@kernel.org>
2026-05-16 03:08:36 +05:30
|
|
|
|
|
|
|
|
|
2015-10-07 09:44:39 +09:00
|
|
|
|
|
|
|
|
|
2015-10-07 09:44:41 +09:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2013-02-03 15:49:47 -08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2019-02-11 14:20:23 +01:00
|
|
|
|
2025-04-09 21:37:29 +01:00
|
|
|
|
2013-02-03 15:49:47 -08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2015-02-26 10:13:51 +01:00
|
|
|
|
2013-02-03 15:49:47 -08:00
|
|
|
|
|
|
|
|
|
2015-09-14 21:12:45 +09:00
|
|
|
|
2025-04-09 21:37:32 +01:00
|
|
|
|
2015-10-07 09:44:41 +09:00
|
|
|
|
2025-04-09 21:37:32 +01:00
|
|
|
|
2013-02-03 15:49:47 -08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2025-04-09 21:37:39 +01:00
|
|
|
|
|
|
|
|
|
2011-12-23 17:28:08 +09:00
|
|
|
|
2026-01-13 14:03:13 +00:00
|
|
|
|
2021-05-26 08:47:06 -04:00
|
|
|
|
2014-06-25 16:14:44 +09:00
|
|
|
|
2012-07-11 21:06:55 +09:00
|
|
|
|
2014-06-25 16:14:44 +09:00
|
|
|
|
2011-12-23 17:28:08 +09:00
|
|
|
|
2025-04-09 21:37:41 +01:00
|
|
|
|
2025-04-09 21:37:40 +01:00
|
|
|
|
2011-12-23 17:28:08 +09:00
|
|
|
|
|
|
|
|
|
2025-04-09 21:37:29 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2011-12-23 17:28:08 +09:00
|
|
|
|
2025-04-09 21:37:29 +01:00
|
|
|
|
2021-05-26 08:47:06 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2011-12-23 17:28:08 +09:00
|
|
|
|
2021-05-26 08:47:06 -04:00
|
|
|
|
|
|
|
|
|
2011-12-23 17:28:08 +09:00
|
|
|
|
2026-01-13 14:03:13 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2011-12-23 17:28:08 +09:00
|
|
|
|
2026-05-16 03:08:37 +05:30
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2012-07-11 21:06:55 +09:00
|
|
|
|
2011-12-23 17:28:08 +09:00
|
|
|
|
2012-07-11 21:06:55 +09:00
|
|
|
|
2012-01-20 16:09:12 +09:00
|
|
|
|
2014-06-25 16:14:44 +09:00
|
|
|
|
|
|
|
|
|
2012-01-20 16:09:12 +09:00
|
|
|
|
2024-09-26 12:47:31 +03:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2014-03-14 17:21:57 +05:30
|
|
|
|
2014-06-25 16:14:44 +09:00
|
|
|
|
|
|
|
|
|
2014-03-14 17:21:57 +05:30
|
|
|
|
2025-04-09 21:37:30 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
mfd: sec: Add support for S2MPG11 PMIC via ACPM
Add support for Samsung's S2MPG11 PMIC, which is a Power Management IC
for mobile applications with buck converters, various LDOs, power
meters, NTC thermistor inputs, and additional GPIO interfaces. It
typically complements an S2MPG10 PMIC in a main/sub configuration as
the sub-PMIC.
Like S2MPG10, communication is not via I2C, but via the Samsung ACPM
firmware.
While at it, we can also switch to asynchronous probe, which helps with
probe performance, as the drivers for s2mpg10 and s2mpg11 can probe in
parallel.
Note: The firmware uses the ACPM channel ID and the Speedy channel ID
to select the PMIC address. Since these are firmware properties, they
can not be retrieved from DT, but instead are deducted from the
compatible for now.
Signed-off-by: André Draszik <andre.draszik@linaro.org>
Link: https://patch.msgid.link/20260122-s2mpg1x-regulators-v7-9-3b1f9831fffd@linaro.org
Signed-off-by: Lee Jones <lee@kernel.org>
2026-01-22 15:43:36 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2012-07-11 21:07:55 +09:00
|
|
|
|
2014-06-25 16:14:44 +09:00
|
|
|
|
|
|
|
|
|
2012-07-11 21:07:55 +09:00
|
|
|
|
2014-11-18 17:59:39 +09:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2014-02-28 11:41:44 +01:00
|
|
|
|
2014-06-25 16:14:44 +09:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2015-11-20 16:07:51 +05:30
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2014-06-25 16:14:44 +09:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2014-02-28 11:41:44 +01:00
|
|
|
|
2025-03-01 01:07:13 +05:30
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
mfd: sec: Add support for S2MU005 PMIC
Samsung's S2MU005 PMIC includes subdevices for a charger, an MUIC (Micro
USB Interface Controller), and flash and RGB LED controllers.
S2MU005's interrupt registers divided into three domains, each for the
charger, flash LEDs, and the MUIC, packed into a single regmap IRQ chip
construct.
In devices other than S2MPG1X, the revision can be retrieved from the
first register of the PMIC regmap. In S2MU005 however, the location is
in offset 0x73. Introduce a switch-case block to allow selecting the
REG_ID register. S2MU005 also has a field mask for the revision. Apply
it using FIELD_GET() and get the extracted value.
Add initial support for S2MU005 in the PMIC driver, along with its three
interrupt chips, and support for allowing to fetch revision based on the
device variant.
Co-developed-by: Łukasz Lebiedziński <kernel@lvkasz.us>
Signed-off-by: Łukasz Lebiedziński <kernel@lvkasz.us>
Signed-off-by: Kaustabh Chakraborty <kauschluss@disroot.org>
Link: https://patch.msgid.link/20260516-s2mu005-pmic-v7-4-73f9702fb461@disroot.org
Signed-off-by: Lee Jones <lee@kernel.org>
2026-05-16 03:08:36 +05:30
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2012-01-20 16:09:12 +09:00
|
|
|
|
2025-04-09 21:37:34 +01:00
|
|
|
|
2025-04-09 21:37:39 +01:00
|
|
|
|
2025-04-09 21:37:34 +01:00
|
|
|
|
2012-01-20 16:09:12 +09:00
|
|
|
|
2016-04-21 17:55:56 +05:30
|
|
|
|
2026-01-13 14:03:13 +00:00
|
|
|
|
2013-05-15 18:00:48 +03:00
|
|
|
|
2016-04-21 17:55:56 +05:30
|
|
|
|
2011-12-23 17:28:08 +09:00
|
|
|
|
2015-10-07 09:44:41 +09:00
|
|
|
|
2015-10-07 09:44:39 +09:00
|
|
|
|
2013-11-26 14:50:27 +01:00
|
|
|
|
2011-12-23 17:28:08 +09:00
|
|
|
|
|
|
|
|
|
2025-04-09 21:37:29 +01:00
|
|
|
|
2011-12-23 17:28:08 +09:00
|
|
|
|
2025-04-09 21:37:29 +01:00
|
|
|
|
2015-09-14 21:12:45 +09:00
|
|
|
|
2025-04-09 21:37:29 +01:00
|
|
|
|
2015-09-14 21:12:45 +09:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2025-04-09 21:37:39 +01:00
|
|
|
|
2025-04-09 21:37:32 +01:00
|
|
|
|
2015-09-14 21:12:45 +09:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2025-04-09 21:37:29 +01:00
|
|
|
|
2015-09-14 21:12:45 +09:00
|
|
|
|
2013-11-26 14:50:27 +01:00
|
|
|
|
|
|
|
|
|
2025-04-09 21:37:29 +01:00
|
|
|
|
2013-11-26 14:50:27 +01:00
|
|
|
|
2014-04-22 16:00:25 +02:00
|
|
|
|
2013-11-26 14:50:27 +01:00
|
|
|
|
2014-04-22 16:00:25 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2013-11-26 14:50:27 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2025-04-09 21:37:29 +01:00
|
|
|
|
2013-11-26 14:50:27 +01:00
|
|
|
|
2014-04-22 16:00:25 +02:00
|
|
|
|
2013-11-26 14:50:27 +01:00
|
|
|
|
2014-04-22 16:00:25 +02:00
|
|
|
|
2013-11-26 14:50:27 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2025-04-09 21:37:29 +01:00
|
|
|
|
|
|
|
|
|
2011-12-23 17:28:08 +09:00
|
|
|
|
2025-04-09 21:37:31 +01:00
|
|
|
|
|
|
|
|
|
2011-12-23 17:28:08 +09:00
|
|
|
|
2025-04-09 21:37:44 +01:00
|
|
|
|
2025-04-09 21:37:29 +01:00
|
|
|
|
2011-12-23 17:28:08 +09:00
|
|
|
|