[PATCH] ARM: dts: imx6: add support for Auvidea H100 board

Fabio Estevam festevam at gmail.com
Wed Jun 1 06:15:30 PDT 2016


Hi Lucas,

On Wed, Jun 1, 2016 at 9:47 AM, Lucas Stach <l.stach at pengutronix.de> wrote:

> +       reg_3p3v: regulator-3p3v {
> +               compatible = "regulator-fixed";
> +               regulator-name = "3P3V";
> +               regulator-min-microvolt = <3300000>;
> +               regulator-max-microvolt = <3300000>;
> +               regulator-always-on;

"regulator-always-on" can be removed in this case.

> +       };
> +
> +       reg_hdmi: regulator-hdmi {
> +               pinctrl-names = "default";
> +               pinctrl-0 = <&pinctrl_h100_reg_hdmi>;
> +               compatible = "regulator-fixed";
> +               gpio = <&gpio2 20 0>;

It would be better to use the gpio label like:
gpio = <&gpio2 20 GPIO_ACTIVE_HIGH>;

,and since this is active high, the "enable-active-high" property is missing.

> +       reg_usbh1_vbus: regulator-usb-h1-vbus {
> +               compatible = "regulator-fixed";
> +               enable-active-high;
> +               gpio = <&gpio1 0 0>;

GPIO_ACTIVE_HIGH

> +               pinctrl-names = "default";
> +               pinctrl-0 = <&pinctrl_h100_usbh1_vbus>;
> +               regulator-name = "USB_H1_VBUS";
> +               regulator-min-microvolt = <5000000>;
> +               regulator-max-microvolt = <5000000>;
> +       };
> +
> +       reg_usbotg_vbus: regulator-usb-otg-vbus {
> +               compatible = "regulator-fixed";
> +               enable-active-high;
> +               gpio = <&gpio3 22 0>;

GPIO_ACTIVE_HIGH

> +
> +&iomuxc {
> +       h100 {

This h100 label can be removed and then you can remove one level of
indentation below.

> +               pinctrl_h100_hdmi: h100-hdmi {
> +                       fsl,pins = <
> +                               MX6QDL_PAD_KEY_ROW2__HDMI_TX_CEC_LINE   0x1f8b0
> +                       >;
> +               };



More information about the linux-arm-kernel mailing list