Re: [beagleboard] LCD4 Cape Overlay Goof?

2014-12-05 Thread Charles Steinkuehler
On 12/4/2014 5:47 PM, Robert Nelson wrote:
 On Thu, Dec 4, 2014 at 5:35 PM, Charles Steinkuehler
 char...@steinkuehler.net wrote:
 There seems to be a problem with the LCD4-00A1 cape overlay.  The
 overlay includes support for four buttons, while the actual board seems
 to have five, and one of the four GPIO pins configured in the overlay is
 *NOT* actually used by the hardware (per the schematic).

 Before I send in a patch, it seems like this would have been identified
 and fixed before now.  Am I just missing the proper overlay somehow?  I
 am building the kernel using the scripts from (tag 3.8.13-bone68):
 
 It's 5 key's, when i redid this for v3.14.x and tested
 lcd4-01-00a1/4dcape-43(t)...
 
 https://github.com/RobertCNelson/dtb-rebuilder/blob/3.14-ti/src/arm/am335x-bone-common-pinmux.dtsi#L355

That matches what I expect based on the schematic, and differs from the
3.8.13 overlay.

It's a travel day for me, but I'll format a patch for 3.8.13 and send it
out soonish.

-- 
Charles Steinkuehler
char...@steinkuehler.net

-- 
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 beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[beagleboard] LCD4 Cape Overlay Goof?

2014-12-04 Thread Charles Steinkuehler
There seems to be a problem with the LCD4-00A1 cape overlay.  The
overlay includes support for four buttons, while the actual board seems
to have five, and one of the four GPIO pins configured in the overlay is
*NOT* actually used by the hardware (per the schematic).

Before I send in a patch, it seems like this would have been identified
and fixed before now.  Am I just missing the proper overlay somehow?  I
am building the kernel using the scripts from (tag 3.8.13-bone68):

https://github.com/RobertCNelson/bb-kernel/tree/am33x-v3.8

Details:


Per the schematic
https://github.com/CircuitCo/BeagleBone-LCD4-RevA1/blob/master/BeagleBone-LCD4-RevA1-schematic.pdf

The hardware buttons are:
Button : Pin   : GPIO
---+---+-
Left   : P9.15 : GPIO1_16
Right  : P9.23 : GPIO1_17
Up : P9.16 : GPIO1_19
Enter  : P9.24 : GPIO0_15
Down   : P9.30 : GPIO3_16

...but in the DTS (from tag 3.8.13-bone68) I see:

exclusive-use =
  Only 4 GPIO pins for buttons, and one of them is wrong
  (P9.21, gpio0_3)

bone_lcd4_cape_keys_00A2_pins:
  Same as above (only 4 pins, and one of them is wrong)

gpio_keys {
  Is correct...lists 5 buttons with the proper gpio pins

-- 
Charles Steinkuehler
char...@steinkuehler.net

-- 
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 beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] LCD4 Cape Overlay Goof?

2014-12-04 Thread Robert Nelson
On Thu, Dec 4, 2014 at 5:35 PM, Charles Steinkuehler
char...@steinkuehler.net wrote:
 There seems to be a problem with the LCD4-00A1 cape overlay.  The
 overlay includes support for four buttons, while the actual board seems
 to have five, and one of the four GPIO pins configured in the overlay is
 *NOT* actually used by the hardware (per the schematic).

 Before I send in a patch, it seems like this would have been identified
 and fixed before now.  Am I just missing the proper overlay somehow?  I
 am building the kernel using the scripts from (tag 3.8.13-bone68):

It's 5 key's, when i redid this for v3.14.x and tested
lcd4-01-00a1/4dcape-43(t)...

https://github.com/RobertCNelson/dtb-rebuilder/blob/3.14-ti/src/arm/am335x-bone-common-pinmux.dtsi#L355

Regards,

-- 
Robert Nelson
http://www.rcn-ee.com/

-- 
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 beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.