regulator: rt5739: Add DID check and compatible for rt5733
authorChiYuan Huang <cy_huang@richtek.com>
Thu, 29 Jun 2023 14:29:56 +0000 (22:29 +0800)
committerMark Brown <broonie@kernel.org>
Sun, 9 Jul 2023 21:48:53 +0000 (22:48 +0100)
commit6f5e285839845729858b8f6ca7cf3dd35e1f9a29
treeddee677dbaf50ab21b0c96c5ec115b89a4e83a02
parent8978af5ef662541bc0a5a7722ad6942cd19daed0
regulator: rt5739: Add DID check and compatible for rt5733

Add compatible and use DID to check rt5733.

The only difference bwtween rt5733 and rt5739 is the output range and
voltage step. These two chips can be distinguished from the DIE id.

Signed-off-by: ChiYuan Huang <cy_huang@richtek.com>
Link: https://lore.kernel.org/r/1688048996-25606-3-git-send-email-cy_huang@richtek.com
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/regulator/rt5739.c