linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: l.stach@pengutronix.de (Lucas Stach)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] ARM: dts: imx6: add support for Auvidea H100 board
Date: Wed, 01 Jun 2016 15:28:13 +0200	[thread overview]
Message-ID: <1464787693.25525.12.camel@pengutronix.de> (raw)
In-Reply-To: <CAOMZO5CQvhJTBN7iHD5dkiTCnFy=fVe9hd6CLOrDUR4K7JqyXA@mail.gmail.com>

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@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
> > +                       >;
> > +               };
> 

      reply	other threads:[~2016-06-01 13:28 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-06-01 12:47 [PATCH] ARM: dts: imx6: add support for Auvidea H100 board Lucas Stach
2016-06-01 13:15 ` Fabio Estevam
2016-06-01 13:28   ` Lucas Stach [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1464787693.25525.12.camel@pengutronix.de \
    --to=l.stach@pengutronix.de \
    --cc=linux-arm-kernel@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).