Re: [PATCH 1/2] dt-bindings: gpio-xilinx: Update no-init property

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, May 3, 2018 at 11:05 AM,  <shubhrajyoti.datta@xxxxxxxxx> wrote:

> From: Shubhrajyoti Datta <shubhrajyoti.datta@xxxxxxxxxx>
>
> In some cases the user may not want to initialise the
> gpios to default. Add a property to allow the same. This is specially
> useful in case the PS is reset and PL is not.
>
> Signed-off-by: Shubhrajyoti Datta <shubhrajyoti.datta@xxxxxxxxxx>
(...)
> @@ -25,6 +25,7 @@ Optional properties:
>  - xlnx,dout-default-2 : as above but the second channel
>  - xlnx,gpio2-width : as above but for the second channel
>  - xlnx,tri-default-2 : as above but for the second channel
> +- xlnx,no-init : No initialisation at probe

This doesn't seem very Xilinx-specific? It looks more like something
any GPIO driver would want to do.

So a no-init-hardware; in gpio.txt seems more appropriate,
if this is even needed, see comments on next patch.

Yours,
Linus Walleij
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]


  Powered by Linux