sparse GPIO bindings for mux-controller

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

 



I am trying to use the gpio-mux and spi-mux drivers to control chip select signals to an array of ADC's.  I am able to get the mux-controller to work only if the array of GPIO's are a contiguous block of GPIO's on the same peripheral node (e.g. gpio port on SOC).  The docs for the DT bindings do not seem to state any such limitation.  Would it be possible or useful to allow the gpio-mux to set GPIO pins in sparse arrays?  I have a hardware use case where this would be convenient but maybe it is not advisable or clean?  Any feedback would be appreciated.

e.g. for a 16-way controller:
	mux-gpios = <&gpio1 0>,<&gpio1 1>,<&gpio1 4>,<&gpio2 12>;

Jeremy Mattfeld
Software Engineer
jmattfeld@xxxxxxxxxxxxxx
1722 N Madson Street 
Liberty Lake, WA, 99019









[Index of Archives]     [Linux SPI]     [Linux Kernel]     [Linux ARM (vger)]     [Linux ARM MSM]     [Linux Omap]     [Linux Arm]     [Linux Tegra]     [Fedora ARM]     [Linux for Samsung SOC]     [eCos]     [Linux Fastboot]     [Gcc Help]     [Git]     [DCCP]     [IETF Announce]     [Security]     [Linux MIPS]     [Yosemite Campsites]

  Powered by Linux