04 Apr, 2019

1 commit

  • So far we've enabled pull-up and pull-down resistors on GPIOs using a
    pinctrl node. Now that the GPIO binding allows for a flag to declare this,
    let's switch to it.

    This brings us closer to removing all the GPIO pinctrl nodes, which will in
    turn allow us to switch the pinctrl strict mode on.

    Acked-by: Chen-Yu Tsai
    Reviewed-by: Linus Walleij
    Signed-off-by: Maxime Ripard

    Maxime Ripard
     

26 Mar, 2019

1 commit

  • While the USB PHY Device Tree mandates that the name of the ID detect pin
    should be usb0_id_det-gpios, a significant number of device tree use
    usb0_id_det-gpio instead.

    This was functional because the GPIO framework falls back to the gpio
    suffix that is legacy, but we should fix this.

    Acked-by: Chen-Yu Tsai
    Signed-off-by: Maxime Ripard

    Maxime Ripard
     

28 Nov, 2018

3 commits

  • Some GPIO pinctrl nodes cannot be easily removed, because they would also
    change the pin configuration, for example to add a pull resistor or change
    the current delivered by the pin.

    Those nodes still have underscores and unit-addresses in their node names
    in our DTs, so adjust their name to remove the warnings. Use that occasion
    to also fix some poorly chosen node-names.

    Signed-off-by: Maxime Ripard
    Acked-by: Chen-Yu Tsai

    Maxime Ripard
     
  • All our pinctrl nodes were using a node name convention with a unit-address
    to differentiate the different muxing options. However, since those nodes
    didn't have a reg property, they were generating warnings in DTC.

    In order to accomodate for this, convert the old nodes to the syntax we've
    been using for the new SoCs, including removing the letter suffix of the
    node labels to the bank of those pins to make things more readable.

    Signed-off-by: Maxime Ripard
    Acked-by: Chen-Yu Tsai

    Maxime Ripard
     
  • Boards usually have an external pull-up on the card-detect signal, so
    there's no need to add another one.

    This also removes a DTC warning.

    Signed-off-by: Maxime Ripard
    Acked-by: Chen-Yu Tsai

    Maxime Ripard
     

13 Feb, 2018

1 commit


27 Mar, 2017

1 commit

  • All dts files for the sunxi platform have been switched to the generic
    pinconf bindings. As a result, the sunxi specific pinctrl macros are
    no longer used.

    Remove the #include entry with the following command:

    sed --follow-symlinks -i -e '/pinctrl\/sun4i-a10.h/D' \
    arch/arm/boot/dts/sun?i*.*

    arch/arm/boot/dts/sun9i-a80.dtsi was then edited to remove the extra
    empty line.

    Signed-off-by: Chen-Yu Tsai
    Signed-off-by: Maxime Ripard

    Chen-Yu Tsai
     

26 Dec, 2016

2 commits


23 Aug, 2016

1 commit

  • Just like with a13/a23/a33 most a31 tablets are derived from the same
    reference design. Add a .dtsi file with all the common bits to avoid
    endless copy and pasting of these.

    The sun6i-reference-design-tablet.dtsi this commit adds is a copy
    of sun6i-a31s-colorfly-e708-q1.dts with a few tablet specific bits
    removed / left in sun6i-a31s-colorfly-e708-q1.dts.

    Signed-off-by: Hans de Goede
    Acked-by: Chen-Yu Tsai
    Signed-off-by: Maxime Ripard

    Hans de Goede