On 15 January 2015 at 19:35, Andrew Bresticker <abrestic@xxxxxxxxxxxx> wrote: > Hi Tomeu, > > On Thu, Jan 15, 2015 at 9:11 AM, Tomeu Vizoso <tomeu@xxxxxxxxxxxxxxx> wrote: >> I have seen that coreboot configures these ones differently: >> >> - ('sdmmc3_clk_pa6', 'sdmmc3', None, 'none', >> False, False, False, False), >> + ('sdmmc3_clk_pa6', 'sdmmc3', None, 'none', >> False, True, False, False), >> - ('sdmmc3_clk_lb_out_pee4', 'sdmmc3', None, 'none', >> False, False, False, False), >> + ('sdmmc3_clk_lb_out_pee4', 'sdmmc3', None, 'down', >> False, True, False, False), >> - ('sdmmc4_cmd_pt7', 'sdmmc4', None, 'none', >> False, True, False, False), >> + ('sdmmc4_cmd_pt7', 'sdmmc4', None, 'up', >> False, True, False, False), >> - ('dp_hpd_pff0', 'dp', None, 'up', >> False, True, False, False), >> + ('dp_hpd_pff0', 'dp', None, 'none', >> False, True, False, False), >> >> May be good to have them match? > > I believe these should all be the same between Norrin (Nyan), Big, and > Blaze, so I'd go with whatever is in the Norrin pinmux config (which I > believe is what Simon's patch is based on). Even dp_hpd? In my testing I need to have pullup on big and with no pull on blaze for the panel to work. I'm very weak in reading schematics, but I see what I think is a pullup resistor in Big, and none in Blaze. >> Besides, I have collected these differences between blaze and big, >> could you check with what you know? > > These are the differences you've collected between blaze and big from > the schematic or... ? Mainly from the ChromeOS sources, but I have checked in the schematics. >> - ('usb_vbus_en2_pff1', 'rsvd2', None, 'down', >> True, False, False, False), >> + ('usb_vbus_en2_pff1', 'usb', None, 'up', >> False, True, False, False), > > usb_vbus_en2 is not connected on all Nyan-based boards, so I would > just use whatever the Norrin config uses. Agreed. >> - ('usb_vbus_en0_pn4', 'usb', None, 'none', >> False, True, True, False), >> - ('usb_vbus_en1_pn5', 'usb', None, 'none', >> False, True, True, False), >> + ('usb_vbus_en0_pn4', 'usb', None, 'up', >> False, True, False, False), >> + ('usb_vbus_en1_pn5', 'usb', None, 'up', >> False, True, False, False), > > I would expect these to be like Venice2/Norrin: input enabled, > open-drain, no pull. What I have found is that coreboot configures them to be pullup for both boards, and that in my testing the usb ports are enabled in that case in both boards. If they have no pull, they work on big but don't on blaze. The DTs in the ChromeOS kernel also configure those pins to be pull up. And from my limited understanding of the schematics I have, both lines have pullup resistors in both boards. So in summary, I think that we should make this change to the pinmux definition that Simon sent: - ('usb_vbus_en0_pn4', 'usb', None, 'none', False, True, True, False), - ('usb_vbus_en1_pn5', 'usb', None, 'none', False, True, True, False), + ('usb_vbus_en0_pn4', 'usb', None, 'up', False, True, False, False), + ('usb_vbus_en1_pn5', 'usb', None, 'up', False, True, False, False), And that the Blaze should have this change, respective to Big: - ('dp_hpd_pff0', 'dp', None, 'up', False, True, False, False), + ('dp_hpd_pff0', 'dp', None, 'none', False, True, False, False), Does it make sense? Thanks, Tomeu > Thanks, > Andrew -- To unsubscribe from this list: send the line "unsubscribe linux-tegra" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html