/master TOT is fine, too. Sorry - don't know what I did
> wrong before.
> I'll run buildman on it and then get a PR out to TomR if it all looks good.
>
> Thanks!
>
> -Original Message-
> From: Tom Warren
> Sent: Friday, February 17, 2023 9:22 AM
&g
s in ASAP that would be great.
>
> Tom
>
> -Original Message-
> From: Svyatoslav Ryhel
> Sent: Tuesday, February 21, 2023 1:00 AM
> To: Tom Warren
> Cc: u-boot@lists.denx.de
> Subject: Re: [PATCH v4 00/16] General Tegra improvements
>
> External email: Use
Thanks! Do I need someone else to be able to merge this or your review
is enough?
Best regards,
Svyatoslav R.
вт, 21 лют. 2023 р. о 21:37 Simon Glass пише:
>
> On Mon, 20 Feb 2023 at 10:41, Svyatoslav Ryhel wrote:
> >
> > Remove need of dts binding for button keyboard since
t T30 devices
support, which rely on video out as the main output source.
пн, 20 лют. 2023 р. о 11:54 Svyatoslav Ryhel пише:
>
> This patch set is dedicated to improvement of video support
> on T20 and T30 devices. It contains:
>
> - DC driver improvements (T30 support was added in
Svyatoslav Ryhel (10):
video: move tegra dc driver into own folder
video: tegra-dc: get clocks from device tree
video: tegra-dc: request timings from panel driver first
video: tegra-dc: assign regmap directly
video: tegra-dc: add 180 degree panel rotation
video: tegra-dc: add
Signed-off-by: Svyatoslav Ryhel
---
drivers/video/Kconfig | 11 ++-
drivers/video/Makefile| 2 +-
drivers/video/tegra20/Kconfig | 8
drivers/video/tegra20/Makefile| 3 +++
drivers/video/{tegra.c
Schwöbel # Surface RT T30
Tested-by: Svyatoslav Ryhel # LG P895 T30
Signed-off-by: Marcel Ziswiler
Signed-off-by: Svyatoslav Ryhel
---
arch/arm/dts/tegra30-u-boot.dtsi| 9 +++
arch/arm/include/asm/arch-tegra30/display.h | 28 +
arch/arm/include/asm/arch-tegra30
: Svyatoslav Ryhel # HTC One X T30
Signed-off-by: Svyatoslav Ryhel
---
drivers/video/tegra20/tegra-dc.c | 31 +++
1 file changed, 23 insertions(+), 8 deletions(-)
diff --git a/drivers/video/tegra20/tegra-dc.c b/drivers/video/tegra20/tegra-dc.c
index 5e3f6bf029..ff67cc8989
-by: Svyatoslav Ryhel # LG P895 T30
Signed-off-by: Svyatoslav Ryhel
---
drivers/video/tegra20/tegra-dc.c | 29 +
1 file changed, 17 insertions(+), 12 deletions(-)
diff --git a/drivers/video/tegra20/tegra-dc.c b/drivers/video/tegra20/tegra-dc.c
index ff67cc8989
Tested-by: Robert Eckelmann # ASUS TF101 T20
Tested-by: Nicolas Chauvet # Paz00
Tested-by: Andreas Westman Dorcsak # ASUS TF T30
Tested-by: Svyatoslav Ryhel # LG P895 T30
Signed-off-by: Svyatoslav Ryhel
---
drivers/video/tegra20/tegra-dc.c | 19 ---
1 file changed, 8
Unlike 90 and 270 degree rotation, 180 degree rotation is more
common and does not require scaling. Implement it for correct
grouper support.
Tested-by: Andreas Westman Dorcsak # Google Nexus 7 2012
Tested-by: Svyatoslav Ryhel # Google Nexus 7 2012
Signed-off-by: Svyatoslav Ryhel
---
drivers
: Andreas Westman Dorcsak # ASUS TF T30
Tested-by: Svyatoslav Ryhel # LG P895 T30
Signed-off-by: Svyatoslav Ryhel
---
drivers/video/tegra20/tegra-dc.c | 7 +++
1 file changed, 7 insertions(+)
diff --git a/drivers/video/tegra20/tegra-dc.c b/drivers/video/tegra20/tegra-dc.c
index e279650922
# Paz00
Tested-by: Robert Eckelmann # ASUS TF101 T20
Tested-by: Svyatoslav Ryhel # HTC One X T30
Signed-off-by: Svyatoslav Ryhel
---
arch/arm/include/asm/arch-tegra/dc.h | 8
drivers/video/tegra20/tegra-dc.c | 8
2 files changed, 16 insertions(+)
diff --git a/arch/arm
Some cases may require passing display timings from
panel driver. To handle such cases support parsing
device tree panel node for timing subnode.
Tested-by: Robert Eckelmann # ASUS TF101 T20
Tested-by: Nicolas Chauvet # Paz00
Tested-by: Svyatoslav Ryhel # Google Nexus 7 2012
Signed-off-by
Re-use simple panel driver for MIPI DSI panels
which do not require additional DSI commands
for setup.
Tested-by: Robert Eckelmann # ASUS TF101 T20
Tested-by: Nicolas Chauvet # Paz00
Tested-by: Andreas Westman Dorcsak # ASUS TF700T T30
Signed-off-by: Svyatoslav Ryhel
---
drivers/video
f any supported devices will be found.
Driver is wrapped as panel driver since Tegra DC driver supports
only panel drivers calls.
Tested-by: Andreas Westman Dorcsak # ASUS TF600T T30
Tested-by: Svyatoslav Ryhel # HTC One X T30
Signed-off-by: Svyatoslav Ryhel
---
arch/arm/include/asm/arch-tegra30/
- re-send after month
Changelog from v2
- fix stuck of ums due to getchar loop. Now getchar is
called after tstc check.
Changelog from v1
- 'continue' command commit was dropped as there already
exists 'pause' command with same function.
- UMS_ABORT_KEYED renamed to CMD_UMS_AB
This patch introduses config which allows interrupt run of usb
mass storage with any key. This is especially useful on devices
with limited input capabilities like tablets and smatphones which
have only gpio keys in direct access.
Signed-off-by: Svyatoslav Ryhel
---
cmd/Kconfig| 6
Remove need of dts binding for button keyboard since it reuses
gpio-keys binding. Select gpio-keys driver if button keyboard
is selected since button keyboard can not operate on its own.
Changes from v1:
- add reviewed-by
- re-send after month
Svyatoslav Ryhel (1):
input: button_kbd: make
Remove need of dts binding for button keyboard since it reuses
gpio-keys binding. Select gpio-keys driver if button keyboard
is selected since button keyboard can not operate on its own.
Tested-by: Svyatoslav Ryhel # HTC One X T30
Signed-off-by: Svyatoslav Ryhel
Reviewed-by: Simon Glass
ce tree is completely ignored).
This causes major issue since voltage is usually set on probing
and rarely is changed. Drivers which change voltage will also
assume that initial voltage was already set and this was not the case.
Svyatoslav Ryhel (2):
power: pmic: support TI TPS65913 PMIC
power:
Existing PALMAS PMIC driver is fully compatible with TI TPS65913
PMIC found in many Tegra 4 devices, like Tegra Note 7 and ASUS
TF701T. TPS65913 shares same structure of regulators like TPS659038
so data can be reused.
Tested-by: Svyatoslav Ryhel # NVIDIA Tegratab
Signed-off-by: Svyatoslav Ryhel
dy set and this was not the case.
Tested-by: Svyatoslav Ryhel
Signed-off-by: Svyatoslav Ryhel
---
drivers/power/regulator/palmas_regulator.c | 4
1 file changed, 4 insertions(+)
diff --git a/drivers/power/regulator/palmas_regulator.c
b/drivers/power/regulator/palmas_regulator.c
index
)
and ASUS TF300T (tps65911). Calculations and behavior were correct,
predictable and reproducible.
Svyatoslav Ryhel (6):
power: pmic: add the base max77663 pmic support
power: regulator: max77663: add regulator support
power: pmic: add the base TPS80031 PMIC support
power: regulator
Add support to bind the regulators/child nodes with the pmic.
Also adds the pmic i2c based read/write functions to access pmic
registers.
Signed-off-by: Svyatoslav Ryhel
---
doc/device-tree-bindings/pmic/max77663.txt | 84 ++
drivers/power/pmic/Kconfig | 6
The driver provides regulator set/get voltage
enable/disable functions for MAXIM MAX77663 PMICs.
Signed-off-by: Svyatoslav Ryhel
---
drivers/power/regulator/Kconfig | 8 +
drivers/power/regulator/Makefile | 1 +
drivers/power/regulator/max77663_regulator.c | 362
The driver provides regulator set/get voltage enable/disable
functions for TI TPS80031/TPS80032 PMICs.
Signed-off-by: Svyatoslav Ryhel
---
drivers/power/regulator/Kconfig | 8 +
drivers/power/regulator/Makefile | 1 +
drivers/power/regulator/tps80031_regulator.c
Add support to bind the regulators/child nodes with the pmic.
Also adds the pmic i2c based read/write functions to access pmic
registers.
Signed-off-by: Svyatoslav Ryhel
---
doc/device-tree-bindings/pmic/tps65911.txt | 78 ++
drivers/power/pmic/pmic_tps65910_dm.c | 26
Add support to bind the regulators/child nodes with the pmic.
Also adds the pmic i2c based read/write functions to access pmic
registers.
Signed-off-by: Svyatoslav Ryhel
---
doc/device-tree-bindings/pmic/tps80031.txt | 76
drivers/power/pmic/Kconfig | 6
The driver provides regulator set/get voltage enable/disable
functions for TI TPS5911 PMIC.
Signed-off-by: Svyatoslav Ryhel
---
drivers/power/regulator/Kconfig | 8 +
drivers/power/regulator/Makefile | 1 +
drivers/power/regulator/tps65911_regulator.c | 375
st regards,
Svyatoslav R.
пт, 14 лип. 2023 р. о 19:16 Svyatoslav Ryhel пише:
>
> Patch set adds basic support for PMICs used in many Tegra 3 devices.
> All PMIC drivers are based on datasheets provided by vendors.
> Implemented API include regulator set/get voltage enable/disable and
> ba
pmic childs in post-probe
- check if device is regulator > autoset if regulator is
boot-on or always-on else disable regulator
---
Svyatoslav Ryhel (2):
power: pmic: support TI TPS65913 PMIC
power: pmic: fix regulators behaviour
drivers/power/pmic/palmas.c | 1 +
drivers/po
Existing PALMAS PMIC driver is fully compatible with TI TPS65913
PMIC found in many Tegra 4 devices, like Tegra Note 7 and ASUS
TF701T. TPS65913 shares same structure of regulators like TPS659038
so data can be reused.
Tested-by: Svyatoslav Ryhel # NVIDIA Tegratab
Signed-off-by: Svyatoslav Ryhel
, which
handles always-on and boot-on regulators, but if none of those
props are set, the regulator is disabled.
Later disabled regulators can be re-enabled by devices which
use them without issues.
Signed-off-by: Svyatoslav Ryhel
---
drivers/power/pmic/pmic-uclass.c | 18 ++
1 file
16 липня 2023 р. 02:37:39 GMT+03:00, Jonas Karlman
написав(-ла):
>On 2023-07-15 20:34, Svyatoslav Ryhel wrote:
>> Existing PALMAS PMIC driver is fully compatible with TI TPS65913
>> PMIC found in many Tegra 4 devices, like Tegra Note 7 and ASUS
>> TF701T. Add TPS6591
16 липня 2023 р. 02:40:37 GMT+03:00, Simon Glass
написав(-ла):
>Hi Svyatoslav,
>
>On Sat, 15 Jul 2023 at 12:34, Svyatoslav Ryhel wrote:
>>
>> Currently device tree entries of regulators are completely
>> ignored and regulators are probed only if they are called
>
16 липня 2023 р. 11:07:15 GMT+03:00, Jonas Karlman
написав(-ла):
>On 2023-07-16 05:57, Svyatoslav Ryhel wrote:
>>
>>
>> 16 липня 2023 р. 02:37:39 GMT+03:00, Jonas Karlman
>> написав(-ла):
>>> On 2023-07-15 20:34, Svyatoslav Ryhel wrote:
>>>>
16 липня 2023 р. 16:07:55 GMT+03:00, Simon Glass
написав(-ла):
>Hi Svyatoslav,
>
>On Sun, 16 Jul 2023 at 07:04, Svyatoslav Ryhel wrote:
>>
>>
>>
>> 16 липня 2023 р. 11:07:15 GMT+03:00, Jonas Karlman
>> написав(-ла):
>> >On 2023-07-16 05:
16 липня 2023 р. 16:08:10 GMT+03:00, Simon Glass
написав(-ла):
>Hi Svyatoslav,
>
>On Sat, 15 Jul 2023 at 22:08, Svyatoslav Ryhel wrote:
>>
>>
>>
>> 16 липня 2023 р. 02:40:37 GMT+03:00, Simon Glass
>> написав(-ла):
>> >Hi Svyatoslav,
>>
16 липня 2023 р. 17:27:39 GMT+03:00, Jonas Karlman
написав(-ла):
>On 2023-07-16 15:17, Svyatoslav Ryhel wrote:
>>
>>
>> 16 липня 2023 р. 16:07:55 GMT+03:00, Simon Glass
>> написав(-ла):
>>> Hi Svyatoslav,
>>>
>>>
16 липня 2023 р. 16:07:55 GMT+03:00, Simon Glass
написав(-ла):
>Hi Svyatoslav,
>
>On Sun, 16 Jul 2023 at 07:04, Svyatoslav Ryhel wrote:
>>
>>
>>
>> 16 липня 2023 р. 11:07:15 GMT+03:00, Jonas Karlman
>> написав(-ла):
>> >On 2023-07-16 05:57, Sv
17 липня 2023 р. 21:52:58 GMT+03:00, Jonas Karlman
написав(-ла):
>On 2023-07-16 20:57, Svyatoslav Ryhel wrote:
>> 16 липня 2023 р. 16:07:55 GMT+03:00, Simon Glass
>> написав(-ла):
>>> Hi Svyatoslav,
>>>
>>> On Sun, 16 Jul 2023 at 07:04, Svyatoslav
. 2023 р. о 21:52 Jonas Karlman пише:
>
> On 2023-07-16 20:57, Svyatoslav Ryhel wrote:
> > 16 липня 2023 р. 16:07:55 GMT+03:00, Simon Glass
> > написав(-ла):
> >> Hi Svyatoslav,
> >>
> >> On Sun, 16 Jul 2023 at 07:04, Svyatoslav Ryhel wrote:
> >&g
up testing since this is
interference into framework itself.
Svyatoslav Ryhel (4):
power: regulator: expand basic reference counter onto all uclass
power: regulator-uclass: perform regulator setup inside uclass
power: pmic-uclass: probe every child on pmic_post_probe
power: regulator-ucla
Commit is based on 4fcba5d ("regulator: implement basic reference
counter") but expands the idea to all regulators instead of just
fixed/gpio regulators.
Signed-off-by: Svyatoslav Ryhel
---
drivers/power/regulator/regulator-uclass.c | 22 ++
drivers/power
enseres that correct regulator
state according to pdata is reached.
Signed-off-by: Svyatoslav Ryhel
---
drivers/power/regulator/regulator-uclass.c | 212 ++---
include/power/regulator.h | 119
2 files changed, 62 insertions(+), 269 deletions(-)
diff
Main goal is to probe all regulator childrens for their
proper setup but if pmic has non regulator children they
should not suffer from this either.
Signed-off-by: Svyatoslav Ryhel
---
drivers/power/pmic/pmic-uclass.c | 10 ++
1 file changed, 10 insertions(+)
diff --git a/drivers/power
THIS REQUIRES PRECISE TESTING!
Signed-off-by: Svyatoslav Ryhel
---
arch/arm/mach-rockchip/board.c | 8
arch/arm/mach-rockchip/rk3399/rk3399.c | 10 --
board/Marvell/octeontx2_cn913x/board.c | 5 -
board/amlogic/odroid-go-ultra/odroid-go
вт, 18 лип. 2023 р. о 10:36 Eugen Hristev пише:
>
> Hi Svyatoslav,
>
>
> On 7/18/23 10:05, Svyatoslav Ryhel wrote:
> > Commit is based on 4fcba5d ("regulator: implement basic reference
> > counter") but expands the idea to all regulators instead of just
>
20 липня 2023 р. 06:12:23 GMT+03:00, Jaehoon Chung
написав(-ла):
>Hi
>
>> -Original Message-----
>> From: Svyatoslav Ryhel
>> Sent: Saturday, July 15, 2023 1:16 AM
>> To: Jaehoon Chung ; Simon Glass ;
>> Svyatoslav Ryhel
>>
>> Cc: u-b
чт, 20 лип. 2023 р. о 09:17 Jaehoon Chung пише:
>
>
>
> > -Original Message-
> > From: Svyatoslav Ryhel
> > Sent: Thursday, July 20, 2023 12:26 PM
> > To: Jaehoon Chung ; 'Simon Glass'
> >
> > Cc: u-boot@lists.denx.de
> > Su
from v1:
- created poweroff API for PMIC and integrated it call into do_poweroff
- added poweroff function to submitted max77663, tps80032 and tps65911
drivers
- fixed registers asignments for regulators with non-numeric name
(ldoln, ldousb, vddctrl)
---
Svyatoslav Ryhel (9):
power: pmic
PMICs are responsible for device poweroff sequence so lets implement
this function.
Signed-off-by: Svyatoslav Ryhel
---
drivers/power/pmic/pmic-uclass.c | 12
include/power/pmic.h | 13 +
2 files changed, 25 insertions(+)
diff --git a/drivers/power/pmic
Use new PMIC ops to perform device poweroff.
Signed-off-by: Svyatoslav Ryhel
---
cmd/Kconfig | 6 ++
cmd/boot.c | 40
2 files changed, 46 insertions(+)
diff --git a/cmd/Kconfig b/cmd/Kconfig
index ecfd575237..47654297f8 100644
--- a/cmd/Kconfig
Existing PALMAS PMIC driver is fully compatible with TI TPS65913
PMIC found in many Tegra 4 devices, like Tegra Note 7 and ASUS
TF701T. TPS65913 shares same structure of regulators like TPS659038
so data can be reused.
Tested-by: Svyatoslav Ryhel # NVIDIA Tegratab
Signed-off-by: Svyatoslav Ryhel
Add support to bind the regulators/child nodes with the pmic.
Also adds the pmic i2c based read/write functions to access pmic
registers.
Signed-off-by: Svyatoslav Ryhel
---
doc/device-tree-bindings/pmic/max77663.txt | 84 +
drivers/power/pmic/Kconfig | 6
The driver provides regulator set/get voltage
enable/disable functions for MAXIM MAX77663 PMICs.
Signed-off-by: Svyatoslav Ryhel
---
drivers/power/regulator/Kconfig | 8 +
drivers/power/regulator/Makefile | 1 +
drivers/power/regulator/max77663_regulator.c | 358
The driver provides regulator set/get voltage enable/disable
functions for TI TPS80031/TPS80032 PMICs.
Signed-off-by: Svyatoslav Ryhel
---
drivers/power/regulator/Kconfig | 8 +
drivers/power/regulator/Makefile | 1 +
drivers/power/regulator/tps80031_regulator.c
Add support to bind the regulators/child nodes with the pmic.
Also adds the pmic i2c based read/write functions to access pmic
registers.
Signed-off-by: Svyatoslav Ryhel
---
doc/device-tree-bindings/pmic/tps65911.txt | 78 ++
drivers/power/pmic/pmic_tps65910_dm.c | 49
Add support to bind the regulators/child nodes with the pmic.
Also adds the pmic i2c based read/write functions to access pmic
registers.
Signed-off-by: Svyatoslav Ryhel
---
doc/device-tree-bindings/pmic/tps80031.txt | 76 +
drivers/power/pmic/Kconfig | 6
The driver provides regulator set/get voltage enable/disable
functions for TI TPS5911 PMIC.
Signed-off-by: Svyatoslav Ryhel
---
drivers/power/regulator/Kconfig | 8 +
drivers/power/regulator/Makefile | 1 +
drivers/power/regulator/tps65911_regulator.c | 377
le_count from post_probe
- added tests from counter and regulators post_probe
---
Svyatoslav Ryhel (7):
power: regulator: expand basic reference counter onto all uclass
test: dm: regulator: test counter in set_enable_if_allowed test
power: regulator-uclass: perform regulator setup inside ucla
Commit is based on 4fcba5d ("regulator: implement basic reference
counter") but expands the idea to all regulators instead of just
fixed/gpio regulators.
Signed-off-by: Svyatoslav Ryhel
---
drivers/power/regulator/regulator-uclass.c | 41 ++
drivers/power
Emulate use of the regulator by a few consumers with balanced on/off
calls.
Signed-off-by: Svyatoslav Ryhel
---
test/dm/regulator.c | 19 +++
1 file changed, 19 insertions(+)
diff --git a/test/dm/regulator.c b/test/dm/regulator.c
index 86f4862d9d..9b503e4c59 100644
--- a/test
enseres that correct regulator
state according to pdata is reached.
Signed-off-by: Svyatoslav Ryhel
---
drivers/power/regulator/regulator-uclass.c | 212 ++---
include/power/regulator.h | 119
2 files changed, 62 insertions(+), 269 deletions(-)
diff
Replace deprecated API test with test of uclass wide autosetup.
LDO2 voltage according to dts should be 3.3v not 3.0v
Signed-off-by: Svyatoslav Ryhel
---
include/power/sandbox_pmic.h | 2 +-
test/dm/regulator.c | 131 +++
2 files changed, 27
Main goal is to probe all regulator childrens for their
proper setup but if pmic has non regulator children they
should not suffer from this either.
Signed-off-by: Svyatoslav Ryhel
---
drivers/power/pmic/pmic-uclass.c | 10 ++
1 file changed, 10 insertions(+)
diff --git a/drivers/power
Test if regulator uclass children of PMIC are auto probed and set
after PMIC probe.
Signed-off-by: Svyatoslav Ryhel
---
test/dm/pmic.c | 34 ++
1 file changed, 34 insertions(+)
diff --git a/test/dm/pmic.c b/test/dm/pmic.c
index ce671202fb..d0a3c24a54 100644
THIS REQUIRES PRECISE TESTING!
Signed-off-by: Svyatoslav Ryhel
---
arch/arm/mach-rockchip/board.c | 8
arch/arm/mach-rockchip/rk3399/rk3399.c | 10 --
board/Marvell/octeontx2_cn913x/board.c | 5 -
board/amlogic/odroid-go-ultra/odroid-go
чт, 20 лип. 2023 р. о 22:43 Simon Glass пише:
>
> On Thu, 20 Jul 2023 at 02:48, Svyatoslav Ryhel wrote:
> >
> > Add support to bind the regulators/child nodes with the pmic.
> > Also adds the pmic i2c based read/write functions to access pmic
> > registers.
>
чт, 20 лип. 2023 р. о 22:43 Simon Glass пише:
>
> Hi Svyatoslav,
>
> On Thu, 20 Jul 2023 at 06:38, Svyatoslav Ryhel wrote:
> >
> > Commit is based on 4fcba5d ("regulator: implement basic reference
> > counter") but expands the idea to all regulators i
чт, 20 лип. 2023 р. о 22:43 Simon Glass пише:
>
> Hi Svyatoslav,
>
> On Thu, 20 Jul 2023 at 06:38, Svyatoslav Ryhel wrote:
> >
> > Regulators initial setup was previously dependent on board call.
> > To move from this behaviour were introduced two steps. Fi
чт, 20 лип. 2023 р. о 22:43 Simon Glass пише:
>
> Hi Svyatoslav,
>
> On Thu, 20 Jul 2023 at 02:48, Svyatoslav Ryhel wrote:
> >
> > PMICs are responsible for device poweroff sequence so lets implement
> > this function.
> >
> > Signed-off-by: Svyatoslav R
чт, 20 лип. 2023 р. о 22:43 Simon Glass пише:
>
> Hi Svyatoslav,
>
> On Thu, 20 Jul 2023 at 06:38, Svyatoslav Ryhel wrote:
> >
> > Main goal is to probe all regulator childrens for their
> > proper setup but if pmic has non regulator children they
> >
чт, 20 лип. 2023 р. о 22:43 Simon Glass пише:
>
> On Thu, 20 Jul 2023 at 02:48, Svyatoslav Ryhel wrote:
> >
> > Add support to bind the regulators/child nodes with the pmic.
> > Also adds the pmic i2c based read/write functions to access pmic
> > registers.
>
чт, 20 лип. 2023 р. о 00:20 Jonas Karlman пише:
>
> The commit 4fcba5d556b4 ("regulator: implement basic reference counter")
> have made it more important to keep fixed/gpio regulators enable/disable
> state in balance.
>
> This series fixes an inbalance in the mmc_dw driver and changes to use
> t
нд, 23 лип. 2023 р. о 06:48 Simon Glass пише:
>
> Hi Svyatoslav,
>
> On Thu, 20 Jul 2023 at 02:48, Svyatoslav Ryhel wrote:
> >
> > Use new PMIC ops to perform device poweroff.
> >
> > Signed-off-by: Svyatoslav Ryhel
> > ---
> >
нд, 23 лип. 2023 р. о 06:48 Simon Glass пише:
>
> Hi Svyatoslav,
>
> On Thu, 20 Jul 2023 at 02:48, Svyatoslav Ryhel wrote:
> >
> > Use new PMIC ops to perform device poweroff.
> >
> > Signed-off-by: Svyatoslav Ryhel
> > ---
> >
Changes from v1:
- created poweroff API for PMIC and integrated it call into do_poweroff
- added poweroff function to submitted max77663, tps80032 and tps65911
drivers
- fixed registers asignments for regulators with non-numeric name
(ldoln, ldousb, vddctrl)
---
Svyatoslav Ryhel (7):
power
Existing PALMAS PMIC driver is fully compatible with TI TPS65913
PMIC found in many Tegra 4 devices, like Tegra Note 7 and ASUS
TF701T. TPS65913 shares same structure of regulators like TPS659038
so data can be reused.
Tested-by: Svyatoslav Ryhel # NVIDIA Tegratab
Signed-off-by: Svyatoslav Ryhel
Add support to bind the regulators/child nodes with the pmic.
Also adds the pmic i2c based read/write functions to access pmic
registers.
Signed-off-by: Svyatoslav Ryhel
---
doc/device-tree-bindings/pmic/max77663.txt | 84 ++
drivers/power/pmic/Kconfig | 6
The driver provides regulator set/get voltage
enable/disable functions for MAXIM MAX77663 PMICs.
Signed-off-by: Svyatoslav Ryhel
---
drivers/power/regulator/Kconfig | 8 +
drivers/power/regulator/Makefile | 1 +
drivers/power/regulator/max77663_regulator.c | 358
Add support to bind the regulators/child nodes with the pmic.
Also adds the pmic i2c based read/write functions to access pmic
registers.
Signed-off-by: Svyatoslav Ryhel
---
doc/device-tree-bindings/pmic/tps80031.txt | 76
drivers/power/pmic/Kconfig | 6
The driver provides regulator set/get voltage enable/disable
functions for TI TPS80031/TPS80032 PMICs.
Signed-off-by: Svyatoslav Ryhel
---
drivers/power/regulator/Kconfig | 8 +
drivers/power/regulator/Makefile | 1 +
drivers/power/regulator/tps80031_regulator.c
Add support to bind the regulators/child nodes with the pmic.
Also adds the pmic i2c based read/write functions to access pmic
registers.
Signed-off-by: Svyatoslav Ryhel
Reviewed-by: Simon Glass
---
doc/device-tree-bindings/pmic/tps65911.txt | 78 ++
drivers/power/pmic
The driver provides regulator set/get voltage enable/disable
functions for TI TPS5911 PMIC.
Signed-off-by: Svyatoslav Ryhel
---
drivers/power/regulator/Kconfig | 8 +
drivers/power/regulator/Makefile | 1 +
drivers/power/regulator/tps65911_regulator.c | 377
f function to submitted max77663, tps80032 and tps65911
drivers
- fixed registers asignments for regulators with non-numeric name
(ldoln, ldousb, vddctrl)
---
Svyatoslav Ryhel (7):
power: pmic: palmas: support TI TPS65913 PMIC
power: pmic: add the base MAX77663 PMIC support
power:
Existing PALMAS PMIC driver is fully compatible with TI TPS65913
PMIC found in many Tegra 4 devices, like Tegra Note 7 and ASUS
TF701T. TPS65913 shares same structure of regulators like TPS659038
so data can be reused.
Tested-by: Svyatoslav Ryhel # NVIDIA Tegratab
Signed-off-by: Svyatoslav Ryhel
Add support to bind the regulators/child nodes with the pmic.
Also adds the pmic i2c based read/write functions to access pmic
registers.
Signed-off-by: Svyatoslav Ryhel
Reviewed-by: Simon Glass
---
doc/device-tree-bindings/pmic/max77663.txt | 84 +
drivers/power/pmic
The driver provides regulator set/get voltage
enable/disable functions for MAXIM MAX77663 PMICs.
Signed-off-by: Svyatoslav Ryhel
Reviewed-by: Simon Glass
---
drivers/power/regulator/Kconfig | 9 +
drivers/power/regulator/Makefile | 1 +
drivers/power/regulator
Add support to bind the regulators/child nodes with the pmic.
Also adds the pmic i2c based read/write functions to access pmic
registers.
Signed-off-by: Svyatoslav Ryhel
Reviewed-by: Simon Glass
---
doc/device-tree-bindings/pmic/tps80031.txt | 76 +++
drivers/power/pmic/Kconfig
The driver provides regulator set/get voltage enable/disable
functions for TI TPS80031/TPS80032 PMICs.
Signed-off-by: Svyatoslav Ryhel
Reviewed-by: Simon Glass
---
drivers/power/regulator/Kconfig | 8 +
drivers/power/regulator/Makefile | 1 +
drivers/power
Add support to bind the regulators/child nodes with the pmic.
Also adds the pmic i2c based read/write functions to access pmic
registers.
Signed-off-by: Svyatoslav Ryhel
Reviewed-by: Simon Glass
---
doc/device-tree-bindings/pmic/tps65911.txt | 78 ++
drivers/power/pmic
The driver provides regulator set/get voltage enable/disable
functions for TI TPS5911 PMIC.
Signed-off-by: Svyatoslav Ryhel
Reviewed-by: Simon Glass
---
drivers/power/regulator/Kconfig | 11 +
drivers/power/regulator/Makefile | 1 +
drivers/power/regulator
s accepted
Changes from v1:
- created poweroff API for PMIC and integrated it call into do_poweroff
- added poweroff function to submitted max77663, tps80032 and tps65911
drivers
- fixed registers asignments for regulators with non-numeric name
(ldoln, ldousb, vddctrl)
---
Svyatoslav Ryhel (8
Existing PALMAS PMIC driver is fully compatible with TI TPS65913
PMIC found in many Tegra 4 devices, like Tegra Note 7 and ASUS
TF701T. TPS65913 shares same structure of regulators like TPS659038
so data can be reused.
Tested-by: Svyatoslav Ryhel # NVIDIA Tegratab
Signed-off-by: Svyatoslav Ryhel
off-by: Svyatoslav Ryhel
---
drivers/power/regulator/palmas_regulator.c | 24 +-
1 file changed, 14 insertions(+), 10 deletions(-)
diff --git a/drivers/power/regulator/palmas_regulator.c
b/drivers/power/regulator/palmas_regulator.c
index 3c4eb83be7..d615e94734 100644
--- a/d
Add support to bind the regulators/child nodes with the pmic.
Also adds the pmic i2c based read/write functions to access pmic
registers.
Signed-off-by: Svyatoslav Ryhel
Reviewed-by: Simon Glass
---
doc/device-tree-bindings/pmic/max77663.txt | 84 +
drivers/power/pmic
The driver provides regulator set/get voltage
enable/disable functions for MAXIM MAX77663 PMICs.
Signed-off-by: Svyatoslav Ryhel
Reviewed-by: Simon Glass
---
drivers/power/regulator/Kconfig | 9 +
drivers/power/regulator/Makefile | 1 +
drivers/power/regulator
Add support to bind the regulators/child nodes with the pmic.
Also adds the pmic i2c based read/write functions to access pmic
registers.
Signed-off-by: Svyatoslav Ryhel
Reviewed-by: Simon Glass
---
doc/device-tree-bindings/pmic/tps80031.txt | 76 +++
drivers/power/pmic/Kconfig
1 - 100 of 1168 matches
Mail list logo