I created an overlay that utilizes a pca9544 i2c multiplexer and it finally 
works.
I found this in 
linux-4.1.13-ti-r35\Documentation\devicetree\bindings\i2c\i2c-mux-pca954x.txt 





*Optional Properties: - reset-gpios: Reference to the GPIO connected to the 
reset input.*And in 
linux-4.1.13-ti-r35\Documentation\devicetree\bindings\i2c\i2c-mux-gpio.txt 
they have it used within the example as follows






















*    i2cmux {        compatible = "i2c-mux-gpio";        #address-cells = 
<1>;        #size-cells = <0>;        mux-gpios = <&gpio1 22 0 &gpio1 23 
0>;        i2c-parent = <&i2c1>;        i2c@1 {            reg = <1>;    
        #address-cells = <1>;            #size-cells = <0>;            
ssd1307: oled@3c {                compatible = "solomon,ssd1307fb-i2c";    
            reg = <0x3c>;                pwms = <&pwm 4 3000>;            
    reset-gpios = <&gpio2 7 1>;                reset-active-low;            
};        };*Issue is I cannot compile my overlay IF the line *reset-gpios 
= <&gpio1 18 0> *is present,
I've also tried adding this to my &am33xx_pinmux fragment:




*gpio50: gpio50{                pinctrl-single,pins = <0x048 0x17>; /* 
Define gpio50, set fast, pull-up, Mode 7 */ };*and changing the line in 
question to:

*reset-gpios = <&gpio50>*I've also seen it written as "reset-gpio =" 
without the s but that also fails.

Currently I can get around not having a reset by having my bootscript 
toggle that GPIO on boot but without the script, I cannot get it to work.
I don't understand if I am suppose to "include" or reference anything 
within my dts in order to use certain syntax and I have no idea how to do 
it. 
So I'd like two questions answered if possible,




*1) What am I doing wrong by adding that line2) How do I compile a dts with 
"includes"?*Thank you in advance.

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to