]> www.infradead.org Git - users/jedix/linux-maple.git/commit
arm: dts: mediatek: Declare drive-strength numerically
authorAngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Thu, 20 Jun 2024 10:16:56 +0000 (12:16 +0200)
committerAngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Mon, 24 Jun 2024 10:49:30 +0000 (12:49 +0200)
commitc04774af7ae392322e204dd20117e6c5162e0fe4
tree5b910c50d8f088a3670736dba12db85995ee1845
parent1613e604df0cd359cf2a7fbd9be7a0bcfacfabd0
arm: dts: mediatek: Declare drive-strength numerically

On some devicetrees, the drive-strength property gets assigned a
MTK_DRIVE_(x)_mA definition, which matches with (x).

For example, MTK_DRIVE_8mA equals to 8 and MTK_DRIVE_30mA equals
to 30.

Also keeping in mind that the drive-strength property is, by
(binding) definition, taking a number in milliamperes unit,
change all devicetrees to avoid the usage of any MTK_DRIVE_(x)
definition.

Reviewed-by: Chen-Yu Tsai <wenst@chromium.org>
Link: https://lore.kernel.org/r/20240620101656.1096374-3-angelogioacchino.delregno@collabora.com
Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
arch/arm/boot/dts/mediatek/mt2701-evb.dts
arch/arm/boot/dts/mediatek/mt7623.dtsi