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

Lucas Stach l.stach at pengutronix.de
Wed Jun 1 06:28:13 PDT 2016


Hi Fabio,

thanks for the review.

Am Mittwoch, den 01.06.2016, 10:15 -0300 schrieb Fabio Estevam:
> 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.
> 
Ok.

> > +       };
> > +
> > +       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.
> 
Urgh, right. This is an oversight.

> > +       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.
> 
No, it can not. This would require to remove the same level of
indentation from the base microsom dtsi. IMO too much churn for little
gain...

> > +               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