Просмотр исходного кода

pmic: max77686 set the same compatible as in the kernel

This commit also updates the proper dts files.

Signed-off-by: Przemyslaw Marczak <p.marczak@samsung.com>
Acked-by: Simon Glass <sjg@chromium.org>
Przemyslaw Marczak 10 лет назад
Родитель
Сommit
f37df0f877

+ 1 - 1
arch/arm/dts/exynos4412-odroid.dts

@@ -36,7 +36,7 @@
 		status = "okay";
 
 		max77686_pmic@09 {
-			compatible = "maxim,max77686_pmic";
+			compatible = "maxim,max77686";
 			interrupts = <7 0>;
 			reg = <0x09 0 0>;
 			#clock-cells = <1>;

+ 1 - 1
arch/arm/dts/exynos4412-trats2.dts

@@ -41,7 +41,7 @@
 		status = "okay";
 
 		max77686_pmic@09 {
-			compatible = "maxim,max77686_pmic";
+			compatible = "maxim,max77686";
 			interrupts = <7 0>;
 			reg = <0x09 0 0>;
 			#clock-cells = <1>;

+ 1 - 1
arch/arm/dts/exynos5250-smdk5250.dts

@@ -68,7 +68,7 @@
 	i2c@12c60000 {
 		pmic@9 {
 			reg = <0x9>;
-			compatible = "maxim,max77686_pmic";
+			compatible = "maxim,max77686";
 		};
 	};
 

+ 1 - 1
arch/arm/dts/exynos5250-snow.dts

@@ -108,7 +108,7 @@
 	i2c@12c60000 {
 		pmic@9 {
 			reg = <0x9>;
-			compatible = "maxim,max77686_pmic";
+			compatible = "maxim,max77686";
 		};
 	};
 

+ 1 - 1
lib/fdtdec.c

@@ -56,7 +56,7 @@ static const char * const compat_names[COMPAT_COUNT] = {
 	COMPAT(SAMSUNG_EXYNOS_DWMMC, "samsung,exynos-dwmmc"),
 	COMPAT(SAMSUNG_EXYNOS_MMC, "samsung,exynos-mmc"),
 	COMPAT(SAMSUNG_EXYNOS_SERIAL, "samsung,exynos4210-uart"),
-	COMPAT(MAXIM_MAX77686_PMIC, "maxim,max77686_pmic"),
+	COMPAT(MAXIM_MAX77686_PMIC, "maxim,max77686"),
 	COMPAT(GENERIC_SPI_FLASH, "spi-flash"),
 	COMPAT(MAXIM_98095_CODEC, "maxim,max98095-codec"),
 	COMPAT(INFINEON_SLB9635_TPM, "infineon,slb9635-tpm"),