Skip to content

Commit ea8d0be

Browse files
wensgregkh
authored andcommitted
arm64: dts: mediatek: mt8173-elm-hana: Add vdd-supply to second source trackpad
[ Upstream commit f766fae ] The Hana device has a second source option trackpad, but it is missing its regulator supply. It only works because the regulator is marked as always-on. Add the regulator supply, but leave out the post-power-on delay. Instead, document the post-power-on delay along with the reason for not adding it in a comment. Fixes: 689b937 ("arm64: dts: mediatek: add mt8173 elm and hana board") Signed-off-by: Chen-Yu Tsai <wenst@chromium.org> Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com> Link: https://lore.kernel.org/r/20241018082001.1296963-1-wenst@chromium.org Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com> Signed-off-by: Sasha Levin <sashal@kernel.org>
1 parent 77a81f1 commit ea8d0be

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

arch/arm64/boot/dts/mediatek/mt8173-elm-hana.dtsi

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,14 @@
4949
interrupts-extended = <&pio 117 IRQ_TYPE_LEVEL_LOW>;
5050
reg = <0x2c>;
5151
hid-descr-addr = <0x0020>;
52+
/*
53+
* The trackpad needs a post-power-on delay of 100ms,
54+
* but at time of writing, the power supply for it on
55+
* this board is always on. The delay is therefore not
56+
* added to avoid impacting the readiness of the
57+
* trackpad.
58+
*/
59+
vdd-supply = <&mt6397_vgp6_reg>;
5260
wakeup-source;
5361
};
5462
};

0 commit comments

Comments
 (0)