Re: [PATCH] arm64: dts: x1e80100-crd: describe HID supplies

From: Abel Vesa
Date: Tue Oct 15 2024 - 09:44:12 EST


On 24-10-15 14:24:27, Johan Hovold wrote:
> Add the missing HID supplies to avoid relying on other consumers to keep
> them on.
>
> This also avoids the following warnings on boot:
>
> i2c_hid_of 0-0010: supply vdd not found, using dummy regulator
> i2c_hid_of 0-0010: supply vddl not found, using dummy regulator
> i2c_hid_of 1-0015: supply vdd not found, using dummy regulator
> i2c_hid_of 1-0015: supply vddl not found, using dummy regulator
> i2c_hid_of 1-003a: supply vdd not found, using dummy regulator
> i2c_hid_of 1-003a: supply vddl not found, using dummy regulator
>
> Note that VREG_MISC_3P3 is also used for things like the fingerprint
> reader which are not yet fully described so mark the regulator as always
> on for now.
>
> Fixes: d7e03cce0400 ("arm64: dts: qcom: x1e80100-crd: Enable more support")
> Cc: Abel Vesa <abel.vesa@xxxxxxxxxx>
> Signed-off-by: Johan Hovold <johan+linaro@xxxxxxxxxx>
> ---
> arch/arm64/boot/dts/qcom/x1e80100-crd.dts | 34 +++++++++++++++++++++++
> 1 file changed, 34 insertions(+)
>
> diff --git a/arch/arm64/boot/dts/qcom/x1e80100-crd.dts b/arch/arm64/boot/dts/qcom/x1e80100-crd.dts
> index 10b28d870f08..4ab7078f76e0 100644
> --- a/arch/arm64/boot/dts/qcom/x1e80100-crd.dts
> +++ b/arch/arm64/boot/dts/qcom/x1e80100-crd.dts
> @@ -288,6 +288,23 @@ vreg_edp_3p3: regulator-edp-3p3 {
> regulator-boot-on;
> };
>

[...]

>
> +&pm8550ve_8_gpios {
> + misc_3p3_reg_en: misc-3p3-reg-en-state {
> + pins = "gpio6";
> + function = "normal";
> + bias-disable;

Maybe output-enable and input-disable are needed. Can you please check?

Otherwise, LGTM:

Reviewed-by: Abel Vesa <abel.vesa@xxxxxxxxxx>

> + };
> +};
> +
> &pmc8380_3_gpios {
> edp_bl_en: edp-bl-en-state {
> pins = "gpio4";
> --
> 2.45.2
>