mirror of
https://xff.cz/git/u-boot/
synced 2025-09-30 06:51:28 +02:00
board: samsung: goni: fix the pmic's name for getting
For Getting from uclass, use the "max8998-pmic" as name. It also needs to change the dt-node's name as "max8998-pmic". Otherwise, it doesn't find the pmic device. Because it's only searching for 'max8998_pmic'. Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com> Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
This commit is contained in:
committed by
Minkyu Kang
parent
cf2a693864
commit
fd3b710ae8
@@ -42,7 +42,7 @@
|
|||||||
#size-cells = <0>;
|
#size-cells = <0>;
|
||||||
status = "okay";
|
status = "okay";
|
||||||
|
|
||||||
pmic@66 {
|
max8998-pmic@66 {
|
||||||
compatible = "maxim,max8998";
|
compatible = "maxim,max8998";
|
||||||
reg = <0x66 0 0>;
|
reg = <0x66 0 0>;
|
||||||
|
|
||||||
|
@@ -138,7 +138,7 @@ static int s5pc1xx_phy_control(int on)
|
|||||||
static int status;
|
static int status;
|
||||||
int reg, ret;
|
int reg, ret;
|
||||||
|
|
||||||
ret = pmic_get("max8998_pmic", &dev);
|
ret = pmic_get("max8998-pmic", &dev);
|
||||||
if (ret)
|
if (ret)
|
||||||
return ret;
|
return ret;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user