Add IDs for TPS65217C and TPS65217D

This commit is contained in:
Oleksandr Tymoshenko 2013-07-08 05:06:32 +00:00
parent 4bab064ca8
commit c0195195d5

View File

@ -50,6 +50,8 @@ __FBSDID("$FreeBSD$");
#define TPS65217A 0x7
#define TPS65217B 0xF
#define TPS65217C 0xE
#define TPS65217D 0x6
/* TPS65217 Reisters */
#define TPS65217_CHIPID_REG 0x00
@ -131,6 +133,12 @@ am335x_pmic_start(void *xdev)
case TPS65217B:
sprintf(name, "TPS65217B ver 1.%u", reg & 0xF);
break;
case TPS65217C:
sprintf(name, "TPS65217C ver 1.%u", reg & 0xF);
break;
case TPS65217D:
sprintf(name, "TPS65217D ver 1.%u", reg & 0xF);
break;
default:
sprintf(name, "Unknown PMIC");
}